JP3524644B2 - Clock recovery device - Google Patents

Clock recovery device

Info

Publication number
JP3524644B2
JP3524644B2 JP21272995A JP21272995A JP3524644B2 JP 3524644 B2 JP3524644 B2 JP 3524644B2 JP 21272995 A JP21272995 A JP 21272995A JP 21272995 A JP21272995 A JP 21272995A JP 3524644 B2 JP3524644 B2 JP 3524644B2
Authority
JP
Japan
Prior art keywords
pcr
clock
field
packet
value
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP21272995A
Other languages
Japanese (ja)
Other versions
JPH0946706A (en
JPH0946706A6 (en
Inventor
宗彦 岩瀬
正孝 内田
真一 宮下
幸子 高徳
克也 中沢
賢二 恒川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pioneer Corp
Original Assignee
Pioneer Corp
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 Pioneer Corp filed Critical Pioneer Corp
Priority to JP21272995A priority Critical patent/JP3524644B2/en
Publication of JPH0946706A publication Critical patent/JPH0946706A/en
Application granted granted Critical
Publication of JP3524644B2 publication Critical patent/JP3524644B2/en
Publication of JPH0946706A6 publication Critical patent/JPH0946706A6/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタルデータの送信
方式において、送信側から送られる時刻基準値に基づい
て受信側で再生用基準クロックを再生するためのクロッ
ク再生装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock reproducing apparatus for reproducing a reference clock for reproduction on the receiving side based on a time reference value sent from the transmitting side in a digital data transmitting system.

【0002】[0002]

【従来の技術】従来のテレビジョン放送ではテレビカメ
ラや記録媒体再生装置から出力されるリアルタイムの映
像信号が伝送・送信され、受信機においては受信された
リアルタイムの映像信号を処理して表示している。ま
た、上記の記録媒体の記録フォーマットも基本的にはV
TRやVD(ビデオディスク)に代表されるようにリア
ルタイムでの再生に適するものであった。近年、上記の
ような映像信号のリアルタイムの記録・再生、伝送・送
信には大量の記録媒体を必要とすると共に、広帯域の周
波数帯域を必要とすることから、これをデジタル技術を
使って効率よく行う方法が研究されてきた。しかし、テ
レビジョン等の画像データ、特に動画の画像データは一
般にデータ量が膨大であり、これをそのまま伝送すると
高いビットレートのため広帯域が要求され、またこれを
そのまま蓄積すると膨大な記録容量が必要となる。
2. Description of the Related Art In conventional television broadcasting, a real-time video signal output from a television camera or a recording medium reproducing device is transmitted / transmitted, and a receiver processes and displays the received real-time video signal. There is. The recording format of the above recording medium is basically V
It was suitable for real-time reproduction as represented by TR and VD (video disc). In recent years, a large amount of recording medium is required for real-time recording / reproduction, transmission / transmission of the video signal as described above, and a wide frequency band is required. How to do it has been studied. However, image data of televisions, especially moving image data, generally has a huge amount of data, and if it is transmitted as it is, a wide band is required due to a high bit rate, and if it is stored as it is, a huge recording capacity is required. Becomes

【0003】これらの問題を解決する方法としてデジタ
ル画像符号化技術を応用した動画圧縮がある。動画圧縮
の規格の一例として、高品質のデジタルビデオ/オーデ
ィオ信号を高能率で圧縮する符号化方式の一つとしてM
PEG(Moving Picture Exper
t Group)により提唱されたMPEG2(国際規
格ISO/IEC13818−1)がある。このMPE
G2においては、画像の空間的な方向の情報量削減のた
めのDCT(Discrete Cosine Tra
nsfom:離散コサイン変換)による入力画像自身の
符号化(フレーム内符号化)、入力画像と以前の再生画
像との差分を符号化するフレーム間予測符号化、前後の
画像から中間の画像を予測する双方向予測符号化、及び
これらの時間方向の予測誤差パワーを減少させるために
有効な動き補償(MC:Motion Conpens
ation)等の技術が使用されて動画圧縮が行われ
る。
As a method for solving these problems, there is a moving picture compression applying a digital image coding technique. As an example of a moving picture compression standard, M is used as one of encoding methods for highly efficient compression of high quality digital video / audio signals.
PEG (Moving Picture s Expert)
There is MPEG2 (international standard ISO / IEC13818-1) proposed by T. Group. This MPE
In G2, a DCT (Discrete Cosine Tra) for reducing the amount of information in the spatial direction of an image.
nsfom: Discrete cosine transform) to encode the input image itself (intra-frame encoding), inter-frame predictive encoding that encodes the difference between the input image and the previous reproduced image, predict an intermediate image from the preceding and following images Bi-directional predictive coding and motion compensation (MC: Motion Compensation) effective for reducing these prediction error powers in the temporal direction.
technology) is used to compress the moving image.

【0004】一方、このようにデータ圧縮されたデジタ
ルデータはパケット形式で伝送することが可能であり、
これにより非同期伝送が可能となる。また、ビットレー
トを上げることで複数チャンネルの時分割多重化ができ
る。いずれの場合も、送信側と受信側でデータの過不足
が生じず、即ち、送信されるデータ処理のスピードに対
して受信側での復調のスピードが長期的にならして見た
とき遅滞がなく、且つ所定周期のクロックに基づいて映
像信号が出力されることが要求される。このような場
合、受信側では再生の基準とすべき基準クロックを発生
するための内部クロックを持ち、送信側から定期的に送
信されるクロック基準データと内部クロックのカウント
値を比較し、逐次誤差を補正するように内部クロックの
周波数を補正する方法が取られる。
On the other hand, the digital data thus compressed can be transmitted in a packet format.
This enables asynchronous transmission. Also, by increasing the bit rate, time division multiplexing of multiple channels can be performed. In either case, there is no excess or deficiency of data on the transmitting side and the receiving side, that is, there is a delay when the demodulating speed on the receiving side is compared with the speed of the transmitted data processing for a long time. In addition, it is required that the video signal is output based on a clock having a predetermined period. In such a case, the receiving side has an internal clock for generating a reference clock that should be used as a reference for reproduction, compares the clock reference data that is periodically transmitted from the transmitting side with the count value of the internal clock, and detects the sequential error. A method of correcting the frequency of the internal clock is used to correct the.

【0005】図4はMPEG2による画像データを送信
するトランスポート・パケットを模式的に示したもので
あり、紙面の左から右の順に送信されるものとする。こ
のトランスポート・パケット1、2は、いずれも或る1
つの番組についての画像データを担っているものとす
る。各トランスポート・パケット1、2には4バイトか
らなる固定長のヘッダ3が設けられていて、このヘッダ
3の先頭にはトランスポート・パケットの先頭を検出す
るための同期信号である8ビット(0x47のデータ)
の同期ビット4が配置され、また、ヘッダ3の所定位置
には13ビットからなるPID(パケットアイデンティ
ファイア)5が設けられ、当該トランスポート・パケッ
トの個別ストリームの属性、即ちどの番組か、画像か音
声か等、パケットの内容が示されている。
FIG. 4 schematically shows a transport packet for transmitting image data according to MPEG2, and is assumed to be transmitted in order from left to right on the paper surface. This transport packet 1, 2 has a certain 1
It is assumed to be responsible for the image data of one program. Each of the transport packets 1 and 2 is provided with a fixed-length header 3 of 4 bytes, and the header of the header 3 is an 8-bit synchronization signal for detecting the beginning of the transport packet ( 0x47 data)
A synchronization bit 4 of each of the packets is arranged, and a PID (packet identifier) 5 of 13 bits is provided at a predetermined position of the header 3. The attribute of the individual stream of the transport packet, that is, which program, image The contents of the packet such as voice or voice are shown.

【0006】更に、ヘッダ3にはアダプテーション・フ
ィールド制御6が設けてあり、このアダプテーション・
フィールド制御6に後続するオプショナル・フィールド
7を含むか否かを2ビットで記述している。このオプシ
ョナル・フィールド7には画像と音声の復調器を含むM
PEG2システム復調器において、時刻基準となるST
C(基準となる同期情報)の値を送信側で意図した値に
セット・校正するための情報としてPCR(プログラム
時刻基準参照値)8が設けられている。アダプテーショ
ン・フィールド制御6の上位ビットがオプショナル・フ
ィールド7の有無を示し、下位ビットが後述するペイロ
ード9(実行データ)の有無を示している。ペイロード
9は実際の画像又は音声データが収納されている部分で
ある。トランスポート・パケットにオプショナル・フィ
ールド7が含まれない場合は拡張予備等の可変長のデー
タを設けることによってトランスポート・パケットを常
に188バイトの固定長としている。また、PCRのデ
ータ長は有効データ部分が33ビットで無効ビットも含
めて6バイトと規定されており、ヘッダ3の先頭からP
CRの先頭ビットまでの距離は一定(PCRの先頭ビッ
トが49ビット目)に規定されている。このPCRは実
際には各番組毎に例えば0.1秒毎に挿入される。ま
た、MPEG2では、PCRの標化位置をその有効デ
ータ部分(以下、PCRフィールドという)の最終ビッ
トと規定しているため、復号器側ではPCRフィールド
の最終ビットの到着の時点にそのPCRの示す値に従っ
てクロックを修正することが求められる。
Further, the header 3 is provided with an adaptation field control 6, and this adaptation field control 6
It is described by 2 bits whether or not the optional field 7 following the field control 6 is included. This optional field 7 contains an image and audio demodulator M
ST as the time reference in the PEG2 system demodulator
PCR (program time reference reference value) 8 is provided as information for setting and calibrating the value of C (synchronization information serving as a reference) to a value intended on the transmitting side. The upper bits of the adaptation field control 6 indicate the presence or absence of the optional field 7, and the lower bits indicate the presence or absence of the payload 9 (execution data) described later. The payload 9 is a portion in which actual image or audio data is stored. When the transport packet does not include the optional field 7, variable length data such as extended spare is provided so that the transport packet always has a fixed length of 188 bytes. Further, the data length of the PCR is defined as 6 bytes including 33 bits for the valid data portion and invalid bits.
The distance to the leading bit of CR is fixed (the leading bit of PCR is the 49th bit). This PCR is actually inserted for each program, for example, every 0.1 seconds. Further, in MPEG2, the standard book of the position of the PCR the valid data portion (hereinafter, referred to as PCR field) for defining the last bit of the PCR at the time of arrival of the last bit of the PCR field is the decoder side It is required to modify the clock according to the values shown.

【0007】次に、トランスポート・パケットの復調方
法について図5を用いて説明する。尚、簡略化のため1
番組分のパケット受信装置のブロック図の説明にとどめ
る。図5において符号10は入力端子で、トランスポー
トパケットを含むデジタル信号は入力端子10から同期
検出回路11に入力される。同期検出回路11の出力は
バッファー回路13を経てCPU14に供給される。C
PU14はPCR検出回路12に指令を送出するために
接続されている。また、同期検出回路11の出力はPC
R検出回路12に接続され、PCR検出回路12の出力
はCPU14に設けられた比較回路23の一方の入力に
接続されている。また、PCR検出回路12の出力はカ
ウンタ24に後述のラッチ信号を送出するために接続さ
れている。このカウンタ24の出力は比較回路23の他
方の入力に接続されている。比較回路23の出力はPW
M(パルス幅変調)波発生回路26に供給され、このP
WM波発生回路26の出力をLPF(ローパスフィル
タ)27で平滑し、得られた直流電圧でVCO(電圧制
御発振器)28を制御するように接続されている。上記
のカウンタ24、比較回路23、PWM波発生回路2
6、LPF27及びVCO28により内部クロック回路
が構成されており、VCO28の出力はカウンタ24、
CPU14、映像信号デコーダ17に夫々接続されてい
る。
Next, a method of demodulating a transport packet will be described with reference to FIG. For simplification, 1
Only the block diagram of the packet receiver for the program will be described. In FIG. 5, reference numeral 10 is an input terminal, and a digital signal including a transport packet is input from the input terminal 10 to the synchronization detection circuit 11. The output of the synchronization detection circuit 11 is supplied to the CPU 14 via the buffer circuit 13. C
The PU 14 is connected to send a command to the PCR detection circuit 12. The output of the synchronization detection circuit 11 is PC
It is connected to the R detection circuit 12, and the output of the PCR detection circuit 12 is connected to one input of the comparison circuit 23 provided in the CPU 14. Further, the output of the PCR detection circuit 12 is connected to the counter 24 in order to send a later-described latch signal. The output of the counter 24 is connected to the other input of the comparison circuit 23. The output of the comparison circuit 23 is PW
It is supplied to the M (pulse width modulation) wave generation circuit 26, and this P
The output of the WM wave generating circuit 26 is smoothed by an LPF (low-pass filter) 27, and the obtained DC voltage is connected to control a VCO (voltage controlled oscillator) 28. The counter 24, the comparison circuit 23, and the PWM wave generation circuit 2 described above.
6, the LPF 27 and the VCO 28 form an internal clock circuit, and the output of the VCO 28 is the counter 24,
It is connected to the CPU 14 and the video signal decoder 17, respectively.

【0008】また、CPU14からの映像信号出力はバ
ッファー回路15を経て映像信号デコーダ17に供給さ
れ、ここでVCO28からの27MHzの信号をクロッ
ク信号に用い、MPEG2方式に従って映像信号を復調
する。復調出力はNTSCエンコーダ18によって標準
テレビジョン信号とされ、出力端子19に出力される。
一方、CPU14からの音声信号出力はバッファー回路
16を経て音声信号デコーダ20に供給され、ここでV
CO28からの信号から新たに設けたPLL回路29及
びVCO28を用いて得られた24.5MHzの信号を
クロック信号に用い、MPEG方式に従って音声信号を
復調する。復調出力はDAC(デジタル/アナログ変換
回路)21を介してアナログ信号とされ、出力端子22
に出力される。
The video signal output from the CPU 14 is supplied to the video signal decoder 17 via the buffer circuit 15, where the 27 MHz signal from the VCO 28 is used as a clock signal to demodulate the video signal according to the MPEG2 system. The demodulated output is converted into a standard television signal by the NTSC encoder 18 and output to the output terminal 19.
On the other hand, the audio signal output from the CPU 14 is supplied to the audio signal decoder 20 via the buffer circuit 16, where V
A 24.5 MHz signal obtained by using a newly provided PLL circuit 29 and VCO 28 from the signal from the CO 28 is used as a clock signal to demodulate an audio signal according to the MPEG system. The demodulated output is converted into an analog signal via a DAC (digital / analog conversion circuit) 21, and an output terminal 22
Is output to.

【0009】かかる構成において、例えば1番組が4.
713878Mbpsのプログラムストリーム4本が多
重された21Mbpsのトランスポート・ストリームが
伝送され、入力端子10に入力される。同期検出回路1
1は、到来するビット列の中からパケット同期信号であ
る同期ビット4のデータ(0x47)を検出し、この同
期ビット4をビット列と共にPCR検出回路12に供給
する。また、同期検出回路11によって区切りが識別で
きた各パケットは一旦バッファー回路13に取り込まれ
た後、適宜CPU14に取り込まれる。同期検出回路1
1においては、実行データ等の他のデータ中にも偶然、
同期ビット4と同一のデータ(0x47)が出現する可
能性があることから、略所定の間隔で到来する同期ビッ
ト4のデータ(0x47)を多数回連続検出することに
よって、真のパケットの区切りを識別するようにしてい
る。
In such a configuration, for example, one program is 4.
A 21 Mbps transport stream in which four 713878 Mbps program streams are multiplexed is transmitted and input to the input terminal 10. Sync detection circuit 1
1 detects the data (0x47) of the sync bit 4 which is the packet sync signal from the incoming bit string, and supplies this sync bit 4 to the PCR detection circuit 12 together with the bit string. Further, each packet whose delimiter has been identified by the synchronization detection circuit 11 is once taken into the buffer circuit 13 and then taken into the CPU 14 as appropriate. Sync detection circuit 1
In 1, accidentally in other data such as execution data,
Since the same data (0x47) as the sync bit 4 may appear, the true packet delimiter can be determined by continuously detecting the data (0x47) of the sync bit 4 that arrives at substantially predetermined intervals many times. I try to identify.

【0010】また、CPU14は取り込んだパケット中
のPID5及びアダプテーション・フィールド制御6を
検出する。検出したPID5及びアダプテーション・フ
ィールド制御6の内容により、再生すべき番組の画像デ
ータ又は音声データを含むパケットであると判別したら
それらのデータを抽出し、画像データは一旦バッファー
回路15に蓄えた後、映像信号デコーダ17で復調し、
NTSCエンコーダ18を経て出力端子19に送出す
る。また、音声データは一旦バッファー回路16に蓄え
た後、音声信号デコーダ20で復調し、DAC21を経
て出力端子22に送出する。また、パケットが当該番組
のPCR8を含むものである場合は、CPU14はPC
R検出回路12にPCR8が記述されているPCRフィ
ールドを検出するように指令する。PCR検出回路12
は同期ビット4から所定の位置にあるPCRフィールド
を検出し、PCR8のデータを抽出して解読し、その結
果としてPCR8が示す数値(基準値)を比較回路23
の一方の入力端に送出する。これと行してPCR検出
回路12はPCRフィールドの最終ビットの到来を検出
し、この最終ビットが到来した時点でラッチ信号をカウ
ンタ24に供給する。
Further, the CPU 14 detects the PID 5 and the adaptation field control 6 in the received packet. According to the detected contents of the PID 5 and the adaptation field control 6, if it is determined that the packet includes image data or audio data of the program to be reproduced, those data are extracted and the image data is temporarily stored in the buffer circuit 15, Demodulate with the video signal decoder 17,
It is sent to the output terminal 19 via the NTSC encoder 18. The audio data is once stored in the buffer circuit 16, demodulated by the audio signal decoder 20, and sent to the output terminal 22 via the DAC 21. If the packet includes the PCR8 of the program, the CPU 14
The R detection circuit 12 is instructed to detect the PCR field in which the PCR 8 is described. PCR detection circuit 12
Detects a PCR field at a predetermined position from the synchronization bit 4, extracts and decodes the data of PCR8, and as a result, compares the numerical value (reference value) indicated by PCR8 with the comparison circuit 23.
To one input end. PCR detection circuit 12 which and concurrent to detects the arrival of the last bit of the PCR field, and supplies the latched signal to the counter 24 when the last bit arrives.

【0011】VCO28の出力は再生された基準クロッ
クとしてCPU14及び映像復調回路17に出力される
一方、カウンタ24に供給され波数が計数される。計数
は常時継続して行われており、供給された上記ラッチ信
号のタイミングでカウンタ24の計数値がラッチされ
(計数自体は停止せず、その時の途中経過値が別に保持
される)、比較回路23の他の入力端に入力される。比
較回路23ではPCR検出回路12の出力とカウンタ2
出力の計数値を比較し、内部クロックの進み遅れを
示す差分(誤差)を求め、これに応じた信号をPWM波
発生回路26に送出する。PWM波発生回路26は、こ
の信号により差分をパルス幅に反映させたPWM波を出
力する。LPF27は、このPWM波の基本周波数成分
やその高調波成分の他に、逐次得られる差分の比較的速
い変動成分を除去し、直流電圧としてVCO28に出力
し、VCO28の発振周波数をこの差分が縮まる方向に
修正する。前述のMPEG2の規格に沿うために、上記
の比較及びPWM波の生成はVCO28の制御がPCR
フィールドの最終ビット時点で行われるようにする。以
上により、原画像データを過不足なく復調して再生する
ための基準クロックが再生される。
The output of the VCO 28 is output to the CPU 14 and the video demodulation circuit 17 as a reproduced reference clock, and is also supplied to the counter 24 to count the number of waves. Counting is always continued, the count value of the counter 24 is latched at the timing of the supplied latch signal (the count itself does not stop, and the intermediate value at that time is held separately), and the comparison circuit 23 is input to the other input terminal. In the comparison circuit 23, the output of the PCR detection circuit 12 and the counter 2
The count values of the outputs of 4 are compared to obtain a difference (error) indicating the advance or delay of the internal clock, and a signal corresponding to this is sent to the PWM wave generation circuit 26. The PWM wave generation circuit 26 outputs a PWM wave in which the difference is reflected in the pulse width by this signal. The LPF 27 removes not only the fundamental frequency component of the PWM wave and its harmonic components but also a relatively fast variation component of the difference that is successively obtained, and outputs it as a DC voltage to the VCO 28, thereby reducing the oscillation frequency of the VCO 28 by this difference. Correct in the direction. In order to comply with the above-mentioned MPEG2 standard, the VCO 28 is controlled by PCR in the comparison and PWM wave generation described above.
It should be done at the last bit of the field. As described above, the reference clock for reproducing and reproducing the original image data without excess or deficiency is reproduced.

【0012】[0012]

【発明が解決しようとする課題】上述したようにMPE
G2の規定通りにクロックを再生するための構成にはP
CRフィールドの最終ビット時点を検出する検出手段が
必要であり、且つ、それまでにPCRの解読を完了しな
ければならないので、構成が複雑になる。即ち、PCR
が到来した時点で、そのPCRに基づいてクロックを修
正することは、その時点までにそのPCRの解読が終了
し、且つ比較が終了していなければならないということ
であり、技術的に困難がある。つまり、ハードウエアで
実現するには高速の回路が必要となり、ソフトウエアで
実現するためには極めて高速のCPUが必要になる。本
発明は上述した問題点に着目してなされたもので、ソフ
トウエアやハードウエアを簡素に構成できるクロック再
生装置を提供することにある。
As described above, MPE is used.
For the configuration to reproduce the clock as specified by G2, P
Since the detection means for detecting the time point of the last bit of the CR field is necessary and the decoding of the PCR must be completed by that time, the configuration becomes complicated. That is, PCR
When the clock arrives, correcting the clock based on the PCR means that the decoding of the PCR must be completed and the comparison must be completed by that time, which is technically difficult. . That is, a high-speed circuit is required to realize with hardware, and an extremely high-speed CPU is required to realize with software. The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a clock recovery device that can be simply configured with software and hardware.

【0013】[0013]

【課題を解決するための手段】本発明は上述の課題を解
決するためになされたものであり、送信側からパケット
で順次送信され基準クロックに基づいて再生すべきデー
タを受信側において再生するための基準クロックを受信
側で再生するためのクロック再生装置であって、パケッ
トは所定の同期ビットを先頭に有し、少なくとも一部の
パケットにはそのパケットの先頭より一定ビット数目を
標本化位置としたPCRを記述するフィールドが有るも
のであり、クロック再生装置は、パケットの同期ビット
を検出する同期検出手段と、フィールドを検出しこのフ
ィールドに記述されたPCRを検出するPCR検出手段
と、クロック周波数修正のための制御信号により発振周
波数が制御されこの発振出力を基準クロックとする可変
周波発振手段と、基準クロックを計数する計数手段
と、同期ビットの検出時点の基準クロックの計数値を記
憶する記憶手段と、PCRを含むフィールドが検出され
たときのみ、そのフィールドに記述されたPCRとフィ
ールドが検出された少なくとも今回のパケットにおける
計数値とに基づいて制御信号を出力する比較手段とを備
えて構成する。また、標本化位置がフィールドの最終ビ
ットである場合、制御信号の出力時点がこのフィールド
の最終ビットの検出時点から所定時間であることを特
徴とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and in order to reproduce data to be reproduced on the receiving side based on a reference clock, which are sequentially transmitted in packets from the transmitting side. A clock reproducing device for reproducing the reference clock of 1. at the receiving side, wherein the packet has a predetermined synchronization bit at the head, and at least some of the packets have a fixed number of bits from the head of the packet as a sampling position. The clock reproducing device has a field for describing a PCR , and a clock detecting device for detecting a synchronization bit of a packet, a PCR detecting means for detecting a field and detecting a PCR described in this field, and a clock frequency. oscillation frequency is controlled by a control signal for modifying the variable <br/> frequency oscillating hand that this oscillation output and reference clock When, counting means for counting a reference clock, storage means for storing a count value of the reference clock of the detection time point of synchronization bits, only when the field containing the PCR is detected, the PCR described in the field And a comparison unit that outputs a control signal based on at least the count value of the current packet in which the field is detected. Further, when the sampling position is the last bit of the field, the output time of the control signal is a predetermined time after the detection time of the last bit of the field.

【0014】[0014]

【作用】本発明のクロック再生装置においては、可変周
波数発振手段の発振出力を基準クロックとして用い、計
数手段はこの基準クロックを計数する。同期検出手段が
パケットの同期ビットを検出すると記憶手段はこの時点
の計数値を記憶する。一方、PCR検出手段はパケット
中のPCRを記述したフィールドを検出すると共に、そ
こに記述されたPCRを求める。比較手段はこのPCR
を含むフィールドが検出されたときのみ、PCR基準
クロックの計数値とに基づいて可変周波数発振手段の発
振周波数を制御する制御信号を出力する。これにより、
可変周波数発振手段の発振周波数は、クロック波数の累
計値がPCRに基づいた値にある一定の距離(時間差)
分の偏倚をもって追従するようにフィードバック制御さ
れるので、送信側に対して、長時間で見れば進み遅れの
ない基準クロックを再生することができる。また、本発
明においては、基準クロックの計数値記憶タイミングが
PCRの標本化位置と一致していなくてよいことを利用
しているから、可変周波数発手段の制御タイミングも
これと一致させなくても良いことになり、PCRの標本
化位置から所定時間に制御するようにした。これによ
り、かかる処理を行うハードウエアやソフトウエアの処
理速度を遅くすることができる。
[Action] In the clock regeneration apparatus of the present invention, using the oscillation output of the variable frequency oscillating means as a reference clock, counting means for counting the reference clock. When the synchronization detection means detects the synchronization bit of the packet, the storage means stores the count value at this point. On the other hand, the PCR detecting means detects the field describing the PCR in the packet and obtains the PCR described therein. The means of comparison is this PCR
A control signal for controlling the oscillation frequency of the variable frequency oscillation means is output based on the PCR and the count value of the reference clock only when a field including the is detected. This allows
The oscillating frequency of the variable frequency oscillating means is a certain distance (time difference) in which the cumulative value of the clock wave number is a value based on PCR.
Since the feedback control is performed so as to follow with a deviation of a minute, it is possible to regenerate the reference clock with no advance or delay when viewed from the transmitting side for a long time. Further, in the present invention, the count value storage timing of the reference clock is
Because they utilize that may not match the sampling position of the PCR, also it will be may not match the also control timing of the variable frequency oscillation means, samples of PCR
The control was performed after a predetermined time from the position of conversion . As a result, the processing speed of the hardware or software that performs such processing can be reduced.

【0015】[0015]

【実施例】本発明の実施例を図1を用いて説明する。
尚、図1において図5に示した従来例のブロックに相当
する部分には同一の符号を付し、重複する説明を省略す
る。ブロック図上異なる点は、従来例ではPCR検出回
路12の出力がラッチ信号としてカウンタ24に接続さ
れていたのに対し、本発明の実施例では同期検出回路1
1の出力がラッチ信号として直接カウンタ24に接続さ
れている点である。 動作の詳細については以下に説明
する。先ず、トランスポート・パケットにて伝送されて
きたビット列が入力端子10を経て同期検出手段として
の同期検出回路11に入力される。同期検出回路11は
到来するビット列の中からパケット同期信号である同期
ビット4のデータ(0x47)を検出すると、この同期
ビット4をビット列と共にPCR検出手段としてのPC
R検出回路12に供給する。
EXAMPLE An example of the present invention will be described with reference to FIG.
In FIG. 1, portions corresponding to the blocks of the conventional example shown in FIG. 5 are designated by the same reference numerals, and duplicate description will be omitted. In the block diagram, the difference is that the output of the PCR detection circuit 12 is connected to the counter 24 as a latch signal in the conventional example, whereas in the embodiment of the present invention, the synchronization detection circuit 1
The output of 1 is directly connected to the counter 24 as a latch signal. Details of the operation will be described below. First, the bit string transmitted in the transport packet is input to the synchronization detection circuit 11 as the synchronization detection means via the input terminal 10. When the synchronization detection circuit 11 detects the data (0x47) of the synchronization bit 4 which is the packet synchronization signal from the incoming bit string, the synchronization bit 4 together with the bit string is sent to the PC as PCR detecting means.
It is supplied to the R detection circuit 12.

【0016】また、同期検出回路11によって区切りが
識別できた各パケットはバッファー回路13を介し、C
PU14に取り込まれる。CPU14は取り込んだパケ
ット中のPID5及びアダプテーション・フィールド制
御6を検出し、再生すべき番組の画像データ又は音声デ
ータを含むパケットであることを判別した場合はそれら
のデータを抽出して夫々バッファー回路15、16に送
出する。これと同時にCPU14は当該番組のPCR8
を含むパケットであるか判断し、パケットが当該番組の
PCR8を含むものである場合はPCR検出回路12に
PCR8が記述されているPCRフィールドを検出する
ように指令する。PCR検出回路12はCPU14から
この指令を受けるとPCRフィールドを検出し、そこに
記述されているPCR8に関するデータを抽出して比較
手段としての比較回路23に一方の入力として供給す
る。また、同期検出回路11は計数手段としてのカウン
タ24に上記検出された同期ビット4をラッチ信号とし
て供給する。カウンタ24は同期ビット4が入力された
時点で、可変周波発振手段としてVCO28出力の
計数値をラッチする。つまり、当該番組と関係のないパ
ケットの時でも全てラッチし、その時の計数値(途中経
過値)を比較回路23に他方の入力として供給する。し
かし、CPU14によって当該番組のPCR8を含んだ
パケットの時の計数値の時のみ比較が行われるようにさ
れている。
Further, each packet whose delimiter has been identified by the synchronization detection circuit 11 is passed through the buffer circuit 13 to the C
It is taken into PU14. When the CPU 14 detects the PID 5 and the adaptation field control 6 in the captured packet and determines that the packet contains image data or audio data of the program to be reproduced, these data are extracted and the buffer circuit 15 respectively. , 16 are sent. At the same time, the CPU 14 controls the PCR 8 of the program.
It is determined whether the packet contains the PCR8 of the program, and if the packet contains the PCR8 of the program, the PCR detection circuit 12 is instructed to detect the PCR field in which the PCR8 is described. Upon receiving this command from the CPU 14, the PCR detection circuit 12 detects the PCR field, extracts the data about the PCR 8 described therein, and supplies it to the comparison circuit 23 as a comparison means as one input. Further, the synchronization detection circuit 11 supplies the detected synchronization bit 4 as a latch signal to the counter 24 as the counting means. Counter 24 when the synchronization bit 4 is input, it latches the count value of VCO28 output of a variable frequency oscillating means. In other words, even when the packet has no relation to the program, all the packets are latched, and the count value (interim progress value) at that time is supplied to the comparison circuit 23 as the other input. However, the CPU 14 makes the comparison only when the count value of the packet including the PCR 8 of the program is obtained.

【0017】(1)PCR値が増加値の場合 ここで、カウンタ24の計数値とPCR値の比較処理の
方法を図2のフローチャートを用いて説明する。ここで
用いられるPCR値は前回のPCR標化位置からのク
ロックの進み(増加値)を示すものとする。また、パケ
ット受信装置の電源が入るとカウンタ24はリセットさ
れ、すぐに計数を開始し、所定の最大値(上記予測され
る増加値より十分大きければよい)まで達すると0に戻
って再び計数を繰り返すようになされている。尚、フロ
ーチャート中に用いられる符号の意味は以下に示すもの
とする。 CC :カウンタ24の現在の計数値 CM :カウンタ24の途中経過値 CML:1回前の途中経過値 先ずステップS1において同期検出回路11は、同期信
号(同期ビット4)の到来を監視し、同期信号が検出さ
れない場合はステップS1に戻る。同期信号が検出され
るとカウンタ24の現在の計数値CCを途中経過値CM
として記憶するためのラッチ信号をカウンタ24に出力
する。即ち、ステップS2に移行して、カウンタ24は
現在の計数値CCをラッチし、CPU14はこの値を途
中経過値CMとして記憶する。次にCPU14はステッ
プS3で取り込んだパケット中のPIDを検出する。そ
してステップS4に移行し、検出したPIDにより、そ
のパケットが当該番組のPCRを含むかが判定される。
(1) When the PCR value is an increasing value Here, a method of comparing the count value of the counter 24 and the PCR value will be described with reference to the flowchart of FIG. Here PCR values used denote advances clocks from PCR target the reduction position of the previous (increase value). When the packet receiving device is turned on, the counter 24 is reset and starts counting immediately, and when it reaches a predetermined maximum value (which should be sufficiently larger than the predicted increase value), it returns to 0 and starts counting again. It is designed to repeat itself. The symbols used in the flowcharts have the following meanings. CC: current count value of counter 24 CM: midway progress value of counter 24 CML: midway progress value one time before First, in step S1, the synchronization detection circuit 11 monitors the arrival of the synchronization signal (synchronization bit 4) and performs synchronization. If no signal is detected, the process returns to step S1. When the synchronization signal is detected, the current count value CC of the counter 24 is set to the midway progress value CM.
The latch signal for storing as is output to the counter 24. That is, in step S2, the counter 24 latches the current count value CC, and the CPU 14 stores this value as the midway progress value CM. Next, the CPU 14 detects the PID in the packet fetched in step S3. Then, the process proceeds to step S4, and it is determined whether the packet includes the PCR of the program by the detected PID.

【0018】PCRを含まない場合は、ステップS1に
戻り、次の同期信号の到来を監視する。また、PCRを
含んでいる場合は、次のステップS5に移行する。ステ
ップS5でCPU14はステップS2で記憶したカウン
タ24の途中経過値CMを次にPCRが到来したときの
途中経過値CMに対する1回前の途中経過値CMLとし
て記憶する。尚、ここまでは電源投入以降、最初の当該
番組のPCRを検出するまでの予備的な動作である。そ
の後、ステップS6に移行し、同期信号の到来を監視す
る。検出されない場合はステップS6に戻る。同期信号
が検出されるとカウンタ24の現在の計数値CCを途中
経過値CMとして記憶するためのラッチ信号をカウンタ
24に出力する。即ち、ステップS7に移行し、カウン
タ24の現在の計数値CCをラッチし、CPU14はこ
の値を途中経過値CMとして記憶する。次にCPU14
はステップS8で、取り込んだパケット中のPIDを検
出する。そして、ステップS9に移行し、検出したPI
Dにより、そのパケットが当該番組のPCRを含むかを
判定する。
If no PCR is included, the process returns to step S1 to monitor the arrival of the next synchronization signal. If the PCR is included, the process proceeds to the next step S5. In step S5, the CPU 14 stores the midway progress value CM of the counter 24 stored in step S2 as the previous midway progress value CML for the midway progress value CM when the PCR comes next. It should be noted that the steps up to this point are preliminary operations until the PCR of the first program is detected after the power is turned on. Then, the process proceeds to step S6, and the arrival of the sync signal is monitored. If not detected, the process returns to step S6. When the synchronization signal is detected, a latch signal for storing the current count value CC of the counter 24 as the midway progress value CM is output to the counter 24. That is, the process proceeds to step S7, the current count value CC of the counter 24 is latched, and the CPU 14 stores this value as the midway progress value CM. Next, the CPU 14
Detects the PID in the fetched packet in step S8. Then, the process proceeds to step S9 and the detected PI
Based on D, it is determined whether the packet includes the PCR of the program.

【0019】PCRを含まない場合は、ステップS6に
戻り、次の同期信号の到来を監視する。PCRを含んで
いる場合は、CPU14はPCR検出回路12にその値
を読み取らせて比較回路23に入力させ、次のステップ
S10に移行する。ステップS10でCPU14はステ
ップS7で記憶したカウンタ24の今回の途中経過値C
Mから1回前の途中経過値CMLを引き、増加値△CC
として比較回路23に入力する。尚、この差が負となっ
た場合は、計数中に最大値を越えたということであるか
ら、この最大値を加算することで補正する。次に、ステ
ップS11に移行して、CPU14は今回の途中経過値
CMを次にPCRが到来したときの途中経過値CMに対
する1回前の途中経過値CMLとして記憶する。その
後、ステッブS12に移行して、比較回路23は増加値
△CCとステップS9で記憶したPCR値とを比較す
る。そして、ステップS13に移行して、比較回路23
はステップS12の比較の結果に応じてクロック周波数
修正のための制御信号を生成し、PWM波発生回路26
に供給する。その後、ステップS6に戻り、次の同期信
号の到来を監視する。
If the PCR is not included, the process returns to step S6 and the arrival of the next synchronization signal is monitored. When the PCR is included, the CPU 14 causes the PCR detection circuit 12 to read the value and input it to the comparison circuit 23, and then proceeds to the next step S10. In step S10, the CPU 14 sets the current intermediate progress value C of the counter 24 stored in step S7.
Subtract the intermediate progress value CML of the previous time from M, and increase value ΔCC
Is input to the comparison circuit 23. If the difference becomes negative, it means that the maximum value was exceeded during counting, so the correction is performed by adding the maximum value. Next, proceeding to step S11, the CPU 14 stores the current midway progress value CM as the previous midway progress value CML for the midway progress value CM when the PCR comes next. After that, in step S12, the comparison circuit 23 compares the increment value ΔCC with the PCR value stored in step S9. Then, the process proceeds to step S13 and the comparison circuit 23
Generates a control signal for correcting the clock frequency according to the comparison result of step S12, and the PWM wave generation circuit 26
Supply to. Then, the process returns to step S6, and the arrival of the next synchronization signal is monitored.

【0020】(2)PCR値が累積値の場合 PCRが累積値であり、或る最大値を持って循環するよ
うな場合、例えば最大値を10000とし、PCR毎に
1000、2000、・・・、10000(=0)、1
000、・・・というように計数する方式の場合、カウ
ンタ24もこの最大値を周期に循環的に計数するように
設定する。この場合のフローチャートを図3に示した。
この場合においても、カウンタ24はパケット受信装置
の電源が入るとリセットされ、すぐに計数を開始する。
しかし、PCR値とは最大値を同一として同期して循環
するとしても、数値自体が一致しているとは限らない。
ステップS1からステップS5までは、電源投入後、初
めて到来するPCRにより、この両者のずれCAを求め
るためのものである。先ず、ステップS1において同期
検出回路11は同期信号の到来を監視し、同期信号が検
出されない場合はステップS1に戻る。同期信号が検出
されるとカウンタ24の現在の計数値CCを途中経過値
CMとして記憶するためのラッチ信号をカウンタ24に
出力する。即ち、ステップS2に移行して、カウンタ2
4は現在の計数値CCをラッチし、CPU14はこの値
を途中経過値CMとして記憶する。次にCPU14はス
テップS3で取り込んだパケット中のPIDを検出す
る。そしてステップS4に移行し、検出したPIDによ
り、そのパケットが当該番組のPCRを含むかを判定す
る。PCRを含まない場合は、ステップS1に戻り、次
の同期信号の到来を監視する。また、PCRを含んでい
る場合は、CPU14はPCR検出回路12をしてその
値を読み取らせて記憶し、ステップS5に移行する。ス
テップS5でCPU14は、ステップS4で記憶したP
CR値からステップS2で記憶した途中経過値CMを減
算し、ずれCAとして記憶する。その後、ステップS6
に移行し、同期信号の到来を監視する。検出されない場
合はステップS6に戻る。同期信号が検出されるとカウ
ンタ24の現在の計数値CCを途中経過値CMとして記
憶するためのラッチ信号をカウンタ24に出力する。
(2) When the PCR value is a cumulative value When the PCR is a cumulative value and is cycled with a certain maximum value, for example, the maximum value is set to 10,000, and 1000, 2000, ... For each PCR. 10,000 (= 0), 1
In the case of the counting method such as 000, ..., The counter 24 is also set so as to cyclically count the maximum value. The flowchart in this case is shown in FIG.
Even in this case, the counter 24 is reset when the power of the packet receiving device is turned on, and immediately starts counting.
However, even if the maximum value is the same as the PCR value and they circulate in synchronization, the numerical values themselves do not necessarily match.
Steps S1 to S5 are for obtaining the difference CA between the two by the PCR that first arrives after the power is turned on. First, in step S1, the sync detection circuit 11 monitors the arrival of the sync signal, and if no sync signal is detected, the process returns to step S1. When the synchronization signal is detected, a latch signal for storing the current count value CC of the counter 24 as the midway progress value CM is output to the counter 24. That is, the process proceeds to step S2 and the counter
4 latches the present count value CC, and the CPU 14 stores this value as the midway progress value CM. Next, the CPU 14 detects the PID in the packet fetched in step S3. Then, the process proceeds to step S4, and it is determined from the detected PID whether or not the packet includes the PCR of the program. If the PCR is not included, the process returns to step S1 and the arrival of the next synchronization signal is monitored. When the PCR is included, the CPU 14 causes the PCR detection circuit 12 to read and store the value, and the process proceeds to step S5. In step S5, the CPU 14 sets P stored in step S4.
The midway progress value CM stored in step S2 is subtracted from the CR value and stored as a deviation CA. Then, step S6
Then, the arrival of the sync signal is monitored. If not detected, the process returns to step S6. When the synchronization signal is detected, a latch signal for storing the current count value CC of the counter 24 as the midway progress value CM is output to the counter 24.

【0021】即ち、ステップS7に移行し、カウンタ2
4の現在の計数値CCをラッチし、CPU14はこの値
を途中経過値CMとして記憶する。次にCPU14はス
テップS8で、取り込んだパケット中のPIDを検出す
る。そして、ステップS9に移行し、検出したPIDに
より、そのパケットが当該番組のPCRを含むかを判定
する。PCRを含まない場合は、ステップS6に戻り、
次の同期信号の到来を監視する。PCRを含んでいる場
合は、CPU14はPCR検出回路12にその値を読み
取らせて比較回路23に入力させ、次のステップS10
に移行する。ステップS10において、CPU14はス
テップS7で記憶した途中経過値CMと、ステップS5
で記憶したずれCAとを加算し、比較回路23に入力す
る。比較回路23はこの加算値とステップS9で入力さ
れたPCR値とを比較する。そして、ステップS11に
移行して、比較回路23はステップS10の比較の結果
に応じてクロック周波数修正のための制御信号を生成
し、PWM波発生回路26に供給する。その後、ステッ
プS6に戻り、次の同期信号の到来を監視する。尚、こ
の方法では数値が最大値を持って循環しているので、常
に同様な計算を行うと比較の結果が最大値分だけずれる
ことが生じる。このような場合は、適宜最大値を加減す
ることで比較結果を正しい範囲内に収めるように修正す
る。
That is, the process proceeds to step S7 and the counter 2
The current count value CC of 4 is latched, and the CPU 14 stores this value as the midway progress value CM. Next, the CPU 14 detects the PID in the received packet in step S8. Then, the process proceeds to step S9, and it is determined from the detected PID whether or not the packet includes the PCR of the program. If the PCR is not included, the process returns to step S6,
Monitor the arrival of the next sync signal. When the PCR is included, the CPU 14 causes the PCR detection circuit 12 to read the value and input it to the comparison circuit 23, and the next step S10.
Move to. In step S10, the CPU 14 sets the midway progress value CM stored in step S7 and the step S5.
The difference CA stored in step S3 is added and input to the comparison circuit 23. The comparison circuit 23 compares this added value with the PCR value input in step S9. Then, in step S11, the comparison circuit 23 generates a control signal for correcting the clock frequency according to the comparison result in step S10, and supplies the control signal to the PWM wave generation circuit 26. Then, the process returns to step S6, and the arrival of the next synchronization signal is monitored. In this method, since the numerical value circulates with the maximum value, the result of comparison may deviate by the maximum value if the same calculation is always performed. In such a case, the maximum value is appropriately adjusted to correct the comparison result so that it falls within the correct range.

【0022】上記(1)、(2)のいずれにおいても、
クロック波数累積値のPCRに基づく値に対する誤差が
収束するようにVCO28の発振周波数がフィードバッ
ク制御される。ここで、最終的にVCO28を制御する
タイミングは、PCR標化位置(MPEG2において
はPCRフィールドの最終ビット)である必要はなく、
これより後であっても、タイミングのばらつきが無視で
きる程度であれば所定時間後でよいとすることができ
る。即ち、本発明においてはそもそも現在のクロックの
計数値を読み込むタイミングを同期信号の時点とし、P
CR標化位置からずれた時点としても上記フィードバ
ック制御が可能であることに着目してなされたものであ
るから、もはやVCO28の制御タイミングがPCR標
化位置である必要はないのである。よって、上記のよ
うなステップを実行するハードウエア若しくはソフトウ
エアの処理速度は格別に高速である必要がなく、汎用の
ものが使用でき、従って装置の構成を簡素化することが
できる。
In both of the above (1) and (2),
The oscillation frequency of the VCO 28 is feedback-controlled so that the error of the cumulative value of the clock wave number with respect to the value based on PCR converges. Here, finally timing for controlling the VCO28 need not be (the last bit of the PCR field in MPEG2) PCR target present reduction position,
Even after this, if the timing variation is negligible, it can be determined that the predetermined time has passed. That is, in the present invention, the timing of reading the current clock count value is set as the timing of the synchronization signal, and P
Since even when deviated from the CR target the reduction position has been made in view of that it is possible the feedback control, no longer controls the timing of the VCO28 is PCR targets
It does not have to be the realization position. Therefore, the processing speed of the hardware or software for executing the above steps does not need to be particularly high, and a general-purpose one can be used, and thus the configuration of the device can be simplified.

【0023】尚、本発明における実施例の説明では、デ
ジタルデータの伝送方式をパケットとして説明してきた
が、これに限定されず、またパケット形式であったとし
ても固定長である必要はない。即ち、少なくともクロッ
ク基準信号に関して何らかの識別情報や同期信号が存在
し、これら識別情報や同期信号から一定距離(時間)の
関係でクロック基準信号が送信される形式のものであれ
ば良い。また、送信すべきデジタルデータはMPEG等
による圧縮画像データに限らず、例えば音声データ、M
IDIデータ、ゲームソフト、コンピュータソフト等で
も良い。即ち、送信されるクロック基準に基づいて受信
側で所定の基準クロックを再生し、これに基づいてデー
タを再生するようにしたデータ通信全般に適用すること
ができる。
In the description of the embodiment of the present invention, the digital data transmission method is described as a packet, but the present invention is not limited to this, and the packet format need not be a fixed length. That is, it may be of a type in which there is at least some identification information or a synchronization signal with respect to the clock reference signal, and the clock reference signal is transmitted at a fixed distance (time) from the identification information or the synchronization signal. Further, the digital data to be transmitted is not limited to compressed image data such as MPEG, but may be audio data, M
It may be IDI data, game software, computer software, or the like. That is, the present invention can be applied to general data communication in which a predetermined reference clock is reproduced on the receiving side based on the transmitted clock reference and data is reproduced based on this.

【0024】[0024]

【発明の効果】以上述べたように、本発明においては基
準クロックの計数時点をパケット同期信号の検出時点と
したので、PCRの標本化位置を検出する手段が不要に
なり、装置を簡素化することができる。また、可変周波
数発振手段の発振周波数制御タイミングをPCRの標本
化位より所定時間後としたので、ハードウエアやソフ
トウエアの処理速度を遅くすることができ、装置を更に
簡素化することができる。
As described above, in the present invention, the reference clock counting time is set as the packet synchronization signal detection time, so that the means for detecting the PCR sampling position becomes unnecessary. The device can be simplified. Further, the oscillation frequency control timing of the variable frequency oscillating means so was after a predetermined time than the sampling position location of PCR, it is possible to slow down hardware or software, it is possible to further simplify the apparatus .

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例におけるパケット受信装置のブ
ロック図。
FIG. 1 is a block diagram of a packet reception device according to an embodiment of the present invention.

【図2】本発明におけるクロック再生装置のフローチャ
ート図(実施例1)。
FIG. 2 is a flowchart of the clock recovery device according to the present invention (Example 1).

【図3】本発明におけるクロック再生装置のフローチャ
ート図(実施例2)。
FIG. 3 is a flowchart of a clock recovery device according to the present invention (second embodiment).

【図4】MPEG2による画像データを送信するトラン
スポート・パケットの模式図。
FIG. 4 is a schematic diagram of a transport packet for transmitting image data according to MPEG2.

【図5】従来例のパケット受信装置のブロック図。FIG. 5 is a block diagram of a conventional packet receiving device.

【符号の説明】[Explanation of symbols]

10・・・入力端子 11・・・同期検出回路 12・・・PCR検出回路 13・・・バッファー回路 14・・・CPU 23・・・比較回路 24・・・カウンタ 26・・・PWM波発生回路 27・・・LPF 28・・・VCO 10 ... Input terminal 11 ... Synchronous detection circuit 12 ... PCR detection circuit 13 ... Buffer circuit 14 ... CPU 23 ... Comparison circuit 24 ... Counter 26 ... PWM wave generation circuit 27 ... LPF 28 ... VCO

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中沢 克也 東京都大田区大森西4丁目15番5号 パ イオニア株式会社大森工場内 (72)発明者 恒川 賢二 東京都大田区大森西4丁目15番5号 パ イオニア株式会社大森工場内 (56)参考文献 特開 平7−46592(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Katsuya Nakazawa 4-15-5 Omorinishi, Ota-ku, Tokyo Pioneer Co., Ltd. Omori Plant (72) Inventor Kenji Tsunekawa 4-15 Omorinishi, Ota-ku, Tokyo No. 5 Pioneer Co., Ltd. Omori Factory (56) Reference JP-A-7-46592 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 7/ 24-7/68

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信側からパケットで順次送信され基準
クロックに基づいて再生すべきデータを受信側において
再生するための前記基準クロックを前記受信側で再生す
るためのクロック再生装置であって、 前記パケットは所定の同期ビットを先頭に有し、少なく
とも一部の前記パケットにはそのパケットの先頭より一
ビット数目を標本化位置としたPCRを記述するフィ
ールドが有るものであり、 前記クロック再生装置は、 前記パケットの同期ビットを検出する同期検出手段と、 前記フィールドを検出しこのフィールドに記述された前
PCRを検出するPCR検出手段と、クロック周波数修正のための 制御信号により発振周波数
が制御されこの発振出力を前記基準クロックとする可変
周波発振手段と、 前記基準クロックを計数する計数手段と、 前記同期ビットの検出時点の前記基準クロックの計数値
を記憶する記憶手段と、 前記PCRを含むフィールドが検出されたときのみ、そ
のフィールドに記述された前記PCRと前記フィールド
が検出された少なくとも今回のパケットにおける前記計
数値とに基づいて前記制御信号を出力する比較手段とを
備えたことを特徴とするクロック再生装置。
1. A clock regenerator for regenerating, on the receiving side, the reference clock for regenerating on the receiving side data to be regenerated on the basis of the reference clock, which is sequentially transmitted from the transmitting side in packets. packet has at the top a predetermined synchronization bit, at least a portion of the packet one from the head of the packet
There is a field that describes a PCR with a constant number of bits as a sampling position. The clock reproduction device detects a synchronization bit of the packet and a field that detects the field and is described in this field. a PCR detection means for detecting the PCR, a variable <br/> frequency oscillation means for the oscillation output before and Kimoto reference clock oscillation frequency is controlled by the control signal for clock frequency correction, before Kimoto quasi counting means for counting the clock, storage means for storing a count value of the previous Kimoto reference clock detection time point of the synchronization bit, only when the field containing the PCR is detected, the PCR described in the field And comparing means for outputting the control signal based on at least the count value in the current packet in which the field is detected Clock reproducing apparatus characterized by comprising a.
【請求項2】 前記標本化位置は前記フィールドの最終
ビットであり、 前記制御信号の出力時点が前記フィールドの最終ビット
の検出時点から所定時間であることを特徴とする請求
項1記載のクロック再生装置。
2. The sampling position is the last bit of the field, and the output time of the control signal is the last bit of the field.
2. The clock regenerator according to claim 1, which is after a predetermined time from the point of detection of .
JP21272995A 1995-07-28 1995-07-28 Clock recovery device Expired - Fee Related JP3524644B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21272995A JP3524644B2 (en) 1995-07-28 1995-07-28 Clock recovery device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21272995A JP3524644B2 (en) 1995-07-28 1995-07-28 Clock recovery device

Publications (3)

Publication Number Publication Date
JPH0946706A JPH0946706A (en) 1997-02-14
JP3524644B2 true JP3524644B2 (en) 2004-05-10
JPH0946706A6 JPH0946706A6 (en) 2004-07-08

Family

ID=16627474

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21272995A Expired - Fee Related JP3524644B2 (en) 1995-07-28 1995-07-28 Clock recovery device

Country Status (1)

Country Link
JP (1) JP3524644B2 (en)

Also Published As

Publication number Publication date
JPH0946706A (en) 1997-02-14

Similar Documents

Publication Publication Date Title
US7379653B2 (en) Audio-video synchronization for digital systems
US5543932A (en) Digital video signal recording apparatus and digital video signal reproducing apparatus
JP3575100B2 (en) Data transmission / reception apparatus and method, and data recording / reproduction apparatus and method
US5887110A (en) Video data playback system using effective scheme for producing coded video data for fast playback mode
US6028726A (en) Digital data recording/reproducing apparatus and method with means for adding arrival time to a data packet
EP0876062B1 (en) Digital recording/playback apparatus with improved error correction capability and method therefor
EP0721288B1 (en) Transmission apparatus and receiving apparatus
JP4010066B2 (en) Image data recording apparatus and recording method, and image data recording / reproducing apparatus and recording / reproducing method
JPH1051737A (en) Packet processing method
JPH0832926A (en) Digital recording/reproducing device
US6377588B1 (en) Method and apparatus for reducing jitter of a program clock reference in a transport stream of MPEG over ATM, and MPEG decoder
JP3045715B2 (en) Transmission system, transmitting device, recording / reproducing device, and recording device
JPH10334615A (en) Reference clock reproducing apparatus and recording apparatus
JP3524644B2 (en) Clock recovery device
JPH0964860A (en) Clock recovery device
JP3334354B2 (en) Variable speed playback method and playback apparatus for digital video signal
JP3102260B2 (en) Video encoding device
JP4217934B2 (en) Transport stream recording apparatus and method, and recording medium
JP3018335B2 (en) Method and apparatus for reducing program clock reference jitter of MPEG over ATM and MPEG decoding apparatus
JP3792770B2 (en) Recording / playback device
JPH0946706A6 (en) Clock recovery device
JP3689440B2 (en) Playback device
JP3585972B2 (en) Recording / reproducing device and reproducing device
JP3498335B2 (en) Digital video signal recording device, reproducing device and recording / reproducing device
JPH099215A (en) Data multiplex method, data transmission method, multiplex data decoding method and multiplex data decoder

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031224

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040213

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090220

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100220

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110220

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees