JP2000078170A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JP2000078170A
JP2000078170A JP11165659A JP16565999A JP2000078170A JP 2000078170 A JP2000078170 A JP 2000078170A JP 11165659 A JP11165659 A JP 11165659A JP 16565999 A JP16565999 A JP 16565999A JP 2000078170 A JP2000078170 A JP 2000078170A
Authority
JP
Japan
Prior art keywords
node
synchronization information
data
receiving
packet
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.)
Granted
Application number
JP11165659A
Other languages
Japanese (ja)
Other versions
JP3697949B2 (en
Inventor
Yasutaka Kuribayashi
泰孝 栗林
Yasushi Otani
康 大谷
Junichi Fujimori
潤一 藤森
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP16565999A priority Critical patent/JP3697949B2/en
Publication of JP2000078170A publication Critical patent/JP2000078170A/en
Application granted granted Critical
Publication of JP3697949B2 publication Critical patent/JP3697949B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To synchronize data to be communicated among plural communication nodes by generating second synchronizing information, for which a maximum transfer delay amount is added to first synchronizing information generated by a timer, and transmitting a sample count and second synchronizing information to a network at every prescribed timing. SOLUTION: The second synchronizing information, for which the maximum transfer delay amount is added to the first synchronizing information generated by the timer, is generated and the sample count corresponding to timing and the second synchronizing information are transmitted to the network at every prescribed timing. On this network, maximum delay time SYT-OFFSET is added to a WC packet 5. With a sample count axis as a reference, the nodes are synchronized. For example, a WC master node 1 transmits a WC packet 5 to first and second transmission nodes 2 and reception nodes 3. The first and second transmission nodes 2 respectively transmit data packets 6 to the reception nodes 3 corresponding to the WC packet 5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、通信技術に関し、
特に複数の通信装置間で同期をとるための通信技術に関
する。
[0001] The present invention relates to communication technology.
More particularly, the present invention relates to a communication technique for synchronizing a plurality of communication devices.

【0002】[0002]

【従来の技術】IEEE1394規格のデジタルシリア
ル通信が普及しつつある。IEEE1394規格では、
複数の通信ノードを接続してネットワークを構成するこ
とができる。例えば、1つの受信ノードは、複数の送信
ノードからオーディオデータを受信することができる。
2. Description of the Related Art Digital serial communication conforming to the IEEE 1394 standard is becoming widespread. In the IEEE 1394 standard,
A network can be configured by connecting a plurality of communication nodes. For example, one receiving node can receive audio data from a plurality of transmitting nodes.

【0003】第1及び第2の送信ノードが同時に1つの
受信ノードにデータを送信するとする。この場合、ノー
ド間の距離の相違等により、通常、受信ノードが第1の
送信ノードから受信する時刻と第2の送信ノードから受
信する時刻が異なる。例えば、第1の送信ノードからデ
ータを受信し、その後に第2の送信ノードからデータを
受信する。
[0003] It is assumed that the first and second transmitting nodes simultaneously transmit data to one receiving node. In this case, the time at which the receiving node receives from the first transmitting node and the time at which the receiving node receives from the second transmitting node usually differ due to a difference in distance between the nodes and the like. For example, data is received from a first transmitting node, and then data is received from a second transmitting node.

【0004】送信ノードと受信ノードは、それぞれ独自
のサイクルタイマを有する。各サイクルタイマは、同期
がとれていない。受信ノードは、第1の送信ノードから
受信するデータと第2の送信ノードから受信するデータ
との同期をとることが困難である。
[0004] Each of the transmitting node and the receiving node has its own cycle timer. Each cycle timer is not synchronized. It is difficult for the receiving node to synchronize data received from the first transmitting node with data received from the second transmitting node.

【0005】また、1つの送信ノードが第1及び第2の
受信ノードに同じデータをほぼ同時に送信することがあ
る。しかし、上記と同様に、通常、第1の受信ノードが
受信する時刻と第2の受信ノードが受信する時刻が異な
る。第1及び第2の受信ノードは、それぞれ自己のサイ
クルタイマに応じて、受信したデータの再生を行うの
で、第1及び第2の受信ノードの再生処理にずれが生じ
やすい。
[0005] One transmitting node may transmit the same data to the first and second receiving nodes almost simultaneously. However, as described above, the time when the first receiving node receives and the time when the second receiving node receives are usually different. Since the first and second receiving nodes reproduce the received data in accordance with their own cycle timers, the reproduction process of the first and second receiving nodes is likely to be shifted.

【0006】[0006]

【発明が解決しようとする課題】受信ノードは、複数の
送信ノードから送信されるデータの同期をとることが困
難である。また、送信ノードが複数の受信ノードにデー
タを送信する場合には、複数の受信ノード間における同
期をとることが困難である。
SUMMARY OF THE INVENTION It is difficult for a receiving node to synchronize data transmitted from a plurality of transmitting nodes. Further, when the transmitting node transmits data to a plurality of receiving nodes, it is difficult to synchronize the plurality of receiving nodes.

【0007】本発明の目的は、複数の通信ノード間で通
信するデータの同期をとることができる通信装置を提供
することである。
An object of the present invention is to provide a communication device which can synchronize data to be communicated between a plurality of communication nodes.

【0008】[0008]

【課題を解決するための手段】本発明の一観点によれ
ば、第1の同期情報を生成するタイマと、前記タイマが
生成する第1の同期情報に転送最大遅延量を加味した第
2の同期情報を生成する生成手段と、所定タイミング毎
にそのタイミングに対応するサンプルカウント及び前記
第2の同期情報をネットワークに送信する送信手段とを
有する通信装置が提供される。
According to one aspect of the present invention, a timer for generating first synchronization information, and a second synchronization information including a maximum transfer delay added to the first synchronization information generated by the timer. There is provided a communication apparatus comprising: a generation unit configured to generate synchronization information; and a transmission unit configured to transmit a sample count corresponding to a predetermined timing and the second synchronization information to a network at each predetermined timing.

【0009】本発明の他の観点によれば、外部から第1
の同期情報を受信する受信手段と、前記受信手段が受信
する第1の同期情報に転送最大遅延量を加味した第2の
同期情報を生成する生成手段と、前記第2の同期情報及
びそれに対応するデータをネットワークに送信する送信
手段とを有する通信装置が提供される。
According to another aspect of the present invention, the first
Receiving means for receiving the first synchronization information, generating means for generating the second synchronization information in which the maximum transfer delay amount is added to the first synchronization information received by the receiving means, and the second synchronization information and the corresponding A communication unit for transmitting data to be transmitted to a network.

【0010】本発明の他の観点によれば、外部から第1
の同期情報及びそれに対応するデータを受信する第1の
受信手段と、外部から第2の同期情報を受信する第2の
受信手段と、前記第1の受信手段が受信する第1の同期
情報に基づき第1の同期調整を行い、前記第2の受信手
段が受信する第2の同期情報に基づき第2の同期調整を
行って前記第1の受信手段が受信するデータの処理を行
う処理手段とを有する通信装置が提供される。
According to another aspect of the present invention, the first
First receiving means for receiving the synchronization information and the data corresponding thereto, second receiving means for receiving the second synchronization information from the outside, and first synchronization information received by the first receiving means. Processing means for performing a first synchronization adjustment based on the second synchronization information based on the second synchronization information received by the second reception means and processing data received by the first reception means; Is provided.

【0011】本発明の他の観点によれば、第1の同期情
報を生成する第1の同期情報生成手段と、前記第1の同
期情報生成手段が生成する第1の同期情報をネットワー
クを介して他の通信装置に転送する場合の転送最大遅延
量を加味して前記第1の同期情報を基に第2の同期情報
を生成する第2の同期情報生成手段と、前記第2の同期
情報生成手段が生成する第2の同期情報をネットワーク
に送信する送信手段と、前記第2の同期情報生成手段が
生成する第2の同期情報をネットワークを介さずに直接
受け取り、該第2の同期情報に基づいてデータを処理す
る処理手段とを有する通信装置が提供される。
According to another aspect of the present invention, first synchronization information generating means for generating first synchronization information and first synchronization information generated by the first synchronization information generating means are transmitted via a network. Second synchronization information generating means for generating second synchronization information based on the first synchronization information in consideration of a transfer maximum delay amount when transferring to another communication device, and the second synchronization information. Transmitting means for transmitting the second synchronization information generated by the generation means to the network, and directly receiving the second synchronization information generated by the second synchronization information generation means without passing through the network; And a processing unit for processing data based on the communication device.

【0012】本発明の他の観点によれば、外部通信装置
から第1の同期情報を受信する第1の受信手段と、外部
から第2の同期情報を受信する第2の受信手段と、前記
第1の受信手段が受信する第1の同期情報の前記外部通
信装置からの到達遅延時間を計測する計測手段と、前記
計測手段が計測する到達遅延時間に応じて前記第1又は
第2の同期情報の補正値を決定する決定手段と、前記第
1又は第2の受信手段が第1又は第2の同期情報を受信
する毎に前記決定手段により決定される補正値に応じて
該第1又は第2の同期情報を補正する補正手段とを有す
る通信装置が提供される。
According to another aspect of the present invention, a first receiving means for receiving first synchronization information from an external communication device, a second receiving means for receiving second synchronization information from outside, Measuring means for measuring the arrival delay time of the first synchronization information received by the first receiving means from the external communication device; and the first or second synchronization information according to the arrival delay time measured by the measuring means. Determining means for determining a correction value of the information, and the first or second receiving means receiving the first or second synchronization information each time the first or second synchronization information is received, in accordance with the correction value determined by the determining means. A communication device having a correction unit for correcting the second synchronization information is provided.

【0013】[0013]

【発明の実施の形態】図1は、本発明の第1の実施例に
よる通信ネットワークの構成を示すブロック図である。
本実施例では、IEEE1394規格に準拠した"audio
and music data transmission protocol"の規定に則っ
たパケット転送が可能である。そのパケット転送は、I
EEE1394規格のアイソクロナスパケット転送で行
うことが好ましい。
FIG. 1 is a block diagram showing a configuration of a communication network according to a first embodiment of the present invention.
In the present embodiment, “audio” conforming to the IEEE 1394 standard is used.
and music data transmission protocol ".
It is preferable to perform the transfer by isochronous packet transfer of the EEE1394 standard.

【0014】IEEE1394バス4には、ワードクロ
ック(WC)マスタノード1とWCスレーブノード2,
3が接続されている。WCスレーブノード2は送信ノー
ド(以下、Txノードという)であり、WCスレーブノ
ード3は受信ノード(以下、Rxノードという)であ
る。バス4には、複数のTxノード2及び/又は複数の
Rxノード3を接続してもよい。
An IEEE 1394 bus 4 has a word clock (WC) master node 1 and a WC slave node 2,
3 are connected. The WC slave node 2 is a transmitting node (hereinafter, referred to as a Tx node), and the WC slave node 3 is a receiving node (hereinafter, referred to as an Rx node). A plurality of Tx nodes 2 and / or a plurality of Rx nodes 3 may be connected to the bus 4.

【0015】WCマスタノード1はサイクルタイマ1a
を有し、Txノード2はサイクルタイマ2aを有し、R
xノード3はサイクルタイマ3aを有する。サイクルタ
イマ1a,2a,3aは、基本的に約25MHzで動作
するカウンタである。
WC master node 1 has a cycle timer 1a
Tx node 2 has a cycle timer 2a, and Rx
The x node 3 has a cycle timer 3a. The cycle timers 1a, 2a, 3a are basically counters operating at about 25 MHz.

【0016】WCマスタノード1は、バス4を介して、
Txノード2及びRxノード3にWCパケット5を送信
する。WCパケット5は、同期をとるためのパケットで
あり、システムタイム5a及びサンプルカウント5bを
含む。
The WC master node 1 is connected via a bus 4
The WC packet 5 is transmitted to the Tx node 2 and the Rx node 3. The WC packet 5 is a packet for synchronization, and includes a system time 5a and a sample count 5b.

【0017】WCマスタノード1は、例えばWCパケッ
ト5−24、5−32、5−40等を所定間隔で順次送
信する。WCパケット5−24は、第24サンプルのオ
ーディオデータの同期をとるためのパケットである。W
Cパケット5−32及び5−40は、それぞれ第32サ
ンプル及び第40サンプルのオーディオデータの同期を
とるためのパケットである。
The WC master node 1 sequentially transmits, for example, WC packets 5-24, 5-32, and 5-40 at predetermined intervals. The WC packet 5-24 is a packet for synchronizing the audio data of the 24th sample. W
The C packets 5-32 and 5-40 are packets for synchronizing the audio data of the 32nd sample and the 40th sample, respectively.

【0018】Txノード2は、WCマスタノード1から
受信したWCパケット5に応じてタイミングを調整し、
データパケット6をバス4を介してRxノード3へ送信
する。データパケット6は、サンプルカウントを示すD
BC6a及び8つのサンプルデータ6bを含む。
The Tx node 2 adjusts the timing according to the WC packet 5 received from the WC master node 1,
The data packet 6 is transmitted to the Rx node 3 via the bus 4. Data packet 6 has a D indicating a sample count.
It includes a BC 6a and eight sample data 6b.

【0019】Txノード2は、例えばデータパケット6
−24、6−32、6−40等を所定間隔で順次Rxノ
ード3へ送信する。データパケット6−24は、第24
〜31サンプルのオーディオデータ6bを含む。データ
パケット6−32及び6−40は、それぞれ第32〜3
9サンプル及び第40〜47サンプルのオーディオデー
タ6bを含む。
The Tx node 2 has a data packet 6
-24, 6-32, 6-40, etc. are sequentially transmitted to the Rx node 3 at predetermined intervals. The data packet 6-24 is the 24th data packet.
Includes audio data 6b of .about.31 samples. The data packets 6-32 and 6-40 are the 32nd to 3rd, respectively.
It includes audio data 6b of 9 samples and 40th to 47th samples.

【0020】Rxノード3は、WCマスタノード1から
受信したWCパケット5に応じてタイミングを調整し、
Txノード2から受信したデータパケット6内のサンプ
ルデータ(例えばオーディオデータ)6bを再生する。
The Rx node 3 adjusts the timing according to the WC packet 5 received from the WC master node 1,
The sample data (for example, audio data) 6b in the data packet 6 received from the Tx node 2 is reproduced.

【0021】図2は、Txノード2の動作を説明するた
めのタイミングチャートである。
FIG. 2 is a timing chart for explaining the operation of Tx node 2.

【0022】まず、データパケット6−24(図1)の
生成方法を説明する。Txノード2は、第24サンプル
データD24から第31サンプルデータD31までの8
個のデータを1つのデータパケット6bとして生成す
る。インターバルSYT_INTERVALは、パケッ
トを生成する周期である。
First, a method of generating the data packet 6-24 (FIG. 1) will be described. The Tx node 2 has 8 samples from the 24th sample data D24 to the 31st sample data D31.
Pieces of data are generated as one data packet 6b. The interval SYT_INTERVAL is a cycle for generating a packet.

【0023】サイクルタイマ2aは、時間経過に応じて
32ビットのサイクルタイム値を増加する。ここで、第
24、第32及び第40サンプルデータD24、D3
2、D40のサイクルタイムをそれぞれCT24、CT
32及びCT40とする。
The cycle timer 2a increases a 32-bit cycle time value as time passes. Here, the 24th, 32nd, and 40th sample data D24, D3
2, the cycle time of D40 is CT24, CT
32 and CT40.

【0024】システムタイムSYT24、SYT32及
びSYT40は、それぞれサイクルタイムCT24、C
T32、CT40の下位16ビットの値である。
The system times SYT24, SYT32 and SYT40 correspond to the cycle times CT24 and CTS, respectively.
It is the value of the lower 16 bits of T32 and CT40.

【0025】DBC6aは、サンプルカウントを示す。
例えば、データパケット6bの先頭データは、第24番
目のサンプルデータD24であるので、そのデータパケ
ット6bに対応するDBC6aの値は24である。
The DBC 6a indicates a sample count.
For example, since the head data of the data packet 6b is the 24th sample data D24, the value of the DBC 6a corresponding to the data packet 6b is 24.

【0026】データパケット6(図1)は、DBC6a
及びデータパケット6bを有する。DBC6aの代わり
に、システムタイムSYT24を含ませてもよい。シス
テムタイムSYT24は、上記のように、データパケッ
ト6bの先頭サンプルデータD24のタイミングを示
す。
The data packet 6 (FIG. 1) has a DBC 6a
And a data packet 6b. A system time SYT24 may be included instead of the DBC 6a. The system time SYT24 indicates the timing of the first sample data D24 of the data packet 6b as described above.

【0027】データパケット6−32(図1)も上記と
同様に生成することができる。Txノード2は、第32
サンプルデータD32から第39サンプルデータD39
までの8個のデータを1つのデータパケット6bとして
生成する。このデータパケット6bの先頭データは、第
32番目のサンプルデータD32であるので、そのデー
タパケット6bに対応するDBC6aの値は32であ
る。DBC6aの代わりに、システムタイムSYT32
を用いてもよい。なお、上記のDBC及びシステムタイ
ム(SYT)は、IEEE1394規格に準拠した"aud
io and music data transmission protocol"で規定され
ているものと同じであり、アイソクロナスパケット転送
のためのCIPヘッダ内に含まれている。DBCは8ビ
ットであり、SYTは16ビットである。
The data packet 6-32 (FIG. 1) can be generated in the same manner as described above. Tx node 2
From the sample data D32 to the 39th sample data D39
The above eight data are generated as one data packet 6b. Since the head data of the data packet 6b is the 32nd sample data D32, the value of the DBC 6a corresponding to the data packet 6b is 32. Instead of the DBC 6a, the system time SYT32
May be used. The DBC and the system time (SYT) are based on "aud" conforming to the IEEE 1394 standard.
io and music data transmission protocol ", which is included in the CIP header for isochronous packet transfer. DBC is 8 bits, and SYT is 16 bits.

【0028】図3は、図1のノード間の動作を示すタイ
ミングチャートである。
FIG. 3 is a timing chart showing the operation between the nodes in FIG.

【0029】WCマスタノード1は、サンプルデータ2
4、32、40等のタイミングを示すWCパケット5−
24、5−32、5−40等をTxノード2及びRxノ
ード3に順次送信する。WCパケット5の送信間隔はイ
ンターバルSYT_INTERVAL(図2参照)であ
る。
The WC master node 1 stores the sample data 2
WC packet 5 indicating the timing of 4, 32, 40, etc.
24, 5-32, 5-40, etc. are sequentially transmitted to the Tx node 2 and the Rx node 3. The transmission interval of the WC packet 5 is the interval SYT_INTERVAL (see FIG. 2).

【0030】WCパケット5がWCマスタノード1から
Txノード2又はRxノード3に到達するまでの最大通
信時間はSYT_OFFSETである。時間SYT_O
FFSETは、IEEE1394規格で決められている
最大遅延時間(トランスファディレイ)であり、352
μsである。つまり、あるノードから他のノードへパケ
ットを送信すると、遅くとも352μs以内にはパケッ
トが到達することが保証されている。
The maximum communication time from when the WC packet 5 reaches the Tx node 2 or the Rx node 3 from the WC master node 1 is SYT_OFFSET. Time SYT_O
FFSET is the maximum delay time (transfer delay) determined by the IEEE 1394 standard, and is 352
μs. That is, when a packet is transmitted from a certain node to another node, it is guaranteed that the packet will arrive within 352 μs at the latest.

【0031】WCパケット5は、最大遅延時間SYT_
OFFSETが加味されている。すなわち、WCパケッ
ト5−24は、第24サンプルカウントを示すサンプル
カウント5bと、それに対応するシステムタイムSYT
24(図2)に上記の最大遅延時間SYT_OFFSE
Tを加算したシステムタイムWC_SYT24とを含
む。システムタイムWC_SYT24=SYT24+S
YT_OFFSETである。WCパケット5−32及び
5−40等も同様に最大遅延時間SYT_OFFSET
が加味されている。
The WC packet 5 has a maximum delay time SYT_
OFFSET is added. That is, the WC packet 5-24 includes a sample count 5b indicating the 24th sample count and a corresponding system time SYT.
24 (FIG. 2) shows the maximum delay time SYT_OFFSE.
And a system time WC_SYT 24 to which T has been added. System time WC_SYT24 = SYT24 + S
YT_OFFSET. Similarly, the maximum delay time SYT_OFFSET is also used for the WC packets 5-32 and 5-40.
Is added.

【0032】図3中のWCマスタノード1の縦軸は、自
己が送信するWCパケット5内のサンプルカウント5b
の値を示す。Txノード2及びRxノード3の各縦軸
は、WCマスタノード1から受信したWCパケット5内
のサンプルカウント5bの値を示す。3つのノード1、
2、3は、上記のサンプルカウントの軸を基準にして処
理を行う。サンプルカウント軸は、時間軸に相当する。
3つのノードの軸は、絶対時間は異なるが、相対時間は
同じである。Txノード2及びRxノード3は、それぞ
れのサンプルカウント軸に基づき同期をとることができ
る。
The vertical axis of the WC master node 1 in FIG. 3 indicates the sample count 5b in the WC packet 5 transmitted by itself.
Shows the value of The vertical axis of each of the Tx node 2 and the Rx node 3 indicates the value of the sample count 5b in the WC packet 5 received from the WC master node 1. Three nodes 1,
Steps 2 and 3 perform processing based on the axis of the sample count. The sample count axis corresponds to the time axis.
The axes of the three nodes have different absolute times but the same relative times. Tx node 2 and Rx node 3 can be synchronized based on their respective sample count axes.

【0033】WCマスタノード1は、例えばWCパケッ
ト5−32をTxノード2及びRxノード3に送信す
る。WCパケット5−32は、第32サンプルカウント
を示すサンプルカウント5bとそれに対応するシステム
タイムSYT32に上記の最大遅延時間SYT_OFF
SET(352μs)を加算したシステムタイムWC_
SYT32とを含む。
The WC master node 1 transmits, for example, a WC packet 5-32 to the Tx node 2 and the Rx node 3. The WC packet 5-32 includes the maximum delay time SYT_OFF in the sample count 5b indicating the 32nd sample count and the corresponding system time SYT32.
System time WC_ with SET (352 μs) added
SYT32.

【0034】Txノード2は、WCパケット5−32を
受信すると、第32サンプルカウントにオフセット値S
AMPLE_OFFSET(例えば17サンプル)を加
算した第49(=32+17)サンプルデータを先頭に
含むデータパケット6−49を送信する。データパケッ
ト6−49は、DBC6aが49であり、サンプルデー
タ6bが第49〜56サンプルデータである。
When receiving the WC packet 5-32, the Tx node 2 adds the offset value S to the 32nd sample count.
A data packet 6-49 including the 49th (= 32 + 17) sample data to which AMPLE_OFFSET (for example, 17 samples) is added is transmitted. In the data packet 6-49, the DBC 6a is 49, and the sample data 6b is the 49th to 56th sample data.

【0035】オフセット値SAMPLE_OFFSET
(例えば17サンプル)を加算することは、Txノード
2からRxノード3へのデータパケット6の最大通信遅
延時間を考慮したものであり、17サンプル分先のサン
プルデータを送信することを意味する。つまり、Txノ
ード2は、WCパケット5内のサンプルカウント5bが
32であれば、その値に17サンプルを足したサンプル
カウント値のサンプルデータを先頭にしたデータパケッ
ト6−49を送信する。
Offset value SAMPLE_OFFSET
Adding (for example, 17 samples) takes into account the maximum communication delay time of the data packet 6 from the Tx node 2 to the Rx node 3, and means transmitting the sample data 17 samples ahead. That is, if the sample count 5b in the WC packet 5 is 32, the Tx node 2 transmits the data packet 6-49 in which the sample data of the sample count value obtained by adding 17 samples to the value is the head.

【0036】この最大通信遅延時間が17サンプル分に
相当することを説明する。上記のように最大通信遅延時
間SYT_OFFSETは352μsである。オーディ
オデータのサンプリング周波数は、例えば、48kHz
である。
The fact that the maximum communication delay time is equivalent to 17 samples will be described. As described above, the maximum communication delay time SYT_OFFSET is 352 μs. The sampling frequency of audio data is, for example, 48 kHz.
It is.

【0037】この場合のサンプル数は、48kHz×3
52μs=16.896である。したがって、サンプル
オフセット値は、16.896サンプル以上でなければ
ならない。サンプルオフセット値は、最小の整数として
17サンプルが好ましい。
The number of samples in this case is 48 kHz × 3
52 μs = 16.896. Therefore, the sample offset value must be equal to or greater than 16.896 samples. The sample offset value is preferably 17 samples as the minimum integer.

【0038】Rxノード3は、遅くともサンプルカウン
トが49の時には、Txノード2から上記のデータパケ
ット6−49を既に受信している。上記の通信の合計遅
延時間はT1+T2である。遅延時間T1は、WCマス
タノード1からTxノード2までのWCパケット5−3
2の通信時間である。遅延時間T2は、Txノード2か
らRxノード3までのデータパケット6−49の通信時
間である。
The Rx node 3 has already received the data packet 6-49 from the Tx node 2 when the sample count is 49 at the latest. The total delay time of the above communication is T1 + T2. The delay time T1 is equal to the WC packet 5-3 from the WC master node 1 to the Tx node 2.
2 is the communication time. The delay time T2 is a communication time of the data packet 6-49 from the Tx node 2 to the Rx node 3.

【0039】Rxノード3は、受信したデータパケット
6−49をファーストインファーストアウトバッファ
(FIFO)に格納し、サンプルカウントが49になっ
たところで、データパケット6−49の再生処理を開始
する。サンプルカウントが49になるまで、FIFOに
パケットを格納して処理を待機することにより、遅延時
間T1+T2を吸収することができる。
The Rx node 3 stores the received data packet 6-49 in a first-in first-out buffer (FIFO), and starts the reproduction process of the data packet 6-49 when the sample count reaches 49. By storing the packet in the FIFO and waiting for the processing until the sample count reaches 49, the delay time T1 + T2 can be absorbed.

【0040】上記のように、WCパケット5−32は、
最大遅延時間SYT_OFFSETがオフセットされた
システムタイムWC_SYT32を含む。この最大遅延
時間SYT_OFFSETは、通信遅延時間T1を吸収
するためのオフセット値である。
As described above, the WC packet 5-32 is
The maximum delay time SYT_OFFSET includes the offset system time WC_SYT32. The maximum delay time SYT_OFFSET is an offset value for absorbing the communication delay time T1.

【0041】仮に、システムタイムオフセット値SYT
_OFFSETをオフセットせずにWCパケット5−3
2を送信するとすると、Rxノード3がそのWCパケッ
ト5−32を受信したときには既にサンプルカウントの
32に相当するシステムタイムが過ぎてしまっており、
処理できなくなってしまう。
It is assumed that the system time offset value SYT
_OFFSET WC packet 5-3 without offsetting
If the Rx node 3 receives the WC packet 5-32, the system time corresponding to 32 of the sample count has already passed, and
It cannot be processed.

【0042】データパケット6−49は、サンプルカウ
ントオフセット値SAMPLE_OFFSETがオフセ
ットされたDBC6aを含む。このオフセット値SAM
PLE_OFFSETは、通信遅延時間T2を吸収する
ためのオフセット値である。
The data packet 6-49 includes the DBC 6a offset by the sample count offset value SAMPLE_OFFSET. This offset value SAM
PLE_OFFSET is an offset value for absorbing the communication delay time T2.

【0043】仮に、サンプルカウントオフセット値SA
MPLE_OFFSETをオフセットせずにデータパケ
ット6−32を送信するとすると、Rxノード3がその
データパケット6−32を受信したときには既にサンプ
ルカウントの32が過ぎてしまっており、処理できなく
なってしまう。
It is assumed that the sample count offset value SA
If the data packet 6-32 is transmitted without offsetting the MPLE_OFFSET, when the Rx node 3 receives the data packet 6-32, the sample count of 32 has already passed, and processing cannot be performed.

【0044】図4は、WCマスタノード1の処理を示す
フローチャートである。
FIG. 4 is a flowchart showing the processing of the WC master node 1.

【0045】ステップSA1では、レジスタsampl
e countに定数SYT_INTERVALを加算
する。レジスタsample countは、オーディ
オデータのサンプル数のカウント値を格納するためのレ
ジスタである。定数SYT_INTERVALは、1パ
ケット内のサンプル数であり、例えば8である。このレ
ジスタsample countは、図1のWCパケッ
ト5内のサンプルカウント5bに相当する。
At Step SA1, the register sampl
Add a constant SYT_INTERVAL to ecount. The register sample count is a register for storing a count value of the number of samples of audio data. The constant SYT_INTERVAL is the number of samples in one packet, for example, eight. This register sample count corresponds to the sample count 5b in the WC packet 5 of FIG.

【0046】次に、システムタイムSYT(図2)にオ
フセット値SYT_OFFSETを加算した値をレジス
タsytに格納する。システムタイムSYTは、例えば
図2のSYT24である。オフセット値SYT_OFF
SETは、最大遅延時間であり、例えば352μsであ
る。オフセット値SYT_OFFSETを加算すること
により、図3に示す遅延時間T1を吸収することができ
る。このレジスタsytは、図1のWCパケット5内の
システムタイム5aに相当する。
Next, the value obtained by adding the offset value SYT_OFFSET to the system time SYT (FIG. 2) is stored in the register syt. The system time SYT is, for example, the SYT 24 in FIG. Offset value SYT_OFF
SET is the maximum delay time, for example, 352 μs. By adding the offset value SYT_OFFSET, the delay time T1 shown in FIG. 3 can be absorbed. This register syt corresponds to the system time 5a in the WC packet 5 in FIG.

【0047】ステップSA2では、図1に示すように、
レジスタsample countをサンプルカウント
5bとし、レジスタsytをシステムタイム5aとし
て、WCパケット5を生成し、バス4上に送出する。
In step SA2, as shown in FIG.
A WC packet 5 is generated using the register sample count as the sample count 5b and the register syt as the system time 5a, and sent out onto the bus 4.

【0048】以上は1つのパケットの生成処理を示した
が、WCマスタノード1は、所定時間間隔で上記の処理
を繰り返し、例えば、WCパケット5−24、5−3
2、5−40等を順次送出する。
Although the above has described the processing for generating one packet, the WC master node 1 repeats the above processing at predetermined time intervals, for example, the WC packets 5-24, 5-3.
2, 5-40, etc. are sequentially transmitted.

【0049】WCパケット5−24は、システムタイム
5aがWC_SYT24(=SYT24+SYT_OF
FSET)であり、サンプルカウント5bが24であ
る。WCパケット5−32は、システムタイム5aがW
C_SYT32(=SYT32+SYT_OFFSE
T)であり、サンプルカウント5bが32である。
The WC packet 5-24 has a system time 5a whose WC_SYT24 (= SYT24 + SYT_OF).
FSET), and the sample count 5b is 24. The WC packet 5-32 has a system time 5a of W
C_SYT32 (= SYT32 + SYT_OFFSE
T), and the sample count 5b is 32.

【0050】図5は、第1のTxノード2の構成例を示
すブロック図である。
FIG. 5 is a block diagram showing a configuration example of the first Tx node 2.

【0051】Txノード2は、IEEE1394インタ
フェースシステム11及びノードシステム12を有す
る。
The Tx node 2 has an IEEE 1394 interface system 11 and a node system 12.

【0052】WCパケット5は、システムタイム5a及
びサンプルカウント5bを含み、WCマスタノード1か
ら受信するパケットである。サンプルカウントFIFO
13は、サンプルカウント5bをファーストインファー
ストアウトで格納する。システムタイムFIFO14
は、システムタイム5aをファーストインファーストア
ウトで格納する。
The WC packet 5 includes the system time 5a and the sample count 5b, and is a packet received from the WC master node 1. Sample count FIFO
13 stores the sample count 5b on a first-in first-out basis. System time FIFO14
Stores the system time 5a on a first-in first-out basis.

【0053】システムタイム比較器15は、FIFO1
4が出力するシステムタイム5aとサイクルタイマ2a
が出力するサイクルタイムの下位16ビットを比較す
る。サイクルタイムは32ビットである。システムタイ
ム5aは、WCマスタノード1のサイクルタイムの下位
16ビットに最大遅延時間SYT_OFFSET(35
2μs)を加算した値である。
The system time comparator 15 has a FIFO1
4 outputs the system time 5a and the cycle timer 2a
Are compared with the lower 16 bits of the cycle time output by. The cycle time is 32 bits. The system time 5a includes a maximum delay time SYT_OFFSET (35) in the lower 16 bits of the cycle time of the WC master node 1.
2 μs).

【0054】システムタイム5aは、最大遅延時間SY
T_OFFSET分加算されているので、サイクルタイ
マ2aのサイクルタイムよりも大きい。サイクルタイマ
2aは、約25MHzで順次サイクルタイムをインクリ
メントする。
The system time 5a is the maximum delay time SY
Since T_OFFSET has been added, the cycle time is longer than the cycle time of the cycle timer 2a. The cycle timer 2a sequentially increments the cycle time at about 25 MHz.

【0055】やがて、サイクルタイムとシステムタイム
5aは一致する。両者が一致すると、比較器15は、一
致信号を出力する。一致信号が出力するまで後に示す処
理は待たされる。後の処理を待たせることにより、WC
マスタノード1からTxノード2までの通信遅延時間T
1(図3)を吸収することができる。WCマスタノード
1から複数のTxノード2へWCパケット5を送信する
場合、各Txノード2の受信時刻の相違を吸収すること
ができる。
Eventually, the cycle time coincides with the system time 5a. When the two match, the comparator 15 outputs a match signal. Processing shown later is waited until the coincidence signal is output. By making the subsequent processing wait, the WC
Communication delay time T from master node 1 to Tx node 2
1 (FIG. 3) can be absorbed. When transmitting the WC packet 5 from the WC master node 1 to the plurality of Tx nodes 2, it is possible to absorb the difference in the reception time of each Tx node 2.

【0056】位相フェーズロックループ回路(PLL)
16は、上記の一致信号に同期して、例えば48kHz
のオーディオ用ワードクロックWCKを生成し、ノード
システム12に供給する。
A phase-locked loop circuit (PLL)
16 is, for example, 48 kHz in synchronization with the above coincidence signal.
The word clock WCK for audio is generated and supplied to the node system 12.

【0057】タイミング調整器17は、上記の一致信号
を受けた時点で、FIFO13内のサンプルカウント5
bを加算器18へ出力する。加算器18は、サンプルカ
ウント5bにオフセット値SAMPLE_OFFSET
(例えば、17サンプル)を加算し、サンプルカウント
SCNを出力する。例えば、サンプルカウント5bが3
2の場合、加算器18はサンプルカウントSCN=32
+17=49を出力する。オフセット値を加算すること
により、Txノード2からRxノード3までの通信遅延
時間T2(図3)を吸収するための準備が整う。通信遅
延時間T2の吸収は、後に示すRxノード3(図7)で
行われる。
When the timing adjuster 17 receives the above coincidence signal, the sample adjuster 5 in the FIFO 13
b is output to the adder 18. The adder 18 adds the offset value SAMPLE_OFFSET to the sample count 5b.
(For example, 17 samples) and outputs a sample count SCN. For example, if the sample count 5b is 3
In the case of 2, the adder 18 calculates the sample count SCN = 32
+ 17 = 49 is output. By adding the offset value, the preparation for absorbing the communication delay time T2 (FIG. 3) from the Tx node 2 to the Rx node 3 is completed. Absorption of the communication delay time T2 is performed by an Rx node 3 (FIG. 7) described later.

【0058】ノードシステム12は、ワードクロックW
CKに同期して、サンプルカウントSCN(例えば4
9)に応じて、8個のサンプルデータ(例えば第49〜
第56サンプルデータ)をデータSDTとして読み出し
て、データFIFO19にファーストインファーストア
ウトで格納する。
The node system 12 uses the word clock W
In synchronization with CK, the sample count SCN (for example, 4
9), eight sample data (for example, 49th to
The 56th sample data) is read as data SDT and stored in the data FIFO 19 on a first-in first-out basis.

【0059】DBCジェネレータ20は、ワードクロッ
クWCKに同期して、サンプルカウントSCNに応じて
DBCを生成する。
The DBC generator 20 generates a DBC according to the sample count SCN in synchronization with the word clock WCK.

【0060】DBC6aは、DBCジェネレータ20に
より生成される。サンプルデータ6bは、FIFO19
内のサンプルデータSDTを基に生成される。
The DBC 6a is generated by the DBC generator 20. The sample data 6b is stored in the FIFO 19
Is generated on the basis of the sample data SDT.

【0061】DBC6a及びサンプルデータ6bをパケ
ット化することにより、データパケット6が生成され
る。データパケット6は、Txノード2からRxノード
3へ送信される。
The data packet 6 is generated by packetizing the DBC 6a and the sample data 6b. Data packet 6 is transmitted from Tx node 2 to Rx node 3.

【0062】なお、加算器18でサンプルカウント5b
にオフセット値SAMPLE_OFFSETを加算した
値SCNをノードシステム12に供給する場合に限定さ
れず、サンプルカウント5bを直接供給するようにして
もよい。その場合、ノードシステム12は、オフセット
値SAMPLE_OFFSETを考慮した処理を行う必
要がある。
It is to be noted that the sampler 5b
Not limited to the case where the value SCN obtained by adding the offset value SAMPLE_OFFSET to the node system 12 is used, the sample count 5b may be directly supplied. In this case, the node system 12 needs to perform processing in consideration of the offset value SAMPLE_OFFSET.

【0063】また、サンプルカウントSCNをノードシ
ステム12に1パケット毎に供給する場合に限定され
ず、1サンプル毎に供給するようにしてもよい。
The sample count SCN is not limited to being supplied to the node system 12 for each packet, but may be supplied for each sample.

【0064】図6は、Txノード2の処理を示すフロー
チャートである。フローチャートの左側の処理SB1〜
SB8はインタフェースシステム11の処理を示し、右
側の処理SB9はノードシステム12の処理を示す。
FIG. 6 is a flowchart showing the processing of the Tx node 2. Processing SB1 on the left side of the flowchart
SB8 indicates processing of the interface system 11, and processing SB9 on the right side indicates processing of the node system 12.

【0065】ステップSB1では、WCパケット5内の
システムタイム5a及びサンプルカウント5bをそれぞ
れFIFO14及び13に格納する。
At step SB1, the system time 5a and the sample count 5b in the WC packet 5 are stored in FIFOs 14 and 13, respectively.

【0066】ステップSB2では、比較器15がシステ
ムタイムとサイクルタイムを比較し、両者が一致するま
で待機する。両者が一致すると、ステップSB3へ進
む。
In step SB2, the comparator 15 compares the system time with the cycle time, and waits until the two match. If they match, the process proceeds to Step SB3.

【0067】ステップSB3では、FIFO14に格納
されている次のシステムタイムを比較器15にロード
し、次回の比較の準備を行う。
At step SB3, the next system time stored in the FIFO 14 is loaded into the comparator 15 to prepare for the next comparison.

【0068】ステップSB4では、PLL16がワード
クロックWCKを生成する。
At step SB4, the PLL 16 generates the word clock WCK.

【0069】ステップSB5では、加算器18がサンプ
ルカウント5bとオフセット値SAMPLE_OFFS
ETを加算し、加算値SCNをノードシステム12へ出
力する。
In step SB5, the adder 18 sets the sample count 5b and the offset value SAMPLE_OFFS
ET is added, and the added value SCN is output to the node system 12.

【0070】次に、インタフェースシステム11はステ
ップSB6を処理し、ノードシステム12はステップS
B9を処理する。
Next, the interface system 11 processes step SB6, and the node system 12 executes step SB6.
Process B9.

【0071】ステップSB6では、生成したサンプルカ
ウントSCNを基にDBCを生成する。必要であれば、
生成したDBCをFIFOに格納する。次に、ステップ
SB7へ進む。
At Step SB6, a DBC is generated based on the generated sample count SCN. If necessary,
The generated DBC is stored in the FIFO. Next, the process proceeds to step SB7.

【0072】ステップSB9では、入力したサンプルカ
ウントCNTに対応したサンプルデータSDTをインタ
フェースシステム11へ供給する。次に、ステップSB
7へ進む。
At step SB9, the sample data SDT corresponding to the input sample count CNT is supplied to the interface system 11. Next, step SB
Proceed to 7.

【0073】ステップSB7では、上記のノードシステ
ム12からサンプルデータSDTを受け取る。
At step SB7, sample data SDT is received from the node system 12.

【0074】ステップSB8では、サンプルデータSD
T及びDBC等をパケット化して、データパケット6を
Rxノード3へ送出する。
At Step SB8, the sample data SD
T and DBC are packetized and the data packet 6 is transmitted to the Rx node 3.

【0075】図7は、第1のRxノード3の構成例を示
すブロック図である。
FIG. 7 is a block diagram showing a configuration example of the first Rx node 3.

【0076】Rxノード3は、IEEE1394インタ
フェースシステム31及びノードシステム32を有す
る。
The Rx node 3 has an IEEE 1394 interface system 31 and a node system 32.

【0077】WCパケット5は、システムタイム5a及
びサンプルカウント5bを含み、WCマスタノード1か
ら受信するパケットである。サンプルカウントFIFO
33は、サンプルカウント5bをファーストインファー
ストアウトで格納する。システムタイムFIFO34
は、システムタイム5aをファーストインファーストア
ウトで格納する。
The WC packet 5 includes the system time 5a and the sample count 5b, and is a packet received from the WC master node 1. Sample count FIFO
33 stores the sample count 5b on a first-in first-out basis. System time FIFO 34
Stores the system time 5a on a first-in first-out basis.

【0078】システムタイム比較器35は、FIFO3
4が出力するシステムタイム5aとサイクルタイマ3a
が出力するサイクルタイムの下位16ビットを比較す
る。システムタイム5aは、WCマスタノード1のサイ
クルタイムの下位16ビットに最大遅延時間SYT_O
FFSET(325μs)を加算した値である。
The system time comparator 35 is a FIFO3
4 outputs the system time 5a and the cycle timer 3a
Are compared with the lower 16 bits of the cycle time output by. The system time 5a includes a maximum delay time SYT_O in the lower 16 bits of the cycle time of the WC master node 1.
This is a value obtained by adding FFSET (325 μs).

【0079】サイクルタイムとシステムタイム5aが一
致すると、比較器35は、一致信号を出力する。一致信
号が出力するまで後に示す処理は待たされる。後の処理
を待たせることにより、WCマスタノード1からRxノ
ード3までの通信遅延時間を吸収することができる。W
Cマスタノード1から複数のRxノード3へWCパケッ
ト5を送信する場合、各Rxノード3の受信時刻の相違
を吸収することができる。
When the cycle time matches the system time 5a, the comparator 35 outputs a match signal. Processing shown later is waited until the coincidence signal is output. By making the subsequent processing wait, the communication delay time from the WC master node 1 to the Rx node 3 can be absorbed. W
When transmitting the WC packet 5 from the C master node 1 to the plurality of Rx nodes 3, it is possible to absorb the difference in the reception time of each Rx node 3.

【0080】PLL36は、上記の一致信号に同期し
て、例えば48kHzのオーディオ用ワードクロックW
CKを生成し、ノードシステム32に供給する。
The PLL 36 synchronizes with the above-mentioned coincidence signal and, for example, a 48 kHz audio word clock W.
CK is generated and supplied to the node system 32.

【0081】タイミング調整器37は、上記の一致信号
を受けた時点で、FIFO33内のサンプルカウント5
bをサンプルカウントSCNとしてノードシステム32
へ供給する。
When the timing adjuster 37 receives the above coincidence signal, the sample adjuster 5
b as the sample count SCN and the node system 32
Supply to

【0082】データパケット6は、DBC6a及びサン
プルデータ6bを含み、Txノード2から受信するパケ
ットである。DBC−FIFO40は、DBC6aをフ
ァーストインファーストアウトで格納する。データFI
FO39は、サンプルデータ6bをファーストインファ
ーストアウトで格納する。
The data packet 6 includes the DBC 6a and the sample data 6b, and is a packet received from the Tx node 2. The DBC-FIFO 40 stores the DBC 6a on a first-in first-out basis. Data FI
The FO 39 stores the sample data 6b on a first-in first-out basis.

【0083】DBC比較器38は、FIFO33が出力
するサンプルカウント5bとFIFO40が出力するD
BC6aを比較する。DBC6aは、図5のTxノード
2の加算器18にてサンプルカウント5bにオフセット
値SAMPLE_OFFSET(例えば17)が加算さ
れた値である。
The DBC comparator 38 calculates the sample count 5b output from the FIFO 33 and the D count output from the FIFO 40.
Compare BC6a. The DBC 6a is a value obtained by adding the offset value SAMPLE_OFFSET (for example, 17) to the sample count 5b by the adder 18 of the Tx node 2 in FIG.

【0084】DBC6aは、オフセット値が加算されて
いるので、FIFO33のサンプルカウント5bよりも
大きい。FIFO33は、入力されたサンプルカウント
5bの値を出力し、その後、順次サンプルカウントをイ
ンクリメントした値を出力する。
The DBC 6 a is larger than the sample count 5 b of the FIFO 33 because the offset value is added. The FIFO 33 outputs the value of the input sample count 5b, and then outputs a value obtained by sequentially incrementing the sample count.

【0085】やがて、DBCとサンプルカウントは一致
する。両者が一致すると、比較器38は、一致信号を出
力する。一致信号が出力するまで、データFIFO39
内のデータの読み出し処理は待たされる。読み出し処理
を待たせることにより、Txノード2からRxノード3
までの通信遅延時間T2(図3)を吸収することができ
る。Txノード2から複数のRxノード3へデータパケ
ット6を送信する場合、各Rxノード3の受信時刻の相
違を吸収することができる。
Eventually, the DBC and the sample count match. When the two match, the comparator 38 outputs a match signal. Until the coincidence signal is output, the data FIFO 39
The reading process of the data in is waited. By causing the read process to wait, the Tx node 2 changes to the Rx node 3
3 can be absorbed. When transmitting the data packet 6 from the Tx node 2 to the plurality of Rx nodes 3, it is possible to absorb the difference in the reception time of each Rx node 3.

【0086】データFIFO39及びDBC−FIFO
40は、比較器38の比較結果により読み出しポインタ
(アドレス)が制御される。
Data FIFO 39 and DBC-FIFO
Reference numeral 40 controls a read pointer (address) based on the comparison result of the comparator 38.

【0087】比較器38が一致信号を出力すると、デー
タFIFO39からサンプルデータが読み出されてタイ
ミング調整器41に出力され、比較器38にはDBC−
FIFO40内の次のDBCがセットされる。
When the comparator 38 outputs the coincidence signal, the sample data is read out from the data FIFO 39 and output to the timing adjuster 41.
The next DBC in the FIFO 40 is set.

【0088】タイミング調整器41は、ワードクロック
WCKに同期して、FIFO39から出力されたデータ
をサンプルデータSDTとしてノードシステム32に供
給する。
The timing adjuster 41 supplies the data output from the FIFO 39 to the node system 32 as sample data SDT in synchronization with the word clock WCK.

【0089】ノードシステム32は、ワードクロックW
CKに同期して、サンプルカウントSCNに応じてサン
プルデータ(オーディオデータ)SDTを再生処理し、
スピーカから発音させる。
The node system 32 uses the word clock W
In synchronization with CK, the sample data (audio data) SDT is reproduced according to the sample count SCN,
Make the speaker sound.

【0090】なお、WCパケット5は、サンプルカウン
ト5bの代わりにDBCを用いてもよい。その場合、F
IFO33にはDBCが格納され、比較器38はFIF
O33内のDBCとFIFO40内のDBCとを比較す
る。
The WC packet 5 may use a DBC instead of the sample count 5b. In that case, F
DBC is stored in the IFO 33, and the comparator 38
The DBC in O33 and the DBC in FIFO 40 are compared.

【0091】また、Rxノード3が受信を開始する際、
データFIFO39及びDBC−FIFO40のリード
ポインタを所定値に制御する必要がある。具体的には、
DBC−FIFO40の先頭のDBC値とサンプルカウ
ントFIFO33の先頭のサンプルカウント値とを比較
し、サンプル単位でデータFIFO39及びDBC−F
IFO40の各リードポインタを制御する。これによ
り、サンプルカウントSCNとそれに対応するサンプル
データSDTをノードシステム32に所定のタイミング
で供給することができる。
Further, when the Rx node 3 starts receiving,
It is necessary to control the read pointers of the data FIFO 39 and the DBC-FIFO 40 to predetermined values. In particular,
The head DBC value of the DBC-FIFO 40 is compared with the head sample count value of the sample count FIFO 33, and the data FIFO 39 and the DBC-F are sampled.
Each read pointer of the IFO 40 is controlled. As a result, the sample count SCN and the corresponding sample data SDT can be supplied to the node system 32 at a predetermined timing.

【0092】IEEE1394規格では、複数チャンネ
ル分のデータをアイソクロナスパケット転送することが
できる。データが複数チャンネル分存在するときには、
上記のリードポインタ制御器を複数設けてもよいし、1
つのリードポインタ制御器を切り換えて、1チャンネル
ずつ制御してもよい。データが複数チャンネル分存在す
るときには、データFIFO39はチャンネル数分必要
である。
According to the IEEE 1394 standard, data for a plurality of channels can be transferred in an isochronous packet. When data exists for multiple channels,
A plurality of the above read pointer controllers may be provided.
One read pointer controller may be switched to control one channel at a time. When data exists for a plurality of channels, the data FIFO 39 is required for the number of channels.

【0093】図8は、Rxノード3の処理を示すフロー
チャートである。
FIG. 8 is a flowchart showing the processing of the Rx node 3.

【0094】ステップSC1では、受信したWCパケッ
ト5内のシステムタイム5a及びサンプルカウント5b
をそれぞれFIFO34及び33に格納する。
At step SC1, the system time 5a and the sample count 5b in the received WC packet 5
Are stored in FIFOs 34 and 33, respectively.

【0095】ステップSC2では、データパケット6を
受信した場合、パケット6内の内のDBC6a及びサン
プルデータ6bをそれぞれFIFO40及び39に格納
する。
At step SC2, when data packet 6 is received, DBC 6a and sample data 6b in packet 6 are stored in FIFOs 40 and 39, respectively.

【0096】ステップSC3では、比較器35がシステ
ムタイムとサイクルタイムを比較し、両者が一致するま
で待機する。両者が一致すると、ステップSC4へ進
む。
At step SC3, the comparator 35 compares the system time with the cycle time, and waits until the two match. If they match, the process proceeds to step SC4.

【0097】ステップSC4では、FIFO34に格納
されている次のシステムタイムを比較器35にロード
し、次回の比較の準備を行う。
At step SC4, the next system time stored in the FIFO 34 is loaded into the comparator 35, and preparation for the next comparison is made.

【0098】ステップSC5では、PLL36がワード
クロックWCKを生成する。
At step SC5, the PLL 36 generates the word clock WCK.

【0099】ステップSC6では、比較器38がFIF
O33内のサンプルカウントとFIFO40内のDBC
とを比較し、比較結果に応じてFIFO39及び40の
読み出しポインタを調整する。
At step SC6, the comparator 38 sets the FIF
Sample count in O33 and DBC in FIFO40
And adjust the read pointers of the FIFOs 39 and 40 according to the comparison result.

【0100】ステップSC7では、調整したポインタを
基にFIFO39からサンプルデータSDTを読み出
し、ノードシステム32に供給する。そして、FIFO
33内のサンプルカウントSCNを読み出して、ノード
システム32に供給する。
At step SC7, the sample data SDT is read from the FIFO 39 based on the adjusted pointer, and is supplied to the node system 32. And FIFO
The sample count SCN in 33 is read and supplied to the node system 32.

【0101】以上の第1の実施例では、図3に示すよう
に、サンプルカウント軸を基準にすることにより、ノー
ド間の同期をとる。第1及び第2の2つの送信ノード2
が1つの受信ノード3にデータパケット6を送信する場
合を説明する。WCマスタノード1は、第1及び第2の
送信ノード2及び受信ノード3にWCパケット5を送信
する。第1及び第2の送信ノード2は、それぞれWCパ
ケット5に応じてデータパケット6を受信ノード3に送
信する。例えば、第1の送信ノードは、第1の演奏会場
で演奏された楽音をオーディオデータとしてリアルタイ
ムで送信し、第2の送信ノードは、第2の演奏会場で演
奏された楽音をリアルタイムで送信する。受信ノード
は、第1及び第2の送信ノードからそれぞれ受信したオ
ーディオデータを同期をとって再生することができる。
これにより、第1及び第2の演奏会場での合同演奏が可
能になる。
In the first embodiment, as shown in FIG. 3, synchronization between nodes is established by using the sample count axis as a reference. First and second two transmitting nodes 2
Transmits a data packet 6 to one receiving node 3. The WC master node 1 transmits a WC packet 5 to the first and second transmitting nodes 2 and the receiving node 3. The first and second transmitting nodes 2 each transmit a data packet 6 to the receiving node 3 according to the WC packet 5. For example, the first transmitting node transmits a tone played at the first performance hall as audio data in real time, and the second transmission node transmits a tone played at the second performance hall in real time. . The receiving node can synchronously reproduce the audio data received from the first and second transmitting nodes, respectively.
Thereby, the joint performance at the first and second performance venues becomes possible.

【0102】次に、第2の実施例を示す。第2の実施例
では、サンプルカウント軸の代わりに、システムタイム
軸を基準にすることにより、ノード間の同期をとる。
Next, a second embodiment will be described. In the second embodiment, synchronization between nodes is obtained by using the system time axis as a reference instead of the sample count axis.

【0103】図9は、第2のTxノード2の構成例を示
すブロック図である。
FIG. 9 is a block diagram showing a configuration example of the second Tx node 2.

【0104】第2の実施例では、図2に示すように、D
BC6aの代わりにシステムタイム6cを用いる。すな
わち、データパケット6は、システムタイム6c及びサ
ンプルデータ6bを含む。
In the second embodiment, as shown in FIG.
The system time 6c is used instead of the BC 6a. That is, the data packet 6 includes the system time 6c and the sample data 6b.

【0105】Txノード2は、IEEE1394インタ
フェースシステム51及びノードシステム52を有す
る。
The Tx node 2 has an IEEE 1394 interface system 51 and a node system 52.

【0106】WCパケット5は、システムタイム5a及
びサンプルカウント5bを含む。サンプルカウントFI
FO53は、サンプルカウント5bをファーストインフ
ァーストアウトで格納する。システムタイムFIFO5
4は、システムタイム5aをファーストインファースト
アウトで格納する。
The WC packet 5 includes a system time 5a and a sample count 5b. Sample Count FI
The FO 53 stores the sample count 5b on a first-in first-out basis. System time FIFO5
4 stores the system time 5a on a first-in first-out basis.

【0107】システムタイム比較器55は、FIFO5
4が出力するシステムタイム5aとサイクルタイマ2a
が出力するサイクルタイムの下位16ビットを比較す
る。システムタイム5aは、WCマスタノード1のサイ
クルタイムの下位16ビットに最大遅延時間SYT_O
FFSET(352μs)を加算した値である。
The system time comparator 55 has a FIFO5
4 outputs the system time 5a and the cycle timer 2a
Are compared with the lower 16 bits of the cycle time output by. The system time 5a includes a maximum delay time SYT_O in the lower 16 bits of the cycle time of the WC master node 1.
This is a value obtained by adding FFSET (352 μs).

【0108】サイクルタイムとシステムタイム5aが一
致すると、比較器55は、一致信号を出力する。一致信
号が出力するまで後に示す処理は待たされる。後の処理
を待たせることにより、WCマスタノード1からTxノ
ード2までの通信遅延時間T1(図3)を吸収すること
ができる。
When the cycle time matches the system time 5a, the comparator 55 outputs a match signal. Processing shown later is waited until the coincidence signal is output. By making the subsequent processing wait, the communication delay time T1 (FIG. 3) from the WC master node 1 to the Tx node 2 can be absorbed.

【0109】PLL56は、上記の一致信号に同期し
て、例えば48kHzのオーディオ用ワードクロックW
CKを生成し、ノードシステム52に供給する。
The PLL 56 synchronizes with the above-mentioned coincidence signal, for example, a 48 kHz audio word clock W.
CK is generated and supplied to the node system 52.

【0110】タイミング調整器57は、上記の一致信号
を受けた時点で、FIFO53内のサンプルカウント5
bをサンプルカウントSCNとしてノードシステム52
に供給する。
When the timing adjuster 57 receives the coincidence signal, the timing adjuster 57 sets the sample count in the FIFO 53 to 5
b as the sample count SCN
To supply.

【0111】ノードシステム52は、ワードクロックW
CKに同期して、サンプルカウントSCN(例えば4
9)に応じて、8個のサンプルデータ(例えば第49〜
第56サンプルデータ)をデータSDTとして読み出し
て、データFIFO59にファーストインファーストア
ウトで格納する。
The node system 52 uses the word clock W
In synchronization with CK, the sample count SCN (for example, 4
9), eight sample data (for example, 49th to
The 56th sample data) is read as data SDT and stored in the data FIFO 59 on a first-in first-out basis.

【0112】タイミング調整器100は、上記でシステ
ムタイムFIFO54から出力されたシステムタイム5
aの値(比較器55で一致した値)を、比較器55で一
致したタイミングで加算器58へ供給する。加算器58
は、システムタイム5aにオフセット値SYT_OFF
SET(例えば、17サンプルに相当するシステムタイ
ム)を加算し、システムタイムFIFO60にファース
トインファーストアウトで格納する。オフセット値を加
算することにより、Txノード2からRxノード3まで
の通信遅延時間T2(図3)を吸収するための準備が整
う。通信遅延時間T2の吸収は、後に示すRxノード3
(図11)にて行われる。
The timing adjuster 100 controls the system time 5 output from the system time FIFO 54 as described above.
The value of a (the value matched by the comparator 55) is supplied to the adder 58 at the timing matched by the comparator 55. Adder 58
Is the offset value SYT_OFF at the system time 5a.
SET (for example, system time corresponding to 17 samples) is added and stored in the system time FIFO 60 on a first-in first-out basis. By adding the offset value, the preparation for absorbing the communication delay time T2 (FIG. 3) from the Tx node 2 to the Rx node 3 is completed. The absorption of the communication delay time T2 is performed by the Rx node 3 described later.
(FIG. 11).

【0113】FIFO60内のシステムタイム6a及び
FIFO59内のサンプルデータ6bを基に、データパ
ケット6を生成する。データパケット6は、Txノード
2からRxノード3へ送信される。
The data packet 6 is generated based on the system time 6a in the FIFO 60 and the sample data 6b in the FIFO 59. Data packet 6 is transmitted from Tx node 2 to Rx node 3.

【0114】図10は、上記の第2のTxノード2(図
9)の処理を示すフローチャートである。フローチャー
トの左側の処理SD1〜SD7はインタフェースシステ
ム51の処理を示し、右側の処理SD8はノードシステ
ム52の処理を示す。
FIG. 10 is a flowchart showing the processing of the second Tx node 2 (FIG. 9). Processes SD1 to SD7 on the left side of the flowchart show processes of the interface system 51, and process SD8 on the right side shows processes of the node system 52.

【0115】ステップSD1では、WCパケット5内の
システムタイム5a及びサンプルカウント5bをそれぞ
れFIFO54及び53に格納する。
At step SD1, the system time 5a and the sample count 5b in the WC packet 5 are stored in FIFOs 54 and 53, respectively.

【0116】ステップSD2では、比較器55がシステ
ムタイムとサイクルタイムを比較し、両者が一致するま
で待機する。両者が一致すると、ステップSD3へ進
む。
At step SD2, the comparator 55 compares the system time with the cycle time, and waits until the two match. If they match, the process proceeds to step SD3.

【0117】ステップSD3では、FIFO54に格納
されている次のシステムタイムを比較器55にロード
し、次回の比較の準備を行う。
At step SD3, the next system time stored in the FIFO 54 is loaded into the comparator 55 to prepare for the next comparison.

【0118】ステップSD4では、PLL66がワード
クロックWCKを生成する。
At step SD4, the PLL 66 generates the word clock WCK.

【0119】ステップSD5では、FIFO53内のサ
ンプルカウントSCNをノードシステム52に供給す
る。
At step SD5, the sample count SCN in the FIFO 53 is supplied to the node system 52.

【0120】次に、インタフェースシステム51はステ
ップSD6を処理し、ノードシステム52はステップS
D8を処理する。
Next, the interface system 51 processes step SD6, and the node system 52 executes step S6.
Process D8.

【0121】ステップSD6では、加算器58が上記の
一致したシステムタイム5aとオフセット値SYT_O
FFSETを加算し、加算値をFIFO60に格納す
る。次に、ステップSD7へ進む。
In step SD6, the adder 58 sets the coincident system time 5a and the offset value SYT_O
The FFSET is added, and the added value is stored in the FIFO 60. Next, the process proceeds to step SD7.

【0122】ステップSD8では、入力したサンプルカ
ウントSCNに応じたサンプルデータSDTをインタフ
ェースシステム51へ供給する。次に、ステップSD7
へ進む。
At step SD8, sample data SDT corresponding to the input sample count SCN is supplied to the interface system 51. Next, step SD7
Proceed to.

【0123】ステップSD7では、サンプルデータSD
T及びシステムタイム等をパケット化して、データパケ
ット6をバス4を介してRxノード3へ送出する。
At Step SD7, the sample data SD
T and the system time are packetized, and the data packet 6 is transmitted to the Rx node 3 via the bus 4.

【0124】図11は、第2のRxノード3の構成例を
示すブロック図である。
FIG. 11 is a block diagram showing a configuration example of the second Rx node 3. As shown in FIG.

【0125】第2の実施例では、第1の実施例(図7)
と異なり、データパケット6はDBC6aの代わりにシ
ステムタイム6cを含む。データパケット6は、システ
ムタイム6c及びサンプルデータ6bを含む。
In the second embodiment, the first embodiment (FIG. 7)
Unlike the data packet 6, the data packet 6 includes a system time 6c instead of the DBC 6a. The data packet 6 includes a system time 6c and sample data 6b.

【0126】Rxノード3は、IEEE1394インタ
フェースシステム71及びノードシステム72を有す
る。
The Rx node 3 has an IEEE 1394 interface system 71 and a node system 72.

【0127】受信するデータパケット6は、システムタ
イム6c及びサンプルデータ6bを含む。システムタイ
ムFIFO80は、システムタイム6cをファーストイ
ンファーストアウトで格納する。データFIFO79
は、サンプルデータ6bをファーストインファーストア
ウトで格納する。
The received data packet 6 includes a system time 6c and sample data 6b. The system time FIFO 80 stores the system time 6c on a first-in first-out basis. Data FIFO 79
Stores the sample data 6b in a first-in first-out manner.

【0128】システムタイム比較器78は、FIFO8
0が出力するシステムタイム5cとサイクルタイマ3a
が出力するサイクルタイムを比較する。システムタイム
6cは、図9のTxノード2の加算器58にてシステム
タイム5aにオフセット値SYT_OFFSETを加算
した値である。
The system time comparator 78 has a FIFO8
System time 5c output by 0 and cycle timer 3a
Compare the cycle times output by. The system time 6c is a value obtained by adding the offset value SYT_OFFSET to the system time 5a by the adder 58 of the Tx node 2 in FIG.

【0129】システムタイム6cは、オフセット値SY
T_OFFSETが加算されているので、初期はサイク
ルタイマ3aのサイクルタイムの値よりも大きい。サイ
クルタイマ3aは、順次サイクルタイムをインクリメン
トする。
The system time 6c is equal to the offset value SY
Since T_OFFSET is added, the initial value is larger than the value of the cycle time of the cycle timer 3a. The cycle timer 3a sequentially increments the cycle time.

【0130】システムタイム6cとサイクルタイムが一
致すると、比較器78は、一致信号を出力する。一致信
号が出力されるまで、データFIFO79内のデータの
読み出し処理は待たされる。この待機により、Txノー
ド2からRxノード3までの通信遅延時間T2(図3)
を吸収することができる。
When the system time 6c and the cycle time match, the comparator 78 outputs a match signal. Until the coincidence signal is output, the process of reading the data in the data FIFO 79 is waited. Due to this waiting, the communication delay time T2 from the Tx node 2 to the Rx node 3 (FIG. 3)
Can be absorbed.

【0131】タイミング調整器81は、比較器78から
一致信号を受けると、データFIFO79からサンプル
データを読み出して、データFIFO73に格納する。
比較器78が一致信号を出力すると、比較器78にはシ
ステムタイム80内の次のシステムタイムがセットされ
る。
When the timing adjuster 81 receives the coincidence signal from the comparator 78, it reads the sample data from the data FIFO 79 and stores it in the data FIFO 73.
When the comparator 78 outputs the coincidence signal, the next system time within the system time 80 is set in the comparator 78.

【0132】受信するWCパケット5は、システムタイ
ム5a及びサンプルカウント5bを含む。システムタイ
ムFIFO74は、システムタイム5aをファーストイ
ンファーストアウトで格納する。サンプルカウントFI
FO82は、サンプルカウント5bをファーストインフ
ァーストアウトで格納する。
The received WC packet 5 includes a system time 5a and a sample count 5b. The system time FIFO 74 stores the system time 5a on a first-in first-out basis. Sample Count FI
The FO 82 stores the sample count 5b on a first-in first-out basis.

【0133】システムタイム比較器75は、FIFO7
4が出力するシステムタイム5aとサイクルタイマ3a
が出力するサイクルタイムの下位16ビットを比較す
る。システムタイム5aは、WCマスタノード1のサイ
クルタイムの下位16ビットに最大遅延時間SYT_O
FFSET(352μs)を加算した値である。
The system time comparator 75 is a FIFO7
4 outputs the system time 5a and the cycle timer 3a
Are compared with the lower 16 bits of the cycle time output by. The system time 5a includes a maximum delay time SYT_O in the lower 16 bits of the cycle time of the WC master node 1.
This is a value obtained by adding FFSET (352 μs).

【0134】サイクルタイムとシステムタイム5aが一
致すると、比較器75は、一致信号を出力する。一致信
号が出力するまで後に示す処理が待たされるので、WC
マスタノード1からRxノード3までの通信遅延時間を
吸収することができる。
When the cycle time matches the system time 5a, the comparator 75 outputs a match signal. Since the processing shown later is waited until the coincidence signal is output, the WC
The communication delay time from the master node 1 to the Rx node 3 can be absorbed.

【0135】PLL76は、上記の一致信号に同期し
て、例えば48kHzのオーディオ用ワードクロックW
CKを生成し、ノードシステム72に供給する。
The PLL 76 synchronizes with the above-mentioned coincidence signal and outputs, for example, a 48 kHz audio word clock W.
CK is generated and supplied to the node system 72.

【0136】タイミング調整器77は、上記の一致信号
を受けた時点で、データFIFO73内のサンプルデー
タ6bをサンプルデータSDTとしてノードシステム7
2へ供給する。
The timing adjuster 77 uses the sample data 6b in the data FIFO 73 as the sample data SDT when receiving the above coincidence signal.
Supply to 2.

【0137】タイミング調整器83は、上記の一致信号
を受けた時点で、サンプルカウントFIFO82内のサ
ンプルカウント5bをサンプルカウントSCNとしてノ
ードシステム72へ供給する。
The timing adjuster 83 supplies the sample count 5b in the sample count FIFO 82 to the node system 72 as the sample count SCN when receiving the above coincidence signal.

【0138】ノードシステム72は、ワードクロックW
CKに同期して、サンプルカウントSCNに応じてサン
プルデータ(オーディオデータ)SDTを再生すること
により、スピーカから発音させることができる。
The node system 72 has the word clock W
By reproducing the sample data (audio data) SDT according to the sample count SCN in synchronization with CK, it is possible to make a speaker emit sound.

【0139】以上のように、第2の実施例によれば、シ
ステムタイム軸を基準にすることにより、ノード間の同
期をとることができる。比較器78は、Txノード2か
らRxノード3までのデータパケット6の通信遅延時間
を吸収し、比較器75は、WCマスタノード1からRx
ノード3までのWCパケット5の通信遅延時間を吸収す
ることができる。これら通信遅延時間を吸収することに
より、ノード間の同期をとることができる。
As described above, according to the second embodiment, it is possible to synchronize the nodes based on the system time axis. The comparator 78 absorbs the communication delay time of the data packet 6 from the Tx node 2 to the Rx node 3, and the comparator 75 operates from the WC master node 1 to the Rx node.
The communication delay time of the WC packet 5 up to the node 3 can be absorbed. By absorbing these communication delay times, synchronization between nodes can be obtained.

【0140】図12は、上記の第2のRxノード3(図
11)の処理を示すフローチャートである。
FIG. 12 is a flowchart showing the processing of the second Rx node 3 (FIG. 11).

【0141】ステップSE1では、受信したWCパケッ
ト5内のシステムタイム5a及びサンプルカウント5b
をそれぞれFIFO74及び82に格納する。
At step SE1, the system time 5a and the sample count 5b in the received WC packet 5
Are stored in FIFOs 74 and 82, respectively.

【0142】ステップSE2では、データパケット6を
受信した場合、パケット6内のシステムタイム6c及び
サンプルデータ6bをそれぞれFIFO80及び79に
格納する。
At step SE2, when the data packet 6 is received, the system time 6c and the sample data 6b in the packet 6 are stored in FIFOs 80 and 79, respectively.

【0143】ステップSE3では、比較器78がFIF
O80内のシステムタイム6cとサイクルタイマ3aの
サイクルタイムとを比較し、両者が一致するまで待機す
る。両者が一致すると、ステップSE4へ進む。
In step SE3, the comparator 78
The system time 6c in O80 is compared with the cycle time of the cycle timer 3a, and the process waits until they match. If they match, the process proceeds to step SE4.

【0144】ステップSE4では、FIFO80に格納
されている次のシステムタイムを比較器78にロード
し、次回の比較の準備を行う。
At step SE4, the next system time stored in the FIFO 80 is loaded into the comparator 78, and preparation for the next comparison is made.

【0145】ステップSE5では、データFIFO79
内のサンプルデータをデータFIFO73に格納する。
At the step SE5, the data FIFO 79
Are stored in the data FIFO 73.

【0146】ステップSE6では、比較器75がFIF
O74内のシステムタイム5aとサイクルタイマ3aの
サイクルタイムとを比較し、両者が一致するまで待機す
る。両者が一致すると、ステップSE7へ進む。
At step SE6, the comparator 75 sets the FIF
The system time 5a in O74 is compared with the cycle time of the cycle timer 3a, and the process waits until the two match. If they match, the process proceeds to step SE7.

【0147】ステップSE7では、FIFO74に格納
されている次のシステムタイムを比較器75にロード
し、次回の比較の準備を行う。
In step SE7, the next system time stored in the FIFO 74 is loaded into the comparator 75, and preparation for the next comparison is made.

【0148】ステップSE8では、PLL76がワード
クロックWCKを生成する。
At step SE8, the PLL 76 generates the word clock WCK.

【0149】ステップSE9では、FIFO82内のサ
ンプルカウントSCN及びFIFO73内のサンプルデ
ータSDTをノードシステムに供給する。
At Step SE9, the sample count SCN in the FIFO 82 and the sample data SDT in the FIFO 73 are supplied to the node system.

【0150】図13は、第3のTxノード90の構成例
を示すブロック図である。
FIG. 13 is a block diagram showing a configuration example of the third Tx node 90.

【0151】第3のTxノード90は、第2のTxノー
ド2(図9)とWCマスタノード1(図4)を含めた構
成である。第3のTxノード90は、Txノードとして
の機能の他、WCマスタノードとしての機能をも有す
る。第3のTxノード90をネットワークに接続した場
合には、独立のWCマスタノード1をネットワークに接
続する必要はない。
The third Tx node 90 has a configuration including a second Tx node 2 (FIG. 9) and a WC master node 1 (FIG. 4). The third Tx node 90 has a function as a WC master node in addition to a function as a Tx node. When the third Tx node 90 is connected to the network, there is no need to connect the independent WC master node 1 to the network.

【0152】第3のTxノード90は、IEEE139
4インタフェースシステム91及びノードシステム52
を有する。インタフェースシステム91は、上部がWC
マスタノードに相当し、下部がTxノードに相当する。
下部のTxノードは、第2のTxノード2(図9)と同
じ構成である。以下、上部のWCマスタノードに相当す
る部分の構成を説明する。
The third Tx node 90 is connected to the IEEE 139
4 interface system 91 and node system 52
Having. The interface system 91 has a WC
The lower part corresponds to a Tx node.
The lower Tx node has the same configuration as the second Tx node 2 (FIG. 9). Hereinafter, the configuration of a portion corresponding to the upper WC master node will be described.

【0153】発振器(OSC)93は、インタフェース
システム91の外部に設けられ、所定周波数の信号を発
振する。発振器93は、インタフェースシステム91の
内部に設けてもよい。分周器94は、発振器93が発振
する信号を分周し、所定周波数(図2のパケット周期S
YT_INTERVALに相当する周波数)の信号を出
力する。サンプルカウンタ95は、発振器93が発振す
る信号に同期して、ワードクロックWCK(例えば48
kHz)と同じ周波数でサンプルカウントをインクリメ
ントする。
The oscillator (OSC) 93 is provided outside the interface system 91 and oscillates a signal of a predetermined frequency. The oscillator 93 may be provided inside the interface system 91. The frequency divider 94 divides the frequency of the signal oscillated by the oscillator 93 and outputs a predetermined frequency (the packet period S in FIG. 2).
(A frequency corresponding to YT_INTERVAL). The sample counter 95 generates a word clock WCK (for example, 48
The sample count is incremented at the same frequency as (kHz).

【0154】ラッチ96は、分周器94の出力信号に同
期して、サンプルカウンタ95が生成するサンプルカウ
ントをサンプルカウント5bとして出力する。
The latch 96 outputs the sample count generated by the sample counter 95 as the sample count 5b in synchronization with the output signal of the frequency divider 94.

【0155】ラッチ97は、分周器94の出力信号に同
期して、サイクルタイマ2aが生成するサイクルタイム
を加算器98へ出力する。加算器98は、ラッチ97が
出力するサイクルタイムの下位16ビットにオフセット
値SYT_OFFSETを加算し、その加算値をシステ
ムタイム5aとして出力する。
The latch 97 outputs the cycle time generated by the cycle timer 2a to the adder 98 in synchronization with the output signal of the frequency divider 94. The adder 98 adds the offset value SYT_OFFSET to the lower 16 bits of the cycle time output from the latch 97, and outputs the added value as the system time 5a.

【0156】システムタイム5a及びサンプルカウント
5bはパケット化され、WCパケット5としてバス4上
に送出される。
The system time 5a and the sample count 5b are packetized and sent out on the bus 4 as WC packets 5.

【0157】それと同時に、システムタイム5aは、I
EEE1394バスを介さず、Txノード90内のシス
テムタイムFIFO54に直接格納され、サンプルカウ
ント5bは、Txノード90内のサンプルカウントFI
FO53に直接格納される。その後のTxノード部の処
理は、図9のTxノードの処理と同じである。
At the same time, the system time 5a is
The sample count 5b is directly stored in the system time FIFO 54 in the Tx node 90 without passing through the EEE1394 bus, and the sample count 5b in the Tx node 90 is used.
It is stored directly in the FO 53. The subsequent processing of the Tx node unit is the same as the processing of the Tx node in FIG.

【0158】WCマスタノードをTxノードに含ませる
ことにより、単独のWCマスタノードをネットワークに
接続する必要がなくなり、ノード数を減らすことができ
る。WCマスタノードをTxノードに含ませるのと同様
にして、WCマスタノードをRxノードに含ませてもよ
い。
By including the WC master node in the Tx node, there is no need to connect a single WC master node to the network, and the number of nodes can be reduced. The WC master node may be included in the Rx node in the same manner as the WC master node is included in the Tx node.

【0159】次に、WCマスタノード1、Txノード2
及びRxノード3の各サイクルタイマ1a,2a,3a
(図1)の位相を合わせる方法を説明する。WCマスタ
ノード1、Txノード2及びRxノード3は、全てIE
EE1394バスに接続されたノードである。これらの
ノードのうちの一つがルートノードとして決定される。
例えば、各ノードに識別番号が付与され、その識別番号
が最も小さな値又は大きな値のノードがルートノードと
なる。その構成を次に示す。
Next, the WC master node 1 and the Tx node 2
And each cycle timer 1a, 2a, 3a of the Rx node 3
A method for adjusting the phase of FIG. 1 will be described. WC master node 1, Tx node 2 and Rx node 3 are all IE
This is a node connected to the EE1394 bus. One of these nodes is determined as the root node.
For example, an identification number is assigned to each node, and the node having the smallest or largest identification number is the root node. The configuration is shown below.

【0160】図14は、図1のネットワークを別の観点
から表現したネットワークの構成を示す。
FIG. 14 shows a network configuration expressing the network of FIG. 1 from another viewpoint.

【0161】ルートノードRNは、WCマスタノード
1、Txノード2又はRxノード3のうちのいずれか一
つのノードである。第1ノードN1〜第nノードNn
は、ルートノード以外のノードである。
The root node RN is one of the WC master node 1, the Tx node 2, and the Rx node 3. 1st node N1 to nth node Nn
Is a node other than the root node.

【0162】ルートノードRNは、自己のサイクルタイ
マで生成されたサイクルタイムCTをバス上に送出す
る。ノードN1〜Nnは、ルートノードRNが送出する
サイクルタイムCTを受け取り、そのサイクルタイムC
Tの値を自己のサイクルタイマにセットする。
The root node RN sends out the cycle time CT generated by its own cycle timer onto the bus. The nodes N1 to Nn receive the cycle time CT transmitted by the root node RN,
The value of T is set in its own cycle timer.

【0163】図15は、ルートノードRNが行う処理を
示すフローチャートである。
FIG. 15 is a flowchart showing the processing performed by the root node RN.

【0164】ステップSF1では、自己のサイクルタイ
マの値CTを他のノードに送信し、処理を終了する。ル
ートノードRNは、所定周期でサイクルタイマの値CT
をブロードキャストでバス上に送信する。
At step SF1, the value CT of its own cycle timer is transmitted to another node, and the process is terminated. The root node RN determines the value of the cycle timer CT at a predetermined cycle.
Is broadcast on the bus.

【0165】図16は、ノードN1〜Nnが行う処理を
示すフローチャートである。
FIG. 16 is a flowchart showing processing performed by nodes N1 to Nn.

【0166】ステップSG1では、ルートノードRNか
らサイクルタイマの値CTを受信する。
At Step SG1, the value CT of the cycle timer is received from the root node RN.

【0167】ステップSG2では、自己のサイクルタイ
マを受信したサイクルタイマの値CTに更新する。
At step SG2, its own cycle timer is updated to the value CT of the received cycle timer.

【0168】このフローチャートは、ルートノードRN
から所定周期でサイクルタイマの値CTを受信する度に
行う。
This flowchart is similar to that of the root node RN.
, Every time the value CT of the cycle timer is received at a predetermined cycle.

【0169】上記の方法により、各ノードのサイクルタ
イマの同期をとることができる。ここで、ルートノード
RNがサイクルタイムCTを送信する遅延時間について
考える。遅延時間の相違により、各ノードN1〜Nnが
サイクルタイムCTを受信する時刻は異なる。次に、通
信遅延時間を考慮した処理を示す。
According to the above-described method, the cycle timer of each node can be synchronized. Here, a delay time in which the root node RN transmits the cycle time CT will be considered. The time at which each of the nodes N1 to Nn receives the cycle time CT differs due to the difference in the delay time. Next, processing in consideration of the communication delay time will be described.

【0170】ノードN1〜Nnは、ルートノードRNに
ピンパケットを送信する。ルートノードRNは、ピンパ
ケットを受信すると、レスポンスパケットを返送する。
ノードN1〜Nnは、ピンパケットを送信してからレス
ポンスパケットを受信するまでの時間を計測する。その
時間は、ノードN1〜NnからルートノードRNまでの
往復通信遅延時間である。ノードN1〜Nnは、自己の
サイクルタイマを片道通信遅延時間分だけ進め、ルート
ノードRNのサイクルタイマの位相に合わせる。
Each of nodes N1 to Nn transmits a pin packet to root node RN. When receiving the pin packet, the root node RN returns a response packet.
The nodes N1 to Nn measure the time from transmitting the pin packet to receiving the response packet. The time is a round-trip communication delay time from the nodes N1 to Nn to the root node RN. Each of the nodes N1 to Nn advances its own cycle timer by the one-way communication delay time, and adjusts the phase of the cycle timer of the root node RN.

【0171】例えば、往復通信遅延時間が100μsと
して計測された場合、片道通信遅延時間は50μsであ
る。ノードN1〜Nnは、自己のサイクルタイマを片道
通信遅延時間(50μs)分だけ加算する。
For example, when the round-trip communication delay time is measured as 100 μs, the one-way communication delay time is 50 μs. The nodes N1 to Nn add their own cycle timers for the one-way communication delay time (50 μs).

【0172】サイクルタイマを片道通信遅延時間だけ加
算することにより、各ノードのサイクルタイマの位相を
合わせることができる。これにより、複数のRxノード
は、ほぼ同時にオーディオデータの再生を行うことがで
きる。次に、上記の処理をフローチャートにそって説明
する。
By adding the cycle timer by the one-way communication delay time, the phase of the cycle timer of each node can be adjusted. Thereby, the plurality of Rx nodes can reproduce the audio data almost simultaneously. Next, the above process will be described with reference to a flowchart.

【0173】図17は、サイクルタイマの遅延時間補正
値の決定処理を示すフローチャートである。フローチャ
ートの左側の処理SH1、SH4、SH5、SH6はノ
ードN1〜Nnの処理を示し、右側の処理SH2、SH
3はルートノードRNの処理を示す。
FIG. 17 is a flowchart showing a process for determining a delay time correction value of the cycle timer. The processes SH1, SH4, SH5, and SH6 on the left side of the flowchart show the processes of the nodes N1 to Nn, and the processes SH2 and SH on the right side.
3 shows the process of the root node RN.

【0174】ステップSH1では、ノードN1〜Nnが
ピンパケットをルートノードRNに送信し、時間計測を
開始する。
At step SH1, the nodes N1 to Nn transmit pin packets to the root node RN, and start time measurement.

【0175】ステップSH2では、ルートノードRNが
ピンパケットを受信する。
In step SH2, the root node RN receives the ping packet.

【0176】ステップSH3では、ルートノードRNが
送信元のノードN1〜Nnにレスポンスパケットを即時
に送信する。
At step SH3, the root node RN immediately transmits a response packet to the transmission source nodes N1 to Nn.

【0177】ステップSH4では、ノードN1〜Nnが
レスポンスパケットを受信する。
In step SH4, the nodes N1 to Nn receive the response packet.

【0178】ステップSH5では、ノードN1〜Nnが
ピンパケットを送信(ステップSH1)してからレスポ
ンスパケットを受信(ステップSH4)するまでの往復
通信遅延時間を算出する。
At step SH5, the round trip communication delay time from when the nodes N1 to Nn transmit the pin packet (step SH1) to when the response packet is received (step SH4) is calculated.

【0179】ステップSH6では、算出した往復通信遅
延時間の半分の値を片道通信遅延時間として算出する。
次に、片道通信遅延時間の値をサイクルタイムに換算し
て、補正値を決定する。サイクルタイムは、原則として
約25MHzでカウントされる値である。
In step SH6, a half value of the calculated round-trip communication delay time is calculated as a one-way communication delay time.
Next, a correction value is determined by converting the value of the one-way communication delay time into a cycle time. The cycle time is a value counted at about 25 MHz in principle.

【0180】図18は、ノードN1〜Nnが行う補正処
理を示すフローチャートであり、図16のフローチャー
トに代わるものである。
FIG. 18 is a flowchart showing the correction processing performed by the nodes N1 to Nn, which replaces the flowchart of FIG.

【0181】ステップSI1では、図15でルートノー
ドRNから送信されたサイクルタイマの値CTを受信す
る。
In step SI1, the value CT of the cycle timer transmitted from the root node RN in FIG. 15 is received.

【0182】ステップSI2では、受信したサイクルタ
イマの値CTに図17で決定した補正値を加算する。
At step SI2, the correction value determined in FIG. 17 is added to the received value CT of the cycle timer.

【0183】ステップSI3では、自己のサイクルタイ
マを、上記の補正されたサイクルタイムの値に更新す
る。
At step SI3, its own cycle timer is updated to the value of the corrected cycle time.

【0184】サイクルタイムを補正することにより、各
ノードのサイクルタイマの位相を合わせることができ
る。例えば、第1のTxノード2(図5)では、サイク
ルタイマ2aの値を補正し、第1のRxノード3(図
7)では、サイクルタイマ3aの値を補正する。
By correcting the cycle time, the phase of the cycle timer of each node can be adjusted. For example, in the first Tx node 2 (FIG. 5), the value of the cycle timer 2a is corrected, and in the first Rx node 3 (FIG. 7), the value of the cycle timer 3a is corrected.

【0185】次に、サイクルタイムの代わりに、システ
ムタイムを補正する方法を説明する。第1のTxノード
2(図5)では、比較器15がサイクルタイマ2aの値
とシステムタイムFIFO14の値とを比較する。上記
では、サイクルタイマ2aの値を補正したが、その代わ
りにシステムタイムFIFO14の値を補正して、比較
器15にセットする。
Next, a method of correcting the system time instead of the cycle time will be described. In the first Tx node 2 (FIG. 5), the comparator 15 compares the value of the cycle timer 2a with the value of the system time FIFO 14. In the above description, the value of the cycle timer 2a is corrected. Instead, the value of the system time FIFO 14 is corrected and set in the comparator 15.

【0186】第1のRxノード3(図7)でも、同様
に、サイクルタイマ3aの値を補正する代わりに、シス
テムタイムFIFO34の値を補正して、比較器35に
セットする。
Similarly, at the first Rx node 3 (FIG. 7), the value of the system time FIFO 34 is corrected and set in the comparator 35 instead of correcting the value of the cycle timer 3a.

【0187】第2のTxノード2(図9)でも、同様
に、サイクルタイマ2aの値を補正する代わりに、シス
テムタイムFIFO54の値を補正して、比較器55に
セットする。
Similarly, at the second Tx node 2 (FIG. 9), instead of correcting the value of the cycle timer 2a, the value of the system time FIFO 54 is corrected and set in the comparator 55.

【0188】第2のRxノード3(図11)でも、同様
に、サイクルタイマ3aの値を補正する代わりに、シス
テムタイムFIFO74の値を補正して比較器75にセ
ットし、かつシステムタイムFIFO80の値を補正し
て比較器78にセットする。
Similarly, in the second Rx node 3 (FIG. 11), instead of correcting the value of the cycle timer 3a, the value of the system time FIFO 74 is corrected and set in the comparator 75, and the value of the system time FIFO 80 is The value is corrected and set in the comparator 78.

【0189】図19は、上記のシステムタイム補正処理
を示すフローチャートである。
FIG. 19 is a flowchart showing the above system time correction processing.

【0190】ステップSJ1では、システムタイムの値
を受信用FIFO14、34、54、74、80から取
り出す。
At step SJ1, the value of the system time is extracted from the receiving FIFOs 14, 34, 54, 74 and 80.

【0191】ステップSJ2では、取り出したシステム
タイマの値と図17で決定した補正値とを基に演算す
る。例えば、システムタイマの値から補正値を減算す
る。
In step SJ2, calculation is performed based on the value of the system timer taken out and the correction value determined in FIG. For example, the correction value is subtracted from the value of the system timer.

【0192】ステップSJ3では、比較器15、35、
55、75、78の上記の演算値をセットする。
At step SJ3, the comparators 15, 35,
The above calculated values of 55, 75 and 78 are set.

【0193】なお、第2のTxノード(図9)では、シ
ステムタイムFIFO60内のシステムタイムを補正し
てデータパケット6を送信するようにしてもよい。その
場合、第2のRxノード(図11)のシステムFIFO
80の値を補正する必要はない。
The second Tx node (FIG. 9) may correct the system time in the system time FIFO 60 and transmit the data packet 6. In that case, the system FIFO of the second Rx node (FIG. 11)
There is no need to correct the value of 80.

【0194】以上のように、サイクルタイム又はシステ
ムタイムを補正することによって、各ノードの時間軸の
位相を合わせることができる。位相を合わせることによ
り、複数のTxノードの送信タイミング又は複数のRx
ノードの再生タイミングの位相を合わせることができ
る。
As described above, by correcting the cycle time or the system time, the phases of the time axes of the nodes can be matched. By adjusting the phases, the transmission timing of a plurality of Tx nodes or the plurality of Rx
The phases of the reproduction timing of the nodes can be matched.

【0195】第1及び第2の実施例によれば、WCマス
タノード1がWCパケット5をTxノード2及びRxノ
ード3に送信する。Txノード2は、Rxノード3にデ
ータパケット6を送信する。データパケット6は、サン
プルデータ6bの他、DBC6a又はシステムタイム6
cを有する。
According to the first and second embodiments, the WC master node 1 sends a WC packet 5 to the Tx node 2 and the Rx node 3. Tx node 2 transmits data packet 6 to Rx node 3. The data packet 6 includes the DBC 6a or the system time 6 in addition to the sample data 6b.
c.

【0196】第1の実施例では、DBC6aを用いて、
サンプルカウント軸を基にノード間の同期をとることが
できる。第2の実施例では、システムタイム6cを用い
て、システムタイム軸を基にノード間の同期をとること
ができる。
In the first embodiment, using the DBC 6a,
Synchronization between nodes can be achieved based on the sample count axis. In the second embodiment, the system time 6c can be used to synchronize the nodes based on the system time axis.

【0197】ノード間で同期をとることにより、1つの
Txノードから複数のRxノードに同じデータをほぼ同
時に送信する場合に、複数のRxノード間でデータの再
生時間を合わせることができる。また、各Rxノード
は、タイミングずれを起こすことなく、一連のデータを
再生することができる。
By synchronizing the nodes, when the same data is transmitted almost simultaneously from one Tx node to a plurality of Rx nodes, the data reproduction time can be adjusted between the plurality of Rx nodes. Further, each Rx node can reproduce a series of data without causing a timing shift.

【0198】また、ノード間で同期をとることにより、
複数のTxノードから1つのRxノードにデータを送信
する場合に、Rxノードでは複数のTxノードから送信
されるデータのタイミングを合わせることができる。
Further, by synchronizing the nodes,
When transmitting data from a plurality of Tx nodes to one Rx node, the Rx node can match the timing of data transmitted from the plurality of Tx nodes.

【0199】なお、パケット中のデータはオーディオデ
ータに限定されず、画像データ等でもよい。通信は、I
EEE1394デジタルシリアル通信に限定されず、そ
の他のシリアル通信やパラレル通信でもよい。例えば、
インターネット、LAN等でもよい。
The data in the packet is not limited to audio data, but may be image data or the like. Communication is I
The communication is not limited to the EEE1394 digital serial communication, but may be other serial communication or parallel communication. For example,
The Internet or LAN may be used.

【0200】図20はパーソナルコンピュータ12の具
体的なハードウェア構成を示す図である。
FIG. 20 is a diagram showing a specific hardware configuration of the personal computer 12. As shown in FIG.

【0201】パーソナルコンピュータ12の構成を説明
する。バス21には、CPU22、RAM24、外部記
憶装置25,外部に対してMIDIデータを送受信する
ためのMIDIインターフェース26、サウンドカード
27、ROM28、表示装置29、キーボードやスイッ
チやマウス等の入力手段30,インターネットに接続す
るための通信インターフェース31が接続されている。
The configuration of the personal computer 12 will be described. The bus 21 includes a CPU 22, a RAM 24, an external storage device 25, a MIDI interface 26 for transmitting and receiving MIDI data to and from the outside, a sound card 27, a ROM 28, a display device 29, input means 30 such as a keyboard, a switch, and a mouse. A communication interface 31 for connecting to the Internet is connected.

【0202】サウンドカード27は、バッファ27aと
コーデック回路27bを有する。バッファ27aは、外
部に対して入力又は出力するためのデータをバッファリ
ングする。コーデック回路27bは、A/D変換器及
び、D/A変換器を有し、アナログ形式とデジタル形式
両者間の変換を行うことが出来る。さらに、コーデック
回路27bは、圧縮/伸張回路を有し、データの圧縮及
び伸張を行うことができる。
[0202] The sound card 27 has a buffer 27a and a codec circuit 27b. The buffer 27a buffers data to be input or output to the outside. The codec circuit 27b has an A / D converter and a D / A converter, and can perform conversion between an analog format and a digital format. Further, the codec circuit 27b has a compression / expansion circuit, and can compress and expand data.

【0203】外部記憶装置25は、たとえばハードディ
スクドライブ、フロッピーディスクドライブ、CD−R
OMドライブ、光磁気ディスクドライブ等であり、MI
DIデータ、オーディオデータ、画像データ又はコンピ
ュータープログラム等を記憶することができる。
The external storage device 25 includes, for example, a hard disk drive, a floppy disk drive, a CD-R
OM drive, magneto-optical disk drive, etc.
DI data, audio data, image data, computer programs, and the like can be stored.

【0204】ROM28は、コンピュータプログラム及
び各種パラメータを記憶することができる。RAM24
は、バッファやレジスタ等のワーキングエリアを有し、
外部記憶装置25に記憶されている内容をコピーして記
憶することができる。
The ROM 28 can store computer programs and various parameters. RAM 24
Has working areas such as buffers and registers,
The content stored in the external storage device 25 can be copied and stored.

【0205】CPU22は、ROM28又はRAM24
に記憶されているコンピュータプログラムに従って、各
種演算又は処理を行う。システムクロック23は、時間
情報を生成する。CPU22はシステムクロック23か
ら時間情報を得て、タイマ割り込み処理を行うことがで
きる。
The CPU 22 has a ROM 28 or a RAM 24
Performs various calculations or processes according to the computer program stored in the. The system clock 23 generates time information. The CPU 22 obtains time information from the system clock 23 and can perform timer interrupt processing.

【0206】インターネット回線32には、パーソナル
コンピュータ12の通信インターフェース31が接続さ
れる。通信インターフェース31は、インターネットに
より、MIDIデータ、オーディオデータ、画像データ
及びコンピュータプログラム等を送受信するためのイン
ターフェースである。
[0206] The communication interface 31 of the personal computer 12 is connected to the Internet line 32. The communication interface 31 is an interface for transmitting and receiving MIDI data, audio data, image data, computer programs, and the like via the Internet.

【0207】MIDIインターフェース26には、MI
DI音源13が接続され、サウンドカード27には、音
声出力装置14が接続される。CPU22は、通信イン
ターフェース31を介して、インターネット回線32上
からMIDIデータとオーディオデータと画像データと
コンピュータープログラム等を受信する。
The MIDI interface 26 has
The DI sound source 13 is connected, and the sound output device 14 is connected to the sound card 27. The CPU 22 receives MIDI data, audio data, image data, computer programs, and the like from the Internet line 32 via the communication interface 31.

【0208】通信インターフェース31は、インターネ
ット用インターフェースのほか、イーサネット用インタ
ーフェース、IEEE1394規格のデジタル通信イン
ターフェース、RS−232C用インターフェースでも
よく、種々のネットワークに接続することができる。
The communication interface 31 may be an Internet interface, an Ethernet interface, an IEEE 1394 standard digital communication interface, or an RS-232C interface, and may be connected to various networks.

【0209】パーソナルコンピュータ12は、オーディ
オデータの受信や再生等をするためのコンピュータプロ
グラムを記憶する。コンピュータプログラムや各種パラ
メータ等を外部記憶装置25に記憶させておき、それを
RAM24に読み込むことにより、コンピュータプログ
ラム等の追加やバージョンアップ等が容易に行える。
[0209] The personal computer 12 stores a computer program for receiving and reproducing audio data. By storing a computer program, various parameters, and the like in the external storage device 25 and reading them into the RAM 24, it is possible to easily add a computer program, upgrade the version, and the like.

【0210】CD−ROM(コンパクトディスク−リー
ド・オンリー・メモリー)ドライブは、CD−ROMに
記憶されているコンピュータプログラム等を読み出す装
置である。読み出したコンピュータプログラム等は、ハ
ードディスクにストアされる。コンピュータプログラム
の新規インストールやバージョンアップ等が容易に行え
る。
[0210] A CD-ROM (compact disk-read only memory) drive is a device for reading computer programs and the like stored in a CD-ROM. The read computer program and the like are stored in the hard disk. New installation and version upgrade of a computer program can be easily performed.

【0211】通信インターフェース31はLAN(ロー
カルエリアネットワーク)やインターネット、電話回線
等の通信ネットワーク32に接続されており、該通信ネ
ットワーク32を介して、コンピュータ33と接続され
る。外部記憶装置25内に上記のコンピュータプログラ
ム等が記憶されていない場合、コンピュータ33からコ
ンピュータプログラム等をダウンロードすることができ
る。パーソナルコンピュータ12は、通信インターフェ
ース31及び、通信ネットワーク32を介してコンピュ
ータ33へコンピュータプログラム等のダウンロードを
要求するコマンドを送信する。コンピュータ33は、こ
のコマンドを受け、要求されたコンピュータプログラム
等を、通信ネットワーク32を介して、パーソナルコン
ピュータ12へ配信する。パーソナルコンピュータ12
が、通信インターフェース31介して、コンピュータプ
ログラム等を受信して外部記憶装置25に蓄積すること
により、ダウンロードが完了する。
[0211] The communication interface 31 is connected to a communication network 32 such as a LAN (local area network), the Internet, or a telephone line, and is connected to a computer 33 via the communication network 32. When the above-described computer programs and the like are not stored in the external storage device 25, the computer programs and the like can be downloaded from the computer 33. The personal computer 12 transmits a command requesting download of a computer program or the like to the computer 33 via the communication interface 31 and the communication network 32. The computer 33 receives the command and distributes the requested computer program and the like to the personal computer 12 via the communication network 32. Personal computer 12
However, the computer program or the like is received via the communication interface 31 and stored in the external storage device 25, whereby the download is completed.

【0212】なお、本実施例は、本実施例に対応するコ
ンピュータプログラム等をインストールした市販のパー
ソナルコンピュータ等によって、実施させるようにして
もよい。その場合には、本実施例に対応するコンピュー
タプログラム等を、CD−ROMやフロッピーディスク
等の、コンピュータが読み込むことが出来る記憶媒体に
記憶させた状態で、ユーザーに提供してもよい。そのパ
ーソナルコンピュータ等が、LAN、インターネット、電
話回線等の通信ネットワークに接続されている場合に
は、通信ネットワークを介して、コンピュータプログラ
ムや各種データ等をパーソナルコンピュータ等に提供し
てもよい。
The present embodiment may be implemented by a commercially available personal computer or the like in which a computer program or the like corresponding to the present embodiment is installed. In that case, the computer program corresponding to the present embodiment may be provided to the user in a state of being stored in a computer-readable storage medium such as a CD-ROM or a floppy disk. When the personal computer or the like is connected to a communication network such as a LAN, the Internet, or a telephone line, the computer program or various data may be provided to the personal computer or the like via the communication network.

【0213】以上実施例に沿って本発明を説明したが、
本発明はこれらに制限されるものではない。たとえば、
種々の変更、改良、組み合わせ等が可能なことは当業者
に自明であろう。
The present invention has been described in connection with the preferred embodiments.
The present invention is not limited to these. For example,
It will be apparent to those skilled in the art that various modifications, improvements, combinations, and the like can be made.

【0214】[0214]

【発明の効果】以上説明したように、本発明によれば、
複数の通信装置間で同期情報を通信することにより、同
期をとってデータの送信又は処理を行うことができる。
As described above, according to the present invention,
By transmitting synchronization information between a plurality of communication devices, data transmission or processing can be performed in synchronization.

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

【図1】 本発明の実施例によるネットワークの構成を
示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a network according to an embodiment of the present invention.

【図2】 送信ノード(Txノード)の処理を示すタイ
ミングチャートである。
FIG. 2 is a timing chart showing processing of a transmission node (Tx node).

【図3】 図1に示す各ノードのタイミングチャートで
ある。
FIG. 3 is a timing chart of each node shown in FIG. 1;

【図4】 WCマスタノードの処理を示すフローチャー
トである。
FIG. 4 is a flowchart showing processing of a WC master node.

【図5】 第1のTxノードの構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing a configuration of a first Tx node.

【図6】 第1のTxノードの処理を示すフローチャー
トである。
FIG. 6 is a flowchart showing processing of a first Tx node.

【図7】 第1の受信ノード(Rxノード)の構成を示
すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a first receiving node (Rx node).

【図8】 第1のRxノードの処理を示すフローチャー
トである。
FIG. 8 is a flowchart illustrating a process of a first Rx node.

【図9】 第2のTxノードの構成を示すブロック図で
ある。
FIG. 9 is a block diagram illustrating a configuration of a second Tx node.

【図10】 第2のTxノードの処理を示すフローチャ
ートである。
FIG. 10 is a flowchart showing processing of a second Tx node.

【図11】 第2のRxノードの構成を示すブロック図
である。
FIG. 11 is a block diagram showing a configuration of a second Rx node.

【図12】 第2のRxノードの処理を示すフローチャ
ートである。
FIG. 12 is a flowchart illustrating processing of a second Rx node.

【図13】 第3のTxノードの構成を示すブロック図
である。
FIG. 13 is a block diagram illustrating a configuration of a third Tx node.

【図14】 ネットワークの構成を示すブロック図であ
る。
FIG. 14 is a block diagram illustrating a configuration of a network.

【図15】 ルートノードの処理を示すフローチャート
である。
FIG. 15 is a flowchart illustrating processing of a root node.

【図16】 ルートノード以外のノードの処理を示すフ
ローチャートである。
FIG. 16 is a flowchart illustrating processing of a node other than the root node.

【図17】 サイクルタイマの遅延時間補正値の決定処
理を示すフローチャートである。
FIG. 17 is a flowchart showing a process of determining a delay time correction value of a cycle timer.

【図18】 遅延時間の第1の補正処理を示すフローチ
ャートである。
FIG. 18 is a flowchart illustrating a first correction process of a delay time.

【図19】 遅延時間の第2の補正処理を示すフローチ
ャートである。
FIG. 19 is a flowchart illustrating a second correction process of the delay time.

【図20】 パーソナルコンピュータ12の具体的なハ
ードウェア構成を示す図である。
FIG. 20 is a diagram showing a specific hardware configuration of the personal computer 12.

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

1 WCマスタノード、 2 送信ノード(Txノー
ド)、 3 受信ノード(Rxノード)、 1a,
2a,3a サイクルタイマ、 4 IEEE139
4バス、 5 WCパケット、 5a システムタ
イム、 5bサンプルカウント、 6 データパケ
ット、 6a DBC、 6bサンプルデータ、
6c システムタイム、 11 IEEE1394
インタフェースシステム、 12 ノードシステム、
13 サンプルカウントFIFO、 14 シス
テムタイムFIFO、 15 システムタイム比較
器、 16 PLL、 17 タイミング調整器、
18 加算器、19 データFIFO、 20
DBCジェネレータ、 31 IEEE1394イン
タフェースシステム、 32 ノードシステム、
33 サンプルカウントFIFO、 34 システム
タイムFIFO、 35 システムタイム比較器、
36 PLL、 37 タイミング調整器、 3
8 DBC比較器、 39 データFIFO、 4
0 DBC−FIFO、 41 タイミング調整器、
51 IEEE1394インタフェースシステム、
52 ノードシステム、 53 サンプルカウントF
IFO、 54システムタイムFIFO、 55
システムタイム比較器、 56 PLL、 57
タイミング調整器、 58 加算器、 59 デー
タFIFO、 60 システムタイムFIFO、
71 IEEE1394インタフェースシステム、
72 ノードシステム、 73 データFIFO、
74 システムタイムFIFO、 75 システム
タイム比較器、 76 PLL、 77,81,8
3 タイミング調整器、 78 システムタイム比較
器、 79 データFIFO、 80 システムタ
イムFIFO、 82 サンプルカウントFIFO、
90 Txノード、 91 IEEE1394イ
ンタフェースシステム、 93 発振器、 94
分周器、 95 サンプルカウンタ、 96,97
ラッチ、 98 加算器
1 WC master node, 2 transmitting node (Tx node), 3 receiving node (Rx node), 1a,
2a, 3a cycle timer, 4 IEEE139
4 bus, 5 WC packet, 5a system time, 5b sample count, 6 data packet, 6a DBC, 6b sample data,
6c System time, 11 IEEE1394
Interface system, 12 node system,
13 Sample count FIFO, 14 System time FIFO, 15 System time comparator, 16 PLL, 17 Timing adjuster,
18 adder, 19 data FIFO, 20
DBC generator, 31 IEEE1394 interface system, 32 node system,
33 sample count FIFO, 34 system time FIFO, 35 system time comparator,
36 PLL, 37 timing adjuster, 3
8 DBC comparator, 39 data FIFO, 4
0 DBC-FIFO, 41 timing adjuster,
51 IEEE 1394 interface system,
52 node system, 53 sample count F
IFO, 54 System time FIFO, 55
System time comparator, 56 PLL, 57
Timing adjuster, 58 adder, 59 data FIFO, 60 system time FIFO,
71 IEEE 1394 interface system,
72 node system, 73 data FIFO,
74 System time FIFO, 75 System time comparator, 76 PLL, 77, 81, 8
3 Timing adjuster, 78 System time comparator, 79 Data FIFO, 80 System time FIFO, 82 Sample count FIFO,
90 Tx node, 91 IEEE 1394 interface system, 93 oscillator, 94
Frequency divider, 95 sample counter, 96, 97
Latch, 98 adder

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 第1の同期情報を生成するタイマと、 前記タイマが生成する第1の同期情報に転送最大遅延量
を加味した第2の同期情報を生成する生成手段と、 所定タイミング毎にそのタイミングに対応するサンプル
カウント及び前記第2の同期情報をネットワークに送信
する送信手段とを有する通信装置。
A timer for generating first synchronization information; a generation means for generating second synchronization information in which the maximum synchronization delay is added to the first synchronization information generated by the timer; A communication device for transmitting a sample count corresponding to the timing and the second synchronization information to a network;
【請求項2】 外部から第1の同期情報を受信する受信
手段と、 前記受信手段が受信する第1の同期情報に転送最大遅延
量を加味した第2の同期情報を生成する生成手段と、 前記第2の同期情報及びそれに対応するデータをネット
ワークに送信する送信手段とを有する通信装置。
2. Receiving means for receiving first synchronization information from outside, generating means for generating second synchronization information in which a maximum transfer delay is added to the first synchronization information received by the receiving means, A communication unit that transmits the second synchronization information and data corresponding to the second synchronization information to a network.
【請求項3】 外部から第1の同期情報及びそれに対応
するデータを受信する第1の受信手段と、 外部から第2の同期情報を受信する第2の受信手段と、 前記第1の受信手段が受信する第1の同期情報に基づき
第1の同期調整を行い、前記第2の受信手段が受信する
第2の同期情報に基づき第2の同期調整を行って前記第
1の受信手段が受信するデータの処理を行う処理手段と
を有する通信装置。
3. A first receiving means for receiving first synchronization information and corresponding data from outside, a second receiving means for receiving second synchronization information from outside, and the first receiving means. Performs the first synchronization adjustment based on the first synchronization information received by the first reception unit, performs the second synchronization adjustment based on the second synchronization information received by the second reception unit, and receives the first synchronization adjustment. And a processing unit for processing data to be processed.
【請求項4】 第1の同期情報を生成する第1の同期情
報生成手段と、 前記第1の同期情報生成手段が生成する第1の同期情報
をネットワークを介して他の通信装置に転送する場合の
転送最大遅延量を加味して前記第1の同期情報を基に第
2の同期情報を生成する第2の同期情報生成手段と、 前記第2の同期情報生成手段が生成する第2の同期情報
をネットワークに送信する送信手段と、 前記第2の同期情報生成手段が生成する第2の同期情報
をネットワークを介さずに直接受け取り、該第2の同期
情報に基づいてデータを処理する処理手段とを有する通
信装置。
4. A first synchronization information generating means for generating first synchronization information, and transferring the first synchronization information generated by the first synchronization information generating means to another communication device via a network. A second synchronization information generating unit that generates second synchronization information based on the first synchronization information in consideration of a transfer maximum delay amount in the case; and a second synchronization information generation unit that generates the second synchronization information. Transmitting means for transmitting synchronization information to a network; processing for directly receiving the second synchronization information generated by the second synchronization information generating means without passing through a network, and processing data based on the second synchronization information A communication device having means.
【請求項5】 外部通信装置から第1の同期情報を受信
する第1の受信手段と、 外部から第2の同期情報を受信する第2の受信手段と、 前記第1の受信手段が受信する第1の同期情報の前記外
部通信装置からの到達遅延時間を計測する計測手段と、 前記計測手段が計測する到達遅延時間に応じて前記第1
又は第2の同期情報の補正値を決定する決定手段と、 前記第1又は第2の受信手段が第1又は第2の同期情報
を受信する毎に前記決定手段により決定される補正値に
応じて該第1又は第2の同期情報を補正する補正手段と
を有する通信装置。
5. A first receiving means for receiving first synchronization information from an external communication device; a second receiving means for receiving second synchronization information from the outside; and a first receiving means for receiving the first synchronization information. Measuring means for measuring an arrival delay time of the first synchronization information from the external communication device; and the first means according to the arrival delay time measured by the measuring means.
Or a determining means for determining a correction value of the second synchronization information, and a correction value determined by the determining means each time the first or second receiving means receives the first or second synchronization information. And a correcting means for correcting the first or second synchronization information.
JP16565999A 1998-06-15 1999-06-11 Communication device Expired - Lifetime JP3697949B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16565999A JP3697949B2 (en) 1998-06-15 1999-06-11 Communication device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-167475 1998-06-15
JP16747598 1998-06-15
JP16565999A JP3697949B2 (en) 1998-06-15 1999-06-11 Communication device

Publications (2)

Publication Number Publication Date
JP2000078170A true JP2000078170A (en) 2000-03-14
JP3697949B2 JP3697949B2 (en) 2005-09-21

Family

ID=26490317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16565999A Expired - Lifetime JP3697949B2 (en) 1998-06-15 1999-06-11 Communication device

Country Status (1)

Country Link
JP (1) JP3697949B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775246B1 (en) 1999-09-27 2004-08-10 Yamaha Corporation Method of determining master and slaves by communication capability of network nodes
JP2006340371A (en) * 2005-06-03 2006-12-14 Wago Verwaltungs Gmbh Method and communication module for controlling access time to system bus
US7158488B2 (en) 2000-10-31 2007-01-02 Yamaha Corporation Communication control apparatus and method
JP2007160976A (en) * 2005-12-09 2007-06-28 Denso Corp Vehicular network system and network node
JP2007258967A (en) * 2006-03-22 2007-10-04 Yamaha Corp Audio network system
JP2008211767A (en) * 2006-12-20 2008-09-11 Ntt Docomo Inc Apparatus for synchronizing first transmitting or receiving device to second transmit or receive device
US8189602B2 (en) 2006-03-22 2012-05-29 Yamaha Corporation Audio network system
GB2503267A (en) * 2012-06-22 2013-12-25 Canon Kk Gapless video transition
US9312974B2 (en) 2011-02-25 2016-04-12 Mitsubishi Electric Corporation Master apparatus and slave apparatus and time-synchronization method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6775246B1 (en) 1999-09-27 2004-08-10 Yamaha Corporation Method of determining master and slaves by communication capability of network nodes
US7158488B2 (en) 2000-10-31 2007-01-02 Yamaha Corporation Communication control apparatus and method
EP1746752A2 (en) 2000-10-31 2007-01-24 Yamaha Corporation Communication control apparatus for performing a synchronisation process and method thereof
JP4540637B2 (en) * 2005-06-03 2010-09-08 バーゴ・フェアバルトゥングスゲゼルシャフト・エムベーハー Method and communication module for controlling access time to system bus
JP2006340371A (en) * 2005-06-03 2006-12-14 Wago Verwaltungs Gmbh Method and communication module for controlling access time to system bus
JP4650248B2 (en) * 2005-12-09 2011-03-16 株式会社デンソー Vehicle network system and network node
JP2007160976A (en) * 2005-12-09 2007-06-28 Denso Corp Vehicular network system and network node
JP2007258967A (en) * 2006-03-22 2007-10-04 Yamaha Corp Audio network system
US8189602B2 (en) 2006-03-22 2012-05-29 Yamaha Corporation Audio network system
JP2008211767A (en) * 2006-12-20 2008-09-11 Ntt Docomo Inc Apparatus for synchronizing first transmitting or receiving device to second transmit or receive device
JP4536771B2 (en) * 2006-12-20 2010-09-01 株式会社エヌ・ティ・ティ・ドコモ Apparatus for synchronizing a first transmitting or receiving device to a second transmitting or receiving device
US9312974B2 (en) 2011-02-25 2016-04-12 Mitsubishi Electric Corporation Master apparatus and slave apparatus and time-synchronization method
GB2503267A (en) * 2012-06-22 2013-12-25 Canon Kk Gapless video transition
GB2503267B (en) * 2012-06-22 2015-05-06 Canon Kk Gapless video transition

Also Published As

Publication number Publication date
JP3697949B2 (en) 2005-09-21

Similar Documents

Publication Publication Date Title
US6751228B1 (en) Packet handler of audio data by isochronous mode
US6143973A (en) Process techniques for plurality kind of musical tone information
US5923902A (en) System for synchronizing a plurality of nodes to concurrently generate output signals by adjusting relative timelags based on a maximum estimated timelag
JP4575643B2 (en) Multimedia jitter removal in asynchronous digital home networks
EP0895378B1 (en) Method and system for transmitting audio data with time stamp
JP4546026B2 (en) Multimedia jitter removal in asynchronous digital home networks
JPH0897807A (en) Packet transmission system
JP2007020183A (en) Method for time synchronization in residential ethernet system
JPH0897837A (en) Packet receiver
JP3697949B2 (en) Communication device
US8902934B2 (en) Method and arrangement for synchronising data streams in networks and a corresponding computer program and corresponding computer-readable storage medium
US6909728B1 (en) Synchronous communication
JP3531762B2 (en) Transmitter and receiver
KR100457508B1 (en) Apparatus for setting time stamp offset and method thereof
US6239346B1 (en) Musical tone signal processing apparatus and storage medium storing programs for realizing functions of apparatus
JP2000278275A (en) Packet transfer device
JP2005173136A (en) Music system, and music data transmitting and receiving apparatus
JP3358581B2 (en) Packet transfer device
JP2000020055A (en) Musical sound information transfer device
JP3201298B2 (en) Network data synchronization method and apparatus, synchronization node, and network system
JP2001144694A (en) Sampling rate converter
JP2000278277A (en) Packet transmission device
JP3496562B2 (en) Packet transfer device
JP2000278353A (en) Packet transfer device
JP2000278326A (en) Packet transfer device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040623

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040721

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041216

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050519

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050627

R150 Certificate of patent or registration of utility model

Ref document number: 3697949

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090715

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090715

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100715

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100715

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110715

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110715

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120715

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130715

Year of fee payment: 8

EXPY Cancellation because of completion of term