JP2009188897A - Communication system - Google Patents

Communication system Download PDF

Info

Publication number
JP2009188897A
JP2009188897A JP2008028912A JP2008028912A JP2009188897A JP 2009188897 A JP2009188897 A JP 2009188897A JP 2008028912 A JP2008028912 A JP 2008028912A JP 2008028912 A JP2008028912 A JP 2008028912A JP 2009188897 A JP2009188897 A JP 2009188897A
Authority
JP
Japan
Prior art keywords
clock
pixel data
packet
sink device
video
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.)
Pending
Application number
JP2008028912A
Other languages
Japanese (ja)
Inventor
Akihiro Tatsuta
明浩 竜田
Makoto Funabiki
誠 船引
Yuji Oue
裕司 大植
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.)
Panasonic Corp
Original Assignee
Panasonic 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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2008028912A priority Critical patent/JP2009188897A/en
Publication of JP2009188897A publication Critical patent/JP2009188897A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To synchronize between a source device and a sync device. <P>SOLUTION: A packet-generating circuit 3 generates a video packet including video data, adds a count value Csource(t) of clocks CLKp1 of pixel data, with a timing to send the video packet to a sync device 11 to a header part of the video packet as a time stamp value and transmits the video packet to the sync device 11. A packet-processing circuit 14 extracts the count value Csource(t) from the header part of the received video packet and outputs the extracted count value to a clock-generating circuit 18. The clock generating circuit 18 performs an insertion processing or a thinning processing on a clock CLKp2 from a PLL circuit 26, with a timing other than an effective pixel region in the video data so that by having the differential value between the count value Csource(t) and count value Ccount(t) of clocks CLKp3 of pixel data substantially converge to zero, the clock CLKp3 of pixel data in the sync device 11 is generated and output. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、映像及び音声機器(以下、AV機器という。)間で映像及び音声データ(以下、AVデータという。)を伝送する通信システムに関し、特に、非圧縮映像データや音声データをパケット伝送する通信システムに関する。   The present invention relates to a communication system for transmitting video and audio data (hereinafter referred to as AV data) between video and audio devices (hereinafter referred to as AV devices), and in particular, packet transmission of uncompressed video data and audio data. The present invention relates to a communication system.

非圧縮の映像データは複数の水平の走査線(水平ラインともいう。)に分割されており、各走査線は複数の画素データを有する。ここで、走査線当たりの画素数と、フレーム又はフィールド当たりの走査線数と、必要なリフレッシュレート(フレームレート又はフィールド周波数である。)との積は、画素データのクロックとして定義される。非圧縮の映像データを受信するAV機器は、例えば、1つの基準クロックを用いてオーディオクロック及び画素データのクロックを発生するための位相同期ループ回路(以下、PLL(Phase Locked Loop)回路という。)を備えて構成される。しかしながら、上記PLL回路の分周器のパラメータの全てを実際に実現できるわけではないので、当該PLL回路を用いて、正確なオーディオクロック及び画素データのクロックの両方を発生することはできず、従って、受信されたAVストリームに含まれる映像を音声に正確に同期させることはできない。   Uncompressed video data is divided into a plurality of horizontal scanning lines (also referred to as horizontal lines), and each scanning line has a plurality of pixel data. Here, the product of the number of pixels per scanning line, the number of scanning lines per frame or field, and the required refresh rate (which is the frame rate or field frequency) is defined as a clock for pixel data. An AV device that receives uncompressed video data, for example, uses a single reference clock to generate an audio clock and a pixel data clock (hereinafter referred to as a PLL (Phase Locked Loop) circuit). It is configured with. However, since not all the frequency divider parameters of the PLL circuit can actually be realized, the PLL circuit cannot be used to generate both an accurate audio clock and pixel data clock, and therefore The video included in the received AV stream cannot be accurately synchronized with the audio.

特許文献1に記載された従来技術に係るビデオ同期化方法によれば、上記PLL回路によって実現可能な分周器パラメータを用いてオーディオクロックに同期した画素データのクロックを発生するために、例えば走査線当たりの画素数又はフレーム当たりの走査線数などのビデオパラメータを変更する。   According to the video synchronization method according to the prior art described in Patent Document 1, in order to generate a clock of pixel data synchronized with an audio clock using a divider parameter that can be realized by the PLL circuit, for example, scanning is performed. Change video parameters such as the number of pixels per line or the number of scan lines per frame.

特開2006−74740号公報。JP 2006-74740 A.

しかしながら、従来技術に係るビデオ同期化方法において、例えば走査線当たりの画素数又はフレーム当たりの走査線数などのビデオパラメータを変更するので、非圧縮のAVデータをソース機器からシンク機器に送信して表示させる場合、以下の課題が生じた。すなわち、例えば、ソース機器とシンク機器とが互いにネットワーク接続される場合、例えば、AVデータのコンテンツがコマーシャルと番組との間で切り替わってビデオパラメータが変更されたとき、ソース機器からシンク機器に対して、変更されたビデオパラメータの情報を通知する必要があり、複雑な制御を行う必要があるという課題があった。また、互いの機器において当該ビデオパラメータの変更が可能であるか保障されないといった課題を有していた。さらに、ソース機器とシンク機器との間でクロック周波数の精度などのスペックが異なる場合、シンク機器においてAVデータを正常に再生できない可能性があった。   However, in the video synchronization method according to the prior art, since video parameters such as the number of pixels per scanning line or the number of scanning lines per frame are changed, uncompressed AV data is transmitted from the source device to the sink device. When displaying, the following problems occurred. That is, for example, when the source device and the sink device are connected to each other over the network, for example, when the content of AV data is switched between the commercial and the program and the video parameter is changed, the source device to the sink device There is a problem that it is necessary to notify the information of the changed video parameter, and it is necessary to perform complicated control. In addition, there is a problem that the video parameters can be changed or not guaranteed in each device. Further, when the specifications such as the accuracy of the clock frequency are different between the source device and the sink device, there is a possibility that the AV data cannot be normally reproduced in the sink device.

本発明の目的は以上の問題点を解決し、AV機器などのソース機器とシンク機器との間でAVデータをパケット伝送する通信システムにおいて、非圧縮映像データ内の画素データのクロックのように周波数が変化する場合であっても、視聴される画像への影響なしにソース機器とシンク機器との間でクロック同期をとることができる、従来技術に比較して簡単な構成を有する通信システムを提供することにある。   The object of the present invention is to solve the above-mentioned problems, and in a communication system in which AV data is packet-transmitted between a source device such as an AV device and a sink device, a frequency such as a clock of pixel data in uncompressed video data. Provides a communication system with a simpler configuration compared to the prior art that can synchronize the clock between the source device and the sink device without affecting the viewed image even when the image changes There is to do.

第1の発明に係る通信システムは、ソース機器からシンク機器に映像データをパケット伝送する通信システムにおいて、
上記ソース機器は、
上記映像データ内の画素データのクロックを計数し第1の計数値を示す信号を出力する送信カウンタと、
上記映像データを含む所定のパケット形式の映像パケットを生成し、上記映像パケットを上記シンク機器に送出するタイミングにおける上記第1の計数値を、タイムスタンプ値として上記映像パケットのヘッダ部に付加して上記シンク機器に送信するパケット生成手段とを備え、
上記シンク機器は、
上記映像パケットを受信し、上記受信された映像パケットのヘッダ部から上記第1の計数値を抽出し、上記抽出された第1の計数値を示す信号を出力するパケット処理手段と、
上記パケット処理手段からの第1の計数値を示す信号と、受信カウンタから出力される第2の計数値を示す信号との差分値を計算して、上記差分値を示す差分信号を出力する減算手段と、
上記差分信号に基づいてクロックを発生して出力するクロック発生手段と、
上記シンク機器における画素データのクロックに基づいて、上記映像データの水平同期信号及び垂直同期信号を発生して出力する同期信号発生手段と、
上記同期信号発生手段からの水平同期信号及び垂直同期信号に基づいて、上記映像データの有効画素領域以外のタイミングを検出し、上記検出したタイミングにおいて、上記差分値が実質的にゼロに収束するように上記クロック発生手段からのクロックに対して所定の挿入処理又は所定の間引き処理のいずれかの処理を行うことにより、上記シンク機器における画素データのクロックを発生して出力するクロック制御手段と、
上記クロック制御手段から出力される画素データのクロックを計数して、上記第2の計数値を示す信号を上記減算手段に出力する受信カウンタとを備えたことを特徴とする。
A communication system according to a first aspect of the present invention is a communication system for packet-transmitting video data from a source device to a sink device.
The source device is
A transmission counter that counts a clock of pixel data in the video data and outputs a signal indicating a first count value;
A video packet in a predetermined packet format including the video data is generated, and the first count value at the timing of sending the video packet to the sink device is added as a time stamp value to the header of the video packet. Packet generating means for transmitting to the sink device,
The sink device
Packet processing means for receiving the video packet, extracting the first count value from a header portion of the received video packet, and outputting a signal indicating the extracted first count value;
Subtraction for calculating the difference value between the signal indicating the first count value from the packet processing means and the signal indicating the second count value output from the reception counter and outputting the difference signal indicating the difference value Means,
Clock generating means for generating and outputting a clock based on the differential signal;
Synchronization signal generating means for generating and outputting a horizontal synchronization signal and a vertical synchronization signal of the video data based on a clock of pixel data in the sink device;
Based on the horizontal synchronizing signal and the vertical synchronizing signal from the synchronizing signal generating means, timing other than the effective pixel area of the video data is detected, and the difference value is converged to substantially zero at the detected timing. A clock control unit that generates and outputs a clock of pixel data in the sink device by performing either a predetermined insertion process or a predetermined decimation process on the clock from the clock generation unit;
And a reception counter that counts a clock of pixel data output from the clock control means and outputs a signal indicating the second count value to the subtraction means.

上記通信システムにおいて、上記有効画素領域以外のタイミングは、上記映像データの水平帰線期間内又は垂直帰線期間内のタイミングであることを特徴とする。   In the communication system, the timing other than the effective pixel region is a timing within a horizontal blanking period or a vertical blanking period of the video data.

第2の発明に係る通信システムは、ソース機器からシンク機器に映像データをパケット伝送する通信システムにおいて、
上記ソース機器は、
上記シンク機器から送信されるクロック制御データ信号に基づいて、上記映像データ内の画素データのクロックの周波数を調整して、上記調整後の画素データのクロックを発生して出力するクロック調整手段と、
上記クロック調整手段からの調整後の画素データのクロックを計数し第1の計数値を示す信号を出力する送信カウンタと、
上記映像データを含む所定のパケット形式の映像パケットを生成し、上記映像パケットを上記シンク機器に送出するタイミングにおける上記第1の計数値を、タイムスタンプ値として上記映像パケットのヘッダ部に付加して上記シンク機器に送信するパケット生成手段とを備え、
上記シンク機器は、
上記ソース機器からの映像パケットを受信し、上記受信された映像パケットのヘッダ部から上記第1の計数値を抽出し、上記抽出された第1の計数値を示す信号を出力するパケット処理手段と、
上記パケット処理手段からの第1の計数値を示す信号と、受信カウンタから出力される第2の計数値を示す信号との差分値を計算して、上記差分値を示す差分信号を出力する減算手段と、
上記差分信号に基づいて上記シンク機器における画素データのクロックを発生して出力するクロック発生手段と、
上記クロック発生手段から出力される画素データのクロックに基づいて、上記映像データの水平同期信号及び垂直同期信号を発生して出力する同期信号発生手段と、
上記クロック発生手段から出力される画素データのクロックを計数して、上記第2の計数値を示す信号を上記減算手段に出力する受信カウンタと、
上記差分値に基づいて上記クロック制御データ信号を発生して上記ソース機器のクロック調整手段に送信するクロック制御手段とを備え、
上記ソース機器のクロック調整手段は、上記シンク機器のクロック制御手段から送信される上記クロック制御データ信号に基づいて、上記差分値が実質的にゼロに収束するように上記映像データ内の画素データのクロックの周波数を調整して、上記調整後の画素データのクロックを発生することを特徴とする。
A communication system according to a second invention is a communication system for packet-transmitting video data from a source device to a sink device.
The source device is
Based on a clock control data signal transmitted from the sink device, a clock adjusting unit that adjusts the frequency of the pixel data clock in the video data and generates and outputs the clock of the adjusted pixel data;
A transmission counter that counts the clock of pixel data after adjustment from the clock adjustment means and outputs a signal indicating a first count value;
A video packet in a predetermined packet format including the video data is generated, and the first count value at the timing of sending the video packet to the sink device is added as a time stamp value to the header of the video packet. Packet generating means for transmitting to the sink device,
The sink device
Packet processing means for receiving a video packet from the source device, extracting the first count value from a header portion of the received video packet, and outputting a signal indicating the extracted first count value; ,
Subtraction for calculating the difference value between the signal indicating the first count value from the packet processing means and the signal indicating the second count value output from the reception counter and outputting the difference signal indicating the difference value Means,
Clock generation means for generating and outputting a clock of pixel data in the sink device based on the difference signal;
Synchronization signal generation means for generating and outputting a horizontal synchronization signal and a vertical synchronization signal of the video data based on a clock of pixel data output from the clock generation means;
A reception counter that counts a clock of pixel data output from the clock generation means and outputs a signal indicating the second count value to the subtraction means;
Clock control means for generating the clock control data signal based on the difference value and transmitting it to the clock adjustment means of the source device,
Based on the clock control data signal transmitted from the clock control means of the sink device, the clock adjustment means of the source device is configured to adjust the pixel data in the video data so that the difference value converges to substantially zero. The clock frequency is adjusted to generate a clock for the adjusted pixel data.

上記通信システムにおいて、上記クロック制御手段は、上記減算手段からの差分値が実質的にゼロに収束している否かを判断し、上記減算手段からの差分値が実質的にゼロに収束していないときに、上記クロック制御データ信号を発生することを特徴とする。   In the communication system, the clock control means determines whether or not the difference value from the subtraction means has substantially converged to zero, and the difference value from the subtraction means has substantially converged to zero. When not, the clock control data signal is generated.

第1の発明に係る通信システムによれば、シンク機器のクロック制御手段は、同期信号発生手段からの水平同期信号及び垂直同期信号に基づいて、映像データの有効画素領域以外のタイミングを検出し、検出したタイミングにおいて、差分値が実質的にゼロに収束するようにクロック発生手段からのクロックに対して所定の挿入処理又は所定の間引き処理のいずれかの処理を行うことにより、シンク機器における画素データのクロックを発生して出力するので、ユーザによって視聴される画像への影響なしに、シンク機器における画素データのクロックを映像データ内の画素データのクロックに同期させることができる。これにより、シンク機器における映像データのアンダーフロー及びオーバーフローを防止できる。   According to the communication system of the first invention, the clock control means of the sink device detects timings other than the effective pixel area of the video data based on the horizontal synchronization signal and the vertical synchronization signal from the synchronization signal generation means, Pixel data in the sink device is obtained by performing either predetermined insertion processing or predetermined thinning-out processing on the clock from the clock generation means so that the difference value converges to substantially zero at the detected timing. Therefore, the clock of the pixel data in the sink device can be synchronized with the clock of the pixel data in the video data without affecting the image viewed by the user. Thereby, underflow and overflow of video data in the sink device can be prevented.

また、第2の発明に係る通信システムによれば、シンク機器のクロック制御手段は、差分値に基づいてクロック制御データ信号を発生してソース機器のクロック調整手段に送信し、ソース機器のクロック調整手段は、シンク機器のクロック制御手段から送信されるクロック制御データ信号に基づいて、差分値が実質的にゼロに収束するように映像データ内の画素データのクロックの周波数を調整して、上記調整後の画素データのクロックを発生して出力するので、ユーザによって視聴される画像への影響なしに、ソース機器とシンク機器との間でクロック同期をとることができる。これにより、シンク機器における映像データのアンダーフロー及びオーバーフローを防止できる。   According to the communication system of the second invention, the clock control means of the sink device generates a clock control data signal based on the difference value and transmits it to the clock adjustment means of the source device to adjust the clock of the source device. The means adjusts the frequency of the pixel data clock in the video data based on the clock control data signal transmitted from the clock control means of the sink device so that the difference value substantially converges to zero, Since the clock of the subsequent pixel data is generated and output, clock synchronization can be established between the source device and the sink device without affecting the image viewed by the user. Thereby, underflow and overflow of video data in the sink device can be prevented.

以下、本発明に係る実施形態について図面を参照して説明する。なお、以下の各実施形態において、同様の構成要素については同一の符号を付している。   Hereinafter, embodiments according to the present invention will be described with reference to the drawings. In addition, in each following embodiment, the same code | symbol is attached | subjected about the same component.

第1の実施形態.
図1は本発明の第1の実施形態に係る無線通信システムの構成を示すブロック図であり、図2は図1のクロック発生回路18の構成を示すブロック図であり、図3は図2のクロックコントローラ21の動作の一例を示すタイミングチャートである。
First embodiment.
FIG. 1 is a block diagram showing the configuration of the wireless communication system according to the first embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of the clock generation circuit 18 of FIG. 1, and FIG. 3 is a timing chart showing an example of the operation of the clock controller 21.

本実施形態に係る無線通信システムにおいて、ソース機器1は、映像データ内の画素データのクロックCLKp1を計数し第1の計数値Csource(t)を示す信号を出力する送信カウンタ4と、映像データを含む所定のパケット形式の映像パケットPvideoを生成し、映像パケットPvideoをシンク機器11に送出するタイミングにおける第1の計数値Csource(t)を、タイムスタンプ値として映像パケットPvideoのヘッダ部に付加してシンク機器11に送信するパケット生成回路3とを備たことを特徴としている。また、シンク機器11は、パケット処理回路14と、減算器22と、クロック発生回路28と、同期信号発生回路19と、クロックコントローラ21と、受信カウンタ27とを備えたことを特徴としている。ここで、パケット処理回路14は、映像パケットPvideoを受信し、受信された映像パケットPvideoのヘッダ部から第1の計数値Csource(t)を抽出し、抽出された第1の計数値Csource(t)を示す信号を出力する。また、減算器22は、パケット処理回路14からの第1の計数値Csource(t)を示す信号と、受信カウンタ27から出力される第2の計数値Ccount(t)を示す信号との差分値D(t)を計算して、差分値D(t)を示す差分信号を出力する。さらに、クロック発生回路28は、差分信号に基づいてクロックを発生して出力する。またさらに、同期信号発生回路19は、シンク機器11における画素データのクロックCLKp3に基づいて、映像データの水平同期信号HSYNC及び垂直同期信号VSYNCを発生して出力する。そして、クロックコントローラ21は、同期信号発生回路19からの水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、映像データの有効画素領域以外のタイミングを検出し、検出したタイミングにおいて、差分値D(t)が実質的にゼロに収束するようにクロック発生回路28からのクロックCLKp2に対して所定の挿入処理又は所定の間引き処理のいずれかの処理を行うことにより、シンク機器11における画素データのクロックCLKp3を発生して出力する。また、受信カウンタ27は、クロックコントローラ21から出力される画素データのクロックCLKp3を計数して、第2の計数値Ccount(t)を示す信号を減算器22に出力する。   In the wireless communication system according to the present embodiment, the source device 1 counts the pixel data clock CLKp1 in the video data and outputs a signal indicating the first count value Csource (t), and the video data A video packet Pvideo having a predetermined packet format is generated, and the first count value Csource (t) at the timing of sending the video packet Pvideo to the sink device 11 is added as a time stamp value to the header portion of the video packet Pvideo. A packet generation circuit 3 that transmits to the sink device 11 is provided. The sink device 11 includes a packet processing circuit 14, a subtractor 22, a clock generation circuit 28, a synchronization signal generation circuit 19, a clock controller 21, and a reception counter 27. Here, the packet processing circuit 14 receives the video packet Pvideo, extracts the first count value Csource (t) from the header portion of the received video packet Pvideo, and extracts the extracted first count value Csource (t ) Is output. Further, the subtracter 22 is a difference value between a signal indicating the first count value Csource (t) from the packet processing circuit 14 and a signal indicating the second count value Ccount (t) output from the reception counter 27. D (t) is calculated and a difference signal indicating the difference value D (t) is output. Further, the clock generation circuit 28 generates and outputs a clock based on the difference signal. Furthermore, the synchronization signal generation circuit 19 generates and outputs a horizontal synchronization signal HSYNC and a vertical synchronization signal VSYNC of video data based on the pixel data clock CLKp3 in the sink device 11. Then, the clock controller 21 detects timings other than the effective pixel area of the video data based on the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC from the synchronization signal generation circuit 19, and at the detected timing, the difference value D (t ) Of the pixel data in the sink device 11 by performing either a predetermined insertion process or a predetermined decimation process on the clock CLKp2 from the clock generation circuit 28 so that it substantially converges to zero. Is generated and output. The reception counter 27 counts the clock CLKp3 of the pixel data output from the clock controller 21 and outputs a signal indicating the second count value Ccount (t) to the subtractor 22.

さらに、本実施形態において、上記有効画素領域以外のタイミングは、映像データの水平帰線期間内又は垂直帰線期間内のタイミングであることを特徴としている。   Furthermore, in the present embodiment, the timing other than the effective pixel region is a timing within a horizontal blanking period or a vertical blanking period of video data.

図1において、ソース機器1は、例えばDVDプレイヤなどの映像再生装置2と、パケット生成回路3と、送信カウンタ4と、無線通信回路5と、アンテナ6とを備えて構成される。一方、シンク機器11は、アンテナ12と、無線通信回路13と、パケット処理回路14と、映像データ処理回路15と、バッファメモリ16と、ディスプレイ17と、クロック発生回路18と、同期信号発生回路19とを備えて構成される。   In FIG. 1, the source device 1 includes a video playback device 2 such as a DVD player, a packet generation circuit 3, a transmission counter 4, a wireless communication circuit 5, and an antenna 6. On the other hand, the sink device 11 includes an antenna 12, a wireless communication circuit 13, a packet processing circuit 14, a video data processing circuit 15, a buffer memory 16, a display 17, a clock generation circuit 18, and a synchronization signal generation circuit 19. And is configured.

まず、ソース機器1の動作について説明する。図1において、映像再生装置2は、DVDなどの記録媒体から映像データを再生してパケット生成回路3に出力するとともに、映像データ内の画素データのクロックCLKp1(例えば、水平ライン当たりの画素数2200×水平ライン数1125×フィールド周波数60Hz=148.5MHzの周波数を有する。)を送信カウンタ4に出力する。送信カウンタ4は、画素データのクロックCLKp1を用いて計数する。送信カウンタ4の計数値Csource(t)は、パケット生成回路3において、映像データパケットPvideoが無線通信回路5からシンク機器11に送出されるタイミング毎に、タイムスタンプ値としてパケットPvideoのヘッダ部に付加される。パケット生成回路3は、映像再生装置2からの映像データを含む所定のパケットの形式の映像データパケットPvideoのデータ信号を発生して、無線通信回路5に出力する。さらに、無線通信回路5は、入力されるデータ信号に従って、無線搬送波信号をデジタル変調し、変調後の無線信号をアンテナ6を介してシンク機器11のアンテナ12に向け無線送信する。   First, the operation of the source device 1 will be described. In FIG. 1, a video reproduction device 2 reproduces video data from a recording medium such as a DVD and outputs the video data to the packet generation circuit 3, and a clock CLKp1 (for example, 2200 pixels per horizontal line) of pixel data in the video data. X horizontal line number 1125 x field frequency 60 Hz = 148.5 MHz) is output to the transmission counter 4. The transmission counter 4 counts using the pixel data clock CLKp1. The count value Csource (t) of the transmission counter 4 is added to the header portion of the packet Pvideo as a time stamp value at each timing when the video data packet Pvideo is sent from the wireless communication circuit 5 to the sink device 11 in the packet generation circuit 3. Is done. The packet generation circuit 3 generates a data signal of a video data packet Pvideo in a predetermined packet format including the video data from the video playback device 2 and outputs the data signal to the wireless communication circuit 5. Further, the wireless communication circuit 5 digitally modulates the wireless carrier signal in accordance with the input data signal, and wirelessly transmits the modulated wireless signal to the antenna 12 of the sink device 11 via the antenna 6.

次に、シンク機器11の動作について説明する。図1において、ソース機器1のアンテナ6から送信された無線信号はアンテナ12により受信された後、無線通信回路13に入力される。無線通信回路13は、受信された無線信号をデジタル信号に復調した後、パケット処理回路14に出力する。パケット処理回路14は、ソース機器1から送信されたパケットPvideoを同期信号発生回路19に出力するとともに、当該パケットPvideoのヘッダに付加された計数値Csource(t)を抽出してクロック発生回路18に出力する。さらに、パケット処理回路14は、映像データを多重分離して映像データ処理回路15に出力する。クロック発生回路18は、図3を用いて詳細後述するように、計数値Csource(t)並びに同期信号発生回路19からの水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、画素データのクロックCLKp3を発生して、映像データ処理回路15及び同期信号発生回路19に出力する。映像データ処理回路15は、入力される映像データに対して、クロック発生回路18からの画素データのクロックCLKp3に基づいて所定のパケット復号処理等を実行することにより映像信号に変換した後、バッファメモリ16を介してディスプレイ17に出力してその画像を表示させる。一方、同期信号発生回路19は、クロック発生回路18からの画素データのクロックCLKp3をベースクロックとして用いて、パケット処理回路14からのパケットPvideoのヘッダに格納された送信された画素データの位置情報(例えば、水平方向画素の位置及び垂直方向画素の位置)に基づいて、水平同期信号HSYNCと垂直同期信号VSYNCとを発生してディスプレイ17及びクロック発生回路18に出力する。   Next, the operation of the sink device 11 will be described. In FIG. 1, a radio signal transmitted from the antenna 6 of the source device 1 is received by the antenna 12 and then input to the radio communication circuit 13. The wireless communication circuit 13 demodulates the received wireless signal into a digital signal, and then outputs it to the packet processing circuit 14. The packet processing circuit 14 outputs the packet Pvideo transmitted from the source device 1 to the synchronization signal generation circuit 19 and extracts the count value Csource (t) added to the header of the packet Pvideo to the clock generation circuit 18. Output. Further, the packet processing circuit 14 demultiplexes the video data and outputs it to the video data processing circuit 15. As will be described later in detail with reference to FIG. 3, the clock generation circuit 18 generates a clock CLKp3 of pixel data based on the count value Csource (t) and the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC from the synchronization signal generation circuit 19. And output to the video data processing circuit 15 and the synchronization signal generation circuit 19. The video data processing circuit 15 converts the input video data into a video signal by executing a predetermined packet decoding process or the like based on the clock CLKp3 of the pixel data from the clock generation circuit 18, and then converts it into a buffer memory. The image is output to the display 17 via 16 and displayed. On the other hand, the synchronization signal generation circuit 19 uses the pixel data clock CLKp3 from the clock generation circuit 18 as a base clock, and transmits the positional information of the transmitted pixel data stored in the header of the packet Pvideo from the packet processing circuit 14 ( For example, the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC are generated based on the horizontal pixel position and the vertical pixel position) and output to the display 17 and the clock generation circuit 18.

図2において、クロック発生回路18は、減算器22と、クロック発生回路28と、クロックコントローラ21と、受信カウンタ27とを備えて構成され、入力される計数値Csource(t),水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、画素データのクロックCLKp3を発生する。ここで、クロック発生回路28は、フィルタ23と、D/A変換器24と、VCXO25と、PLL回路26と備える。   In FIG. 2, the clock generation circuit 18 includes a subtracter 22, a clock generation circuit 28, a clock controller 21, and a reception counter 27, and receives a count value Csource (t) and a horizontal synchronization signal HSYNC. The pixel data clock CLKp3 is generated based on the vertical synchronization signal VSYNC. Here, the clock generation circuit 28 includes a filter 23, a D / A converter 24, a VCXO 25, and a PLL circuit 26.

クロック発生回路18は以下のように動作する。図2において、まず、ソース機器1が出力する計数値Csource(t)は、減算器22に入力される。減算器22は、入力される計数値Csource(t)と受信カウンタ27からの計数値Ccount(t)の差分値D(t)を計算して、上記差分値D(t)を示す信号を発生して、フィルタ23及びクロックコントローラ21に出力する。フィルタ23は例えばLPFにてなり、上記差分値D(t)を示す信号を平滑化し、平滑化した信号Dav(t)をD/A変換器24に出力する。D/A変換器24は平滑化した信号Dav(t)をアナログ電圧に変換してVCXO25の発振周波数を制御する。VCXO25は基準クロックCLKref(例えば27MHzの周波数を有する。)をPLL回路26に出力する。PLL回路26は、基準クロックCLKrefに基づいて、クロックCLKp2を発生してクロックコントローラ21に出力する。   The clock generation circuit 18 operates as follows. In FIG. 2, first, the count value Csource (t) output from the source device 1 is input to the subtractor 22. The subtractor 22 calculates a difference value D (t) between the input count value Csource (t) and the count value Ccount (t) from the reception counter 27, and generates a signal indicating the difference value D (t). Then, the data is output to the filter 23 and the clock controller 21. The filter 23 is composed of, for example, LPF, and smoothes the signal indicating the difference value D (t) and outputs the smoothed signal Dav (t) to the D / A converter 24. The D / A converter 24 converts the smoothed signal Dav (t) into an analog voltage and controls the oscillation frequency of the VCXO 25. The VCXO 25 outputs a reference clock CLKref (for example, having a frequency of 27 MHz) to the PLL circuit 26. The PLL circuit 26 generates a clock CLKp2 based on the reference clock CLKref and outputs it to the clock controller 21.

なお、減算器22によって計算される差分値D(t)は、ソース機器1における画素データのクロックCLKp1とシンク機器11における画素データのクロックCLKp3との間の同期状態を示す。具体的には、画素データのクロックCLKp1と画素データのクロックCLKp3とが同期しているときは、差分値D(t)は実質的にゼロに収束し、画素データのクロックCLKp1が画素データのクロックCLKp3よりも高い周波数を有するときは、差分値D(t)は増加し、画素データのクロックCLKp1が画素データのクロックCLKp3よりも低い周波数を有するときは、差分値D(t)は減少する。   The difference value D (t) calculated by the subtracter 22 indicates a synchronization state between the pixel data clock CLKp1 in the source device 1 and the pixel data clock CLKp3 in the sink device 11. Specifically, when the pixel data clock CLKp1 and the pixel data clock CLKp3 are synchronized, the difference value D (t) substantially converges to zero, and the pixel data clock CLKp1 becomes the pixel data clock. The difference value D (t) increases when the frequency is higher than CLKp3, and the difference value D (t) decreases when the pixel data clock CLKp1 has a lower frequency than the pixel data clock CLKp3.

図2において、クロックコントローラ21は、減算器22からの差分値D(t)を示す信号に基づいて、差分値D(t)の値を所定のタイミングで検出する。また、クロックコントローラ21は、同期信号発生回路19からの水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、画像の水平帰線期間及び垂直帰線期間を検出する。さらに、クロックコントローラ21は、検出した差分値D(t)に基づいて、画像の有効画素領域以外のタイミングである水平帰線期間又は垂直帰線期間内のタイミングで、クロックCLKp2に対する間引き処理又は挿入処理を行うことにより、差分値D(t)が実質的にゼロに収束するように画素データのクロックCLKp3を発生する。例えば、水平ライン当たりの画素数が2200であり水平ライン数が1125の場合は、有効画素領域の水平ライン当たりの画素数は1920であり水平ライン数は1080である。   In FIG. 2, the clock controller 21 detects the value of the difference value D (t) at a predetermined timing based on the signal indicating the difference value D (t) from the subtractor 22. The clock controller 21 detects the horizontal blanking period and the vertical blanking period of the image based on the horizontal synchronizing signal HSYNC and the vertical synchronizing signal VSYNC from the synchronizing signal generation circuit 19. Further, based on the detected difference value D (t), the clock controller 21 performs a thinning process or insertion for the clock CLKp2 at a timing within the horizontal blanking period or the vertical blanking period that is a timing other than the effective pixel region of the image. By performing the processing, the pixel data clock CLKp3 is generated so that the difference value D (t) substantially converges to zero. For example, when the number of pixels per horizontal line is 2200 and the number of horizontal lines is 1125, the number of pixels per horizontal line in the effective pixel area is 1920 and the number of horizontal lines is 1080.

具体的には、クロックコントローラ21は、差分値D(t)が所定の回数だけ連続して減少したこと(以下、第1の場合という。)を検出すると、クロックCLKp2に対して、水平帰線期間又は垂直帰線期間内のタイミングで、差分値D(t)の大きさに比例した回数だけクロックCLKp2を休止する間引き処理を行い、クロックCLKp3を発生する。また、クロックコントローラ21は、差分値D(t)が所定の回数だけ連続して増加したこと(以下、第2の場合という。)を検出すると、クロックCLKp2に対して、水平帰線期間又は垂直帰線期間内のタイミングで、差分値D(t)の大きさに比例した回数だけクロックCLKp2に対してクロックCLKp2の反転クロックを追加する挿入処理を行い、クロックCLKp3を発生する。さらに、クロックコントローラ21は、差分値D(t)の時間変化が上記第1及び第2の場合に当てはまらず、差分値D(t)が実質的にゼロに収束しているときは、クロックCLKp2をそのままクロックCLKp3とする。クロックコントローラ21は、発生された画素データのクロックCLKp3を、同期信号発生回路19、映像データ処理回路15及び受信カウンタ27に出力する。受信カウンタ27は、画素データのクロックCLKp3を用いて計数し、その計数値Ccount(t)を減算器22に出力する。   Specifically, when the clock controller 21 detects that the difference value D (t) continuously decreases a predetermined number of times (hereinafter, referred to as a first case), the horizontal blanking with respect to the clock CLKp2. At a timing within the period or the vertical blanking period, a thinning process is performed in which the clock CLKp2 is paused a number of times proportional to the magnitude of the difference value D (t), and the clock CLKp3 is generated. Further, when the clock controller 21 detects that the difference value D (t) continuously increases a predetermined number of times (hereinafter, referred to as a second case), the clock controller 21 performs a horizontal blanking period or vertical with respect to the clock CLKp2. Insertion processing for adding an inverted clock of the clock CLKp2 to the clock CLKp2 by the number of times proportional to the magnitude of the difference value D (t) is performed at the timing within the blanking period, and the clock CLKp3 is generated. Further, the clock controller 21 does not apply the time change of the difference value D (t) to the first and second cases, and when the difference value D (t) has substantially converged to zero, the clock CLKp2 As clock CLKp3. The clock controller 21 outputs a clock CLKp3 of the generated pixel data to the synchronization signal generation circuit 19, the video data processing circuit 15, and the reception counter 27. The reception counter 27 counts using the clock CLKp3 of the pixel data and outputs the count value Ccount (t) to the subtracter 22.

図3を参照して、クロックコントローラ21の動作の一例を説明する。図3において、クロックコントローラ21は、差分値D(t)が所定の回数だけ連続して減少したことを検出すると、水平帰線期間内のタイミングt1及びt2において、クロックCLKp2に対して上記間引き処理を行うことにより、画素データのクロックCLKp3を発生する。また、図3において、クロックコントローラ21は、差分値D(t)が所定の回数だけ連続して増加したことを検出すると、垂直帰線期間内のタイミングt3,t4及びt4において、クロックCLKp2に対して上記挿入処理を行うことにより、画素データのクロックCLKp3を発生する。   An example of the operation of the clock controller 21 will be described with reference to FIG. In FIG. 3, when the clock controller 21 detects that the difference value D (t) has decreased continuously a predetermined number of times, the clock controller 21 performs the above-described thinning process on the clock CLKp2 at timings t1 and t2 within the horizontal blanking period. Is performed to generate a clock CLKp3 of pixel data. In FIG. 3, when the clock controller 21 detects that the difference value D (t) has increased continuously a predetermined number of times, the clock controller 21 detects the difference from the clock CLKp2 at timings t3, t4 and t4 within the vertical blanking period. Thus, the pixel data clock CLKp3 is generated by performing the above insertion processing.

以上詳述したように、本実施形態に係る無線通信システムによれば、クロックコントローラ21は、水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、映像データの水平帰線期間内又は垂直帰線期間内のタイミングを検出し、上記検出したタイミングにおいて、差分値D(t)が実質的にゼロに収束するように、PLL回路26からのクロックCLKp2に対して、クロックCLKp2を休止する間引き処理又はクロックCLKp2へのクロックCLKp2の反転クロックの追加を行う挿入処理を行うことにより、シンク機器11における画素データのクロックCLKp3を発生する。さらに、クロックコントローラ21は、差分値D(t)の大きさに基づいて、挿入処理及び間引き処理を行う。これにより、PLL回路26からのクロックCLKp2が、ソース機器1における映像データ内の画素データのクロックCLKp1に同期していないときにも、水平帰線期間の単位又は垂直帰線期間の単位で、シンク機器11における画素データのクロックCLKp3を、映像データ内の画素データのクロックCLKp1に同期させることができる。すなわち、ユーザによって視聴される画像への影響なしにソース機器1とシンク機器11との間でクロック同期をとることができる。これにより、シンク機器11のバッファメモリ16における映像データのアンダーフロー及びオーバーフローを防止できる。   As described above in detail, according to the wireless communication system according to the present embodiment, the clock controller 21 is based on the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC within the horizontal blanking period or the vertical blanking period of the video data. Or a decimation process or a clock for stopping the clock CLKp2 with respect to the clock CLKp2 from the PLL circuit 26 so that the difference value D (t) converges to substantially zero at the detected timing. A clock CLKp3 of pixel data in the sink device 11 is generated by performing an insertion process for adding an inverted clock of the clock CLKp2 to CLKp2. Furthermore, the clock controller 21 performs an insertion process and a thinning process based on the magnitude of the difference value D (t). Thus, even when the clock CLKp2 from the PLL circuit 26 is not synchronized with the clock CLKp1 of the pixel data in the video data in the source device 1, the synchronization is performed in the unit of the horizontal blanking period or the unit of the vertical blanking period. The pixel data clock CLKp3 in the device 11 can be synchronized with the pixel data clock CLKp1 in the video data. That is, clock synchronization can be established between the source device 1 and the sink device 11 without affecting the image viewed by the user. Thereby, underflow and overflow of the video data in the buffer memory 16 of the sink device 11 can be prevented.

本実施形態において、クロック発生回路18の構成は図2に示した構成に限られず、基準クロックCLKrefをPLL回路26に出力する他の回路構成であってもよい。   In the present embodiment, the configuration of the clock generation circuit 18 is not limited to the configuration illustrated in FIG. 2, and may be another circuit configuration that outputs the reference clock CLKref to the PLL circuit 26.

本実施形態において、ソース機器1とシンク機器11とを無線通信回線を介して接続した無線通信システムについて説明したが、本発明はこれに限られず、ソース機器1とシンク機器11とを有線通信回線を介して接続した有線通信システムであってもよい。   In the present embodiment, the wireless communication system in which the source device 1 and the sink device 11 are connected via the wireless communication line has been described. However, the present invention is not limited to this, and the source device 1 and the sink device 11 are connected to the wired communication line. It may be a wired communication system connected via

第2の実施形態.
図4は本発明の第2の実施形態に係る無線通信システムの構成を示すブロック図であり、図5は図4のクロック発生回路18Aの構成を示すブロック図である。
Second embodiment.
FIG. 4 is a block diagram showing a configuration of a radio communication system according to the second embodiment of the present invention, and FIG. 5 is a block diagram showing a configuration of the clock generation circuit 18A of FIG.

図4において、本実施形態に係る無線通信システムは、ソース機器1とシンク機器11Aとを備えて構成される。ここで、シンク機器11Aは、第1の実施形態に係るシンク機器11(図1)に比較して、クロック発生回路18に代えて、バッファメモリ16内の映像データの蓄積量Dbに基づいて画素データのクロックCLKp3を発生するクロック発生回路18Aを備えたことを特徴としている。   In FIG. 4, the wireless communication system according to the present embodiment includes a source device 1 and a sink device 11A. Here, compared with the sink device 11 (FIG. 1) according to the first embodiment, the sink device 11A replaces the clock generation circuit 18 with a pixel based on the video data accumulation amount Db in the buffer memory 16. A clock generation circuit 18A for generating a data clock CLKp3 is provided.

なお、バッファメモリ16内の映像データの蓄積量Dbは、減算器22からの差分値D(t)と同様に、ソース機器1における画素データのクロックCLKp1とシンク機器11Aにおける画素データのクロックCLKp3との間の同期状態を示す。具体的には、画素データのクロックCLKp1と画素データのクロックCLKp3とが同期しているときは、蓄積量Dbは増減せず、画素データのクロックCLKp1が画素データのクロックCLKp3よりも高い周波数を有するときは、蓄積量Dbは増加し、画素データのクロックCLKp1が画素データのクロックCLKp3よりも低い周波数を有するときは、蓄積量Dbは減少する。   The accumulated amount Db of the video data in the buffer memory 16 is similar to the difference value D (t) from the subtractor 22, and the pixel data clock CLKp1 in the source device 1 and the pixel data clock CLKp3 in the sink device 11A. Shows the synchronization state between. Specifically, when the pixel data clock CLKp1 and the pixel data clock CLKp3 are synchronized, the accumulation amount Db does not increase or decrease, and the pixel data clock CLKp1 has a higher frequency than the pixel data clock CLKp3. When the pixel data clock CLKp1 has a lower frequency than the pixel data clock CLKp3, the accumulation amount Db decreases.

図5のクロック発生回路18Aにおいて、クロックコントローラ21Aは、バッファメモリ16内の映像データの蓄積量Dbを所定のタイミングで検出する。また、クロックコントローラ21Aは、同期信号発生回路19からの水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、画像の水平帰線期間及び垂直帰線期間を検出する。さらに、クロックコントローラ21Aは、検出した蓄積量Dbに基づいて、画像の有効画素領域以外のタイミングである水平帰線期間又は垂直帰線期間内のタイミングで、クロックCLKp2に対する間引き処理又は挿入処理を行うことにより、蓄積量Dbが実質的に増減しなくなるように画素データのクロックCLKp3を発生する。これにより、差分値D(t)は実質的にゼロに収束する。   In the clock generation circuit 18A of FIG. 5, the clock controller 21A detects the video data accumulation amount Db in the buffer memory 16 at a predetermined timing. Further, the clock controller 21A detects the horizontal blanking period and the vertical blanking period of the image based on the horizontal synchronizing signal HSYNC and the vertical synchronizing signal VSYNC from the synchronizing signal generating circuit 19. Furthermore, the clock controller 21A performs a thinning process or an insertion process for the clock CLKp2 at a timing within the horizontal blanking period or the vertical blanking period that is a timing other than the effective pixel area of the image, based on the detected accumulation amount Db. Thus, the pixel data clock CLKp3 is generated so that the accumulation amount Db does not substantially increase or decrease. Thereby, the difference value D (t) converges to substantially zero.

具体的には、クロックコントローラ21Aは、蓄積量Dbが所定の回数だけ連続して減少したこと(以下、第3の場合という。)を検出すると、水平帰線期間又は垂直帰線期間内のタイミングで、バッファメモリ16内の映像データの蓄積量に比例した回数だけクロックCLKp2を休止する間引き処理を行い、クロックCLKp3を発生する。また、クロックコントローラ21Aは、蓄積量Dbが所定の回数だけ連続して増加したこと(以下、第4の場合という。)を検出すると、水平帰線期間又は垂直帰線期間内のタイミングで、バッファメモリ16内の映像データの蓄積量に比例した回数だけクロックCLKp2に対してクロックCLKp2の反転クロックを追加する挿入処理を行い、クロックCLKp3を発生する。さらに、クロックコントローラ21Aは、蓄積量Dbの時間変化が上記第3及び第4の場合に当てはまらないときは、クロックCLKp2をそのままクロックCLKp3とする。クロックコントローラ21Aは、発生された画素データのクロックCLKp3を、同期信号発生回路19、映像データ処理回路15及び受信カウンタ27に出力する。受信カウンタ27は、画素データのクロックCLKp3を用いて計数し、その計数値Ccount(t)を減算器22に出力する。   Specifically, when the clock controller 21A detects that the accumulation amount Db has continuously decreased a predetermined number of times (hereinafter referred to as the third case), the timing within the horizontal blanking period or the vertical blanking period. Thus, a thinning process is performed in which the clock CLKp2 is paused a number of times proportional to the amount of video data stored in the buffer memory 16, and the clock CLKp3 is generated. Further, when the clock controller 21A detects that the accumulation amount Db continuously increases a predetermined number of times (hereinafter referred to as a fourth case), the clock controller 21A performs buffering at a timing within the horizontal blanking period or the vertical blanking period. Insertion processing for adding an inverted clock of the clock CLKp2 to the clock CLKp2 by the number of times proportional to the amount of video data stored in the memory 16 is performed to generate the clock CLKp3. Furthermore, when the time change of the accumulation amount Db does not apply to the third and fourth cases, the clock controller 21A uses the clock CLKp2 as it is as the clock CLKp3. The clock controller 21A outputs a clock CLKp3 of the generated pixel data to the synchronization signal generation circuit 19, the video data processing circuit 15, and the reception counter 27. The reception counter 27 counts using the clock CLKp3 of the pixel data and outputs the count value Ccount (t) to the subtracter 22.

以上詳述したように、本実施形態に係る無線通信システムによれば、クロックコントローラ21Aは、水平同期信号HSYNC及び垂直同期信号VSYNCに基づいて、映像データの水平帰線期間内又は垂直帰線期間内のタイミングを検出し、差分値D(t)が実質的にゼロに収束するように、上記タイミングでPLL回路26からのクロックCLKp2に対して、クロックCLKp2を休止する間引き処理又はクロックCLKp2へのクロックCLKp2の反転クロックの追加を行う挿入処理を行うことにより、シンク機器11Aにおける画素データのクロックCLKp3を発生する。さらに、クロックコントローラ21Aは、バッファメモリ16における映像データの蓄積量Dbを検出し、検出した蓄積量Dbに基づいて挿入処理及び間引き処理を行う。これにより、PLL回路26からのクロックCLKp2が、映像データ内の画素データのクロックCLKp1に同期していないときにも、水平帰線期間の単位又は垂直帰線期間の単位で、シンク機器11Aにおける画素データのクロックCLKp3を、映像データ内の画素データのクロックCLKp1に同期させることができる。すなわち、ユーザによって視聴される画像への影響なしにソース機器1とシンク機器11Aとの間でクロック同期をとることができる。これにより、シンク機器11Aのバッファメモリ16における映像データのアンダーフロー及びオーバーフローを防止できる。   As described above in detail, according to the wireless communication system according to the present embodiment, the clock controller 21A can determine whether the video data is within the horizontal blanking period or the vertical blanking period based on the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC. The clock signal CLKp2 from the PLL circuit 26 at the above timing is thinned out or the clock signal CLKp2 is stopped so that the difference value D (t) converges to substantially zero. An insertion process for adding an inverted clock of the clock CLKp2 is performed to generate a clock CLKp3 of pixel data in the sink device 11A. Further, the clock controller 21A detects the accumulation amount Db of the video data in the buffer memory 16, and performs an insertion process and a thinning process based on the detected accumulation amount Db. Thus, even when the clock CLKp2 from the PLL circuit 26 is not synchronized with the clock CLKp1 of the pixel data in the video data, the pixels in the sink device 11A are in units of the horizontal blanking period or vertical blanking period. The data clock CLKp3 can be synchronized with the pixel data clock CLKp1 in the video data. In other words, clock synchronization can be established between the source device 1 and the sink device 11A without affecting the image viewed by the user. Thereby, underflow and overflow of video data in the buffer memory 16 of the sink device 11A can be prevented.

本実施形態において、クロック発生回路18Aの構成は図5に示した構成に限られず、基準クロックCLKrefをPLL回路26に出力する他の回路構成であってもよい。   In the present embodiment, the configuration of the clock generation circuit 18 </ b> A is not limited to the configuration shown in FIG. 5, and may be another circuit configuration that outputs the reference clock CLKref to the PLL circuit 26.

本実施形態において、ソース機器1とシンク機器11Aとを無線通信回線を介して接続した無線通信システムについて説明したが、本発明はこれに限られず、ソース機器1とシンク機器11Aとを有線通信回線を介して接続した有線通信システムであってもよい。   In the present embodiment, the wireless communication system in which the source device 1 and the sink device 11A are connected via the wireless communication line has been described. However, the present invention is not limited to this, and the source device 1 and the sink device 11A are connected to the wired communication line. It may be a wired communication system connected via

第3の実施形態.
図6は、本発明の第3の実施形態に係る無線通信システムの構成を示すブロック図であり、図7は、図6のクロック発生回路18Bの構成を示すブロック図である。
Third embodiment.
FIG. 6 is a block diagram showing a configuration of a wireless communication system according to the third embodiment of the present invention, and FIG. 7 is a block diagram showing a configuration of the clock generation circuit 18B of FIG.

図6において、ソース機器1Aは、映像再生装置2と、パケット生成回路3と、送信カウンタ4と、無線通信回路5Aと、アンテナ6と、クロック調整回路7とを備えて構成される。一方、シンク機器11Bは、アンテナ12と、無線通信回路13Aと、パケット処理回路14と、映像データ処理回路15と、バッファメモリ16と、ディスプレイ17と、クロック発生回路18Bと、同期信号発生回路19とを備えて構成される。   In FIG. 6, the source device 1 </ b> A includes a video reproduction device 2, a packet generation circuit 3, a transmission counter 4, a wireless communication circuit 5 </ b> A, an antenna 6, and a clock adjustment circuit 7. On the other hand, the sink device 11B includes an antenna 12, a wireless communication circuit 13A, a packet processing circuit 14, a video data processing circuit 15, a buffer memory 16, a display 17, a clock generation circuit 18B, and a synchronization signal generation circuit 19. And is configured.

本実施形態において、ソース機器1Aは、シンク機器11Bから送信されるクロック制御データ信号Sdに基づいて、映像データ内の画素データのクロックCLKp1の周波数を調整して、調整後の画素データのクロックCLKp4を発生して出力するクロック調整回路7と、クロック調整回路7からの調整後の画素データのクロックCLKp4を計数し第1の計数値Csource(t)を示す信号を出力する送信カウンタ4と、映像データを含む所定のパケット形式の映像パケットPvideoを生成し、映像パケットをシンク機器11Bに送出するタイミングにおける第1の計数値Csource(t)を、タイムスタンプ値として映像パケットPvideoのヘッダ部に付加してシンク機器11Bに送信するパケット生成回路3とを備えたことを特徴としている。一方、シンク機器11Bは、パケット処理回路14と、減算器22と、クロック発生回路28と、同期信号発生回路19と、受信カウンタ27と、クロックコントローラ21Bとを備えたことを特徴としている。ここで、パケット処理回路14は、ソース機器1Aからの映像パケットPvideoを受信し、受信された映像パケットPvideoのヘッダ部から第1の計数値Csource(t)を抽出し、抽出された第1の計数値Csource(t)を示す信号を出力する。また、減算器22は、パケット処理回路14からの第1の計数値Csource(t)を示す信号と、受信カウンタ27から出力される第2の計数値Ccount(t)を示す信号との差分値D(t)を計算して、差分値D(t)を示す差分信号を出力する。さらに、クロック発生回路28は、差分信号に基づいてシンク機器11Bにおける画素データのクロックCLKp2を発生して出力する。またさらに、同期信号発生回路19は、クロック発生回路28から出力される画素データのクロックCLKp2に基づいて、映像データの水平同期信号HSYNC及び垂直同期信号VSYNCを発生して出力する。また、受信カウンタ27は、クロック発生回路28から出力される画素データのクロックCLKp2を計数して、第2の計数値Ccount(t)を示す信号を減算器22に出力する。さらに、クロックコントローラ21Bは、差分値D(t)に基づいてクロック制御データ信号Sdを発生してソース機器1Aのクロック調整回路7に送信する。ここで、ソース機器1Aのクロック調整回路7は、シンク機器11Bのクロックコントローラ21Bから送信されるクロック制御データ信号Sdに基づいて、差分値D(t)が実質的にゼロに収束するように映像データ内の画素データのクロックCLKp1の周波数を調整して、調整後の画素データのクロックCLKp4を発生する。   In this embodiment, the source device 1A adjusts the frequency of the pixel data clock CLKp1 in the video data based on the clock control data signal Sd transmitted from the sink device 11B, and the adjusted pixel data clock CLKp4. A clock adjustment circuit 7 that generates and outputs the signal, a transmission counter 4 that counts the clock CLKp4 of the pixel data after adjustment from the clock adjustment circuit 7 and outputs a signal indicating the first count value Csource (t), and video A video packet Pvideo of a predetermined packet format including data is generated, and the first count value Csource (t) at the timing of transmitting the video packet to the sink device 11B is added to the header portion of the video packet Pvideo as a time stamp value. Packet generation circuit 3 to be transmitted to sink device 11B It is characterized in that was example. On the other hand, the sink device 11B includes a packet processing circuit 14, a subtractor 22, a clock generation circuit 28, a synchronization signal generation circuit 19, a reception counter 27, and a clock controller 21B. Here, the packet processing circuit 14 receives the video packet Pvideo from the source device 1A, extracts the first count value Csource (t) from the header portion of the received video packet Pvideo, and extracts the extracted first A signal indicating the count value Csource (t) is output. Further, the subtracter 22 is a difference value between a signal indicating the first count value Csource (t) from the packet processing circuit 14 and a signal indicating the second count value Ccount (t) output from the reception counter 27. D (t) is calculated and a difference signal indicating the difference value D (t) is output. Further, the clock generation circuit 28 generates and outputs a clock CLKp2 of pixel data in the sink device 11B based on the difference signal. Furthermore, the synchronization signal generation circuit 19 generates and outputs a horizontal synchronization signal HSYNC and a vertical synchronization signal VSYNC of video data based on the pixel data clock CLKp2 output from the clock generation circuit 28. The reception counter 27 counts the pixel data clock CLKp2 output from the clock generation circuit 28 and outputs a signal indicating the second count value Ccount (t) to the subtractor 22. Furthermore, the clock controller 21B generates a clock control data signal Sd based on the difference value D (t) and transmits it to the clock adjustment circuit 7 of the source device 1A. Here, based on the clock control data signal Sd transmitted from the clock controller 21B of the sink device 11B, the clock adjustment circuit 7 of the source device 1A performs video so that the difference value D (t) converges to substantially zero. The frequency of the pixel data clock CLKp1 in the data is adjusted to generate the adjusted pixel data clock CLKp4.

また、クロックコントローラ21Bは、減算器22からの差分値D(t)が実質的にゼロに収束している否かを判断し、減算器22からの差分値D(t)が実質的にゼロに収束していないときに、クロック制御データ信号Sdを発生することを特徴としている。   Further, the clock controller 21B determines whether or not the difference value D (t) from the subtracter 22 has substantially converged to zero, and the difference value D (t) from the subtractor 22 is substantially zero. The clock control data signal Sd is generated when it has not converged to.

まず、ソース機器1Aの動作について説明する。図6において、映像再生装置2は、DVDなどの記録媒体から映像データを再生してパケット生成回路3に出力するとともに、映像データ内の画素データのクロックCLKp1をクロック調整回路7に出力する。クロック調整回路7は、シンク機器11Bからのクロック制御データ信号Sdに基づいて、画素データのクロックCLKp1の周波数を後述するように調整し、調整後の画素データのクロックCLKp4を送信カウンタ4及びパケット生成回路3に出力する。送信カウンタ4は、調整後の画素データのクロックCLKp4を用いて計数する。送信カウンタ4の計数値Csource(t)は、パケット生成回路3において、映像データパケットPvideoが無線通信回路5Aからシンク機器11Bに送出されるタイミング毎に、タイムスタンプ値としてパケットPvideoのヘッダ部に付加される。パケット生成回路3は、映像再生装置2からの映像データを含む所定のパケットの形式の映像データパケットPvideoのデータ信号を発生して、無線通信回路5Aに出力する。さらに、無線通信回路5Aは、入力されるデータ信号に従って、無線搬送波信号をデジタル変調し、変調後の無線信号をアンテナ6を介してシンク機器11Bのアンテナ12に向け無線送信する。一方、シンク機器11Bのアンテナ12から送信された無線信号はアンテナ6により受信された後、無線通信回路5Aに入力される。無線通信回路5Aは、受信された無線信号をデジタル信号に復調した後、クロック制御データ信号Sdを抽出して、クロック調整回路7に出力する。   First, the operation of the source device 1A will be described. In FIG. 6, the video reproduction device 2 reproduces video data from a recording medium such as a DVD and outputs it to the packet generation circuit 3, and outputs a clock CLKp <b> 1 of pixel data in the video data to the clock adjustment circuit 7. Based on the clock control data signal Sd from the sink device 11B, the clock adjustment circuit 7 adjusts the frequency of the clock CLKp1 of the pixel data as will be described later, and generates the clock CLKp4 of the adjusted pixel data as a transmission counter 4 and a packet generator. Output to circuit 3. The transmission counter 4 counts using the adjusted pixel data clock CLKp4. The count value Csource (t) of the transmission counter 4 is added to the header portion of the packet Pvideo as a time stamp value at each timing when the video data packet Pvideo is sent from the wireless communication circuit 5A to the sink device 11B in the packet generation circuit 3. Is done. The packet generation circuit 3 generates a data signal of a video data packet Pvideo in a predetermined packet format including the video data from the video playback device 2, and outputs the data signal to the wireless communication circuit 5A. Further, the wireless communication circuit 5A digitally modulates the wireless carrier signal in accordance with the input data signal, and wirelessly transmits the modulated wireless signal to the antenna 12 of the sink device 11B via the antenna 6. On the other hand, a radio signal transmitted from the antenna 12 of the sink device 11B is received by the antenna 6 and then input to the radio communication circuit 5A. The radio communication circuit 5A demodulates the received radio signal into a digital signal, extracts the clock control data signal Sd, and outputs the clock control data signal Sd to the clock adjustment circuit 7.

次に、シンク機器11Bの動作について説明する。図6において、ソース機器1Aのアンテナ6から送信された無線信号はアンテナ12により受信された後、無線通信回路13Aに入力される。無線通信回路13Aは、受信された無線信号をデジタル信号に復調した後、パケット処理回路14に出力する。パケット処理回路14は、ソース機器1Aから送信されたパケットPvideoを同期信号発生回路19に出力するとともに、当該パケットPvideoのヘッダに付加された計数値Csource(t)を抽出してクロック発生回路18Bに出力する。さらに、パケット処理回路14は、映像データを多重分離して映像データ処理回路15に出力する。クロック発生回路18Bは、図7を用いて詳細後述するように、計数値Csource(t)に基づいて、画素データのクロックCLKp2を発生して、映像データ処理回路15及び同期信号発生回路19に出力する。さらに、クロック発生回路18Bは、画素データのクロックCLKp2の計数値Ccount(t)と計数値Csource(t)との差分値D(t)に基づいて、クロック制御データ信号Sdを発生して、無線通信回路13Aに出力する。これに応答して、無線通信回路13Aは、入力されたクロック制御データ信号Sdに従って、無線搬送波信号をデジタル変調し、変調後の無線信号をアンテナ12を介してソース機器1Aのアンテナ6に向け無線送信する。   Next, the operation of the sink device 11B will be described. In FIG. 6, a radio signal transmitted from the antenna 6 of the source device 1A is received by the antenna 12, and then input to the radio communication circuit 13A. The wireless communication circuit 13A demodulates the received wireless signal into a digital signal and then outputs it to the packet processing circuit 14. The packet processing circuit 14 outputs the packet Pvideo transmitted from the source device 1A to the synchronization signal generation circuit 19, extracts the count value Csource (t) added to the header of the packet Pvideo, and sends it to the clock generation circuit 18B. Output. Further, the packet processing circuit 14 demultiplexes the video data and outputs it to the video data processing circuit 15. The clock generation circuit 18B generates a clock CLKp2 of pixel data based on the count value Csource (t) and outputs it to the video data processing circuit 15 and the synchronization signal generation circuit 19 as will be described in detail later with reference to FIG. To do. Further, the clock generation circuit 18B generates a clock control data signal Sd based on the difference value D (t) between the count value Ccount (t) and the count value Csource (t) of the clock CLKp2 of the pixel data, and wirelessly Output to the communication circuit 13A. In response to this, the wireless communication circuit 13A digitally modulates the wireless carrier signal in accordance with the input clock control data signal Sd, and wirelessly directs the modulated wireless signal to the antenna 6 of the source device 1A via the antenna 12. Send.

また、図6において、映像データ処理回路15は、入力される映像データに対して、クロック発生回路18Bからの画素データのクロックCLKp2に基づいて所定のパケット復号処理等を実行することにより映像信号に変換した後、バッファメモリ16を介してディスプレイ17に出力してその画像を表示させる。また、同期信号発生回路19は、クロック発生回路18Bからの画素データのクロックCLKp2をベースクロックとして用いて、パケット処理回路14からのパケットPvideoのヘッダに格納された送信された画素データの位置情報(例えば、水平方向画素の位置や垂直方向画素の位置)に基づいて、水平同期信号HSYNCと垂直同期信号VSYNCとを発生してディスプレイ17に出力する。   In FIG. 6, the video data processing circuit 15 performs a predetermined packet decoding process or the like on the input video data based on the clock CLKp2 of the pixel data from the clock generation circuit 18B. After the conversion, the image is output to the display 17 via the buffer memory 16 to display the image. In addition, the synchronization signal generation circuit 19 uses the pixel data clock CLKp2 from the clock generation circuit 18B as a base clock, and transmits the positional information of the transmitted pixel data stored in the header of the packet Pvideo from the packet processing circuit 14 ( For example, the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC are generated and output to the display 17 based on the position of the horizontal pixel and the position of the vertical pixel.

図7において、クロック発生回路18Bは、フィルタ23と、D/A変換器24と、VCXO25と、PLL回路26とを含むクロック発生回路28と、減算器22と、クロックコントローラ21Bと、受信カウンタ27とを備えて構成される。   In FIG. 7, a clock generation circuit 18B includes a filter 23, a D / A converter 24, a VCXO 25, a PLL circuit 26, a clock generation circuit 28, a subtractor 22, a clock controller 21B, and a reception counter 27. And is configured.

ここで、クロック発生回路18Bは以下のように動作する。図7において、まず、ソース機器1Aが出力する計数値Csource(t)は、減算器22に入力される。減算器22は、入力される計数値Csource(t)と受信カウンタ27からの計数値Ccount(t)の差分値D(t)を計算して、上記差分値D(t)を示す信号を発生して、フィルタ23及びクロックコントローラ21Bに出力する。フィルタ23は例えばLPFにてなり、上記差分値D(t)を示す信号を平滑化し、平滑化した信号Dav(t)をD/A変換器24に出力する。D/A変換器24は平滑化した信号Dav(t)をアナログ電圧に変換してVCXO25の発振周波数を制御する。VCXO25は基準クロックCLKref(例えば27MHzの周波数を有する。)をPLL回路26に出力する。PLL回路26は、基準クロックCLKrefに基づいて、クロックCLKp2を発生して、画素データのクロックとして、同期信号発生回路19及び映像データ処理回路15に出力する。   Here, the clock generation circuit 18B operates as follows. In FIG. 7, first, the count value Csource (t) output from the source device 1 </ b> A is input to the subtracter 22. The subtractor 22 calculates a difference value D (t) between the input count value Csource (t) and the count value Ccount (t) from the reception counter 27, and generates a signal indicating the difference value D (t). Then, the data is output to the filter 23 and the clock controller 21B. The filter 23 is composed of, for example, LPF, and smoothes the signal indicating the difference value D (t) and outputs the smoothed signal Dav (t) to the D / A converter 24. The D / A converter 24 converts the smoothed signal Dav (t) into an analog voltage and controls the oscillation frequency of the VCXO 25. The VCXO 25 outputs a reference clock CLKref (for example, having a frequency of 27 MHz) to the PLL circuit 26. The PLL circuit 26 generates a clock CLKp2 based on the reference clock CLKref and outputs it to the synchronization signal generation circuit 19 and the video data processing circuit 15 as a clock for pixel data.

なお、減算器22によって計算される差分値D(t)は、ソース機器1Aにおける調整後の画素データのクロックCLKp4とシンク機器11Cにおける画素データのクロックCLKp2との間の同期状態を示す。具体的には、画素データのクロックCLKp4と画素データのクロックCLKp2とが同期しているときは差分値D(t)はゼロに収束し、画素データのクロックCLKp4が画素データのクロックCLKp2よりも高い周波数を有するときは、差分値D(t)は増加し、画素データのクロックCLKp4が画素データのクロックCLKp2よりも低い周波数を有するときは、差分値D(t)は減少する。   The difference value D (t) calculated by the subtracter 22 indicates a synchronization state between the adjusted pixel data clock CLKp4 in the source device 1A and the pixel data clock CLKp2 in the sink device 11C. Specifically, when the pixel data clock CLKp4 and the pixel data clock CLKp2 are synchronized, the difference value D (t) converges to zero, and the pixel data clock CLKp4 is higher than the pixel data clock CLKp2. When having a frequency, the difference value D (t) increases, and when the pixel data clock CLKp4 has a lower frequency than the pixel data clock CLKp2, the difference value D (t) decreases.

また、図7において、シンク機器11Bのクロックコントローラ21Bは、差分値D(t)を示す信号に基づいて、差分値D(t)を所定のタイミングで検出する。さらに、クロックコントローラ21Bは、所定の回数だけ連続して差分値D(t)が増加又は減少したか否かを判断することにより、差分値D(t)が実質的にゼロに収束しているか否かを判断する。差分値D(t)が実質的にゼロに収束していないとき、クロックコントローラ21Bは、差分値D(t)が増加又は減少したことを示すクロック制御データ信号Sdを発生して、無線通信回路13A、アンテナ12,6及び無線通信回路5Aを介してソース機器1Aのクロック調整回路7に送信する。   In FIG. 7, the clock controller 21B of the sink device 11B detects the difference value D (t) at a predetermined timing based on a signal indicating the difference value D (t). Furthermore, the clock controller 21B determines whether or not the difference value D (t) has substantially converged to zero by determining whether or not the difference value D (t) has increased or decreased a predetermined number of times. Judge whether or not. When the difference value D (t) has not substantially converged to zero, the clock controller 21B generates a clock control data signal Sd indicating that the difference value D (t) has increased or decreased, and the wireless communication circuit 13A, the antennas 12 and 6, and the wireless communication circuit 5A, and then transmitted to the clock adjustment circuit 7 of the source device 1A.

シンク機器11Bから送信されるクロック制御データ信号Sdに応答して、ソース機器1Aのクロック調整回路7は、所定の回数だけ連続して差分値D(t)が増加したときは、画素データのクロックCLKp1の周波数を低くするように制御して、調整後の画素データのクロックCLKp4を発生する。一方、ソース機器1Aのクロック調整回路7は、所定の回数だけ連続して差分値D(t)が減少したときは、画素データのクロックCLKp1の周波数を高くするように制御して、調整後の画素データのクロックCLKp4を発生する。また、クロック調整回路7は、シンク機器11Bからのクロック制御データ信号Sdを受信していないとき(すなわち、差分値D(t)が実質的にゼロに収束しているとき)は、画素データのクロックCLKp1の周波数を調整せずに、そのままクロックCLKp4として出力する。これにより、クロック調整回路7は、差分値D(t)が実質的にゼロに収束するように、画素データのクロックCLKp1の周波数を調整し、調整後の画素データのクロックCLKp4を発生する。なお、クロック調整回路7は、PLL回路の分周パラメータを調整することによって、画素データのクロックCLKp1の周波数を調整する。   In response to the clock control data signal Sd transmitted from the sink device 11B, the clock adjustment circuit 7 of the source device 1A, when the difference value D (t) continuously increases a predetermined number of times, Control is performed to lower the frequency of CLKp1, and a clock CLKp4 of pixel data after adjustment is generated. On the other hand, the clock adjustment circuit 7 of the source device 1A controls to increase the frequency of the clock CLKp1 of the pixel data when the difference value D (t) continuously decreases a predetermined number of times, and after the adjustment A clock CLKp4 for pixel data is generated. When the clock adjustment circuit 7 has not received the clock control data signal Sd from the sink device 11B (that is, when the difference value D (t) has substantially converged to zero), the clock adjustment circuit 7 Without adjusting the frequency of the clock CLKp1, it is directly output as the clock CLKp4. Thus, the clock adjustment circuit 7 adjusts the frequency of the pixel data clock CLKp1 so that the difference value D (t) converges to substantially zero, and generates the adjusted pixel data clock CLKp4. The clock adjustment circuit 7 adjusts the frequency of the clock CLKp1 of the pixel data by adjusting the frequency division parameter of the PLL circuit.

以上詳述したように、本実施形態に係る無線通信システムによれば、クロックコントローラ21Bは、減算器22からの差分値D(t)が実質的にゼロに収束しているか否かを判断することによって、ソース機器1Aにおける調整後の画素データのクロックCLKp4とシンク機器11Bにおける画素データのクロックCLKp2とが同期しているか否かを判断する。さらに、クロックコントローラ21Bは、ソース機器1Aにおける調整後の画素データのクロックCLKp4とシンク機器11Bにおける画素データのクロックCLKp2とが同期していないとき、差分値D(t)が増加又は減少したことを示すクロック制御データ信号Sdを発生してソース機器1Aのクロック調整回路7に出力する。一方、クロック調整回路7は、クロック制御データ信号Sdに基づいて、差分値D(t)が実質的にゼロに収束するように画素データのクロックCLKp1の周波数を調整して、調整後の画素データのクロックCLKp4を発生する。これにより、シンク機器11BのPLL回路26からの画素データのクロックCLKp2が、ソース機器1Aにおける映像データ内の画素データのクロックCLKp1に同期していないときにも、画素データのクロックCLKp2に同期した調整後の画素データのクロックCLKp4を発生して、ソース機器1Aとシンク機器11Bとの間でクロック同期をとることができる。これにより、ユーザによって視聴される画像への影響なしにソース機器1Aとシンク機器11Cとの間でクロック同期をとり、シンク機器11Bのバッファメモリ16における映像データのアンダーフロー及びオーバーフローを防止できる。   As described above in detail, according to the wireless communication system according to the present embodiment, the clock controller 21B determines whether or not the difference value D (t) from the subtractor 22 has substantially converged to zero. Thus, it is determined whether or not the pixel data clock CLKp4 after adjustment in the source device 1A is synchronized with the pixel data clock CLKp2 in the sink device 11B. Furthermore, the clock controller 21B indicates that the difference value D (t) has increased or decreased when the adjusted pixel data clock CLKp4 in the source device 1A and the pixel data clock CLKp2 in the sink device 11B are not synchronized. A clock control data signal Sd is generated and output to the clock adjustment circuit 7 of the source device 1A. On the other hand, the clock adjustment circuit 7 adjusts the frequency of the clock CLKp1 of the pixel data based on the clock control data signal Sd so that the difference value D (t) converges to substantially zero, and the adjusted pixel data The clock CLKp4 is generated. Thereby, even when the clock CLKp2 of the pixel data from the PLL circuit 26 of the sink device 11B is not synchronized with the clock CLKp1 of the pixel data in the video data in the source device 1A, the adjustment is synchronized with the clock CLKp2 of the pixel data. The clock CLKp4 of the subsequent pixel data can be generated to synchronize the clock between the source device 1A and the sink device 11B. Thus, clock synchronization is performed between the source device 1A and the sink device 11C without affecting the image viewed by the user, and underflow and overflow of the video data in the buffer memory 16 of the sink device 11B can be prevented.

本実施形態において、クロックコントローラ21Bは、差分値D(t)が増加又は減少したことを示すクロック制御データ信号Sdを発生してソース機器1Aに送信したが、本発明はこれに限られない。クロックコントローラ21Bは、差分値D(t)を示すクロック制御データ信号Sd、バッファメモリ16内の映像データの蓄積量が増加又は減少したことを示すクロック制御データ信号Sd又はバッファメモリ16内の映像データの蓄積量を示すクロック制御データ信号Sdなどの、ソース機器1Aにおける画素データのクロックCLKp4とシンク機器11Bにおける画素データのクロックCLKp2との間の画素データのクロックの同期状態を示す信号を発生してソース機器1Aに送信すればよい。   In the present embodiment, the clock controller 21B generates and transmits the clock control data signal Sd indicating that the difference value D (t) has increased or decreased to the source device 1A, but the present invention is not limited to this. The clock controller 21B receives the clock control data signal Sd indicating the difference value D (t), the clock control data signal Sd indicating that the accumulation amount of the video data in the buffer memory 16 has increased or decreased, or the video data in the buffer memory 16 Generating a signal indicating the synchronization state of the pixel data clock between the pixel data clock CLKp4 in the source device 1A and the pixel data clock CLKp2 in the sink device 11B, such as a clock control data signal Sd indicating the accumulated amount of What is necessary is just to transmit to the source apparatus 1A.

また、クロックコントローラ21Bは、差分値D(t)が実質的にゼロに収束していないときに、クロック制御データ信号Sdを発生してソース機器1Aのクロック調整回路7に送信したが、本発明はこれに限られない。クロックコントローラ21Bは、常にクロック制御データ信号Sdを発生して、ソース機器1Aのクロック調整回路7に送信してもよい。   The clock controller 21B generates the clock control data signal Sd and transmits it to the clock adjustment circuit 7 of the source device 1A when the difference value D (t) has not substantially converged to zero. Is not limited to this. The clock controller 21B may always generate the clock control data signal Sd and send it to the clock adjustment circuit 7 of the source device 1A.

さらに、本実施形態において、クロック発生回路18Bの構成は図7に示した構成に限られず、基準クロックCLKrefをPLL回路26に出力する他の回路構成であってもよい。   Furthermore, in the present embodiment, the configuration of the clock generation circuit 18B is not limited to the configuration shown in FIG. 7, and may be another circuit configuration that outputs the reference clock CLKref to the PLL circuit 26.

またさらに、本実施形態において、ソース機器1Aとシンク機器11Bとを無線通信回線を介して接続した無線通信システムについて説明したが、本発明はこれに限られず、ソース機器1Aとシンク機器11Bとを有線通信回線を介して接続した有線通信システムであってもよい。   Furthermore, in the present embodiment, the wireless communication system in which the source device 1A and the sink device 11B are connected via a wireless communication line has been described. However, the present invention is not limited to this, and the source device 1A and the sink device 11B are connected to each other. It may be a wired communication system connected via a wired communication line.

第4の実施形態.
図8は、本発明の第4の実施形態に係る無線通信システムの構成を示すブロック図であり、図9は、図8のクロック発生回路18Cの構成を示すブロック図である。
Fourth embodiment.
FIG. 8 is a block diagram showing a configuration of a wireless communication system according to the fourth embodiment of the present invention, and FIG. 9 is a block diagram showing a configuration of the clock generation circuit 18C of FIG.

図8において、本実施形態に係る無線通信システムは、ソース機器1Aとシンク機器11Cとを備えて構成される。ここで、シンク機器11Cは、第3の実施形態に係るシンク機器11B(図6)に比較して、クロック発生回路18Bに代えて、バッファメモリ16内の映像データの蓄積量Dbに基づいて、ソース機器1Aにおける調整後の画素データのクロックCLKp4とシンク機器11Bにおける画素データのクロックCLKp2とが同期しているか否かを判断するクロック発生回路18Cを備えたことを特徴としている。   In FIG. 8, the wireless communication system according to the present embodiment includes a source device 1A and a sink device 11C. Here, the sink device 11C is based on the accumulation amount Db of the video data in the buffer memory 16 in place of the clock generation circuit 18B, as compared with the sink device 11B according to the third embodiment (FIG. 6). The clock generation circuit 18C for determining whether or not the clock CLKp4 of the adjusted pixel data in the source device 1A and the clock CLKp2 of the pixel data in the sink device 11B are synchronized is provided.

なお、バッファメモリ16内の映像データの蓄積量Dbは、減算器22からの差分値D(t)と同様に、ソース機器1における調整後の画素データのクロックCLKp4とシンク機器11Cにおける画素データのクロックCLKp2との間の同期状態を示す。具体的には、画素データのクロックCLKp4と画素データのクロックCLKp2とが同期しているときは、蓄積量Dbは増減せず、減算器22からの差分値D(t)が実質的にゼロに収束している。また、画素データのクロックCLKp4が画素データのクロックCLKp2よりも高い周波数を有するときは、蓄積量Dbは増加し、差分値D(t)はゼロに収束しない。さらに、画素データのクロックCLKp4が画素データのクロックCLKp2よりも低い周波数を有するときは、蓄積量Dbは減少し、差分値D(t)はゼロに収束しない。   The accumulated amount Db of the video data in the buffer memory 16 is similar to the difference value D (t) from the subtracter 22, and the pixel data clock CLKp4 after adjustment in the source device 1 and the pixel data in the sink device 11C. A synchronization state with the clock CLKp2 is shown. Specifically, when the pixel data clock CLKp4 and the pixel data clock CLKp2 are synchronized, the accumulation amount Db does not increase or decrease, and the difference value D (t) from the subtractor 22 is substantially zero. It has converged. When the pixel data clock CLKp4 has a higher frequency than the pixel data clock CLKp2, the accumulation amount Db increases and the difference value D (t) does not converge to zero. Further, when the pixel data clock CLKp4 has a lower frequency than the pixel data clock CLKp2, the accumulation amount Db decreases and the difference value D (t) does not converge to zero.

図9において、クロックコントローラ21Cは、バッファメモリ16における映像データの蓄積量Dbを所定のタイミングで検出する。さらに、クロックコントローラ21Cは、所定の回数だけ連続して蓄積量Dbが増加又は減少したか否かを判断することにより、差分値D(t)が実質的にゼロに収束しているか否かを判断する。差分値D(t)が実質的にゼロに収束していないとき、クロックコントローラ21Bは、差分値D(t)を示すクロック制御データ信号Sdを発生して、無線通信回路13Aに出力する。   In FIG. 9, the clock controller 21C detects the video data accumulation amount Db in the buffer memory 16 at a predetermined timing. Further, the clock controller 21C determines whether or not the difference value D (t) has substantially converged to zero by determining whether or not the accumulated amount Db has increased or decreased continuously for a predetermined number of times. to decide. When the difference value D (t) has not substantially converged to zero, the clock controller 21B generates a clock control data signal Sd indicating the difference value D (t) and outputs it to the wireless communication circuit 13A.

シンク機器11Bからのクロック制御データ信号Sdに応答して、ソース機器1Aのクロック調整回路7は、所定の回数だけ連続して蓄積量Dbが増加したときは、画素データのクロックCLKp1の周波数を低くするように制御して、調整後の画素データのクロックCLKp4を発生する。一方、ソース機器1Aのクロック調整回路7は、所定の回数だけ連続して蓄積量Dbが減少したときは、画素データのクロックCLKp1の周波数を高くするように制御して、調整後の画素データのクロックCLKp4を発生する。また、クロック調整回路7は、シンク機器11Bからのクロック制御データ信号Sdを受信していないとき(すなわち、所定の回数だけ連続して蓄積量Dbが増加も減少もしていないとき)は、画素データのクロックCLKp1の周波数を調整せずに、そのままクロックCLKp1として出力する。これにより、クロック調整回路7は、蓄積量Dbの増減量が実質的にゼロになるように(すなわち、ソース機器1における調整後の画素データのクロックCLKp4とシンク機器11Cにおける画素データのクロックCLKp2とが実質的に同期して、差分値D(t)が実質的にゼロに収束するように)、画素データのクロックCLKp1の周波数を調整し、調整後の画素データのクロックCLKp4を発生する。   In response to the clock control data signal Sd from the sink device 11B, the clock adjustment circuit 7 of the source device 1A lowers the frequency of the clock CLKp1 of the pixel data when the accumulation amount Db continuously increases a predetermined number of times. In this way, the clock CLKp4 of the adjusted pixel data is generated. On the other hand, the clock adjustment circuit 7 of the source device 1A controls to increase the frequency of the clock CLKp1 of the pixel data when the accumulation amount Db decreases continuously a predetermined number of times, so that the adjusted pixel data A clock CLKp4 is generated. Further, when the clock adjustment circuit 7 does not receive the clock control data signal Sd from the sink device 11B (that is, when the accumulation amount Db does not increase or decrease continuously for a predetermined number of times), the pixel data Without adjusting the frequency of the clock CLKp1, the clock CLKp1 is output as it is. As a result, the clock adjustment circuit 7 makes the increase / decrease amount of the accumulated amount Db substantially zero (that is, the adjusted pixel data clock CLKp4 in the source device 1 and the pixel data clock CLKp2 in the sink device 11C). Are substantially synchronized so that the difference value D (t) converges to substantially zero), and the frequency of the pixel data clock CLKp1 is adjusted to generate the adjusted pixel data clock CLKp4.

以上詳述したように、本実施形態に係る無線通信システムによれば、クロックコントローラ21Cは、バッファメモリ16における映像データの蓄積量Dbに基づいて、ソース機器1Aにおける調整後の画素データのクロックCLKp4とシンク機器11Bにおける画素データのクロックCLKp2とが実質的に同期しているか否かを判断する。さらに、ロックコントローラ21Bは、ソース機器1Aにおける調整後の画素データのクロックCLKp4とシンク機器11Bにおける画素データのクロックCLKp2とが同期していないとき、差分値D(t)を示すクロック制御データ信号Sdを発生してソース機器1Aのクロック調整回路7に出力する。一方、クロック調整回路7は、クロック制御データ信号Sdに基づいて、差分値D(t)が実質的にゼロに収束するように画素データのクロックCLKp1の周波数を調整して、調整後の画素データのクロックCLKp4を発生する。これにより、シンク機器11CのPLL回路26からの画素データのクロックCLKp2が、ソース機器1Aにおける映像データ内の画素データのクロックCLKp1に同期していないときにも、画素データのクロックCLKp2に同期した調整後の画素データのクロックCLKp4を発生して、ソース機器1Aとシンク機器11Cとの間でクロック同期をとることができる。これにより、ユーザによって視聴される画像への影響なしにソース機器1Aとシンク機器11Cとの間でクロック同期をとり、シンク機器11Cのバッファメモリ16における映像データのアンダーフロー及びオーバーフローを防止できる。   As described above in detail, according to the wireless communication system according to the present embodiment, the clock controller 21C, based on the video data storage amount Db in the buffer memory 16, adjusts the clock CLKp4 of the adjusted pixel data in the source device 1A. And whether or not the clock CLKp2 of the pixel data in the sink device 11B is substantially synchronized. Further, when the clock CLKp4 of the adjusted pixel data in the source device 1A and the clock CLKp2 of the pixel data in the sink device 11B are not synchronized, the lock controller 21B displays the clock control data signal Sd indicating the difference value D (t). Is output to the clock adjustment circuit 7 of the source device 1A. On the other hand, the clock adjustment circuit 7 adjusts the frequency of the clock CLKp1 of the pixel data based on the clock control data signal Sd so that the difference value D (t) converges to substantially zero, and the adjusted pixel data The clock CLKp4 is generated. Thereby, even when the clock CLKp2 of the pixel data from the PLL circuit 26 of the sink device 11C is not synchronized with the clock CLKp1 of the pixel data in the video data in the source device 1A, the adjustment is synchronized with the clock CLKp2 of the pixel data. The clock CLKp4 of the subsequent pixel data can be generated to synchronize the clock between the source device 1A and the sink device 11C. Thus, clock synchronization is performed between the source device 1A and the sink device 11C without affecting the image viewed by the user, and underflow and overflow of video data in the buffer memory 16 of the sink device 11C can be prevented.

本実施形態において、クロックコントローラ21Cは、バッファメモリ16内の映像データの蓄積量Dbが増加又は減少したことを示すクロック制御データ信号Sdを発生してソース機器1Aに送信したが、本発明はこれに限られない。クロックコントローラ21Cは、差分値D(t)が増加又は減少したことを示すクロック制御データ信号Sd、差分値D(t)を示すクロック制御データ信号Sd、又はバッファメモリ16内の映像データの蓄積量Dbを示すクロック制御データ信号Sdなどの、ソース機器1Aにおける画素データのクロックCLKp4とシンク機器11Cにおける画素データのクロックCLKp2との間の画素データのクロックの同期状態を示す信号を発生してソース機器1Aに送信すればよい。   In this embodiment, the clock controller 21C generates and transmits a clock control data signal Sd indicating that the accumulated amount Db of the video data in the buffer memory 16 has increased or decreased to the source device 1A. Not limited to. The clock controller 21C receives the clock control data signal Sd indicating that the difference value D (t) has increased or decreased, the clock control data signal Sd indicating the difference value D (t), or the amount of video data stored in the buffer memory 16. The source device generates a signal indicating the synchronization state of the pixel data clock between the pixel data clock CLKp4 in the source device 1A and the pixel data clock CLKp2 in the sink device 11C, such as the clock control data signal Sd indicating Db. What is necessary is just to transmit to 1A.

また、クロックコントローラ21Bは、差分値D(t)が実質的にゼロに収束していないときに、クロック制御データ信号Sdを発生してソース機器1Aのクロック調整回路7に送信したが、本発明はこれに限られない。クロックコントローラ21Bは、常にクロック制御データ信号Sdを発生して、ソース機器1Aのクロック調整回路7に送信してもよい。   The clock controller 21B generates the clock control data signal Sd and transmits it to the clock adjustment circuit 7 of the source device 1A when the difference value D (t) has not substantially converged to zero. Is not limited to this. The clock controller 21B may always generate the clock control data signal Sd and send it to the clock adjustment circuit 7 of the source device 1A.

さらに、本実施形態において、クロック発生回路18Cの構成は図9に示した構成に限られず、基準クロックCLKrefをPLL回路26に出力する他の回路構成であってもよい。   Furthermore, in the present embodiment, the configuration of the clock generation circuit 18C is not limited to the configuration shown in FIG. 9, and may be another circuit configuration that outputs the reference clock CLKref to the PLL circuit 26.

またさらに、本実施形態において、ソース機器1Aとシンク機器11Cとを無線通信回線を介して接続した無線通信システムについて説明したが、本発明はこれに限られず、ソース機器1Aとシンク機器11Cとを有線通信回線を介して接続した有線通信システムであってもよい。   Furthermore, in the present embodiment, the wireless communication system in which the source device 1A and the sink device 11C are connected via a wireless communication line has been described. However, the present invention is not limited to this, and the source device 1A and the sink device 11C are connected. It may be a wired communication system connected via a wired communication line.

第1及び第2の実施形態において、同期信号発生回路19は、シンク機器11又は11Aにおける画素データのクロックCLKp3及びパケットPvideoのヘッダに格納された送信された画素データの位置情報に基づいて、水平同期信号HSYNCと垂直同期信号VSYNCとを発生したが、本発明はこれに限られず、画素データのクロックCLKp3及びパケットPvideoのヘッダに格納された同期フラグ(例えば、フィールド始点フラグ)に基づいて、水平同期信号HSYNCと垂直同期信号VSYNCとを発生してもよい。また、上記第3及び第4の実施形態において、同期信号発生回路19は、シンク機器11B又は11Cにおける画素データのクロックCLKp2及びパケットPvideoのヘッダに格納された送信された画素データの位置情報に基づいて、水平同期信号HSYNCと垂直同期信号VSYNCとを発生したが、本発明はこれに限られず、画素データのクロックCLKp2及びパケットPvideoのヘッダに格納された同期フラグ(例えば、フィールド始点フラグ)に基づいて、水平同期信号HSYNCと垂直同期信号VSYNCとを発生してもよい。   In the first and second embodiments, the synchronization signal generation circuit 19 generates a horizontal signal based on the pixel data clock CLKp3 in the sink device 11 or 11A and the positional information of the transmitted pixel data stored in the header of the packet Pvideo. Although the synchronization signal HSYNC and the vertical synchronization signal VSYNC are generated, the present invention is not limited to this, and based on the clock CLKp3 of pixel data and the synchronization flag (for example, the field start point flag) stored in the header of the packet Pvideo. The synchronization signal HSYNC and the vertical synchronization signal VSYNC may be generated. In the third and fourth embodiments, the synchronization signal generation circuit 19 is based on the pixel data clock CLKp2 in the sink device 11B or 11C and the positional information of the transmitted pixel data stored in the header of the packet Pvideo. Thus, the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC are generated. However, the present invention is not limited to this, and is based on the clock CLKp2 of pixel data and the synchronization flag (for example, the field start point flag) stored in the header of the packet Pvideo. Thus, the horizontal synchronization signal HSYNC and the vertical synchronization signal VSYNC may be generated.

第3及び第4の実施形態において、クロック調整回路7は、PLL回路の分周パラメータを調整することによって、画素データのクロックCLKp1の周波数を調整したが、本発明はこれに限られず、VCXOを用いて基準クロックの周波数を調整することによって、画素データのクロックCLKp1の周波数を調整してもよい。   In the third and fourth embodiments, the clock adjustment circuit 7 adjusts the frequency of the clock CLKp1 of the pixel data by adjusting the frequency division parameter of the PLL circuit. However, the present invention is not limited to this, and the VCXO is not limited to this. The frequency of the clock CLKp1 of the pixel data may be adjusted by using and adjusting the frequency of the reference clock.

以上詳述したように、第1の発明に係る通信システムによれば、シンク機器のクロック制御手段は、同期信号発生手段からの水平同期信号及び垂直同期信号に基づいて、映像データの有効画素領域以外のタイミングを検出し、検出したタイミングにおいて、差分値が実質的にゼロに収束するようにクロック発生手段からのクロックに対して所定の挿入処理又は所定の間引き処理のいずれかの処理を行うことにより、シンク機器における画素データのクロックを発生して出力するので、ユーザによって視聴される画像への影響なしに、シンク機器における画素データのクロックを映像データ内の画素データのクロックに同期させることができる。これにより、シンク機器における映像データのアンダーフロー及びオーバーフローを防止できる。   As described above in detail, according to the communication system according to the first invention, the clock control means of the sink device is based on the horizontal synchronization signal and the vertical synchronization signal from the synchronization signal generating means, and the effective pixel area of the video data. Any other timing is detected, and at the detected timing, either a predetermined insertion process or a predetermined decimation process is performed on the clock from the clock generation means so that the difference value converges to substantially zero. Thus, the pixel data clock in the sink device is generated and output, so that the pixel data clock in the sink device can be synchronized with the pixel data clock in the video data without affecting the image viewed by the user. it can. Thereby, underflow and overflow of video data in the sink device can be prevented.

また、第2の発明に係る通信システムによれば、シンク機器のクロック制御手段は、差分値に基づいてクロック制御データ信号を発生してソース機器のクロック調整手段に送信し、ソース機器のクロック調整手段は、シンク機器のクロック制御手段から送信されるクロック制御データ信号に基づいて、差分値が実質的にゼロに収束するように映像データ内の画素データのクロックの周波数を調整して、上記調整後の画素データのクロックを発生して出力するので、ユーザによって視聴される画像への影響なしに、ソース機器とシンク機器との間でクロック同期をとることができる。これにより、シンク機器における映像データのアンダーフロー及びオーバーフローを防止できる。   According to the communication system of the second invention, the clock control means of the sink device generates a clock control data signal based on the difference value and transmits it to the clock adjustment means of the source device to adjust the clock of the source device. The means adjusts the frequency of the pixel data clock in the video data based on the clock control data signal transmitted from the clock control means of the sink device so that the difference value substantially converges to zero, Since the clock of the subsequent pixel data is generated and output, clock synchronization can be established between the source device and the sink device without affecting the image viewed by the user. Thereby, underflow and overflow of video data in the sink device can be prevented.

本発明に係る通信システムは、例えば、ワイヤレスHD(Wireless High-Definition)などの無線通信規格に準拠した無線通信システムに利用できる。   The communication system according to the present invention can be used for a wireless communication system compliant with a wireless communication standard such as wireless HD (Wireless High-Definition).

本発明の第1の実施形態に係る無線通信システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a wireless communication system according to a first embodiment of the present invention. 図1のクロック発生回路18の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a clock generation circuit 18 in FIG. 1. 図2のクロックコントローラ21の動作の一例を示すタイミングチャートである。3 is a timing chart showing an example of the operation of the clock controller 21 of FIG. 本発明の第2の実施形態に係る無線通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the radio | wireless communications system which concerns on the 2nd Embodiment of this invention. 図4のクロック発生回路18Aの構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of a clock generation circuit 18A of FIG. 本発明の第3の実施形態に係る無線通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the radio | wireless communications system which concerns on the 3rd Embodiment of this invention. 図6のクロック発生回路18Bの構成を示すブロック図である。FIG. 7 is a block diagram showing a configuration of a clock generation circuit 18B of FIG. 本発明の第4の実施形態に係る無線通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the radio | wireless communications system which concerns on the 4th Embodiment of this invention. 図8のクロック発生回路18Cの構成を示すブロック図である。It is a block diagram which shows the structure of the clock generation circuit 18C of FIG.

符号の説明Explanation of symbols

1,1A…ソース機器、
2…映像再生装置、
3…パケット生成回路、
4…送信カウンタ、
5,5A,13,13A…無線通信回路、
6,12…アンテナ、
7…クロック調整回路、
11,11A,11B,11C…シンク機器、
14…パケット処理回路、
15…映像データ処理回路、
16…バッファメモリ、
17…ディスプレイ、
18,18A,18B,18C,28…クロック発生回路、
19…同期信号発生回路、
21,21A,21B,21C…クロックコントローラ、
22…減算器、
23…フィルタ、
24…D/A変換器、
25…VCXO、
26…PLL回路、
27…受信カウンタ。
1, 1A ... Source device,
2 ... Video playback device,
3 ... packet generation circuit,
4 ... transmission counter,
5, 5A, 13, 13A ... wireless communication circuit,
6,12 ... antenna,
7: Clock adjustment circuit,
11, 11A, 11B, 11C ... sink devices,
14 ... Packet processing circuit,
15 ... Video data processing circuit,
16 ... Buffer memory,
17 ... Display,
18, 18A, 18B, 18C, 28... Clock generation circuit,
19 ... Synchronization signal generating circuit,
21, 21A, 21B, 21C ... clock controller,
22 ... subtractor,
23 ... Filter,
24 ... D / A converter,
25 ... VCXO,
26 ... PLL circuit,
27: Reception counter.

Claims (4)

ソース機器からシンク機器に映像データをパケット伝送する通信システムにおいて、
上記ソース機器は、
上記映像データ内の画素データのクロックを計数し第1の計数値を示す信号を出力する送信カウンタと、
上記映像データを含む所定のパケット形式の映像パケットを生成し、上記映像パケットを上記シンク機器に送出するタイミングにおける上記第1の計数値を、タイムスタンプ値として上記映像パケットのヘッダ部に付加して上記シンク機器に送信するパケット生成手段とを備え、
上記シンク機器は、
上記映像パケットを受信し、上記受信された映像パケットのヘッダ部から上記第1の計数値を抽出し、上記抽出された第1の計数値を示す信号を出力するパケット処理手段と、
上記パケット処理手段からの第1の計数値を示す信号と、受信カウンタから出力される第2の計数値を示す信号との差分値を計算して、上記差分値を示す差分信号を出力する減算手段と、
上記差分信号に基づいてクロックを発生して出力するクロック発生手段と、
上記シンク機器における画素データのクロックに基づいて、上記映像データの水平同期信号及び垂直同期信号を発生して出力する同期信号発生手段と、
上記同期信号発生手段からの水平同期信号及び垂直同期信号に基づいて、上記映像データの有効画素領域以外のタイミングを検出し、上記検出したタイミングにおいて、上記差分値が実質的にゼロに収束するように上記クロック発生手段からのクロックに対して所定の挿入処理又は所定の間引き処理のいずれかの処理を行うことにより、上記シンク機器における画素データのクロックを発生して出力するクロック制御手段と、
上記クロック制御手段から出力される画素データのクロックを計数して、上記第2の計数値を示す信号を上記減算手段に出力する受信カウンタとを備えたことを特徴とする通信システム。
In a communication system for packet transmission of video data from a source device to a sink device,
The source device is
A transmission counter that counts a clock of pixel data in the video data and outputs a signal indicating a first count value;
A video packet in a predetermined packet format including the video data is generated, and the first count value at the timing of sending the video packet to the sink device is added as a time stamp value to the header of the video packet. Packet generating means for transmitting to the sink device,
The sink device
Packet processing means for receiving the video packet, extracting the first count value from a header portion of the received video packet, and outputting a signal indicating the extracted first count value;
Subtraction for calculating the difference value between the signal indicating the first count value from the packet processing means and the signal indicating the second count value output from the reception counter and outputting the difference signal indicating the difference value Means,
Clock generating means for generating and outputting a clock based on the differential signal;
Synchronization signal generating means for generating and outputting a horizontal synchronization signal and a vertical synchronization signal of the video data based on a clock of pixel data in the sink device;
Based on the horizontal synchronizing signal and the vertical synchronizing signal from the synchronizing signal generating means, timing other than the effective pixel area of the video data is detected, and the difference value is converged to substantially zero at the detected timing. A clock control unit that generates and outputs a clock of pixel data in the sink device by performing either a predetermined insertion process or a predetermined decimation process on the clock from the clock generation unit;
A communication system comprising: a reception counter that counts a clock of pixel data output from the clock control means and outputs a signal indicating the second count value to the subtraction means.
上記有効画素領域以外のタイミングは、上記映像データの水平帰線期間内又は垂直帰線期間内のタイミングであることを特徴とする請求項1記載の通信システム。   2. The communication system according to claim 1, wherein the timing other than the effective pixel region is a timing within a horizontal blanking period or a vertical blanking period of the video data. ソース機器からシンク機器に映像データをパケット伝送する通信システムにおいて、
上記ソース機器は、
上記シンク機器から送信されるクロック制御データ信号に基づいて、上記映像データ内の画素データのクロックの周波数を調整して、上記調整後の画素データのクロックを発生して出力するクロック調整手段と、
上記クロック調整手段からの調整後の画素データのクロックを計数し第1の計数値を示す信号を出力する送信カウンタと、
上記映像データを含む所定のパケット形式の映像パケットを生成し、上記映像パケットを上記シンク機器に送出するタイミングにおける上記第1の計数値を、タイムスタンプ値として上記映像パケットのヘッダ部に付加して上記シンク機器に送信するパケット生成手段とを備え、
上記シンク機器は、
上記ソース機器からの映像パケットを受信し、上記受信された映像パケットのヘッダ部から上記第1の計数値を抽出し、上記抽出された第1の計数値を示す信号を出力するパケット処理手段と、
上記パケット処理手段からの第1の計数値を示す信号と、受信カウンタから出力される第2の計数値を示す信号との差分値を計算して、上記差分値を示す差分信号を出力する減算手段と、
上記差分信号に基づいて上記シンク機器における画素データのクロックを発生して出力するクロック発生手段と、
上記クロック発生手段から出力される画素データのクロックに基づいて、上記映像データの水平同期信号及び垂直同期信号を発生して出力する同期信号発生手段と、
上記クロック発生手段から出力される画素データのクロックを計数して、上記第2の計数値を示す信号を上記減算手段に出力する受信カウンタと、
上記差分値に基づいて上記クロック制御データ信号を発生して上記ソース機器のクロック調整手段に送信するクロック制御手段とを備え、
上記ソース機器のクロック調整手段は、上記シンク機器のクロック制御手段から送信される上記クロック制御データ信号に基づいて、上記差分値が実質的にゼロに収束するように上記映像データ内の画素データのクロックの周波数を調整して、上記調整後の画素データのクロックを発生することを特徴とする通信システム。
In a communication system for packet transmission of video data from a source device to a sink device,
The source device is
Based on a clock control data signal transmitted from the sink device, a clock adjusting unit that adjusts the frequency of the pixel data clock in the video data and generates and outputs the clock of the adjusted pixel data;
A transmission counter that counts the clock of pixel data after adjustment from the clock adjustment means and outputs a signal indicating a first count value;
A video packet in a predetermined packet format including the video data is generated, and the first count value at the timing of sending the video packet to the sink device is added as a time stamp value to the header of the video packet. Packet generating means for transmitting to the sink device,
The sink device
Packet processing means for receiving a video packet from the source device, extracting the first count value from a header portion of the received video packet, and outputting a signal indicating the extracted first count value; ,
Subtraction for calculating the difference value between the signal indicating the first count value from the packet processing means and the signal indicating the second count value output from the reception counter and outputting the difference signal indicating the difference value Means,
Clock generation means for generating and outputting a clock of pixel data in the sink device based on the difference signal;
Synchronization signal generation means for generating and outputting a horizontal synchronization signal and a vertical synchronization signal of the video data based on a clock of pixel data output from the clock generation means;
A reception counter that counts a clock of pixel data output from the clock generation means and outputs a signal indicating the second count value to the subtraction means;
Clock control means for generating the clock control data signal based on the difference value and transmitting it to the clock adjustment means of the source device,
Based on the clock control data signal transmitted from the clock control means of the sink device, the clock adjustment means of the source device is configured to adjust the pixel data in the video data so that the difference value converges to substantially zero. A communication system, wherein a clock frequency of the pixel data after adjustment is generated by adjusting a frequency of the clock.
上記クロック制御手段は、上記減算手段からの差分値が実質的にゼロに収束している否かを判断し、上記減算手段からの差分値が実質的にゼロに収束していないときに、上記クロック制御データ信号を発生することを特徴とする請求項3記載の通信システム。   The clock control means determines whether or not the difference value from the subtraction means has substantially converged to zero, and when the difference value from the subtraction means has not substantially converged to zero, 4. The communication system according to claim 3, wherein a clock control data signal is generated.
JP2008028912A 2008-02-08 2008-02-08 Communication system Pending JP2009188897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008028912A JP2009188897A (en) 2008-02-08 2008-02-08 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008028912A JP2009188897A (en) 2008-02-08 2008-02-08 Communication system

Publications (1)

Publication Number Publication Date
JP2009188897A true JP2009188897A (en) 2009-08-20

Family

ID=41071664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008028912A Pending JP2009188897A (en) 2008-02-08 2008-02-08 Communication system

Country Status (1)

Country Link
JP (1) JP2009188897A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114815A (en) * 2010-11-26 2012-06-14 Mitsubishi Electric Corp Phase synchronization device and phase synchronization method
JP2016103783A (en) * 2014-11-28 2016-06-02 サイレックス・テクノロジー株式会社 Reproduction control device, reproduction control method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012114815A (en) * 2010-11-26 2012-06-14 Mitsubishi Electric Corp Phase synchronization device and phase synchronization method
JP2016103783A (en) * 2014-11-28 2016-06-02 サイレックス・テクノロジー株式会社 Reproduction control device, reproduction control method and program

Similar Documents

Publication Publication Date Title
US7865021B2 (en) Compressed stream decoding apparatus and method
EP2434757B1 (en) Video playback system and video playback method
KR20090053141A (en) Multimedia apparatus and synchronization method thereof
US9160959B2 (en) Transmission device, transmission method, reception device, reception method, and transmission/reception system
JP2006109000A (en) Audio/video synchronizing system and monitor device
US9819839B2 (en) Audio/video reproduction system, video display device, and audio output device for synchronizing decoding of video frames by the video display device to decoding of audio frames by the audio output device
US8447003B2 (en) Clock synchronization method for use in communication system for transmitting at least one of video data and audio data
JP2007028261A (en) Video/audio reproduction apparatus and video/audio reproducing method
JP2009272945A (en) Synchronous reproduction apparatus
US20190221186A1 (en) Display device and image signal processing method of the same
US7253844B2 (en) Method and arrangement for synchronising on-screen display functions during analog signal reception
JP2017147594A (en) Audio apparatus
JP2009188897A (en) Communication system
JP2005318488A (en) Data synchronous regeneration apparatus and terminal device
JP5254376B2 (en) Playback device
JP5800999B2 (en) Digital broadcast receiving apparatus and digital broadcast receiving method
JP2007295514A (en) Data receiver
JP2007074038A (en) Information reproducing apparatus and information reproducing method, and computer program
JP2007201797A (en) Transmission system and video output method
JP5278503B2 (en) Information transmitting apparatus, information transmitting method, and information transmitting / receiving system
JP2006135471A (en) Audio signal delay unit
JP2008258698A (en) Image output device and image output method
JP2003304414A (en) Synchronizing signal generating circuit, video signal processing circuit, and video display unit
JP2004208337A (en) Data transmitting method, data receiving method, data transmitter, data receiver, digital signal transmission system, and data transmission/reception method
JP2010035092A (en) Video signal processing method, and video image signal processor