JP2005057409A - Data receiving system - Google Patents
Data receiving system Download PDFInfo
- Publication number
- JP2005057409A JP2005057409A JP2003284689A JP2003284689A JP2005057409A JP 2005057409 A JP2005057409 A JP 2005057409A JP 2003284689 A JP2003284689 A JP 2003284689A JP 2003284689 A JP2003284689 A JP 2003284689A JP 2005057409 A JP2005057409 A JP 2005057409A
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage
- amount
- receiving
- fifo memory
- 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.)
- Withdrawn
Links
Images
Landscapes
- Communication Control (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
本発明は、オーディオデータ等を送受信するデータ受信システムに関する。 The present invention relates to a data receiving system that transmits and receives audio data and the like.
従来から、コンピュータ等から送られるオーディオデータをプレーヤ等で受信して再生する際に、このオーディオデータを一旦FIFOに格納するとともに、このFIFOの空き容量を監視しながらオーディオデータを読み出す制御を行う同期制御装置が知られている(例えば、特許文献1参照。)。この同期制御装置を用いることにより、コンピュータ等から送られるオーディオデータをプレーヤ等においてオーバーフローあるいはアンダーフローすることなく適切な周波数のクロックで同期制御することが可能になる。
ところで、上述した特許文献1に開示された同期制御装置では、データの受信装置としてのプレーヤで用いられる受信クロックを送信装置としてのコンピュータで用いられる送信クロックに同期させることができるが、1台の受信装置に着目しているため、複数の受信装置があった場合に、各受信装置間でデータを読み出すタイミングの同期をとることができないという問題があった。複数の受信装置のそれぞれに含まれるFIFOから読み出すデータのタイミングを合わせようとしても、それぞれのFIFOの容量が異なる場合や各受信装置の構成が同一でない場合にはFIFOに格納されて読み出される前のデータ容量が同一とならないため、各受信装置のFIFOに格納されてから読み出されるまでの時間を一致させることは難しい。例えば、複数の受信装置としてオーディオシステムに含まれる各スピーカにオーディオ信号を入力するシンクデバイスを考えると、ソースデバイスから各シンクデバイスに送信したオーディオデータに対応したオーディオ音の送信タイミングがずれてしまうため、各スピーカから出力されるオーディオ音の位相等が一致せずにオーディオ音全体の音質低下の原因となる。 Incidentally, in the above-described synchronization control device disclosed in Patent Document 1, a reception clock used in a player as a data reception device can be synchronized with a transmission clock used in a computer as a transmission device. Since attention is paid to the receiving device, when there are a plurality of receiving devices, there is a problem that the timing of reading data cannot be synchronized between the receiving devices. Even if the timing of data read from the FIFO included in each of the plurality of receiving apparatuses is to be matched, if the capacity of each FIFO is different or the configuration of each receiving apparatus is not the same, the data before being stored and read in the FIFO Since the data capacities are not the same, it is difficult to match the time from storage to reading in the FIFO of each receiving device. For example, considering a sink device that inputs audio signals to speakers included in an audio system as a plurality of receiving devices, the transmission timing of audio sound corresponding to audio data transmitted from the source device to each sink device is shifted. As a result, the phase of the audio sound output from each speaker does not match, causing the sound quality of the entire audio sound to deteriorate.
本発明は、このような点に鑑みて創作されたものであり、その目的は、データを受信する複数の装置間でデータの読出しタイミングを合わせることができるデータ受信システムを提供することにある。 The present invention was created in view of the above points, and an object of the present invention is to provide a data receiving system capable of matching the data read timing among a plurality of devices that receive data.
上述した課題を解決するために、本発明のデータ受信システムは、送信装置から送信されたデータを受信する複数の受信装置が含まれており、受信装置は、送信装置から送信されるデータを受信するデータ受信手段と、データ受信手段によって受信されたデータが格納される格納手段と、格納手段の格納容量に関する情報を他の受信装置との間で送受信する情報通信手段と、自装置に備わった格納手段の格納容量と情報通信手段によって受信した他の受信装置に備わった格納手段の格納容量に基づいて自装置に備わった格納手段の格納データ量の許容幅を設定する制御量設定手段と、データを格納手段に先入れ先出しするとともに、制御量設定手段によって設定された格納データ量の許容幅に入るように格納手段の格納データ量を制御する格納制御手段とを備えている。各受信装置では、他の受信装置に備わった格納手段の格納容量に関する情報を取得し、自装置を含む各受信装置の格納手段の格納容量を考慮して、自装置の格納手段におけるデータ制御量(格納データ量の許容幅)を設定することができるため、データを受信する複数の受信装置のそれぞれにおける読み出し前の格納データ量を同じにすることが可能になり、格納手段にデータを格納した後このデータを読み出すタイミングを各受信装置間で合わせることができる。 In order to solve the above-described problem, a data reception system of the present invention includes a plurality of reception devices that receive data transmitted from a transmission device, and the reception device receives data transmitted from the transmission device. Data receiving means, storage means for storing data received by the data receiving means, information communication means for transmitting / receiving information on the storage capacity of the storing means to / from other receiving devices, and the own device A control amount setting means for setting an allowable width of the storage data amount of the storage means provided in the own device based on the storage capacity of the storage means and the storage capacity of the storage means provided in the other receiving device received by the information communication means; The data is stored in the storage means in a first-in first-out manner, and the storage data amount of the storage means is controlled so as to fall within the allowable range of the storage data amount set by the control amount setting means. And a control unit. Each receiving device acquires information on the storage capacity of the storage means provided in the other receiving devices, and considers the storage capacity of the storage means of each receiving device including the own device, and the data control amount in the storing means of the own device Since (allowable width of stored data amount) can be set, it is possible to make the stored data amount before reading in each of a plurality of receiving devices receiving data the same, and the data is stored in the storage means. Thereafter, the timing for reading out this data can be adjusted between the receiving apparatuses.
また、上述したデータはオーディオデータであり、受信装置は、格納手段から読み出されたオーディオデータに基づいてオーディオ音を再生するオーディオ再生手段をさらに備えることが望ましい。送信装置からオーディオデータを送信して各受信装置で受信してオーディオ音の再生を行う場合には、音質低下を防止するためには、各受信装置において格納手段にオーディオデータを格納してから読み出すまでの時間を一定にする必要がある。本発明では、格納手段に格納されたデータ量を各受信装置間で同じにすることができるため、格納手段からオーディオデータを読み出すタイミングを合わせることが可能になり、オーディオ音の音質低下を防止することができる。 Further, the data described above is audio data, and it is preferable that the receiving device further includes an audio reproducing unit that reproduces an audio sound based on the audio data read from the storage unit. When audio data is transmitted from a transmission device and received by each reception device and audio sound is reproduced, the audio data is stored in the storage means in each reception device and read out in order to prevent sound quality degradation. It is necessary to make the time until the time constant. In the present invention, since the amount of data stored in the storage means can be made the same between the receiving devices, it is possible to match the timing of reading out audio data from the storage means, thereby preventing the sound quality of the audio sound from deteriorating. be able to.
また、上述したオーディオデータは、固定ビットレートで符号化されていることが望ましい。固定ビットレートで符号化されたオーディオデータについてはデータ量と再生時間とが比例するため、各受信装置の格納手段の格納データ量を同じにすることにより、再生に必要なオーディオデータを読み出すタイミングを各受信装置において容易に合わせることが可能になる。 The audio data described above is preferably encoded at a fixed bit rate. For audio data encoded at a fixed bit rate, the amount of data is proportional to the playback time. Therefore, the timing of reading audio data necessary for playback can be set by making the storage data amount of the storage means of each receiving device the same. It is possible to easily adjust each receiving apparatus.
また、上述した制御量設定手段は、複数の受信装置に含まれる全ての格納手段の格納容量が同じであるか否かを判定し、同じであるときに、格納容量の50%を含む所定範囲に格納データ量が収まるように格納データ量の許容幅を設定することが望ましい。これにより、各受信装置に備わった格納手段がオーバーフローおよびアンダーフローする事態を有効に回避することができる。 Further, the control amount setting means described above determines whether or not the storage capacities of all the storage means included in the plurality of receiving devices are the same, and when they are the same, a predetermined range including 50% of the storage capacity It is desirable to set the allowable range of the stored data amount so that the stored data amount is within the range. As a result, it is possible to effectively avoid the situation where the storage means provided in each receiving apparatus overflows and underflows.
また、上述した制御量設定手段は、複数の受信装置に含まれる全ての格納手段の格納容量の中から最も小さな格納容量を特定し、この特定された格納容量の半分に相当するデータ量を含む所定範囲に格納データ量が収まるように格納データ量の許容幅を設定することが望ましい。これにより、最も格納データ量に余裕のない受信装置の格納手段がオーバーフローすることを防止することが可能になり、例えばオーディオシステムを考えた場合にはオーディオ音の再生動作の破綻を回避することができる。 Further, the control amount setting means described above specifies the smallest storage capacity among the storage capacities of all the storage means included in the plurality of receiving apparatuses, and includes a data amount corresponding to half of the specified storage capacity. It is desirable to set the allowable range of the stored data amount so that the stored data amount falls within a predetermined range. As a result, it is possible to prevent the storage unit of the receiving apparatus having the least amount of stored data from overflowing. For example, when considering an audio system, it is possible to avoid failure of the audio sound reproduction operation. it can.
また、上述した格納制御手段は、動作開始直後に格納データ量の許容幅を広く設定し、実際の格納データ量とこの許容幅との関係を監視することにより格納手段からデータを読み出すクロックの速度を設定することが望ましい。これにより、受信装置におけるクロックの速度を変更する制御を容易に行うことができる。 Further, the storage control means described above sets a wide allowable range of the stored data amount immediately after the start of the operation, and monitors the relationship between the actual stored data amount and the allowable width to thereby read the data from the storage means. It is desirable to set Thereby, control which changes the speed of the clock in a receiving device can be performed easily.
以下、本発明を適用した一実施形態のデータ受信システムについて、図面を参照しながら詳細に説明する。 Hereinafter, a data receiving system according to an embodiment to which the present invention is applied will be described in detail with reference to the drawings.
図1は、一実施形態のデータ受信システムの全体構成を示す図である。図1に示すように、本実施形態のデータ受信システムは、1台のソースデバイス100と3台のシンクデバイス200、300、400とを含んで構成されている。ソースデバイス100には、各シンクデバイス200、300、400との間でデータを送受信する通信制御部としてのインタフェース部(IF)110が備わっている。また、シンクデバイス200には、ソースデバイス100や他のシンクデバイス300、400との間でデータを送受信する通信制御部としてのインタフェース部(IF)210が備わっている。同様に、シンクデバイス300には、ソースデバイス100や他のシンクデバイス200、400との間でデータを送受信する通信制御部としてのインタフェース部(IF)310が備わっている。シンクデバイス400には、ソースデバイス100や他のシンクデバイス200、300との間でデータを送受信する通信制御部としてのインタフェース部(IF)410が備わっている。
FIG. 1 is a diagram illustrating an overall configuration of a data receiving system according to an embodiment. As shown in FIG. 1, the data receiving system according to the present embodiment includes one
ソースデバイス100とシンクデバイス200、300、400との間は、所定のケーブルを介して接続されている。例えば、各デバイスに備わったインタフェース部110、210、310、410は、IEEE1394規格に準拠した通信動作をサポートしており、図1に示すように、ソースデバイス100、シンクデバイス200、300、400の順にIEEE1394用ケーブルを用いてディジーチェーン型の接続がなされている。なお、IEEE1394規格に準拠した場合の接続形態は、ディジーチェーン型の他にスター型も採用可能であり、どちらを用いてもよい。また、本実施形態のデータ受信システムでは、ソースデバイス100から各シンクデバイス200、300、400に対してデータを送信できればよいため、その他のシリアルバス接続やパラレルバス接続を採用するようにしてもよい。
The
次に、各シンクデバイス200、300、400の詳細構成について説明する。以下では、図1に示したデータ受信システムを車載のオーディオシステムに適用した場合のシンクデバイス200の詳細について説明する。また、他のシンクデバイス300、400についても基本構成は同じであり、詳細な説明は省略する。
Next, the detailed configuration of each
図2は、シンクデバイス200の詳細構成を示す図である。シンクデバイス200は、インタフェース部210、FIFO(First-In First-Out)メモリ220、音声処理部222、アンプ224、再生クロック生成部230、基準信号発生部232、FIFOデータ量制御部240、クロック相対速度判定部242、FIFO制御量設定部244を含んで構成されている。
FIG. 2 is a diagram illustrating a detailed configuration of the
FIFOメモリ220は、先入れ先出し方式でデータの書き込みと読み出しを行うメモリである。ソースデバイス100から送信されたシンクデバイス200向けのオーディオデータがインタフェース部210で受信されると、このオーディオデータが受信順にFIFOメモリ220に書き込まれる。
The
音声処理部222は、再生クロック信号(後述する)に同期してFIFOメモリ220からオーディオデータを読み出し、この読み出したオーディオデータを用いて所定の再生動作を行ってオーディオ音信号を出力する。例えば、音声処理部222は、デジタル−アナログ変換器(DAC)を有しており、所定ビット数のオーディオデータを再生クロックに同期して取り込んでオーディオ信号に変換する。また、本実施形態では、オーディオデータは、固定ビットレートで符号化されたものが用いられている。音声処理部222から出力されたオーディオ信号はアンプ224で増幅され、スピーカ250から車室内の所定位置(例えばフロント右側)に設定されたスピーカ250からオーディオ音が出力される。
The
再生クロック生成部230は、FIFOメモリ220からのオーディオデータの読み出しや音声処理部222によるデータの取り込み等に用いられる再生クロックを生成する。FIFOメモリ220に格納されるオーディオデータがオーバーフローやアンダーフローを起こさないためには、ソースデバイス100によるオーディオデータの送信に用いられる送信クロックの周波数とこの再生クロックの周波数とを正確に一致させる必要があるが、正確に一致させる設定を行った場合でもこれらの間には僅かなずれが生じるため、実際にはFIFOメモリ220の格納データ量を監視しながら再生クロックの周波数を所定の制御幅で可変制御する。
The reproduction
基準信号発生部232は、精度の高い基準信号を発生する。例えば、水晶振動子が用いられ、この水晶振動子の固有振動周波数に一致した、あるいはこれを分周した基準信号が生成される。上述した再生クロック生成部230は、この基準信号を参照信号として動作するPLL(位相同期ループ)構成を有しており、ループ内に設けられた可変分周期の分周比を変更することにより、再生クロックの周波数の変更が行われる。
The
FIFOデータ量制御部240は、FIFOメモリ220の格納データ量を監視するとともに、この格納データ量の許容幅を設定する。例えば、電源投入直後においては、FIFOメモリ220の格納容量の30〜70%が許容幅として設定される。この許容幅から外れる場合には、FIFOデータ量制御部240は、再生クロック生成部230によって生成される再生クロックの周波数を変更する制御を行う。
The FIFO data
クロック相対速度判定部242は、FIFOデータ量制御部240によって監視されたFIFOメモリ220の格納データ量に基づいて、ソースデバイス100における送信クロックと再生クロック生成部230から出力される再生クロックの相対速度を判定する。
The clock relative
FIFO制御量設定部244は、他のシンクデバイス300、400に含まれるFIFO制御量設定部244との間で通信を行って他のシンクデバイス300、400に備わったFIFOメモリ220の格納容量に関する情報を取得し、これらの取得した情報と自装置に備わったFIFOメモリ220の格納容量とに基づいて、FIFOメモリ220の格納データ量の許容幅を設定する。
The FIFO control
上述したソースデバイス100が送信装置に、シンクデバイス200、300、400が受信装置に、インタフェース部210、310、410がデータ受信手段に、FIFOメモリ220が格納手段に、FIFOデータ量制御部240、クロック相対速度判定部242が格納制御手段に、FIFO制御量設定部244が制御量設定手段、情報通信手段に、音声処理部222がオーディオ再生手段にそれぞれ対応する。
The
本実施形態のオーディオシステムはこのような構成を有しており、次にその動作を説明する。 The audio system of the present embodiment has such a configuration, and the operation thereof will be described next.
図3は、シンクデバイス200における動作手順を示す流れ図である。電源が投入されると、まず、FIFO制御量設定部244は、FIFOメモリ220の格納データ量の許容幅をデフォルト値である30〜70%に設定する(ステップ100)。この設定は、各シンクデバイスに備わったFIFOメモリ220の格納容量に関係なく各シンクデバイスにおいて行われる。
FIG. 3 is a flowchart showing an operation procedure in the
次に、FIFOメモリ220を用いたオーディオデータの読み書き動作が開始される(ステップ101)。その後所定時間経過後に、クロック相対速度判定部242は、FIFOメモリ220の格納データ量に基づいて、ソースデバイス100におけるオーディオデータ送信で用いられる送信クロックと再生クロック生成部230から出力される再生クロックの相対速度を判定し、判定結果に基づく相対速度情報を作成する(ステップ102)。この相対速度の判定は、ステップ101においてオーディオデータの読み書き動作を開始した後、FIFOメモリ220の格納データ量が安定するために必要な所定時間が経過した後に行うことが望ましい。一般に、送信クロックの周波数と再生クロックの周波数とは相違するため、時間経過とともにFIFOメモリ220の格納データ量は一方向に増加あるいは減少する。例えば、送信クロックの周波数よりも再生クロックの周波数の方が高い場合にはFIFOメモリ220に格納されたオーディオデータの読み出し速度の方が書き込み速度よりも速くなるため、所定時間経過後にFIFOメモリ220の格納データ量が30%近傍で安定するようになる。反対に、送信クロックの周波数よりも再生クロックの周波数の方が低い場合にはFIFOメモリ220に格納されたオーディオデータの読み出し速度の方が書き込み速度よりも遅くなるため、所定時間経過後にFIFOメモリ220の格納データ量が70%近傍で安定するようになる。クロック相対速度判定部242は、所定時間が経過した後にFIFOメモリ220の格納データ量が30%近傍で安定しているか、70%近傍で安定しているかを調べることにより、その時点で再生クロック生成部230から出力されている再生クロックの周波数が送信クロックの周波数よりも高いか、あるいは低いかを判定している。
Next, an audio data read / write operation using the
また、FIFO制御量設定部244は、他のシンクデバイス300、400に備わったFIFO制御量設定部244との間で通信を行って他のシンクデバイス300、400に備わったFIFOメモリ220の格納容量に関する情報を取得する(ステップ103)。次に、FIFO制御量設定部244は、この取得した格納容量に関する情報と自装置に備わったFIFOメモリ220の格納容量とに基づいて、FIFOメモリ220の格納データ量の許容幅を設定する(ステップ104)。この許容幅の設定は、全てのシンクデバイス200、300、400に備わった各FIFOメモリ220における格納データ量がほぼ一定となるように行われる。設定の具体例については後述する。その後、新しく設定された格納データ量の許容幅を満たすように、FIFOメモリ220を用いたオーディオデータの読み書き動作が行われる(ステップ105)。
The FIFO control
図4は、各シンクデバイスに備わったFIFOメモリ220の格納データ容量の推移を示す図である。図4(A)、(B)にはシンクデバイス200に備わったFIFOメモリ220の格納データ量の推移が、図4(C)、(D)にはシンクデバイス300に備わったFIFOメモリ220の格納データ量の推移が、図4(E)、(F)にはシンクデバイス400に備わったFIFOメモリ220の格納データ量の推移がそれぞれ示されている。
FIG. 4 is a diagram showing the transition of the stored data capacity of the
例えば、電源投入後の初期状態において、送信クロックの周波数に対してシンクデバイス200の再生クロックの周波数の方が速く、シンクデバイス300、400の各再生クロックの方が遅く設定されている。また、各シンクデバイスに備わった各FIFOメモリ220の格納容量が全て同じの場合を考えるものとする。
For example, in the initial state after the power is turned on, the frequency of the recovered clock of the
シンクデバイス200では、電源投入後に所定時間が経過すると、FIFOメモリ220の格納データ量が、初期状態における許容幅の下限である30%近傍で安定する(図4(A))。また、シンクデバイス300では、電源投入後に所定時間が経過すると、FIFOメモリ220の格納データ量が、初期状態における許容幅の上限である70%近傍で安定する(図4(C))。同様に、シンクデバイス400では、電源投入後に所定時間が経過すると、FIFOメモリ220の格納データ量が、初期状態における許容幅の上限である70%近傍で安定する(図4(E))。
In the
シンクデバイス200のクロック相対速度判定部242は、FIFOメモリ220の格納データ量が格納容量の30%近傍であることから、自装置の再生クロックの周波数の方が送信クロックの周波数よりも高いことを示す相対速度情報を作成する。また、FIFO制御量設定部244は、他のシンクデバイス300、400との間で行った通信により、シンクデバイス300、400の各FIFOメモリ220の格納容量が自装置のFIFOメモリ220の格納容量と同じであることを知ると、FIFOメモリ220の格納データ量の許容幅として格納容量の50%を含む狭い範囲(例えば±数%以内)を設定する。以後、FIFOデータ量制御部240は、FIFOメモリ220の格納データ量がこの設定された50%近傍の許容幅に入るように(図4(B))、再生クロックの周波数を遅くする制御を行う。
The clock relative
一方、シンクデバイス300、400のクロック相対速度判定部242は、FIFOメモリ220の格納データ量が格納容量の70%近傍であることから、自装置の再生クロックの周波数の方が送信クロックの周波数よりも低いことを示す相対速度情報を作成する。また、FIFO制御量設定部244は、他のシンクデバイス200等との間で行った通信により、シンクデバイス200等の各FIFOメモリ220の格納容量が自装置のFIFOメモリ220の格納容量と同じであることを知ると、FIFOメモリ220の格納データ量の許容幅として格納容量の50%を含む狭い範囲(例えば±数%以内)を設定する。以後、FIFOデータ量制御部240は、FIFOメモリ220の格納データ量がこの設定された50%近傍の許容幅に入るように(図4(D)、(F))、再生クロックの周波数を速くする制御を行う。
On the other hand, the clock relative
図5は、各シンクデバイスに備わったFIFOメモリ220の格納データ容量の推移の他の例を示す図である。図5(A)、(B)にはシンクデバイス200に備わったFIFOメモリ220の格納データ量の推移が、図5(C)、(D)にはシンクデバイス300に備わったFIFOメモリ220の格納データ量の推移が、図5(E)、(F)にはシンクデバイス400に備わったFIFOメモリ220の格納データ量の推移がそれぞれ示されている。
FIG. 5 is a diagram showing another example of the transition of the stored data capacity of the
例えば、電源投入後の初期状態において、送信クロックの周波数に対してシンクデバイス200の再生クロックの周波数の方が速く、シンクデバイス300、400の各再生クロックの方が遅く設定されている。また、各シンクデバイスに備わった各FIFOメモリ220の格納容量は、シンクデバイス200に備わったFIFOメモリ220の格納容量が最も小さいものとする。
For example, in the initial state after the power is turned on, the frequency of the recovered clock of the
シンクデバイス200では、電源投入後に所定時間が経過すると、FIFOメモリ220の格納データ量が、初期状態における許容幅の下限である30%近傍で安定する(図5(A))。また、シンクデバイス300では、電源投入後に所定時間が経過すると、FIFOメモリ220の格納データ量が、初期状態における許容幅の上限である70%近傍で安定する(図5(C))。同様に、シンクデバイス400では、電源投入後に所定時間が経過すると、FIFOメモリ220の格納データ量が、初期状態における許容幅の上限である70%近傍で安定する(図5(E))。これらの初期状態における格納データ量の許容幅は、各FIFOメモリ220の格納容量の大小に関係なく一律に設定されている。
In the
シンクデバイス200のクロック相対速度判定部242は、FIFOメモリ220の格納データ量が格納容量の30%近傍であることから、自装置の再生クロックの周波数の方が送信クロックの周波数よりも高いことを示す相対速度情報を作成する。また、FIFO制御量設定部244は、他のシンクデバイス300、400との間で行った通信により、シンクデバイス300、400の各FIFOメモリ220の格納容量よりも自装置のFIFOメモリ220の格納容量の方が小さいことを知ると、FIFOメモリ220の格納データ量の許容幅として格納容量の50%を含む狭い範囲(例えば±数%以内)を設定する。以後、FIFOデータ量制御部240は、FIFOメモリ220の格納データ量がこの設定された50%近傍の許容幅に入るように(図5(B))、再生クロックの周波数を遅くする制御を行う。
The clock relative
一方、シンクデバイス300、400のクロック相対速度判定部242は、FIFOメモリ220の格納データ量が格納容量の70%近傍であることから、自装置の再生クロックの周波数の方が送信クロックの周波数よりも低いことを示す相対速度情報を作成する。また、FIFO制御量設定部244は、他のシンクデバイス200等との間で行った通信により、シンクデバイス200の各FIFOメモリ220の格納容量が自装置のFIFOメモリ220の格納容量よりも小さいことを知ると、FIFOメモリ220の格納データ量の許容幅としてシンクデバイス200のFIFOメモリ220の格納容量の50%に相当する格納データ量を含む狭い範囲(例えば±数%以内)を設定する。以後、FIFOデータ量制御部240は、FIFOメモリ220の格納データ量がこの設定された許容幅に入るように(図5(D)、(F))、再生クロックの周波数を速くする制御を行う。
On the other hand, the clock relative
このように、本実施形態のオーディオシステムに含まれる各シンクデバイス200、300、400では、他のシンクデバイスに備わったFIFOメモリ220の格納容量に関する情報を取得し、全てのFIFOメモリ220の格納容量を考慮して、自装置のFIFOメモリ220におけるデータ制御量(格納データ量の許容幅)を設定することができるため、データを受信する複数のシンクデバイスのそれぞれにおける読み出し前の格納データ量を同じにすることが可能になり、FIFOメモリ220にデータを格納した後このデータを読み出すタイミングを各シンクデバイス間で合わせることができる。
As described above, each
特に、各シンクデバイス200、300、400におけるFIFOメモリ220の格納データ量の許容幅を格納容量に対する割合や絶対量で、他のシンクデバイスのFIFOメモリ220の格納容量を考慮しながら設定することができるため、温度や電源電圧の変化に伴って再生クロックの周波数が変化した場合であってもこの許容幅に入るように各シンクデバイスにおいてFIFOメモリ220の格納データ量を制御することにより、オーディオデータを読み出すタイミングのばらつきを防止することができる。
In particular, the allowable width of the stored data amount of the
また、ソースデバイス100からオーディオデータを送信して各シンクデバイス200、300、400で受信してオーディオ音の再生を行う場合には、音質低下を防止するためには、各シンクデバイスにおいてFIFOメモリ220にオーディオデータを格納してから読み出すまでの時間を一定にする必要がある。本実施形態のオーディオシステムでは、FIFOメモリ220の格納データ量を各シンクデバイス間で同じにすることができるため、FIFOメモリ220からオーディオデータを読み出すタイミングを合わせることが可能になる。したがって、一部のシンクデバイスに接続されたスピーカから出力されるオーディオ音の遅延を防止して、オーディオ音の音質低下を回避することができる。
In addition, when audio data is transmitted from the
また、固定ビットレートで符号化されたオーディオデータが用いられており、FIFOメモリ220の格納データ量とオーディオ音の再生時間とが比例するため、各シンクデバイスのFIFOメモリ220の格納データ量を同じにすることにより、再生に必要なオーディオデータを読み出すタイミングを各シンクデバイスにおいて容易に合わせることが可能になる。
Also, since audio data encoded at a fixed bit rate is used and the amount of data stored in the
また、複数のシンクデバイスに備わったFIFOメモリ220の格納容量がすべて同じである場合に、格納容量の50%を含む所定範囲を格納データ量の許容幅としてデータ制御量を設定することにより、各シンクデバイスに備わったFIFOメモリ220がオーバーフローおよびアンダーフローする事態を有効に回避することができる。
Further, when the storage capacities of the
あるいは、複数のシンクデバイスに備わったFIFOメモリ220の格納容量が同じでない場合には、最も少ない格納容量の半分に相当する格納データ量(例えばバイト単位で指定)を含む所定範囲を格納データ量の許容範囲としてデータ制御量を設定することにより、最も格納データ量に余裕のないシンクデバイスのFIFOメモリ220がオーバーフローすることを防止することが可能になる。
Alternatively, when the storage capacities of the
また、FIFO制御量設定部244は、電源投入後の動作開始直後にデータ制御量の許容範囲(格納データ量の許容幅)を広く設定し、実際の格納データ量とこの許容範囲との関係を監視することにより、FIFOメモリ220からデータを読み出す再生クロックの速度を設定している。これにより、各シンクデバイスにおける再生クロックの速度を変更する方向(周波数の増減方向)の判断が容易となり、このための制御を容易に行うことができる。
Also, the FIFO control
また、本実施形態では、各シンクデバイスでは、他のシンクデバイスとの間でFIFOメモリ220の格納容量に関する情報を自動的に取得して格納データ量の許容幅が設定されるため、オーディオシステム等の利用者は、各シンクデバイスに備わったFIFOメモリ220の格納容量の把握や特別な設定を行う必要がない。また、シンクデバイスを増設する場合であっても、常に最適な格納データ量の許容幅が設定されるため、オーディオシステム等の最適な性能を引き出すことが可能になる。
Further, in this embodiment, each sink device automatically obtains information on the storage capacity of the
なお、本発明は上記実施形態に限定されるものではなく、本発明の要旨の範囲内において種々の変形実施が可能である。上述した実施形態では、オーディオシステムに本発明を適用した場合について説明したが、それ以外の用途に用いられるデータ受信システムに本発明を適用することができる。 In addition, this invention is not limited to the said embodiment, A various deformation | transformation implementation is possible within the range of the summary of this invention. In the above-described embodiment, the case where the present invention is applied to an audio system has been described. However, the present invention can be applied to a data receiving system used for other purposes.
また、上述した実施形態では、各シンクデバイスではFIFOメモリ220にデータを格納したが、同等の機能を有するメモリであれば、デュアルポートRAM等を用いるようにしてもよい。
In the above-described embodiment, each sink device stores data in the
また、上述した実施形態では、1台のソースデバイス100に3台のシンクデバイス200、300、400を接続したが、シンクデバイスの接続台数に制限はなく、しかも、FIFOメモリ220の格納容量を気にすることなく複数のシンクデバイスを組み合わせることができる。
In the above-described embodiment, three
100 ソースデバイス
110、210、310、410 インタフェース部(IF)
200、300、400 シンクデバイス
220 FIFOメモリ
222 音声処理部
224 アンプ
230 再生クロック生成部
232 基準信号発生部
240 FIFOデータ量制御部
242 クロック相対速度判定部
244 FIFO制御量設定部
250 スピーカ
100
200, 300, 400
Claims (6)
前記受信装置は、
前記送信装置から送信される前記データを受信するデータ受信手段と、
前記データ受信手段によって受信された前記データが格納される格納手段と、
前記格納手段の格納容量に関する情報を他の前記受信装置との間で送受信する情報通信手段と、
自装置に備わった前記格納手段の格納容量と、前記情報通信手段によって受信した他の前記受信装置に備わった前記格納手段の格納容量に基づいて、自装置に備わった前記格納手段の格納データ量の許容幅を設定する制御量設定手段と、
前記データを前記格納手段に先入れ先出しするとともに、前記制御量設定手段によって設定された前記格納データ量の許容幅に入るように前記格納手段の格納データ量を制御する格納制御手段と、
を備えることを特徴とするデータ受信システム。 A data receiving system including a plurality of receiving devices for receiving data transmitted from a transmitting device,
The receiving device is:
Data receiving means for receiving the data transmitted from the transmitting device;
Storage means for storing the data received by the data receiving means;
Information communication means for transmitting and receiving information on the storage capacity of the storage means to and from the other receiving device;
Based on the storage capacity of the storage means provided in the own device and the storage capacity of the storage means provided in the other receiving device received by the information communication means, the amount of data stored in the storage means provided in the own device Control amount setting means for setting the allowable width of
Storage control means for controlling the storage data amount of the storage means so as to be within an allowable width of the storage data amount set by the control amount setting means, in addition to first-in first-out the data in the storage means;
A data receiving system comprising:
前記データはオーディオデータであり、
前記受信装置は、前記格納手段から読み出された前記オーディオデータに基づいてオーディオ音を再生するオーディオ再生手段をさらに備えることを特徴とするデータ受信システム。 In claim 1,
The data is audio data;
The data receiving system according to claim 1, wherein the receiving apparatus further comprises audio reproducing means for reproducing audio sound based on the audio data read from the storage means.
前記オーディオデータは、固定ビットレートで符号化されていることを特徴とするデータ受信システム。 In claim 2,
A data receiving system, wherein the audio data is encoded at a fixed bit rate.
前記制御量設定手段は、前記複数の受信装置に含まれる全ての前記格納手段の格納容量が同じであるか否かを判定し、同じであるときに、前記格納容量の50%を含む所定範囲に格納データ量が収まるように前記格納データ量の許容幅を設定することを特徴とするデータ受信システム。 In any one of Claims 1-3,
The control amount setting means determines whether or not the storage capacities of all the storage means included in the plurality of receiving devices are the same, and when they are the same, a predetermined range including 50% of the storage capacity A data receiving system, wherein an allowable width of the stored data amount is set so that the stored data amount falls within the range.
前記制御量設定手段は、前記複数の受信装置に含まれる全ての前記格納手段の格納容量の中から最も小さな格納容量を特定し、この特定された格納容量の半分に相当するデータ量を含む所定範囲に格納データ量が収まるように前記格納データ量の許容幅を設定することを特徴とするデータ受信システム。 In any one of Claims 1-3,
The control amount setting means specifies the smallest storage capacity among the storage capacities of all the storage means included in the plurality of receiving devices, and includes a predetermined amount including a data amount corresponding to half of the specified storage capacity A data receiving system, wherein an allowable range of the stored data amount is set so that the stored data amount falls within a range.
前記格納制御手段は、動作開始直後に前記格納データ量の許容幅を広く設定し、実際の格納データ量とこの許容幅との関係を監視することにより前記格納手段からデータを読み出すクロックの速度を変更することを特徴とするデータ受信システム。 In any one of Claims 1-5,
The storage control unit sets the allowable range of the stored data amount wide immediately after the operation starts, and monitors the relationship between the actual stored data amount and the allowable range to thereby increase the clock speed for reading data from the storage unit. A data receiving system characterized by changing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003284689A JP2005057409A (en) | 2003-08-01 | 2003-08-01 | Data receiving system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003284689A JP2005057409A (en) | 2003-08-01 | 2003-08-01 | Data receiving system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005057409A true JP2005057409A (en) | 2005-03-03 |
Family
ID=34364542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003284689A Withdrawn JP2005057409A (en) | 2003-08-01 | 2003-08-01 | Data receiving system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005057409A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009147620A (en) * | 2007-12-13 | 2009-07-02 | Anritsu Corp | Frame delay generator |
WO2019111554A1 (en) * | 2017-12-05 | 2019-06-13 | ソニーセミコンダクタソリューションズ株式会社 | Serial data transmission device and clock reproduction device |
-
2003
- 2003-08-01 JP JP2003284689A patent/JP2005057409A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009147620A (en) * | 2007-12-13 | 2009-07-02 | Anritsu Corp | Frame delay generator |
WO2019111554A1 (en) * | 2017-12-05 | 2019-06-13 | ソニーセミコンダクタソリューションズ株式会社 | Serial data transmission device and clock reproduction device |
US11223435B2 (en) | 2017-12-05 | 2022-01-11 | Sony Semiconductor Solutions Corporation | Serial data transmission device and clock recovery device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10356527B2 (en) | Output control device, output control system, and output control method | |
JP2007194845A (en) | Content reproduction system and content reproduction method | |
JP3417392B2 (en) | Synchronous control device | |
CN110888619B (en) | Digital audio power amplifier synchronization circuit and method and electronic equipment | |
JP2007114840A (en) | Data-synchronizing device and its data-synchronizing method | |
JP2009026047A (en) | Audio processor having clock frequency dynamic automatic control function | |
US7515671B2 (en) | Method for correcting jitter of transmission data | |
JP2005057409A (en) | Data receiving system | |
CN112637102B (en) | Audio interface circuit, control method thereof and audio equipment | |
JP3952568B2 (en) | Digital audio signal transmission apparatus and digital audio signal transmission method | |
US6732200B1 (en) | Absorbing jitter during data transmission between applications operating at different frequencies | |
CN101472171B (en) | Data conversion system | |
EP1796306A1 (en) | Data communication system, data reproducing apparatus and data reproducing method | |
JP2001351366A (en) | Digital audio device | |
JP4265650B2 (en) | Data processing apparatus and image device | |
JP2005292375A (en) | Audio-reproducing device and clock-frequency control method | |
CN110166894A (en) | A kind of data processing method, output equipment and computer storage medium | |
JP2005286845A (en) | System for synchronously operating a plurality of apparatuses | |
JPH1010653A (en) | Synchronization controller | |
JP2008140434A (en) | Digital audio device and its sample rate changing method | |
JP2005278201A (en) | Data transfer apparatus, and data transfer method | |
KR101619878B1 (en) | Apparatus for playing dsd audio file using i2s transmission scheme and method thereof | |
JP2002271758A (en) | Transmitter, transmission method, receiver, receiving method, and transmitting and receiving system | |
JP2001060985A (en) | Transmitter, receiver and communication equipment | |
JP3416498B2 (en) | Server device, control method therefor, and recording medium storing server device control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20061003 |