JP2000358017A - Method and system for communicating digital data and terminal - Google Patents
Method and system for communicating digital data and terminalInfo
- Publication number
- JP2000358017A JP2000358017A JP16863699A JP16863699A JP2000358017A JP 2000358017 A JP2000358017 A JP 2000358017A JP 16863699 A JP16863699 A JP 16863699A JP 16863699 A JP16863699 A JP 16863699A JP 2000358017 A JP2000358017 A JP 2000358017A
- Authority
- JP
- Japan
- Prior art keywords
- digital data
- signal
- data
- communication
- clock
- 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
Links
- 238000000034 method Methods 0.000 title claims description 22
- 238000004891 communication Methods 0.000 claims abstract description 73
- 238000012545 processing Methods 0.000 claims abstract description 41
- 230000001360 synchronised effect Effects 0.000 claims abstract description 16
- 238000012546 transfer Methods 0.000 claims description 21
- 230000005540 biological transmission Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000003111 delayed effect Effects 0.000 description 5
- 239000000872 buffer Substances 0.000 description 3
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000010355 oscillation Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000012447 hatching Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000010363 phase shift Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、デジタルデータ
を複数の端末装置間で通信するシステムに適用して有用
な技術に関し、例えばテキストデータと共に音声データ
や動画像データなどの時系列デジタルデータを複数の端
末装置間で処理するシステムに適用して特に有用な技術
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique which is useful when applied to a system for communicating digital data between a plurality of terminal devices. For example, a plurality of time-series digital data such as voice data and moving image data together with text data. The present invention relates to a technique that is particularly useful when applied to a system that performs processing between terminal devices.
【0002】[0002]
【従来の技術】デジタルデータを複数の端末装置間で通
信するシステムとして、例えばパーソナルコンピュータ
にプリンタ等の周辺装置やデジタルカメラ、VTR等の
動画像データを扱う機器を接続してこれら機器間でデジ
タルデータを転送して利用するシステムがある。このよ
うなシステムにおいて、データ送信側と受信側とでデー
タ処理の動作クロック周波数が僅かにずれていると、デ
ータバッファのオーバーフロー又はアンダーフローが生
じて連続的なデータ転送、並びに動画再生が行えなくな
り、例えば、データが詰まって1画面分の表示が飛んで
しまう画面落ちや、データが途切れて1フレーム期間分
の再生が止まってしまうフレーム抜けと云った支障が生
じる。2. Description of the Related Art As a system for communicating digital data between a plurality of terminal devices, for example, a personal computer is connected to peripheral devices such as a printer, a digital camera, a VTR and other devices for handling moving image data, and digitally communicates between these devices. There are systems that transfer and use data. In such a system, if the operation clock frequency of the data processing is slightly shifted between the data transmission side and the reception side, an overflow or underflow of the data buffer occurs and continuous data transfer and moving image reproduction cannot be performed. For example, there are problems such as a screen drop where data is clogged and display of one screen is skipped, and a frame drop where data is interrupted and reproduction for one frame period is stopped.
【0003】そこで、デジタルデータの送信側と受信側
とで、デジタルデータの信号処理を同期化させること
で、データバッファのオーバーフローやアンダーフロー
を回避する技術が開発され、例えば、特開平11−41
213号、特開平9−270994号、特開平8−79
744号などに開示されている。[0003] Therefore, a technique has been developed to avoid overflow or underflow of the data buffer by synchronizing the signal processing of digital data between the transmitting side and the receiving side of digital data.
No. 213, JP-A-9-270994, JP-A-8-79
744 and the like.
【0004】図7に示すように、これらの技術は、何れ
も、例えばビデオカメラ11からの画像信号をMPEG
データに変換するエンコーダ55など通信コントローラ
16,26の外部に、制御信号生成回路56を設けて、
ソフト的に或いはハード的にクロックキャリヤ信号やク
ロック同期用の制御信号を生成すると共に、これらの信
号を動画像データなどのデジタルデータと共に通信コン
トローラ16,26を介して送信し、これらの信号に基
づいて送信側の機器と受信側の機器との動作クロック周
波数を合わせることで、両者の同期化を図るものであ
る。[0004] As shown in FIG. 7, each of these techniques converts an image signal from a video camera 11 into an MPEG signal, for example.
A control signal generation circuit 56 is provided outside the communication controllers 16 and 26 such as an encoder 55 for converting data into data.
A clock carrier signal or a control signal for clock synchronization is generated in software or hardware, and these signals are transmitted together with digital data such as moving image data via the communication controllers 16 and 26, and based on these signals. By adjusting the operating clock frequencies of the transmission-side device and the reception-side device, the two are synchronized.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記従
来の技術では、クロックキャリヤ信号や制御信号をハー
ド的に生成し或いは抽出する場合、信号生成用の専用回
路(例えば、図7の制御信号生成回路56や同期用タイ
マ波形抽出回路59)が必要であり、回路が占有するス
ペースを増大させたりコストの高騰を招いてしまう。However, according to the above-mentioned prior art, when a clock carrier signal or a control signal is generated or extracted in a hardware manner, a dedicated signal generation circuit (for example, a control signal generation circuit shown in FIG. 7) is used. 56 and the synchronization timer waveform extraction circuit 59) are required, which increases the space occupied by the circuit and increases the cost.
【0006】また、上記従来の技術では、デジタルデー
タと制御データとを共に送受信するため、MPEGデコ
ーダ58等の受信側の装置では制御データを分離して、
この分離した制御データに基づき同期を取ると云った同
期化回路(例えば、図7の同期用タイマ波形抽出回路5
9、周波数位相同期発信回路61および分周回路62
等)が必要であり、また、上記の制御データの分離処理
を動画像データのデコード処理などデジタルデータ処理
と同時に行う必要があるため、デジタルデータの処理中
に制御系の割込みが多発するなど、制御が非常に複雑に
なると云った課題を発生させた。Further, in the above-mentioned conventional technology, since both digital data and control data are transmitted and received, the receiving device such as the MPEG decoder 58 separates the control data,
A synchronization circuit that synchronizes based on the separated control data (for example, the synchronization timer waveform extraction circuit 5 shown in FIG. 7)
9. Frequency / phase synchronization oscillator 61 and frequency divider 62
And the like, and the control data separation process needs to be performed simultaneously with the digital data processing such as the moving image data decoding process, so that the control system interrupts frequently occur during the processing of the digital data. The problem that control became very complicated occurred.
【0007】また、クロックキャリア信号や制御信号を
動画像データなどのデジタルデータと共に送信するの
で、その分、通信経路の伝送能力が奪われると云った課
題を発生させる。例えば、IEEE(米国電気電子技術
者協会)1394規格のバスを用いたシステムに上記技
術を適用しようとすると、IEEE1394のバスには
他の多種類の信号が通るため上記の制御信号も複雑で大
きなデータ量となり、且つ、同期を図るために制御信号
を送受信する頻度も高める必要があるため、結果として
IEEE1394のバス伝送能力を無視できないほど低
下させてしまうことになる。Further, since a clock carrier signal and a control signal are transmitted together with digital data such as moving image data, there arises a problem that the transmission capacity of a communication path is lost correspondingly. For example, if an attempt is made to apply the above technology to a system using a bus of the IEEE (American Institute of Electrical and Electronics Engineers) 1394 standard, the control signal is also complicated and large because many other types of signals pass through the IEEE 1394 bus. It is necessary to increase the amount of data and the frequency of transmitting and receiving control signals in order to achieve synchronization. As a result, the bus transmission capability of IEEE 1394 is reduced to a considerable extent.
【0008】この発明の目的は、上記課題を解決するた
め、デジタルデータの通信を行う複数の端末装置間で同
期を取る場合に、予め通信コントローラ間で規則的に通
信するように定められている信号を用いることで、クロ
ックキャリヤ信号や制御信号などの新たな信号の送受信
を必要とせず、容易な制御で同期化を図ることのできる
デジタルデータの通信方法および通信システム並びに端
末装置を提供することにある。[0008] An object of the present invention is to solve the above-mentioned problem, and when a plurality of terminal devices performing digital data communication synchronize with each other, it is predetermined to communicate regularly between communication controllers in advance. Provided are a digital data communication method, a communication system, and a terminal device which can achieve synchronization by easy control without using a signal to transmit and receive a new signal such as a clock carrier signal and a control signal. It is in.
【0009】この発明の上記ならびにそのほかの目的と
新規な特徴については、本明細書の記述および添附図面
から明らかになるであろう。The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
【0010】[0010]
【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を説明すれば、下記のと
おりである。The outline of a typical invention among the inventions disclosed in the present application is as follows.
【0011】即ち、通信コントローラにより予め規則的
な間隔で通信されるように設定された基準信号を使用
し、各端末装置において夫々の動作クロックを上記基準
信号に同調させ、この動作クロックに基づき上記デジタ
ルデータに係る信号処理(例えばエンコード処理、デコ
ード処理、読出し処理、書込み処理など)を行うこと
で、複数の端末装置でデジタルデータに係る信号処理を
同期化させるものである。That is, using a reference signal set in advance by the communication controller so as to be communicated at regular intervals, each terminal device tunes its operation clock to the reference signal, and based on the operation clock, By performing signal processing (for example, encoding processing, decoding processing, reading processing, and writing processing) on digital data, signal processing on digital data is synchronized by a plurality of terminal devices.
【0012】このような手段によれば、予め通信コント
ローラにより通信されていた基準信号を使用して複数の
端末装置間で同期化を図るので、同期用の新たな信号を
生成してデジタルデータ中に含ませて通信する必要がな
くなり、本来のデータ伝送能力を低下させることがな
い。また、基準信号は予め通信コントローラに設定され
ている信号であるため、デジタルデータと基準信号とは
分離された状態で通信コントローラから端末装置の信号
処理部に転送される。したがって、同期をとるための処
理とデジタルデータの信号処理とをそれぞれ独立して行
え、全体的に制御内容が簡単になる。According to such means, synchronization is achieved between a plurality of terminal devices using the reference signal previously communicated by the communication controller, so that a new signal for synchronization is generated and digital data It is not necessary to perform communication by including the data in the data transmission, so that the original data transmission capability is not reduced. Since the reference signal is a signal preset in the communication controller, the digital data and the reference signal are transferred from the communication controller to the signal processing unit of the terminal device in a separated state. Therefore, the processing for synchronization and the signal processing of digital data can be performed independently of each other, and the control content is simplified as a whole.
【0013】更に、上記基準信号の送信タイミングに揺
らぎが存在し、基準信号に当該基準信号の送信タイミン
グに関する時間データ(IEEE1394のサイクルタ
イマデータ等)が含まれる場合に、該時間データに基づ
いて上記動作クロックの出力タイミングを補償すること
で、基準信号の送信タイミングが揺らいでも安定した動
作クロックを生成することが出来る。また、基準信号に
揺らぎを認めることでデータ通信に余裕を持たせること
が出来る。Further, when there is fluctuation in the transmission timing of the reference signal, and the reference signal includes time data (such as IEEE 1394 cycle timer data) related to the transmission timing of the reference signal, the above-mentioned time data is used. By compensating the output timing of the operation clock, a stable operation clock can be generated even if the transmission timing of the reference signal fluctuates. Further, by allowing the reference signal to fluctuate, it is possible to provide a margin for data communication.
【0014】具体的には、上記通信コントローラは規則
的な間隔でデータ転送を行うアイソクロナス転送モード
を有するIEEE1394規格では、アイソクロナス転
送モードにおけるサイクルスタート信号を上記基準信号
として使用することで実現できる。他の通信規格におい
てもIEEE1394のサイクルスタート信号に準じた
時間データを基準信号とすることで実現可能である。Specifically, in the IEEE 1394 standard having the isochronous transfer mode in which the communication controller performs data transfer at regular intervals, the communication controller can be realized by using a cycle start signal in the isochronous transfer mode as the reference signal. Other communication standards can also be realized by using time data according to the IEEE 1394 cycle start signal as a reference signal.
【0015】更に、上記デジタルデータは、音声データ
や動画像データなどの時系列デジタルデータであり、第
1の端末装置において上記動作クロックに基づきデジタ
ルデータのエンコード処理を行う一方、該デジタルデー
タを第1の端末装置から第2の端末装置へ通信した後、
第2の端末装置において上記動作クロックに基づきデジ
タルデータのデコード処理を行うようなシステムにおい
て特に有効であり、例えば、エンコード処理とデコード
処理とをリアルタイムに行っても、同処理が同期される
ので、いわゆる画面落ちやフレーム抜けといった支障を
回避できる。Further, the digital data is time-series digital data such as audio data and moving image data. While the first terminal device performs digital data encoding processing based on the operation clock, the first terminal device encodes the digital data. After communicating from one terminal device to the second terminal device,
This is particularly effective in a system in which digital data is decoded based on the operation clock in the second terminal device. For example, even if the encoding process and the decoding process are performed in real time, the processes are synchronized. It is possible to avoid problems such as so-called screen drop and frame dropout.
【0016】[0016]
【発明の実施の形態】以下、本発明の好適な実施例を図
1〜図6の図面に基づいて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of the present invention will be described below with reference to FIGS.
【0017】図1は、本発明を適用して好適な通信シス
テムの一実施例を示すブロック図、図2は、実施例の通
信システムにより構成可能な応用形態の一例を示すブロ
ック図である。FIG. 1 is a block diagram showing an embodiment of a communication system suitable for applying the present invention, and FIG. 2 is a block diagram showing an example of an application form which can be constituted by the communication system of the embodiment.
【0018】図1において、10はビデオカメラ11を
含む第1の端末装置、20はビデオモニタ21を含む第
2の端末装置である。この実施例において、両者はIE
EE(米国電気電子技術者協会)1394規格に従った
通信バス80によりバス接続され通信システムを構成し
ている。In FIG. 1, reference numeral 10 denotes a first terminal device including a video camera 11, and reference numeral 20 denotes a second terminal device including a video monitor 21. In this embodiment, both are IE
A bus is connected by a communication bus 80 conforming to the EE (American Electrical and Electronic Engineers Association) 1394 standard to constitute a communication system.
【0019】図2に示すように、IEEE1394の通
信バス80は、デジタルビデオカメラ装置10、デジタ
ルテレビモニタ装置20、デジタルVTR装置30、デ
ジタル放送受信機40、デジタルオーディオ装置50、
プリンター60およびパーソナルコンピュータ70など
複数の端末装置を接続して、これら複数の端末装置間で
デジタルデータの送受信を行うことを可能にしている。As shown in FIG. 2, the IEEE 1394 communication bus 80 includes a digital video camera device 10, a digital television monitor device 20, a digital VTR device 30, a digital broadcast receiver 40, a digital audio device 50,
A plurality of terminal devices such as the printer 60 and the personal computer 70 are connected, and digital data can be transmitted and received between the plurality of terminal devices.
【0020】デジタルビデオカメラ装置10は、画像を
電気信号に変換するビデオカメラ11、画像の電気信号
をデジタル化すると共にMPEG(Motion Picture Exp
ertsGroup)圧縮するMPEGエンコーダ12(信号処
理手段)、IEEE1394規格に準拠した通信コント
ローラである通信制御部16、本発明の特徴的な構成で
ある補償手段としてのタイミング補償回路15および動
作クロック同調手段としてのPLL回路14等を備えて
構成される。特に制限されるものではないが、この実施
例では上記通信制御部16、タイミング補償回路15お
よびPLL回路14は、1つの半導体チップ上に半導体
集積回路として形成された1チップのLSIコントロー
ラ13を構成する。The digital video camera device 10 includes a video camera 11 for converting an image into an electric signal, a digital image signal, and an MPEG (Motion Picture Exposure).
ertsGroup) an MPEG encoder 12 (signal processing means) for compression, a communication control unit 16 which is a communication controller conforming to the IEEE 1394 standard, a timing compensation circuit 15 as a compensation means characteristic of the present invention, and an operation clock tuning means. And the like. Although not particularly limited, in this embodiment, the communication control unit 16, the timing compensation circuit 15, and the PLL circuit 14 constitute a one-chip LSI controller 13 formed as a semiconductor integrated circuit on one semiconductor chip. I do.
【0021】デジタルテレビモニタ装置20は、MPE
G圧縮された映像データを伸長して映像信号に復調する
MPEGデコーダ22、映像信号に基づき映像出力する
ビデオモニタ21を備えるほか、デジタルビデオカメラ
装置10と同様に、通信制御部26、タイミング補償回
路25、並びにPLL回路24等を備えて構成される。The digital television monitor 20 is an MPE
In addition to an MPEG decoder 22 for expanding G-compressed video data and demodulating it into a video signal, a video monitor 21 for outputting video based on the video signal, a communication control unit 26, a timing compensation circuit 25, and a PLL circuit 24 and the like.
【0022】図1では省略されているが、これらデジタ
ルビデオカメラ装置10とデジタルテレビモニタ装置2
0には、それぞれ独立した例えば約27MHzで発振す
るシステムクロックφsを発生するクロック発生回路が
設けられている。これらのシステムクロックφsはそれ
ぞれ独立しているため、互いに多少のずれが生じること
がある。Although not shown in FIG. 1, these digital video camera device 10 and digital television monitor device 2
0 is provided with an independent clock generation circuit for generating a system clock φs oscillating at, for example, about 27 MHz. Since these system clocks φs are independent of each other, there may be a slight deviation from each other.
【0023】通信制御部16,26は、IEEE139
4規格に準拠し、IEEE1394の物理レイヤ、リン
クレイヤおよびトンンザクションレイヤを備えたコント
ローラである。通信制御部16,26には、32ビット
のサイクルタイマレジスタ16a,26aが設けられて
おり、各端末装置のシステムクロックφsによりカウン
トアップが行われていく。IEEE1394は、各ノー
ド(端末装置)がそれぞれリアルタイムにデータ転送を
行うアイソクロナス転送モードを有する。The communication control units 16 and 26 are based on IEEE 139
This is a controller that conforms to the 4 standards and includes an IEEE 1394 physical layer, a link layer, and a transaction layer. The communication control units 16 and 26 are provided with 32-bit cycle timer registers 16a and 26a, and count up by the system clock φs of each terminal device. IEEE 1394 has an isochronous transfer mode in which each node (terminal device) transfers data in real time.
【0024】アイソクロナス転送モードにおいては、何
れかのノードがサイクルマスタとなってアイソクロナス
転送の中心的制御を行う。具体的には、サイクルマスタ
となったノードが規則的なサイクル(125μ秒毎)で
サイクルスタート信号をバス80に送信し、アイソクロ
ナス転送の1サイクルを開始すると共に、この1サイク
ル中に各ノードにバスの優先権を与えてデータ転送を行
わせる。そして、このサイクルを繰り返すことで、各ノ
ードがそれぞれリアルタイムにデータ転送を行う。In the isochronous transfer mode, one of the nodes serves as a cycle master to perform central control of isochronous transfer. Specifically, the node that has become the cycle master transmits a cycle start signal to the bus 80 at regular cycles (every 125 μsec), starts one cycle of isochronous transfer, and sends a signal to each node during this one cycle. The priority of the bus is given to perform the data transfer. By repeating this cycle, each node performs data transfer in real time.
【0025】サイクルスタート信号は、数バイトのパケ
ットデータであり、そのデータ中には32ビットのサイ
クルタイマ信号(サイクルタイマデータ)が含まれる。
このサイクルタイマ信号は、サイクルマスタとなったノ
ードのサイクルタイマレジスタ16a,26aのデータ
値を示している。サイクルスタート信号は、通常、一定
のサイクル期間(125μ秒)毎に送信されるが、全ノ
ードのデータ転送がアイソクロナス転送の1サイクル期
間より長引いた場合に、その分延期されて送信される。
このようにサイクルスタートが延期された場合には、サ
イクルマスタからサイクルスタートの延期時間が、クワ
ッドレット要求パケットとして全ノードのサイクルタイ
マレジスタ16a,26a…にブロードキャストされ
る。この処理により、全てのノードがある誤差内に同期
される。The cycle start signal is several bytes of packet data, and the data includes a 32-bit cycle timer signal (cycle timer data).
This cycle timer signal indicates the data value of the cycle timer registers 16a and 26a of the node that has become the cycle master. The cycle start signal is usually transmitted every fixed cycle period (125 μsec), but is delayed and transmitted when data transfer of all nodes is longer than one cycle period of isochronous transfer.
When the cycle start is postponed, the cycle master postpones the postponed time of the cycle start as a quadlet request packet to the cycle timer registers 16a, 26a,... Of all nodes. By this processing, all nodes are synchronized within a certain error.
【0026】この実施例の通信制御部16,26は、上
記サイクルスタート信号の受信時にサイクルタイマ信号
をタイミング補償回路15,25に出力するように構成
されている。The communication controllers 16 and 26 of this embodiment are configured to output a cycle timer signal to the timing compensation circuits 15 and 25 when receiving the cycle start signal.
【0027】PLL回路14,24は、周波数位相同期
発信回路14a,24aや分周回路14b,24bを備
え、タイミング補償回路25から出力される約8kHz
の基準クロック信号φrefに基づき、該基準クロック
信号φrefと同調するように27MHzの動作クロッ
クCLKを生成してMPEGエンコーダ12やMPEG
デコーダ22(デジタルデータの信号処理手段)に出力
する。Each of the PLL circuits 14 and 24 includes a frequency-phase synchronous oscillation circuit 14a, 24a and a frequency dividing circuit 14b, 24b.
The 27 MHz operation clock CLK is generated in synchronization with the reference clock signal φref based on the reference clock signal φref of
It outputs to the decoder 22 (digital data signal processing means).
【0028】具体的には、上記周波数位相同期発信回路
14a,24aにより、基準クロック信号φrefを所
定倍率(例えば3375)に逓倍して所定周波数(例え
ば27MHz)のクロックを生成する一方、分周回路1
4b,24bがそれを同倍率(例えば3375)で分周
して周波数位相同期発信回路14a,24aに戻す。周
波数位相同期発信回路4aは、タイミング補償回路5か
らの基準クロック信号φrefと分周回路4bからの信
号とで周波数比較および位相比較を行い両者の周波数が
一致するように自身の発振を制御する。この制御によ
り、基準クロック信号φrefの周期に揺らぎが生じた
り、基準クロック信号φrefに対して端末装置のシス
テムクロックφsに固有の周波数ずれが生じていた場合
でも、基準クロック信号φrefと動作クロックCLK
との同調が図られる。More specifically, the frequency and phase synchronization oscillators 14a and 24a multiply the reference clock signal φref by a predetermined factor (for example, 3375) to generate a clock of a predetermined frequency (for example, 27 MHz), and generate a frequency dividing circuit. 1
4b and 24b divide the frequency by the same scale (for example, 3375) and return it to the frequency / phase synchronous oscillation circuits 14a and 24a. The frequency and phase synchronization transmission circuit 4a compares the frequency and the phase of the reference clock signal φref from the timing compensation circuit 5 with the signal from the frequency dividing circuit 4b, and controls its own oscillation so that the two frequencies match. By this control, even when the period of the reference clock signal φref fluctuates or the system clock φs of the terminal device has a specific frequency deviation with respect to the reference clock signal φref, the reference clock signal φref and the operation clock CLK
Synchronization with is achieved.
【0029】図3は、実施例のタイミング補償回路1
5,25の詳細な構成例を示すブロック図である。FIG. 3 shows a timing compensation circuit 1 according to the embodiment.
It is a block diagram which shows the detailed example of a structure of 5, 25.
【0030】タイミング補償回路15,25は、通信制
御部16,26からのサイクルタイマ信号に基づき該サ
イクルタイマ信号に同調した基準クロック信号φref
を生成すると共に、サイクルタイマ信号の出力位相が比
較的中程度に変動した場合に、この変動を緩衝して、小
さな位相変動(例えばシステムクロックφsの1周期分
の位相変動)に変換する回路である。但し、サイクルタ
イマ信号に対し基準クロック信号φrefの平均周期が
一致するように制御する。The timing compensating circuits 15 and 25 receive a reference clock signal φref synchronized with the cycle timer signal based on the cycle timer signal from the communication control units 16 and 26.
When the output phase of the cycle timer signal fluctuates to a relatively moderate level, this circuit buffers this fluctuation and converts it into a small phase fluctuation (for example, a phase fluctuation of one cycle of the system clock φs). is there. However, control is performed so that the average period of the reference clock signal φref matches the cycle timer signal.
【0031】この位相変動を小さく抑える機能により、
PLL回路14,24の応答特性を低くしても誤作動を
防ぐことが出来ると共に、PLL回路14,24におけ
る制御の引込速度を落として、動作クロックCLKの周
波数の精度を高めることが出来る。With the function of suppressing the phase fluctuation to a small value,
Even if the response characteristics of the PLL circuits 14 and 24 are lowered, erroneous operation can be prevented, and at the same time, the control speed of the PLL circuits 14 and 24 can be reduced, and the accuracy of the frequency of the operation clock CLK can be increased.
【0032】詳細には、図3に示すように、上記タイミ
ング補償回路15,25は、例えば約27MHzのシス
テムクロックφsをカウントしていくCYCカウンタ4
1や、同システムクロックφsを分周(例えば3375
分周)して8kHzの基準クロック信号φrefを生成
する基準クロック生成カウンタ43、並びに、サイクル
タイマ信号のデータ値とCYCカウンタ41のカウント
値を比較して基準クロック生成カウンタ43のカウント
制御を行う値比較器42等により構成される。More specifically, as shown in FIG. 3, the timing compensating circuits 15 and 25 are provided with a CYC counter 4 for counting a system clock φs of, for example, about 27 MHz.
1 or the frequency of the system clock φs (for example, 3375
A reference clock generation counter 43 for generating the 8 kHz reference clock signal φref by dividing the frequency, and a value for controlling the count of the reference clock generation counter 43 by comparing the data value of the cycle timer signal with the count value of the CYC counter 41. It comprises a comparator 42 and the like.
【0033】基準クロック生成カウンタ43は、基準ク
ロック信号φrefの目標とする8kHzの周波数に対
応するカウント値(例えば3375)を計数し、且つサ
イクルタイマ信号に対するシステムクロックφsのずれ
に応じてカウント値を「+1」したり「−1」すること
で周波数を合わせ込んで行く機能を有する。具体的には
「−1」させる回路とする代りに「3375」よりも
「1」多い「3376」でリセットされるように構成し
ておいて、値比較器42からのカウント制御信号Sg3
〜Sg5に基づいてカウント値を「+1」または「+
2」だけ余計に加算する機能を持たせてある。そして、
標準状態すなわちサイクルタイマ信号の周波数とシステ
ムクロックφsの周波数が一致している状態では、リセ
ット周期毎にカウント制御信号Sg4を入力して基準ク
ロック生成カウンタ43を「+1」余計にカウントさせ
ることで、実際よりも1つ小さい3376個のクロック
でリセットされるカウンタとして動作させることが出来
る。また、システムクロックφsの周波数が小さいとき
は、基準クロック生成カウンタ43のカウント値をその
まま、すなわち「+0」とさせるカウント制御信号Sg
3を入力することでリセット周期を1クロック分短くし
て基準クロック信号φrefの周波数を上げることがで
き、システムクロックφsの周波数が大きいときは、カ
ウント値を「+2」するカウント制御信号Sg5を入力
することでカウント周期を1クロック分長くして基準ク
ロック信号φrefの周波数を下げることが出来る。The reference clock generation counter 43 counts a count value (for example, 3375) corresponding to a target frequency of 8 kHz of the reference clock signal φref, and counts the count value according to a shift of the system clock φs with respect to the cycle timer signal. It has a function of adjusting the frequency by "+1" or "-1". Specifically, instead of using a circuit for setting “−1”, the count control signal Sg3 from the value comparator 42 is reset by “3376” which is “1” greater than “3375”.
The count value is set to “+1” or “+” based on Sg5.
A function to add an extra 2 ”is provided. And
In the standard state, that is, when the frequency of the cycle timer signal matches the frequency of the system clock φs, the count control signal Sg4 is input every reset cycle to cause the reference clock generation counter 43 to count “+1” more. It is possible to operate as a counter which is reset by 3376 clocks smaller than the actual one. When the frequency of the system clock φs is low, the count control signal Sg for keeping the count value of the reference clock generation counter 43 as it is, that is, “+0”.
By inputting 3, the reset cycle can be shortened by one clock to increase the frequency of the reference clock signal φref. When the frequency of the system clock φs is high, the count control signal Sg5 for increasing the count value by “+2” is input. By doing so, the frequency of the reference clock signal φref can be reduced by lengthening the count cycle by one clock.
【0034】CYCカウンタ41は、サイクルタイマデ
ータと同様の32ビットカウンタでありシステムクロッ
クφsによりカウントアップされるカウンタである。即
ち、通信制御部16,26のサイクルタイマレジスタ1
6a,26aと同じ周波数でアップされていく。また、
値比較器42からのロード信号Sg6によりサイクルタ
イマ信号のデータ値をロードする機能を有している。The CYC counter 41 is a 32-bit counter similar to the cycle timer data and counts up by the system clock φs. That is, the cycle timer register 1 of the communication control units 16 and 26
The frequency is increased at the same frequency as 6a and 26a. Also,
It has a function of loading the data value of the cycle timer signal by the load signal Sg6 from the value comparator 42.
【0035】値比較器42は、サイクルタイマ信号の入
力時に該サイクルタイマ信号のデータ値とCYCカウン
タ41のカウント値を比較して、両者が一致していれば
カウント制御信号Sg4を出力し「+1」加算させて基
準クロック生成カウンタ43のリセット周期を所定周期
のままにし、CYCカウンタ41のカウント値の方が大
きければカウント制御信号Sg5を出力し「+2」加算
させて基準クロック生成カウンタ43のリセット周期を
1クロック分短くし、CYCカウンタ41のカウント値
の方が小さければカウント制御信号Sg3を出力し「+
0」加算させてて基準クロック生成カウンタ43のリセ
ット周期を1クロック分長くする。The value comparator 42 compares the data value of the cycle timer signal with the count value of the CYC counter 41 when the cycle timer signal is input, and outputs a count control signal Sg4 if they match, and outputs “+1”. And the reset cycle of the reference clock generation counter 43 is kept at a predetermined cycle. If the count value of the CYC counter 41 is larger, the count control signal Sg5 is output and “+2” is added to reset the reference clock generation counter 43. The cycle is shortened by one clock, and if the count value of the CYC counter 41 is smaller, a count control signal Sg3 is output and “+
By adding “0”, the reset cycle of the reference clock generation counter 43 is lengthened by one clock.
【0036】つまり、この制御によって、システムクロ
ックφsにサイクルタイマ信号に対する相対的な位相の
ずれがあって基準クロック信号φrefが遅れたり進ん
だりした場合でも、サイクルタイマ信号と基準クロック
信号φrefとの位相が合うように基準クロック生成カ
ウンタ43を制御して、基準クロック信号φrefの位
相をシステムクロックφsの1クロック分ずつ早めたり
遅くしたりする位相補償が行われる。このように、この
実施例では、サイクルタイマ信号の位相が大きくずれた
場合でも、システムクロックφsの1クロック分ずつ、
サイクルタイマ信号と基準クロック信号φrefとの位
相が合うまで、基準クロック生成カウンタ43の位相を
早めたり遅くしたりする位相補償がゆっくりと行われ
る。That is, even if the system clock φs has a relative phase shift with respect to the cycle timer signal and the reference clock signal φref is delayed or advanced by this control, the phase of the cycle timer signal and the reference clock signal φref can be reduced. By controlling the reference clock generation counter 43 so as to match the phase, the phase of the reference clock signal φref is advanced or delayed by one clock of the system clock φs to perform phase compensation. As described above, in this embodiment, even when the phase of the cycle timer signal is greatly shifted, one cycle of the system clock φs is used.
Until the phase of the cycle timer signal and the phase of the reference clock signal φref match, phase compensation for increasing or decreasing the phase of the reference clock generation counter 43 is performed slowly.
【0037】また、値比較器42は、基準クロック信号
φrefの立ち上がり時に比較トリガ信号Sg2が入力
されて、この比較トリガ信号Sg2とサイクルタイマ信
号との入力タイミングが一致している場合に、ロード信
号Sg6を出力してCYCカウンタ41の値をサイクル
タイマ信号のデータ値に置き換える制御を行う。The value comparator 42 receives the comparison trigger signal Sg2 at the rise of the reference clock signal φref, and if the input timing of the comparison trigger signal Sg2 matches the cycle timer signal, the value comparator 42 outputs the load signal. Sg6 is output to perform control to replace the value of the CYC counter 41 with the data value of the cycle timer signal.
【0038】つまり、この制御を行わないと、サイクル
タイマデータとCYCカウンタ41のカウント値がずれ
て基準クロック生成カウンタ43の位相補償が行われた
場合でも、この位相補償がCYCカウンタ41に反映さ
れず、永遠にサイクルタイマデータとCYCカウンタの
カウント値がずれたままとなるが、上記の制御によっ
て、サイクルタイマ信号と基準クロック信号φrefと
の位相が合った場合に、サイクルタイマデータとCYC
カウンタのカウント値が同値にされて、基準クロック信
号φrefの位相補償が停止される。That is, if this control is not performed, even if the cycle timer data and the count value of the CYC counter 41 deviate and the phase compensation of the reference clock generation counter 43 is performed, this phase compensation is reflected on the CYC counter 41. In this case, the cycle timer data and the count value of the CYC counter remain forever. However, if the phase of the cycle timer signal and the reference clock signal φref match, the cycle timer data and the CYC counter
The count value of the counter is set to the same value, and the phase compensation of the reference clock signal φref is stopped.
【0039】図4には、図3のタイミング補償回路にお
ける各信号のタイムチャートを示す。FIG. 4 is a time chart of each signal in the timing compensation circuit of FIG.
【0040】同図に示すように、上記のタイミング補償
回路15,25においては、基準クロック生成カウンタ
43からサイクルタイマ信号とほぼ同周波数(例えば8
kHz)の基準クロック信号φrefが出力され、この
基準クロック信号φrefの立ち上がり時に比較トリガ
信号Sg2が出力される。As shown in the figure, in the timing compensation circuits 15 and 25, the frequency of the cycle clock signal from the reference clock generation counter 43 (for example, 8
kHz) is output, and a comparison trigger signal Sg2 is output when the reference clock signal φref rises.
【0041】また、先にも述べたが、CYCカウンタ4
1のカウント値は、サイクルタイマ信号の入力時にその
データ値と比較され、両者が同値であればカウント制御
信号(CNTCTRL1)Sg4が出力され、CYCカウンタ4
1のカウント値の方が大きい場合には、カウント制御信
号(CNTCTRL2)Sg5が出力され、CYCカウンタ41
のカウント値の方が小さい場合にはカウント制御信号
(CNTCTRL3)Sg3が出力される。As described above, the CYC counter 4
The count value of 1 is compared with the data value when the cycle timer signal is input, and if both are the same, a count control signal (CNTCTRL1) Sg4 is output, and the CYC counter 4
If the count value of 1 is larger, the count control signal (CNTCTRL2) Sg5 is output and the CYC counter 41
If the count value is smaller, a count control signal (CNTCTRL3) Sg3 is output.
【0042】図5には、タイミング補償回路により行わ
れる基準クロック信号φrefの位相補償制御を説明す
るタイムチャートを示す。同図(a)はサイクルタイマ
信号とシステムクロックφsが同調している場合のも
の、(b)はシステムクロックφsが遅れている場合の
もの、(c)はシステムクロックφsが進んでいる場合
のものである。FIG. 5 is a time chart for explaining the phase compensation control of the reference clock signal φref performed by the timing compensation circuit. 11A shows a case where the cycle timer signal and the system clock φs are synchronized, FIG. 10B shows a case where the system clock φs is delayed, and FIG. 10C shows a case where the system clock φs is advanced. Things.
【0043】なお、図5中、n個ごとにシステムクロッ
クφsを斜線で示している。n個はサイクルタイマ信号
の1周期に出力されるべきシステムクロックφsの個数
(例えば3375個)である。In FIG. 5, the system clock φs is indicated by hatching every n clocks. n is the number (for example, 3375) of system clocks φs to be output in one cycle of the cycle timer signal.
【0044】図5(a)に示すように、システムクロッ
クφsにずれがなく所定個(例えば3375個)のシス
テムクロックφsと同一の周期でサイクルタイマ信号が
送信されてくる間は、サイクルタイマ信号のデータ値と
CYCカウンタ41のカウント値とが同値となり、基準
クロック信号φrefは位相補償されずにシステムクロ
ックφsと同調したまま出力される。As shown in FIG. 5A, while the system clock φs is not shifted and the cycle timer signal is transmitted at the same cycle as a predetermined number (for example, 3375) of system clocks φs, the cycle timer signal is transmitted. Is equal to the count value of the CYC counter 41, and the reference clock signal φref is output without being phase-compensated and synchronized with the system clock φs.
【0045】一方、図5(b)に示すように、システム
クロックφsのずれやサイクルタイマ信号の出力タイミ
ングの変動により、サイクルタイマ信号が基準クロック
信号φrefより遅れた場合には、CYCカウンタ41
のカウント値がサイクルタイマ信号のデータ値より大き
くなって、基準クロック信号φrefの位相補償制御が
行われる。この位相補償は、基準クロック信号φref
の1周期ごとにシステムクロックφs1個分遅らせる補
償で、サイクルタイマ信号が基準クロック信号φref
と同期するまで続けられ。それにより、基準クロック信
号φrefとサイクルタイマ信号との位相が緩やかに合
ってくる。On the other hand, as shown in FIG. 5B, when the cycle timer signal is delayed from the reference clock signal φref due to a shift of the system clock φs or a change in the output timing of the cycle timer signal, the CYC counter 41
Becomes larger than the data value of the cycle timer signal, and the phase compensation control of the reference clock signal φref is performed. This phase compensation is performed by the reference clock signal φref
Is compensated by one system clock φs for every one cycle of the reference clock signal φref.
Continue until synchronized. As a result, the phases of the reference clock signal φref and the cycle timer signal gradually match.
【0046】同様に、図5(c)に示すように、システ
ムクロックφsのずれやサイクルタイマ信号の出力タイ
ミングの変動により、サイクルタイマ信号が基準クロッ
ク信号φrefより進んだ場合には、CYCカウンタ4
1のカウント値がサイクルタイマ信号のデータ値より小
さくなって、基準クロック信号φrefの位相補償制御
が行われる。この位相補償は、基準クロック信号φre
fの1周期ごとにシステムクロックφs1個分進める補
償で、サイクルタイマ信号が基準クロック信号φref
と同期するまで続けられ。それにより、基準クロック信
号φrefとサイクルタイマ信号との位相が緩やかに合
ってくる。Similarly, as shown in FIG. 5C, when the cycle timer signal is ahead of the reference clock signal φref due to a shift of the system clock φs or a change in the output timing of the cycle timer signal, the CYC counter 4
The count value of 1 becomes smaller than the data value of the cycle timer signal, and phase compensation control of the reference clock signal φref is performed. This phase compensation is performed by the reference clock signal φre
Compensation that advances by one system clock φs for each cycle of f
Continue until synchronized. As a result, the phases of the reference clock signal φref and the cycle timer signal gradually match.
【0047】なお、CYCカウンタ41とサイクルタイ
マデータとの比較方法には、種々の変形例が考えられ
る。例えば、サイクルタイマデータをラッチしておき、
比較トリガ信号Sg2の入力時に比較を行わせることも
可能であるし、また、比較を行うサイクルタイマデータ
を、サイクルスタート信号のサイクルタイマデータとせ
ずに、各ノードに設けられたサイクルタイマレジスタ1
6a,26aのデータ値とすることも出来る。サイクル
タイマレジスタ16a,26aには、サイクルスタート
信号のサイクルタイマデータがブロードキャストされて
更新されていくので、このデータを使用しても複数の端
末装置間で同期をとることが出来る。Various modifications can be considered for the method of comparing the CYC counter 41 with the cycle timer data. For example, latch the cycle timer data,
The comparison can be performed when the comparison trigger signal Sg2 is input. Also, the cycle timer data to be compared is not set as the cycle timer data of the cycle start signal, and the cycle timer register 1 provided at each node is used.
6a and 26a. Since the cycle timer data of the cycle start signal is broadcast and updated in the cycle timer registers 16a and 26a, even if this data is used, synchronization can be obtained between a plurality of terminal devices.
【0048】以上のように、上記実施例のデジタルデー
タの通信システムおよび端末装置によれば、予め通信制
御部16,26により規則的な間隔で送信されるように
設定されているサイクルスタート信号若しくはその中の
サイクルタイマ信号(基準信号)を使用して複数の端末
装置間で同期化を図るので、従来のように同期用の新た
な信号を生成してデジタルデータ中に含ませて通信する
必要がなくなり、IEEE1394のデータ伝送能力を
低下させることがない。また、サイクルスタート信号は
通信制御部16,26のトランザクションレイヤーにお
いて既にMPEGデータと分離されているので、サイク
ルスタート信号と同期をとるための処理とMPEGデー
タの信号処理とをそれぞれ独立して行え、制御処理が簡
単になる。As described above, according to the digital data communication system and the terminal device of the above embodiment, the cycle start signal or the cycle start signal set in advance so as to be transmitted at regular intervals by the communication control units 16 and 26 is provided. Since synchronization is performed between a plurality of terminal devices by using the cycle timer signal (reference signal) therein, it is necessary to generate a new signal for synchronization and include it in digital data for communication as in the related art. And the data transmission capacity of IEEE 1394 is not reduced. Further, since the cycle start signal is already separated from the MPEG data in the transaction layer of the communication controllers 16 and 26, the process for synchronizing with the cycle start signal and the signal processing of the MPEG data can be performed independently. Control processing is simplified.
【0049】更に、上記サイクルスタート信号の出力タ
イミングに揺らぎが存在し、サイクルスタート信号にそ
の出力タイミングに関するサイクルタイマデータが含ま
れており、このサイクルタイマデータに基づいて基準ク
ロック信号φrefの出力タイミングを補償するので、
サイクルスタート信号の出力タイミングが揺らいでも安
定した動作クロックCLKを生成することが出来る。Further, there is fluctuation in the output timing of the cycle start signal, and the cycle start signal includes cycle timer data relating to the output timing. The output timing of the reference clock signal φref is determined based on the cycle timer data. To compensate,
Even if the output timing of the cycle start signal fluctuates, a stable operation clock CLK can be generated.
【0050】更に、撮像して得られた動画像信号にMP
EGエンード処理を行うデジタルビデオカメラと、転送
されたMPEGデータをデコードして映像出力するデジ
タルテレビモニタとの通信システムに本発明を適用して
いるので、リアルタイムの動画像再生であっても、いわ
ゆる画面落ちやフレーム抜けといった支障を回避でき
る。Further, the moving image signal obtained by imaging
Since the present invention is applied to a communication system between a digital video camera that performs EG end processing and a digital television monitor that decodes transferred MPEG data and outputs a video, even in the case of real-time moving image playback, a so-called so-called Problems such as dropped screens and missing frames can be avoided.
【0051】以上本発明者によってなされた発明を実施
例に基づき具体的に説明したが、本発明は上記実施例に
限定されるものではなく、その要旨を逸脱しない範囲で
種々変更可能であることはいうまでもない。Although the invention made by the inventor has been specifically described based on the embodiments, the present invention is not limited to the above embodiments, and various modifications can be made without departing from the gist of the invention. Needless to say.
【0052】例えば、本発明は、デジタルビデオカメラ
装置とデジタルテレビモニタ装置とから構成された通信
システムに限られず、例えば、デジタルデータの読出し
や書込みを行う端末装置間で通信を行うシステムや、デ
ジタルデータに係る種々の信号処理を行う端末装置間で
通信を行うシステムに適用しても有用である。また、デ
ジタルデータに係る信号処理として、MPEGデコード
処理やMPEGエンコーダ処理を例示したが、他の様々
な形式のデコードおよびエンコード処理も含まれること
は云うまでもなく、更に、データの読出し書込み転送処
理、その他、加工処理など種々の信号処理も含まれる。For example, the present invention is not limited to a communication system constituted by a digital video camera device and a digital television monitor device. For example, a system for performing communication between terminal devices for reading and writing digital data, The present invention is also useful when applied to a system that performs communication between terminal devices that perform various signal processing on data. In addition, although the MPEG decoding process and the MPEG encoder process have been illustrated as the signal processes related to the digital data, it goes without saying that various other types of decoding and encoding processes are also included. And various signal processing such as processing.
【0053】また、上記実施例では、基準信号(サイク
ルスタート信号)に基づき動作クロックを生成すること
で、基準信号と動作クロックとを同調させているが、例
えばサイクルマスタとなる端末装置では、動作クロック
に基づいて基準信号を生成・同調させるように制御する
ことも可能である。具体的には、所定の端末装置(例え
ばVTR装置)の通信制御部16がサイクルマスタとな
るように固定すると共に、この端末装置のシステムクロ
ックφsを用いてMPEGエンコーダ12の動作クロッ
クを生成すると共に、同一のシステムクロックφsを用
いて通信制御部16内のサイクルタイマレジスタ16a
のカウントを行わせるようにするか、或いは、MPEG
エンコーダ12の動作クロックを通信制御部16に導い
て該動作クロックからサイクルタイマレジスタ16aの
クロック信号を生成しカウントを行わせることで達成さ
れる。In the above embodiment, the reference signal and the operation clock are synchronized by generating the operation clock based on the reference signal (cycle start signal). It is also possible to control to generate and tune the reference signal based on the clock. Specifically, the communication control unit 16 of a predetermined terminal device (for example, a VTR device) is fixed so as to be a cycle master, and the operation clock of the MPEG encoder 12 is generated using the system clock φs of the terminal device. Cycle timer register 16a in communication control unit 16 using the same system clock φs
Or MPEG
This is achieved by guiding the operation clock of the encoder 12 to the communication control unit 16, generating a clock signal of the cycle timer register 16a from the operation clock, and performing counting.
【0054】また、PLL回路14,24をサイクルス
タート信号の位相変動に対して十分に追従できる応答性
能にすることで、タイミング補償回路15,25から位
相補償の機能(CYCカウンタ41や値比較器42)を
省き、タイミング補償回路15,25に基準クロック信
号φrefの生成だけ行わせるようにすることも出来
る。Further, by making the PLL circuits 14 and 24 have a response performance that can sufficiently follow the phase fluctuation of the cycle start signal, the phase compensation function (the CYC counter 41 and the value comparator) can be provided from the timing compensation circuits 15 and 25. 42) can be omitted, and the timing compensation circuits 15 and 25 can only generate the reference clock signal φref.
【0055】図6には、本発明を適用して好適な端末装
置の変形例を示す。FIG. 6 shows a modification of the terminal device suitable for applying the present invention.
【0056】前記実施例では、通信制御部16、タイミ
ング補償回路15およびPLL回路14を1チップに集
積してコントロールLSI13として説明したが、例え
ば、図6(a)に示すように、タイミング補償回路15
およびPLL回路14を1チップに集積してLSI13
Aとしても良いし、図6(b)に示すように、タイミン
グ補償回路15、PLL回路14およびMPEGエンコ
ーダ12などの信号処理部を1チップに集積してLSI
13Bとしても良い。また、図6(c)に示すように、
通信制御部16、タイミング補償回路15、PLL回路
14およびMPEGエンコーダ12などの信号処理部を
1チップに集積してLSI13Cとすることも可能であ
る。In the above-described embodiment, the communication control unit 16, the timing compensation circuit 15, and the PLL circuit 14 are integrated into one chip and described as the control LSI 13. However, for example, as shown in FIG. Fifteen
And a PLL circuit 14 integrated on one chip to form an LSI 13
6A. Alternatively, as shown in FIG. 6B, a signal processing unit such as a timing compensation circuit 15, a PLL circuit 14, and an MPEG encoder 12 is integrated on a single chip to form an LSI.
13B may be used. Also, as shown in FIG.
A signal processing unit such as the communication control unit 16, the timing compensation circuit 15, the PLL circuit 14, and the MPEG encoder 12 can be integrated into one chip to form an LSI 13C.
【0057】以上の説明では主として本発明者によって
なされた発明をその背景となった利用分野であるIEE
E1394規格に準拠した通信システムについて説明し
たがこの発明はそれに限定されるものでなく、その他の
アイソクロナス転送モードを有する通信システムに利用
することができるし、更に、規則的な間隔で基準信号が
通信される種々の規格の通信システムに広く利用するこ
とができる。In the above description, the invention made mainly by the present inventor is based on the field of use which is the background of the IEEE.
Although the communication system conforming to the E1394 standard has been described, the present invention is not limited to this. The present invention can be used for other communication systems having an isochronous transfer mode. It can be widely used for communication systems of various standards.
【0058】[0058]
【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
のとおりである。The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.
【0059】すなわち、本発明に従うと、複数の端末装
置間でデジタルデータの送受信を行って、このデジタル
データに係る信号処理をする場合に、データ通信の伝送
能力に負担をかけることなく、且つ、簡単な制御内容
で、これら複数の端末装置間で行われる信号処理を同期
化させることが出来る。That is, according to the present invention, when transmitting and receiving digital data between a plurality of terminal devices and performing signal processing on the digital data, the transmission capability of data communication is not burdened, and With simple control contents, it is possible to synchronize the signal processing performed between the plurality of terminal devices.
【図1】本発明を適用して好適な通信システムの一実施
例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of a communication system suitable for applying the present invention.
【図2】実施例の通信システムにより構成可能な応用形
態の一例を示すブロック図である。FIG. 2 is a block diagram illustrating an example of an application mode that can be configured by the communication system according to the embodiment.
【図3】実施例のタイミング補償回路の詳細な構成例を
示すブロック図である。FIG. 3 is a block diagram illustrating a detailed configuration example of a timing compensation circuit according to the embodiment;
【図4】図3のタイミング補償回路の各信号の変化を示
すタイムチャートである。FIG. 4 is a time chart showing changes in signals of the timing compensation circuit of FIG. 3;
【図5】タイミング補償回路により行われる基準クロッ
ク信号φrefの位相の補償制御を説明するタイムチャ
ートで、(a)はサイクルタイマ信号とシステムクロッ
クφsが同調している場合のもの、(b)はシステムク
ロックφsが遅れている場合のもの、(c)はシステム
クロックφsが進んでいる場合のものである。5A and 5B are time charts for explaining compensation control of a phase of a reference clock signal φref performed by a timing compensation circuit, wherein FIG. 5A shows a case where a cycle timer signal and a system clock φs are synchronized, and FIG. (C) shows a case where the system clock φs is advanced, and (c) shows a case where the system clock φs is advanced.
【図6】本発明を適用して好適な通信システムの変形例
を示すブロック図である。FIG. 6 is a block diagram showing a modified example of a communication system suitable for applying the present invention.
【図7】従来の通信システムの一例を示すブロック図で
ある。FIG. 7 is a block diagram illustrating an example of a conventional communication system.
10 デジタルビデオカメラ装置 12 MPEGエンコーダ(信号処理手段) 13,23 コントロールLSI 14,24 PLL回路(動作クロック同調手段) 15,25 タイミング補償回路(補償手段) 16,26 通信制御部(通信コントローラ) 16a,26a サイクルタイマレジスタ 20 デジタルテレビモニタ装置 22 MPEGデコーダ(信号処理手段) φref 基準クロック信号 CLK 動作クロック Reference Signs List 10 digital video camera device 12 MPEG encoder (signal processing means) 13, 23 control LSI 14, 24 PLL circuit (operation clock tuning means) 15, 25 timing compensation circuit (compensation means) 16, 26 communication control unit (communication controller) 16a , 26a Cycle timer register 20 Digital television monitor 22 MPEG decoder (signal processing means) φref Reference clock signal CLK Operation clock
───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡辺 佳樹 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 今田 晴彦 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 中村 和則 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 森田 高明 神奈川県川崎市高津区坂戸3−2−1 株 式会社メディア・リンクス内 (72)発明者 林 英一 神奈川県川崎市高津区坂戸3−2−1 株 式会社メディア・リンクス内 Fターム(参考) 5C059 MA00 PP04 RB02 RC03 RC32 RC34 SS06 SS30 UA10 5K047 AA01 BB05 DD01 DD02 GG06 GG41 MM03 MM12 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Yoshiki Watanabe 5-22-1, Josuihoncho, Kodaira-shi, Tokyo Inside Hitachi Super SII Systems Co., Ltd. (72) Inventor Haruhiko Imada Tokyo 5-22-1, Kamimizu Honcho, Kodaira City Within Hitachi Cho SII Systems, Inc. (72) Inventor Kazunori Nakamura 5-221-1, Kamimizu Honcho, Kodaira City, Tokyo Hitachi, Ltd. LSI Systems Inc. (72) Inventor Takaaki Morita 3-2-1 Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa Prefecture Media Links Co., Ltd. (72) Inventor Eiichi Hayashi Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa Prefecture 3-2-1 F-term in Media Links Co., Ltd. (reference) 5C059 MA00 PP04 RB02 RC03 RC32 RC34 SS06 SS30 UA10 5K047 AA01 BB05 DD01 DD02 GG06 GG41 MM03 MM12 </ S> </ s> </ s>
Claims (9)
ーラを介して複数の端末装置間でデジタルデータを送受
信すると共に、上記通信コントローラにより規則的な間
隔で基準信号を通信するようにしたデジタルデータの通
信方法において、 上記各端末装置において夫々の動作クロックを上記基準
信号に同調させ、この動作クロックに基づき上記デジタ
ルデータに係る信号処理を行うことで、複数の端末装置
の上記信号処理を同期化させることを特徴とするデジタ
ルデータの通信方法。1. A digital data communication method, wherein digital data is transmitted and received between a plurality of terminal devices via a communication controller having a predetermined protocol, and a reference signal is communicated at regular intervals by the communication controller. In each of the terminal devices, each operation clock is synchronized with the reference signal, and the signal processing of the digital data is performed based on the operation clock, thereby synchronizing the signal processing of a plurality of terminal devices. Characteristic digital data communication method.
含まれており、該時間データに基づいて上記動作クロッ
クのタイミングを調整することを特徴とする請求項1記
載のデジタルデータの通信方法。2. The digital data communication method according to claim 1, wherein the reference signal includes data relating to time, and the timing of the operation clock is adjusted based on the time data.
4規格に準拠して規則的な間隔でデータ転送を行うアイ
ソクロナス転送モードを有し、上記基準信号はアイソク
ロナス転送モードにおけるサイクルスタート信号である
ことを特徴とする請求項1又は2に記載のデジタルデー
タの通信方法。3. The communication controller according to claim 1, wherein said communication controller is IEEE 139.
3. The digital data according to claim 1, wherein the digital data has an isochronous transfer mode for performing data transfer at regular intervals in accordance with four standards, and the reference signal is a cycle start signal in the isochronous transfer mode. Communication method.
に準拠したサイクルタイマデータであることを特徴とす
る請求項2又は3に記載のデジタルデータの通信方法。4. The digital data communication method according to claim 2, wherein said time data is cycle timer data conforming to the IEEE 1394 standard.
画像データなどの時系列デジタルデータであり、第1の
端末装置において上記動作クロックに基づきデジタルデ
ータのエンコード処理を行う一方、該デジタルデータを
第1の端末装置から第2の端末装置へ通信した後、第2
の端末装置において上記動作クロックに基づきデジタル
データのデコード処理を行うことを特徴とする請求項1
〜4の何れかに記載のデジタルデータの通信方法。5. The digital data is time-series digital data such as audio data and moving image data, and the first terminal device encodes the digital data based on the operation clock, and encodes the digital data in the first terminal device. After communication from one terminal device to the second terminal device, the second
2. The terminal device according to claim 1, wherein the digital data is decoded based on the operation clock.
5. The communication method for digital data according to any one of claims 1 to 4.
づき通信すると共に所定の基準信号を規則的な間隔で通
信する通信コントローラを備えた複数の端末機器と、こ
れら複数の端末機器を上記通信コントローラを介して接
続する通信手段とを備え、上記複数の端末装置間でデジ
タルデータを送受信するデジタルデータの通信システム
であって、 上記複数の端末装置には、夫々の動作クロックを上記基
準信号に同調させる動作クロック同調手段と、上記動作
クロックに基づき上記デジタルデータの信号処理を行う
信号処理手段とが、それぞれ設けられていることを特徴
とするデジタルデータの通信システム。6. A plurality of terminal devices provided with a communication controller for communicating digital data based on a predetermined protocol and communicating predetermined reference signals at regular intervals, and connecting the plurality of terminal devices via the communication controller. A communication means for transmitting and receiving digital data between the plurality of terminal devices, wherein the plurality of terminal devices have an operation for tuning their operation clocks to the reference signal. A digital data communication system, comprising: clock tuning means; and signal processing means for performing signal processing of the digital data based on the operation clock.
づき通信すると共に規則的な間隔で所定の基準信号を通
信するように設定された通信コントローラと、所定の動
作クロックを上記基準信号に同調させるクロック同調手
段と、この動作クロックに基づき上記デジタルデータに
関する信号処理を行う信号処理手段とを備え、当該信号
処理を上記動作クロックに同期して行うように構成され
てなることを特徴とする端末装置。7. A communication controller configured to communicate digital data based on a predetermined protocol and to communicate a predetermined reference signal at regular intervals, and a clock synchronization for synchronizing a predetermined operation clock with the reference signal. And a signal processing means for performing signal processing on the digital data based on the operation clock, wherein the terminal apparatus is configured to perform the signal processing in synchronization with the operation clock.
含まれており、該時間データに基づいて上記動作クロッ
クのタイミングを補償する補償手段を備えていることを
特徴とする請求項7記載の端末装置。8. The terminal according to claim 7, wherein said reference signal includes data relating to time, and further comprising compensating means for compensating timing of said operation clock based on said time data. apparatus.
4規格に準拠して規則的な間隔でデータ転送を行うアイ
ソクロナス転送モードを有し、上記基準信号はアイソク
ロナス転送モードにおけるサイクルスタート信号である
ことを特徴とする請求項7又は8に記載の端末装置。9. The communication controller according to claim 1, wherein the communication controller is an IEEE 139.
9. The terminal device according to claim 7, wherein the terminal device has an isochronous transfer mode for performing data transfer at regular intervals in accordance with the four standards, and the reference signal is a cycle start signal in the isochronous transfer mode. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16863699A JP2000358017A (en) | 1999-06-15 | 1999-06-15 | Method and system for communicating digital data and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16863699A JP2000358017A (en) | 1999-06-15 | 1999-06-15 | Method and system for communicating digital data and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000358017A true JP2000358017A (en) | 2000-12-26 |
| JP2000358017A5 JP2000358017A5 (en) | 2004-09-24 |
Family
ID=15871723
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16863699A Pending JP2000358017A (en) | 1999-06-15 | 1999-06-15 | Method and system for communicating digital data and terminal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000358017A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9749126B2 (en) | 2014-12-26 | 2017-08-29 | Industry-Academic Cooperation Foundation, Yonsei University | Data transmitter, data receiver and smart device using the same |
-
1999
- 1999-06-15 JP JP16863699A patent/JP2000358017A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9749126B2 (en) | 2014-12-26 | 2017-08-29 | Industry-Academic Cooperation Foundation, Yonsei University | Data transmitter, data receiver and smart device using the same |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1414235B1 (en) | Audio-video-system and method supporting a pull data flow scheme | |
| US5982828A (en) | Synchronous data transfer system using time stamp | |
| JP4528010B2 (en) | Video sync | |
| US6718476B1 (en) | Method of synchronizing each local clock to a master clock in a data bus system | |
| JP3301063B2 (en) | Multiple register update method, multiple register system and multiple clock system | |
| US7756233B2 (en) | Data receiving device and data receiving method | |
| US6574225B2 (en) | Clock recovery in a packet-based data network | |
| CN1820446B (en) | Jitter correcting apparatus capable of ensuring synchronism between transmitter apparatus and receiver apparatus | |
| JP3810918B2 (en) | Multimedia data relay apparatus and method | |
| US20060112191A1 (en) | Communications system and method, information processing apparatus and method, and program | |
| EP2153663B1 (en) | Automatic compensation of a delay of a synchronization signal in a packet switching network | |
| US20070091935A1 (en) | Reference clock recovery circuit and data receiving apparatus | |
| US7082547B2 (en) | Data signal processing method and data processor implementing independent and asynchronous system and data clocks | |
| JP3906712B2 (en) | Data stream processing device | |
| JP2000358017A (en) | Method and system for communicating digital data and terminal | |
| JP2002515718A (en) | Method and apparatus for recovering a data sample clock | |
| US7443213B2 (en) | Staged locking of two phase locked loops | |
| JPWO2005029853A1 (en) | Data conversion system | |
| US20100067531A1 (en) | Apparatus and method for controlling independent clock domains to perform synchronous operations in an asynchronous network | |
| JP3801043B2 (en) | Data receiving apparatus and method | |
| JP4015381B2 (en) | LAN controller and transmission apparatus equipped with LAN controller | |
| KR100784949B1 (en) | Data conversion system | |
| JPH10313448A (en) | Moving image transmitting device and receiving device | |
| JP4193856B2 (en) | Data transmission apparatus and method | |
| JP2003008556A (en) | Transport decoder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050706 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050714 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20051110 |