JP2007158543A - Clock reproducing device and data receiver - Google Patents

Clock reproducing device and data receiver Download PDF

Info

Publication number
JP2007158543A
JP2007158543A JP2005348375A JP2005348375A JP2007158543A JP 2007158543 A JP2007158543 A JP 2007158543A JP 2005348375 A JP2005348375 A JP 2005348375A JP 2005348375 A JP2005348375 A JP 2005348375A JP 2007158543 A JP2007158543 A JP 2007158543A
Authority
JP
Japan
Prior art keywords
clock
synchronization
information
clock information
original
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005348375A
Other languages
Japanese (ja)
Inventor
Koji Yamazaki
晃司 山崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005348375A priority Critical patent/JP2007158543A/en
Publication of JP2007158543A publication Critical patent/JP2007158543A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a clock regenerating device in which a state does not continue that a frequency of a reproduced clock is constantly larger or smaller compared with a frequency of an original clock. <P>SOLUTION: The clock regenerating device is provided with a signal detector 101 which acquires original clock information from receiving data from a transmitting device, a VCXO 111 which outputs a regenerating clock, and a signal selector 102 which selects the original clock information as synchronization clock information used for synchronization out of the original clock information obtained by the signal detector 101. The VCXO 111 is controlled based on a divided value of a difference of an interval of the synchronization clock information obtained from the original clock information, and an interval of the acquiring time of the synchronization clock information measured by the regenerating clock by an interval of the synchronization clock information. The signal selector 102 makes a frequency select the synchronization clock information lower, if the regenerating clock approaches nearer to the original clock. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ネットワークシステムにおける音声受信装置等に備えられるクロック再生装置に関する。より詳しくは、送信側にて利用されるクロックの周波数を表すクロック情報に基づいてその送信側にて利用されるクロックと同じ周波数のクロックを再生するようにしたクロック再生装置に関する。   The present invention relates to a clock reproduction device provided in an audio reception device or the like in a network system. More specifically, the present invention relates to a clock recovery apparatus that regenerates a clock having the same frequency as that of a clock used on the transmission side based on clock information indicating the frequency of the clock used on the transmission side.

例えば、音声をデジタル化して送信する送信装置と、音声データを受信する受信装置とからなるリアルタイム伝送システムにおいて、送信装置と受信装置のクロックを同期させる必要がある。すなわち、送信装置から転送される音声データをリアルタイムに処理(例えば、再生処理)するためには、受信される音声データを送信装置にて利用されるクロック(以下、「原クロック」という)の周波数にできるだけ近い周波数(望ましくは同じ周波数)のクロックに同期させて処理する必要がある。同期制御を実現するため、上記のようなシステムでは、送信装置が原クロックの周波数を表す原クロック情報を送信し、受信装置が受信した原クロック情報に基づいて原クロックの周波数と同じ周波数のクロックを生成する。このように、クロックの同期処理を行うための伝送システムは、等間隔にクロック情報を送る送信装置と、クロック再生装置を含む受信装置と有する。   For example, in a real-time transmission system including a transmission device that digitizes and transmits audio and a reception device that receives audio data, it is necessary to synchronize the clocks of the transmission device and the reception device. That is, in order to process (for example, playback processing) audio data transferred from the transmission device in real time, the frequency of the clock (hereinafter referred to as “original clock”) used by the transmission device for the received audio data. It is necessary to perform processing in synchronization with a clock having a frequency as close as possible (preferably the same frequency). In order to realize the synchronous control, in the system as described above, the transmitting device transmits the original clock information indicating the frequency of the original clock, and the clock having the same frequency as the original clock frequency based on the original clock information received by the receiving device. Is generated. As described above, a transmission system for performing clock synchronization processing includes a transmission device that transmits clock information at equal intervals and a reception device that includes a clock recovery device.

図10は、クロック再生装置を含む受信装置の構成を示す図である。クロック再生装置は、送信装置から送信される原クロックに基づく時刻と、カウンタ405にて得られた自装置の再生クロックとの差分が小さくなるように再生クロックの周波数を制御する。これにより、クロック再生装置にて、原クロックと同じ周波数の再生クロックが生成される。   FIG. 10 is a diagram illustrating a configuration of a receiving device including a clock recovery device. The clock recovery device controls the frequency of the recovered clock so that the difference between the time based on the original clock transmitted from the transmitting device and the recovered clock of the own device obtained by the counter 405 becomes small. Thereby, the clock recovery device generates a recovery clock having the same frequency as the original clock.

このようなクロック同期処理のシステムでは、原クロックの周波数に対して再生クロックの周波数が定常的に大きいあるいは小さいという状況が継続しないように前記再生クロックの周波数制御が可能となるクロック再生装置が提案されている。   In such a clock synchronization processing system, a clock recovery device is proposed in which the frequency of the recovered clock can be controlled so that the situation where the frequency of the recovered clock is constantly larger or smaller than the frequency of the original clock does not continue. Has been.

また、再生精度を向上させるために、原クロックの送信間隔を変えるという方法も提案されている(例えば、特許文献1参照)。
特開2004−153546号公報
In order to improve reproduction accuracy, a method of changing the transmission interval of the original clock has also been proposed (see, for example, Patent Document 1).
JP 2004-153546 A

しかしながら、上記した従来のクロック再生装置では、イーサネット(登録商標)のような伝送遅延が保証されないようなネットワークでは、遅延揺らぎが発生したときにその影響の解消までかなりの時間がかかってしまう。特に、同期精度を上げるため同期間隔を長くした場合、同期に用いたクロック情報が遅延揺らぎの影響を受けた場合には、その影響が更に大きくなってしまう。   However, in the conventional clock recovery apparatus described above, in a network where transmission delay is not guaranteed, such as Ethernet (registered trademark), when delay fluctuation occurs, it takes a considerable time to eliminate the influence. In particular, when the synchronization interval is lengthened in order to increase the synchronization accuracy, when the clock information used for synchronization is affected by delay fluctuation, the influence is further increased.

また、原クロック情報の送信間隔を動的に変えようとした場合、1対1の送受信関係であればよいが、全ての受信装置が同一のタイミングで制御される1対多の伝送では、送信間隔の変更を複数台の受信装置に対して適用することが出来ない。さらに、送信装置または受信装置を追加・削除した場合に、タイミングのずれが大きくなってしまうという課題がある。   Further, when the transmission interval of the original clock information is dynamically changed, the transmission / reception relationship may be one-to-one, but in one-to-many transmission in which all the receiving devices are controlled at the same timing, transmission is performed. The change in interval cannot be applied to a plurality of receiving apparatuses. Furthermore, there is a problem that when the transmission device or the reception device is added / deleted, the timing shift becomes large.

本発明は、前述したような問題を解決するためになされたもので、原クロックの周波数に対して再生クロックの周波数が定常的に大きいあるいは小さいという状況が継続しないようにし、遅延揺らぎの影響を小さくすることのできる再生クロックの周波数制御が可能となるクロック再生装置およびこのクロック再生装置が適用されるデータ受信装置を提供することを目的とする。   The present invention has been made to solve the above-described problems, and prevents the situation where the frequency of the recovered clock is constantly larger or smaller than the frequency of the original clock from continuing, and the influence of delay fluctuations is avoided. It is an object of the present invention to provide a clock recovery device that can control the frequency of a recovered clock that can be reduced, and a data receiving device to which the clock recovery device is applied.

本発明のクロック再生装置は、送信装置から受信中のデータから、前記送信装置のクロックに関する原クロック情報を取得する原クロック情報取得手段と、再生クロックを出力する再生クロック出力手段と、前記原クロック情報取得手段にて取得した原クロック情報の中から、同期合わせに用いる同期合わせ用クロック情報として所定の頻度で原クロック情報を選択する同期合わせ用クロック選択手段と、原クロック情報から求められる送信装置のクロックに基づく前記同期合わせ用クロック情報の間隔と、前記再生クロックにより計測される前記同期合わせ用クロック情報の取得時間の間隔との差を、前記同期合わせ用クロック情報の間隔で除した値に基づいて、前記再生クロック出力手段を制御する制御手段とを備え、前記同期合わせ用クロック選択手段は、前記制御手段による制御により前記再生クロックが前記原クロックに近づくに従って、前記同期合わせ用クロック情報を選択する頻度を低くする構成を有する。   The clock recovery device of the present invention comprises: original clock information acquisition means for acquiring original clock information relating to the clock of the transmission device from data being received from the transmission device; recovered clock output means for outputting a recovery clock; and the original clock Synchronization clock selection means for selecting original clock information at a predetermined frequency as synchronization clock information used for synchronization from the original clock information acquired by the information acquisition means, and a transmission device obtained from the original clock information The difference between the interval of the synchronization clock information based on the clock and the acquisition time interval of the synchronization clock information measured by the recovered clock is divided by the interval of the synchronization clock information. And a control means for controlling the reproduction clock output means, and for the synchronization adjustment Lock selection means in accordance with the reproduction clock under the control of the control means approaches the original clock has a configuration to reduce the frequency of selecting the clock information for laminated the synchronization.

この構成により、同期動作初期においては原クロック情報の取得に応じて同期制御を行って再生クロックを原クロックに迅速に近づける。再生クロックが原クロックに近づくに従って、同期合わせ用クロック情報を選択する頻度を小さくし、同期合わせ用クロック情報の選択間隔を大きくするので、次第に同期精度を高めることができる。すなわち、選択する頻度を低くすることにより、同期合わせ用クロック情報の間隔が大きくなる。この大きくなった間隔で除した値で同期制御することにより、許容される誤差が小さくなるので、同期の精度を高めることができる。   With this configuration, at the initial stage of the synchronization operation, synchronization control is performed in accordance with acquisition of the original clock information, and the recovered clock is quickly brought close to the original clock. As the recovered clock approaches the original clock, the frequency of selecting the synchronization clock information is reduced and the selection interval of the synchronization clock information is increased, so that the synchronization accuracy can be gradually increased. In other words, by reducing the frequency of selection, the interval of synchronization clock information is increased. By performing the synchronization control with the value divided by the increased interval, the allowable error is reduced, so that the synchronization accuracy can be improved.

クロック再生装置がこのような構成を有することにより、送信側では、原クロック情報を送信するだけで、受信側でそれぞれのクロック再生装置に合った同期制御を行うことができる。従って、送信側で原クロックの動作中にクロック再生装置を追加および削除を行うことが可能である。また、送信側は、原クロック情報をブロードキャスト、マルチキャスト手法によって送信することができ、クロック再生の対象となる装置が増えても送信側の負荷が増えることはない。   Since the clock recovery device has such a configuration, the transmission side can perform synchronization control suitable for each clock recovery device only by transmitting the original clock information. Accordingly, it is possible to add and delete the clock recovery device during the operation of the original clock on the transmission side. Further, the transmission side can transmit the original clock information by broadcast and multicast methods, and even if the number of devices to be clock-recovered increases, the load on the transmission side does not increase.

本発明のクロック再生装置において、前記同期合わせ用クロック選択手段は、前記再生クロック出力手段にて出力される再生クロックと前記同期合わせ用クロック情報を選択する所定の頻度とから、前記同期合わせ用クロック情報として選択されるべき原クロック情報を受信するタイミングを予測し、予測したタイミングに原クロック情報を受信できたか否かを判定する構成を有する。   In the clock recovery device according to the present invention, the synchronization clock selection means includes the synchronization clock based on the recovery clock output from the recovery clock output means and a predetermined frequency for selecting the synchronization clock information. The timing for receiving the original clock information to be selected as information is predicted, and it is determined whether or not the original clock information has been received at the predicted timing.

この構成により、予測したタイミングに原クロック情報を受信できたか否かを判定するので、原クロック情報が送信される過程でのネットワークの状況による通信遅れなどを判定できる。   With this configuration, since it is determined whether or not the original clock information has been received at the predicted timing, it is possible to determine a communication delay or the like due to a network condition in the process of transmitting the original clock information.

本発明のクロック再生装置において、前記同期合わせ用クロック選択手段は、前記予測したタイミングを含む所定の範囲内に前記原クロック情報を取得した場合には、予測したタイミングに原クロック情報を受信できたと判定する構成を有する。   In the clock recovery device of the present invention, when the synchronization clock selection unit has acquired the original clock information within a predetermined range including the predicted timing, it can receive the original clock information at the predicted timing. It has a configuration for determining.

この構成により、送信装置との間のネットワークの輻輳等によって原クロック情報の受信間隔に多少の変動が生じた場合にも、正常に受信できたものとして扱うことができる。この所定の範囲については、ネットワークの特性などに応じて適宜設定することができる。   With this configuration, even when a slight fluctuation occurs in the reception interval of the original clock information due to network congestion with the transmission device, it can be treated as being normally received. About this predetermined range, it can set suitably according to the characteristic of a network.

本発明のクロック再生装置において、前記同期合わせ用クロック選択手段は、予測したタイミングに原クロック情報を受信できない事象が所定の回数連続した場合には、前記同期合わせ用クロック情報を選択する頻度を初期値に設定する構成を有する。   In the clock recovery device according to the present invention, the synchronization clock selection unit initially sets a frequency of selecting the synchronization clock information when an event in which the original clock information cannot be received continues for a predetermined number of times at a predicted timing. It has the structure set to a value.

この構成により、予測したタイミングに原クロック情報を受信できない事象が連続する場合は、それまでデータを送信していた送信装置から他の送信装置に切り替わった可能性があるので、同期合わせ用クロック情報を選択する頻度を初期値に設定し、頻度の高い同期制御を行って、再生クロックを原クロックに迅速に近づける。   With this configuration, if there are consecutive events that cannot receive the original clock information at the predicted timing, there is a possibility that the transmitting device that previously transmitted the data has switched to another transmitting device. Is set to an initial value, synchronous control with high frequency is performed, and the recovered clock is quickly brought close to the original clock.

本発明のクロック再生装置において、前記同期合わせ用クロック選択手段は、前記制御手段に対し、前記同期合わせ用クロック情報を選択したタイミングを通知し、前記制御手段は、前記同期合わせ用クロック選択手段から通知されたタイミングで、前記再生クロック出力手段から出力される再生クロックをカウントすることにより、前記同期合わせ用クロック情報の取得時間を計測する構成を有する。   In the clock recovery device of the present invention, the synchronization clock selection unit notifies the control unit of the timing at which the synchronization clock information is selected, and the control unit receives the synchronization clock selection unit from the synchronization clock selection unit. It is configured to measure the acquisition time of the synchronization clock information by counting the recovered clock output from the recovered clock output means at the notified timing.

この構成により、再生クロック出力手段から出力された再生クロックにより、同期合わせ用クロック情報の取得時間を計測することができる。   With this configuration, it is possible to measure the acquisition time of the clock information for synchronization alignment using the recovered clock output from the recovered clock output means.

本発明のクロック再生装置において、前記制御手段は、原クロック情報から求められる送信装置のクロックに基づく前記同期合わせ用クロック情報の間隔と前記再生クロックにより計測される前記同期合わせ用クロック情報の取得時間の間隔との差を求める減算手段と、前記減算手段で求めた差を前記同期合わせ用クロック情報の間隔で除する除算手段と、前記除算手段にて求めた値を積算する積算手段とを備え、前記除算手段にて求めた値または前記積算手段にて求めた値に基づいて前記再生クロック出力手段を制御する構成を有する。   In the clock recovery device of the present invention, the control means includes an interval of the synchronization clock information based on the clock of the transmission device obtained from the original clock information and an acquisition time of the synchronization clock information measured by the recovery clock. Subtracting means for obtaining a difference from the interval, a dividing means for dividing the difference obtained by the subtracting means by an interval of the clock information for synchronization, and an integrating means for integrating the values obtained by the dividing means. The reproduction clock output means is controlled based on the value obtained by the dividing means or the value obtained by the integrating means.

この構成により、除算手段にて求めた値、または除算手段にて求めた値を積算した値に基づいて、再生クロック出力手段を制御するので、状況に応じて適切に再生クロック出力手段を制御できる。   With this configuration, since the reproduction clock output unit is controlled based on the value obtained by the division unit or the value obtained by integrating the values obtained by the division unit, the reproduction clock output unit can be appropriately controlled according to the situation. .

本発明のクロック再生装置において、前記制御手段は、前記積算手段にて得られる値が所定の範囲内であるか否かを判定し、前記所定の範囲内であると所定回数連続して判定された場合に、前記同期合わせ用クロック情報を選択する頻度を低くする構成を有する。   In the clock recovery device of the present invention, the control means determines whether or not the value obtained by the integrating means is within a predetermined range, and continuously determines that the value is within the predetermined range a predetermined number of times. In this case, the frequency of selecting the synchronization clock information is reduced.

この構成により、積算手段にて得られる積算値に基づいて、所定の精度の同期合わせがなされたか否かを判定するので、原クロックと再生クロックの各周波数の累積的な大小関係に基づいて再生クロック出力手段を制御することができる。   With this configuration, since it is determined whether or not synchronization with a predetermined accuracy has been performed based on the integrated value obtained by the integrating means, reproduction is performed based on the cumulative magnitude relationship between the frequencies of the original clock and the recovered clock. The clock output means can be controlled.

本発明のクロック再生装置において、前記制御手段は、前記積算手段にて求めた値が所定の範囲内であるか否かを判定し、前記所定の範囲内ではないと判定された場合に、前記除算手段にて求めた値に基づいて前記再生クロック出力手段を制御する構成を有する。   In the clock recovery device of the present invention, the control means determines whether or not the value obtained by the integrating means is within a predetermined range, and when it is determined that the value is not within the predetermined range, The reproduction clock output means is controlled based on the value obtained by the division means.

積算手段にて求めた値が所定の範囲内にない場合には、送信装置が切り替わった可能性があるので、以前に取得した同期合わせ用原クロック情報を積算しないことにより、切替え前の送信装置の原クロック情報に影響を受けない制御を行える。   If the value obtained by the integrating means is not within the predetermined range, the transmitting device may have been switched. Therefore, by not integrating the previously acquired synchronization original clock information, the transmitting device before switching Can be controlled without being affected by the original clock information.

本発明のクロック再生装置において、前記制御手段は、前記除算手段にて求めた値に基づいて前記再生クロック出力手段を制御する場合に、前記積算手段にて求めた値を前記除算手段で求めた値で初期化する構成を有する。   In the clock recovery device of the present invention, when the control means controls the recovered clock output means based on the value obtained by the dividing means, the value obtained by the integrating means is obtained by the dividing means. It has a configuration that initializes with a value.

この構成により、積算手段にて求めた値を除算手段で求めた値で初期化することにより、次に積算値を判定する場合に、切替え前の送信装置の原クロック情報に影響を受けない制御を行える。   With this configuration, by initializing the value obtained by the integrating means with the value obtained by the dividing means, the next time the integrated value is determined, the control is not affected by the original clock information of the transmitting device before switching. Can be done.

本発明の別の態様に係るクロック再生装置は、送信装置から受信中のデータから、前記送信装置のクロックに関する原クロック情報を取得する原クロック情報取得手段と、再生クロックを出力する再生クロック出力手段と、前記原クロック情報取得手段にて取得した原クロック情報の中から、同期合わせに用いる同期合わせ用クロック情報として所定の頻度で原クロック情報を選択する同期合わせ用クロック選択手段と、原クロック情報から求められる送信装置のクロックに基づく前記同期合わせ用クロック情報の間隔と、前記再生クロックにより計測される前記同期合わせ用クロック情報の取得時間の間隔との差を、前記同期合わせ用クロック情報の間隔で除した値がゼロに近づくように前記再生クロック出力手段を制御する制御手段とを備え、前記同期合わせ用クロック選択手段は、前記制御手段による制御により前記再生クロックが前記原クロックに近づくに従って、前記同期合わせ用クロック情報を選択する頻度を低くする構成を有する。   A clock recovery device according to another aspect of the present invention comprises: original clock information acquisition means for acquiring original clock information related to the clock of the transmission device from data being received from the transmission device; and recovered clock output means for outputting a recovery clock. Synchronization clock selection means for selecting the original clock information at a predetermined frequency as the synchronization clock information used for synchronization from the original clock information acquired by the original clock information acquisition means, and the original clock information A difference between the interval of the synchronization clock information based on the clock of the transmission device obtained from the above and the interval of the acquisition time of the synchronization clock information measured by the recovered clock is the interval of the synchronization clock information. Control means for controlling the reproduction clock output means so that the value divided by 0 approaches zero. For example, clock selection means for mating said synchronization in accordance with the reproduction clock under the control of the control means approaches the original clock has a configuration to reduce the frequency of selecting the clock information for laminated the synchronization.

この構成により、同期動作初期においては原クロック情報の取得に応じて同期制御を行って再生クロックを原クロックに迅速に近づける。再生クロックが原クロックに近づくに従って、同期合わせ用クロック情報を選択する頻度を小さくし、同期合わせ用クロック情報の選択間隔を大きくし、次第に同期精度を高めることができる。また、この構成により、原クロックと再生クロックの差をなくすように再生クロックの周波数が制御される。   With this configuration, at the initial stage of the synchronization operation, synchronization control is performed in accordance with acquisition of the original clock information, and the recovered clock is quickly brought close to the original clock. As the recovered clock approaches the original clock, the frequency of selecting the synchronization clock information can be reduced, the selection interval of the synchronization clock information can be increased, and the synchronization accuracy can be gradually increased. Also, with this configuration, the frequency of the recovered clock is controlled so as to eliminate the difference between the original clock and the recovered clock.

本発明のデータ受信装置は、送信装置から所定のネットワークを介して転送されるデータを受信する受信部と、再生クロックを生成するクロック再生部と、前記受信部にて受信されたデータを一時的に蓄積するバッファと、前記バッファに蓄積されたデータを前記クロック再生部にて生成される再生クロックに同期して処理するデータ処理部とを有し、前記クロック再生部は、上記のクロック再生装置を備えた構成を有する。   The data receiving device of the present invention includes a receiving unit that receives data transferred from a transmitting device via a predetermined network, a clock recovery unit that generates a recovered clock, and temporarily receives data received by the receiving unit. And a data processing unit for processing the data stored in the buffer in synchronization with a reproduction clock generated by the clock recovery unit, the clock recovery unit comprising the clock recovery device described above It has the composition provided with.

この構成により、本発明のクロック再生装置と同様に、同期動作初期においては再生クロックを原クロックに迅速に近づけ、再生クロックが原クロックに近づくに従って次第に同期精度を高めることができる。この同期制御により、再生クロックに同期してリアルタイムに処理されるデータの量と、送信装置から転送されるデータの量とのバランスをとることができるようになる。   With this configuration, similar to the clock recovery device of the present invention, the recovered clock can be quickly brought close to the original clock at the initial stage of the synchronous operation, and the synchronization accuracy can be gradually increased as the recovered clock approaches the original clock. This synchronization control makes it possible to balance the amount of data processed in real time in synchronization with the recovered clock and the amount of data transferred from the transmission device.

本発明によれば、同期動作初期においては頻繁に同期合わせ用クロック情報を用いて同期制御を行って再生クロックを原クロックに迅速に近づけると共に、再生クロックが原クロックに近づくに従って、同期合わせ用クロック情報を選択する頻度を小さくし、同期合わせ用クロック情報の間隔を大きくし、次第に同期精度を高めることができるというすぐれた効果を有する。   According to the present invention, at the initial stage of the synchronization operation, synchronization control is frequently performed using the synchronization clock information to quickly bring the recovered clock close to the original clock, and as the recovered clock approaches the original clock, the synchronization clock There is an excellent effect that the frequency of selecting information is reduced, the interval of the synchronization clock information is increased, and the synchronization accuracy can be gradually increased.

以下、本発明の実施の形態のクロック再生装置および受信装置について、図面を用いて説明する。   Hereinafter, a clock recovery device and a receiving device according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施の形態のクロック再生装置の構成を示す図である。図1を用いてクロック再生装置について詳細に説明する前に、本発明のクロック再生装置が適用されるデータ受信装置について説明する。   FIG. 1 is a diagram illustrating the configuration of the clock recovery device according to the present embodiment. Before describing the clock recovery device in detail with reference to FIG. 1, a data reception device to which the clock recovery device of the present invention is applied will be described.

図2は、本発明の第1の実施の形態に係るクロック再生装置が搭載されるデータ受信装置10の構成を示す図である。このデータ受信装置10は、例えば、送信装置から送信される音声データをリアルタイムに再生処理する。   FIG. 2 is a diagram illustrating a configuration of the data receiving device 10 in which the clock recovery device according to the first embodiment of the present invention is mounted. For example, the data receiving device 10 reproduces audio data transmitted from the transmitting device in real time.

図2に示すように、データ受信装置10は、受信部11、入力処理部12、本発明に係るクロック再生装置の実施の一形態としてのクロック再生部13、バッファ14及び再生処理部15を有する。   As shown in FIG. 2, the data receiving apparatus 10 includes a receiving unit 11, an input processing unit 12, a clock reproduction unit 13, a buffer 14, and a reproduction processing unit 15 as an embodiment of the clock reproduction device according to the present invention. .

受信部11は、送信装置から所定のネットワークを介して順次転送されるデータを受信し、受信したデータを原クロック情報と音声データとに分離する。入力処理部12は、受信部11にて受信された音声データを所定の形式に変換してバッファ14に供給する。バッファ14は、所定の形式の音声データを蓄積する。クロック再生部13は、受信部11にて受信されたデータから原クロック情報を受け取り、これに基づいて周波数調整のなされた再生クロックを出力する。再生処理部15は、バッファ14に蓄積された音声データをクロック再生部13から出力される再生クロックに同期して再生処理(復号処理等)を行い、音声データを出力する。   The receiving unit 11 receives data sequentially transferred from a transmitting device via a predetermined network, and separates the received data into original clock information and audio data. The input processing unit 12 converts the audio data received by the receiving unit 11 into a predetermined format and supplies the converted data to the buffer 14. The buffer 14 stores audio data in a predetermined format. The clock recovery unit 13 receives the original clock information from the data received by the reception unit 11, and outputs a recovered clock whose frequency is adjusted based on the original clock information. The reproduction processing unit 15 performs reproduction processing (decoding processing or the like) on the audio data stored in the buffer 14 in synchronization with the reproduction clock output from the clock reproduction unit 13, and outputs audio data.

図1を参照して、クロック再生部13を構成する本実施の形態のクロック再生装置について説明する。クロック再生装置は、信号検出器101と、信号選択器102と、制御情報生成部120と、デジタルアナログ変換器(以下、「D/A変換器」という)109と、ローパスフィルタ(以下、「LPF」という)110と、可変周波数発振器(以下、「VCXO」という)111とを備えている。   With reference to FIG. 1, the clock recovery apparatus of the present embodiment constituting the clock recovery unit 13 will be described. The clock recovery device includes a signal detector 101, a signal selector 102, a control information generation unit 120, a digital-analog converter (hereinafter referred to as “D / A converter”) 109, and a low-pass filter (hereinafter referred to as “LPF”). ”110 and a variable frequency oscillator (hereinafter referred to as“ VCXO ”) 111.

信号検出器101は、送信装置から受信中のデータから、原クロック情報を検出する機能を有する。送信装置から受信するデータには、再生すべきコンテンツなどのデータと共に、送信装置のクロック情報を示す原クロック情報が含まれている。本実施の形態では、原クロック情報は、基準時刻と通し番号とから構成される。基準時刻は、送信装置からのデータ送信が開始した時刻を「0」としたときの経過時刻を示す。通し番号は、先頭から何番目の原クロック情報であるかを示す。   The signal detector 101 has a function of detecting original clock information from data being received from the transmission device. The data received from the transmission device includes original clock information indicating the clock information of the transmission device together with data such as content to be reproduced. In the present embodiment, the original clock information is composed of a reference time and a serial number. The reference time indicates an elapsed time when the time at which data transmission from the transmission device is started is “0”. The serial number indicates the number of original clock information from the beginning.

信号選択器102は、信号検出器101にて検出された原クロック情報のうちから所定の選択頻度で原クロック情報を選択する機能を有する。信号選択器102によって選択された原クロック情報は、再生クロックの同期合わせに用いられる。信号選択器102が所定の頻度で選択する原クロック情報を「同期合わせ用クロック情報」という。   The signal selector 102 has a function of selecting original clock information with a predetermined selection frequency from the original clock information detected by the signal detector 101. The original clock information selected by the signal selector 102 is used for synchronization of the recovered clock. The original clock information selected by the signal selector 102 at a predetermined frequency is referred to as “synchronization clock information”.

制御情報生成部120は、同期合わせ用クロック情報に基づいて、再生クロックを制御する制御情報を生成する機能を有する。制御情報生成部120がD/A変換器109に制御情報を入力すると、D/A変換器109は制御情報を制御電圧に変換する。D/A変換器109は、変換された制御電圧をLPF110を介してVCXO111に供給する。VCXO111は、LPF110を介して供給される制御電圧に応じて周波数制御された再生クロックを出力する。   The control information generation unit 120 has a function of generating control information for controlling the recovered clock based on the synchronization clock information. When the control information generation unit 120 inputs control information to the D / A converter 109, the D / A converter 109 converts the control information into a control voltage. The D / A converter 109 supplies the converted control voltage to the VCXO 111 via the LPF 110. The VCXO 111 outputs a reproduction clock whose frequency is controlled in accordance with a control voltage supplied via the LPF 110.

次に、制御情報生成部120の詳しい構成について説明する。制御情報生成部120は、減算器103、除算器104、積算器105、積算値評価部106、ラッチ回路107及びカウンタ108を有している。   Next, a detailed configuration of the control information generation unit 120 will be described. The control information generation unit 120 includes a subtractor 103, a divider 104, an integrator 105, an integrated value evaluation unit 106, a latch circuit 107, and a counter 108.

制御情報生成部120は、信号選択器102にて同期合わせ用クロック情報が選択されたタイミングで一連の処理を開始する。すなわち、信号選択器102は、同期合わせ用クロック情報の選択タイミングに同期した信号を生成し、その同期信号を制御情報生成部120に供給する。この同期信号が制御情報生成部120の処理のトリガとなる。   The control information generation unit 120 starts a series of processes at the timing when the synchronization selector clock information is selected by the signal selector 102. That is, the signal selector 102 generates a signal synchronized with the selection timing of the clock information for synchronization alignment and supplies the synchronization signal to the control information generation unit 120. This synchronization signal is a trigger for the processing of the control information generation unit 120.

減算器103は、信号選択器102にて選択された同期合わせ用クロック情報に基づく送信装置のクロックによる間隔と、再生クロックにより計測される同期合わせ用クロック情報の取得時間の間隔との差を求める。同期合わせ用クロック情報の取得時間は、再生クロックをカウントするカウンタ108のカウント値によって求める。すなわち、信号選択器120から、同期合わせ用クロック情報を選択したタイミングを示す信号が通知されたタイミングで、再生クロックのカウント値を求める。これにより、信号選択器102が、同期合わせ用クロック情報を取得した時刻を再生クロックにより計測することができる。同期合わせ用クロック情報に基づく送信装置のクロックによる間隔と、実際に同期合わせ用クロック情報を取得した時間間隔の差分を求めることにより、両者のずれを検出できる。   The subtractor 103 obtains a difference between the interval of the transmission device clock based on the synchronization clock information selected by the signal selector 102 and the interval of acquisition time of the synchronization clock information measured by the recovered clock. . The acquisition time of the clock information for synchronization is obtained from the count value of the counter 108 that counts the reproduction clock. That is, the count value of the reproduction clock is obtained at the timing when the signal selector 120 is notified of a signal indicating the timing at which the synchronization clock information is selected. As a result, the time when the signal selector 102 acquires the clock information for synchronization can be measured with the recovered clock. By obtaining the difference between the interval by the clock of the transmitter based on the clock information for synchronization and the time interval at which the clock information for synchronization is actually acquired, the difference between them can be detected.

除算器104は、減算器103にて算出された差分を、同期合わせ用クロック情報の間隔で除する機能を有する。同期合わせ用クロック情報の間隔(選択間隔)は、信号選択器102にて選択頻度の情報と原クロック情報の基準時刻とから求められ、信号選択器102から送信される。   The divider 104 has a function of dividing the difference calculated by the subtractor 103 by the interval of the clock information for synchronization alignment. The interval (selection interval) of the clock information for synchronization is obtained from the selection frequency information and the reference time of the original clock information by the signal selector 102 and transmitted from the signal selector 102.

積算器105は、除算器104にて同期信号に同期して得られる値を積算し、積算値を出力する。この積算値は、送信装置にて利用される原クロックの周波数と再生クロックの周波数との累積的な大小関係を表す。すなわち、原クロックが再生クロックより速い状態が長く続くと、その積算値は正の値となり、逆に、再生クロックが原クロックより大きくなる状態が長く続くと、その積算値は負の値となる。   The integrator 105 integrates the values obtained by the divider 104 in synchronization with the synchronization signal, and outputs the integrated value. This integrated value represents the cumulative magnitude relationship between the frequency of the original clock and the frequency of the recovered clock used in the transmission apparatus. That is, when the state where the original clock is faster than the recovered clock continues for a long time, the integrated value becomes a positive value. Conversely, when the state where the recovered clock becomes larger than the original clock continues for a long time, the integrated value becomes a negative value. .

積算評価部106は、積算器105にて得られる積算値が所定の範囲内(しきい値Th+としきい値Th−との間の範囲)にあるか否かを判定し、その判定結果に基づいて、積算器105にて得られる積算値及び除算器104にて得られる値のいずれかを制御情報として出力する。積算値評価部106は、更に、制御情報を出力する際に、積算器105にリセット信号を送り、今まで得られていた積算値を除算器104にて得られている値に初期化(リセット)する。   Integration evaluation unit 106 determines whether or not the integrated value obtained by integrator 105 is within a predetermined range (a range between threshold value Th + and threshold value Th−), and based on the determination result. Thus, either the integrated value obtained by the integrator 105 or the value obtained by the divider 104 is output as control information. The integrated value evaluation unit 106 further sends a reset signal to the integrator 105 when outputting the control information, and initializes the integrated value obtained so far to the value obtained by the divider 104 (reset). )

積算値評価部106から出力された制御情報は、ラッチ107にてラッチされ、D/A変換器109に供給される。D/A変換器109は、入力された制御情報を、所定の分解能で制御電圧に変換し、その制御電圧をLPF110を介してVCXO111に供給する。VCXO111は、D/A変換器109から供給される制御電圧に応じて周波数制御のなされた再生クロックを出力する。   The control information output from the integrated value evaluation unit 106 is latched by the latch 107 and supplied to the D / A converter 109. The D / A converter 109 converts the input control information into a control voltage with a predetermined resolution, and supplies the control voltage to the VCXO 111 via the LPF 110. The VCXO 111 outputs a reproduction clock whose frequency is controlled according to the control voltage supplied from the D / A converter 109.

図3を参照して、信号選択器102のデータの流れについて説明する。信号選択器102は、最初に、原クロック情報を受け取ったときに、受け取った原クロック情報に含まれる基準時刻および通し番号と、その原クロック情報を受信した時刻(再生クロックに基づく時刻)を原クロック情報記憶部301に記憶する。   The data flow of the signal selector 102 will be described with reference to FIG. When the signal selector 102 first receives the original clock information, the reference clock and serial number included in the received original clock information and the time when the original clock information is received (time based on the recovered clock) The information is stored in the information storage unit 301.

信号選択器102は、受信した原クロック情報から同期合わせに用いるための同期合わせ用クロック情報を所定の頻度で選択する。図4は、同期合わせ用クロック情報の取得例を示す図である。本実施の形態のクロック再生装置では、信号選択器102は、同期動作の初期状態においては、頻繁に同期合わせ用クロック情報を選択し、再生クロックが原クロックと合ってくるに従って、同期合わせ用クロック情報の選択の頻度を低くする。   The signal selector 102 selects synchronization clock information to be used for synchronization from the received original clock information at a predetermined frequency. FIG. 4 is a diagram illustrating an example of acquisition of clock information for synchronization. In the clock recovery device of the present embodiment, the signal selector 102 frequently selects the synchronization clock information in the initial state of the synchronization operation, and the synchronization clock as the recovered clock matches the original clock. Reduce the frequency of information selection.

また、信号選択器102は、同期合わせ用クロック情報として次に選択すべきクロック情報を受信するタイミングを予測する。信号選択器102は、同期合わせ用クロック情報の選択頻度と、クロック情報記憶部301に記憶された原クロック情報の基準時刻から同期合わせ用クロック情報として次に選択すべき原クロック情報の受信時刻を予測する。   Further, the signal selector 102 predicts the timing for receiving the clock information to be selected next as the synchronization clock information. The signal selector 102 selects the reception time of the original clock information to be selected next as the synchronization clock information from the selection frequency of the synchronization clock information and the reference time of the original clock information stored in the clock information storage unit 301. Predict.

図5は、信号選択器102によって予測された受信時刻を示す図である。図5に示すように、予想受信時刻を中心とする時間幅2Wの範囲を、原クロック情報を受信するための有効範囲とする。なお、図5では、有効範囲は、予想受信時刻の前後の時間幅Wが同じ長さによって構成されているが、前後の時間幅Wを異なる値としてもよい。また、時間幅Wは、同期合わせ用クロック情報の選択頻度によって異なる値としてもよい。   FIG. 5 is a diagram illustrating the reception time predicted by the signal selector 102. As shown in FIG. 5, the range of time width 2W centered on the expected reception time is set as an effective range for receiving the original clock information. In FIG. 5, the effective range is configured with the same length of the time width W before and after the expected reception time, but the time width W before and after may be a different value. The time width W may be a value that varies depending on the selection frequency of the clock information for synchronization.

信号選択器102は、予測した有効範囲に原クロック情報を受信したときに、その原クロック情報を同期合わせ用クロック情報として選択し、それ以外の場合には原クロック情報を受信しても無効な原クロック情報として無視する。同期合わせ用クロック情報を選択した場合には、信号選択器102は、選択したタイミングを制御情報生成部120に伝え、その原クロック情報を減算器103に、選択間隔を除算器104に伝える。   When the signal selector 102 receives the original clock information within the predicted effective range, the signal selector 102 selects the original clock information as the synchronization clock information. In other cases, the signal selector 102 is invalid even if the original clock information is received. Ignored as original clock information. When the clock information for synchronization is selected, the signal selector 102 transmits the selected timing to the control information generation unit 120, and transmits the original clock information to the subtracter 103 and the selection interval to the divider 104.

有効範囲の時間内に原クロック情報を受信しなかった場合、本来受けられるはずであったクロック情報が来なかったとみなし、信号選択器102は、未受信回数カウンタ302をカウントする。未受信回数カウンタ302は、原クロック情報を正常に処理できた時に初期化される。未受信回数カウンタ302が規定値を超えた場合、追従元の送信装置を失ったものとして、信号選択器102全体を初期化する。   When the original clock information is not received within the time of the effective range, it is considered that the clock information that should have been received is not received, and the signal selector 102 counts the unreceived number counter 302. The unreceived number counter 302 is initialized when the original clock information can be processed normally. When the unreceived number counter 302 exceeds a specified value, the entire signal selector 102 is initialized as if the follow-up transmission device has been lost.

信号選択器102は、図5に示すように正常受信が続く場合に、その同期合わせ用クロック情報の選択の頻度を低くしてもよい。これにより、同期合わせ用クロック情報の間隔が大きくなり、除算器104が大きい値で除算を行うことになるので、クロックの追従精度を高めることができる。複数の受信装置が存在する場合、各受信装置における選択頻度は、異なっていてもよい。   The signal selector 102 may reduce the frequency of selection of the clock information for synchronization when normal reception continues as shown in FIG. As a result, the interval of the clock information for synchronization adjustment becomes large, and the divider 104 performs division by a large value, so that the clock tracking accuracy can be improved. When there are a plurality of receiving apparatuses, the selection frequency in each receiving apparatus may be different.

図6は、信号選択器102が原クロック情報を検出した際の動作を示す図である。信号選択器102は、クロック情報を検出した時、予想受信時刻が定義されているかどうかを確認し(S1)、未定義であれば(S1でYES)、クロック情報を受信した現在の時刻を元に、次回の予想受信時刻を設定する(S2)。予想受信時刻が定義されていた場合(S1でNO)、そのタイミングが予想受信時刻の有効範囲内であるかどうかを調べる(S3)。予想受信時刻の有効範囲外である場合は(S3でNO)、極端なずれ、もしくは選択対象外とみなし、そのクロック情報を無視する(S4)。クロック情報が有効範囲内であった場合は(S3でYES)、次回の予想受信時刻を更新し(S5)、選択間隔を除算器104に送出し、原クロック情報を減算器103に送出し、選択タイミングを示す信号を制御情報生成部120に送出する(S6)。その後、必要に応じ選択頻度を更新し(S7)、選択頻度および未受信回数カウンタを初期化する(S8)。   FIG. 6 is a diagram showing an operation when the signal selector 102 detects the original clock information. When the signal selector 102 detects the clock information, the signal selector 102 checks whether or not the expected reception time is defined (S1). If it is undefined (YES in S1), the signal selector 102 uses the current time when the clock information is received as a source. Next, the next expected reception time is set (S2). If the expected reception time is defined (NO in S1), it is checked whether the timing is within the valid range of the expected reception time (S3). If it is outside the valid range of the expected reception time (NO in S3), it is regarded as an extreme deviation or not selected, and the clock information is ignored (S4). If the clock information is within the valid range (YES in S3), the next expected reception time is updated (S5), the selection interval is sent to the divider 104, and the original clock information is sent to the subtractor 103. A signal indicating the selection timing is sent to the control information generation unit 120 (S6). Thereafter, the selection frequency is updated as necessary (S7), and the selection frequency and the unreceived number counter are initialized (S8).

図7は、信号選択器102が、予想受信時刻の有効範囲内にクロック情報が得られなかった場合の動作を示す図である。原クロック情報を受信することなく予想受信時刻から時間幅Wが経過したときに、未受信回数カウンタ302を加算し(S11)、未受信回数カウンタ302が規定回数を超えているかどうかを判定する(S12)。規定回数を超えていなければ(S12でNO)、自クロックを使用して次回の予想受信時刻を更新する(S15)。規定回数を超えていれば、クロック追従元の送信装置を失ったとして予想受信時刻を初期化して未定義とし(S13)、選択頻度も初期化する(S14)。   FIG. 7 is a diagram illustrating an operation when the signal selector 102 cannot obtain clock information within the valid range of the expected reception time. When the time width W has elapsed from the expected reception time without receiving the original clock information, the non-reception number counter 302 is added (S11), and it is determined whether or not the non-reception number counter 302 exceeds the specified number ( S12). If the specified number of times has not been exceeded (NO in S12), the next expected reception time is updated using the own clock (S15). If the specified number of times is exceeded, it is assumed that the clock tracking source transmitter has been lost, the expected reception time is initialized to be undefined (S13), and the selection frequency is also initialized (S14).

以下、信号選択器102は、クロック情報を信号検出器101から受け取るか、有効範囲の時間が経過したときに前述した一連の動きでクロック情報を選択する。   Hereinafter, the signal selector 102 receives the clock information from the signal detector 101 or selects the clock information by the above-described series of operations when the time in the effective range has elapsed.

制御情報生成部120は、信号選択器102から選択タイミングを示す信号を受信する毎に制御情報を生成する。そして、その制御情報に基づいてVCXO111から出力される再生クロックの周波数が原クロックの周波数に近づくように制御される。   The control information generation unit 120 generates control information every time a signal indicating selection timing is received from the signal selector 102. Based on the control information, control is performed so that the frequency of the recovered clock output from the VCXO 111 approaches the frequency of the original clock.

本実施の形態のクロック再生装置は、同期制御の初期状態においては、原クロック情報の取得に応じて同期制御を行うことにより、再生クロックを原クロックに迅速に近づけ、再生クロックが原クロックに近づくに従って、同期合わせ用クロック情報を選択する頻度を低くして次第に同期制御の精度を高めることができる。   In the initial state of synchronization control, the clock recovery device of the present embodiment performs synchronization control in response to acquisition of original clock information, thereby quickly bringing the recovered clock closer to the original clock, and the recovered clock approaches the original clock. Accordingly, it is possible to gradually increase the accuracy of the synchronization control by decreasing the frequency of selecting the synchronization clock information.

図8は、同期合わせ用クロック情報を選択する頻度を低くすると、同期合わせの精度が高くなることを説明するための説明図である。図8の上段は、送信装置における原クロック情報の送信時刻を示す図である。送信装置は、原クロックの発振に従って、原クロック情報を送信しているので、送信装置の送信タイミングは原クロックの発振に従う。図8では、原クロックは、周期Tの送信タイミングで送信している。   FIG. 8 is an explanatory diagram for explaining that the accuracy of synchronization is increased when the frequency of selecting clock information for synchronization is reduced. The upper part of FIG. 8 is a diagram illustrating the transmission time of the original clock information in the transmission device. Since the transmission device transmits the original clock information according to the oscillation of the original clock, the transmission timing of the transmission device follows the oscillation of the original clock. In FIG. 8, the original clock is transmitted at the transmission timing of period T.

図8の下段は、クロック再生装置における原クロック情報の受信タイミングを示す図である。クロック再生装置が受信する原クロック情報は、ネットワークの状況により、送信装置のクロックより若干の遅れが生じる場合があり、図8はその様子を示している。   The lower part of FIG. 8 is a diagram showing the reception timing of the original clock information in the clock recovery device. The original clock information received by the clock recovery device may be slightly delayed from the clock of the transmission device depending on the network conditions, and FIG. 8 shows this situation.

クロック再生装置が、最初の原クロック情報C1を受信した時点が、クロック再生装置の同期制御の基準となる。クロック再生装置は、2番目の原クロック情報C2を、送信装置のクロックの周期Tより時間D2だけ遅れて受信している。同様に、3番目の原クロック情報をD3、4番目の原クロック情報をD4、・・・n番目の原クロック情報をDnだけ遅れて受信している。   The time point when the clock recovery device receives the first original clock information C1 is the reference for the synchronization control of the clock recovery device. The clock recovery device receives the second original clock information C2 with a delay of time D2 from the clock cycle T of the transmission device. Similarly, the third original clock information is received with a delay of D3, the fourth original clock information with D4,..., And the nth original clock information with a delay of Dn.

以下の説明の便宜のため、図8には、(1)同期合わせ用クロック情報に基づく間隔、(2)同期合わせ用クロック情報の受信時刻に基づく間隔を表している。本実施の形態のクロック再生装置は、両方の間隔の差分((2)−(1))を、(1)同期合わせ用クロック情報に基づく間隔で除した値に基づいて制御する。   For convenience of the following description, FIG. 8 shows (1) an interval based on synchronization clock information and (2) an interval based on the reception time of synchronization clock information. The clock recovery device according to the present embodiment controls the difference between both intervals ((2)-(1)) based on the value obtained by dividing the difference based on (1) the clock information for synchronization.

同期合わせ用クロック情報として全ての原クロックを選択したとする。例えば、原クロック情報C1、C2を考えた場合、減算器103によって計算される差分は、(2T+D2)−T=T+D2であり、除算器104によって計算される値の遅延時間による影響は、D2/Tとなる。   Assume that all the original clocks are selected as the clock information for synchronization. For example, when considering the original clock information C1 and C2, the difference calculated by the subtractor 103 is (2T + D2) −T = T + D2, and the influence of the delay time of the value calculated by the divider 104 is D2 / T.

これに対し、同期合わせ用クロック情報を5つおきの頻度で選択する。例えば、原クロック情報C1、C6を考えた場合、減算器103によって計算される差分は、(6T+D6)−T=5T+D6であり、除算器104によって計算される値の遅延時間による影響は、D6/5Tとなる。   On the other hand, the clock information for synchronization is selected at a frequency of every five. For example, when considering the original clock information C1 and C6, the difference calculated by the subtractor 103 is (6T + D6) −T = 5T + D6, and the influence of the delay time of the value calculated by the divider 104 is D6 / 5T.

以上のように、同期合わせ用クロック情報を選択する頻度を低くすることにより、(1)の同期合わせ用クロック情報に基づく間隔が大きくなり、遅延時間による影響の除算器104によって計算される値が小さくなる。原クロックと再生クロックとの同期制御を行う際、遅延時間による影響が小さくなるので、原クロックに対する再生クロックの精度を高めることができる。   As described above, by reducing the frequency of selecting the synchronization clock information, the interval based on the synchronization clock information in (1) is increased, and the value calculated by the divider 104 due to the influence of the delay time is increased. Get smaller. When performing synchronization control between the original clock and the recovered clock, the influence of the delay time is reduced, so that the accuracy of the recovered clock with respect to the original clock can be increased.

図9は、本発明の第2の実施の形態に係るクロック再生装置が搭載された受信装置が適用されるネットワーク音声伝送系統を示す図である。   FIG. 9 is a diagram showing a network audio transmission system to which a receiving device equipped with a clock recovery device according to the second embodiment of the present invention is applied.

この音声伝送系統においては、音声送信装置210、211が、音源201、202から得られた音声をネットワーク220を介して送信する。音声受信装置230、231、232は、音声送信装置210、211から送信された音声を受信し、スピーカ240、241、242で再生する。   In this audio transmission system, the audio transmission devices 210 and 211 transmit audio obtained from the sound sources 201 and 202 via the network 220. The audio receiving devices 230, 231, and 232 receive the audio transmitted from the audio transmitting devices 210 and 211, and reproduce them through the speakers 240, 241, and 242.

この音声伝送系統において、音声送信装置210、211は、同一ネットワーク220に接続された音声受信装置230〜232だけでなく、中継装置221を介して、異なるネットワーク222を通る音声受信装置233、スピーカ243に伝送してもよい。   In this audio transmission system, the audio transmission devices 210 and 211 include not only the audio reception devices 230 to 232 connected to the same network 220 but also the audio reception device 233 and the speaker 243 that pass through different networks 222 via the relay device 221. May be transmitted.

音源201、202としては、例えば、CDプレーヤ、ICプレーヤ、マイクなどの装置が用いられる。スピーカ240、241、242、243としては、天井埋め込み型スピーカや、つり下げスピーカなどが用いられる。ネットワーク220、221としては、LANやWANなどを想定している。   As the sound sources 201 and 202, for example, devices such as a CD player, an IC player, and a microphone are used. As the speakers 240, 241, 242, and 243, ceiling-embedded speakers, hanging speakers, and the like are used. As the networks 220 and 221, a LAN, a WAN, or the like is assumed.

例えば音場制御のように、音声伝送系統では伝送遅延時間を制御する必要な場合がある。このような場合には、図2に示すデータ受信装置を用いるだけでなく、1台のクロックマスター装置を音声送信装置210、211の中から選び、クロックマスター装置ではないデータ送信装置を含むスレーブ装置に対して制御を行う。クロックマスター装置は、例えばIPマルチキャストで、他のクロックスレーブ装置に対してクロック情報を送出する。これにより、複数のクロックスレーブ装置がその台数にかかわらず一定の負荷のままで受信することができる。   For example, as in sound field control, it may be necessary to control the transmission delay time in an audio transmission system. In such a case, not only the data receiving device shown in FIG. 2 but also a single clock master device is selected from the voice transmitting devices 210 and 211, and the slave device includes a data transmitting device that is not the clock master device. To control. The clock master device sends clock information to other clock slave devices by, for example, IP multicast. Thus, a plurality of clock slave devices can receive with a constant load regardless of the number of clock slave devices.

図9の音声伝送系統において、伝送遅延の揺らぎを少なくするために、クロック情報や音声データを流す前に、前もって伝送経路を確定させておいてもよく、これにより上記のクロック同期の効果はより大きくなる。これは、異なるネットワーク220、221間を通るような場合に顕著である。   In the audio transmission system of FIG. 9, in order to reduce fluctuations in transmission delay, the transmission path may be determined in advance before the clock information and audio data are flown. growing. This is noticeable when passing between different networks 220 and 221.

図9においては、音声受信装置と、スピーカは別の装置である場合について記述しているが、受信装置はスピーカ内に内蔵している構成であってもよい。この場合のスピーカは、ネットワークスピーカとして動作する。   Although FIG. 9 describes the case where the audio receiving device and the speaker are separate devices, the receiving device may be built in the speaker. The speaker in this case operates as a network speaker.

本発明によれば、同期動作初期においては同期制御を行う頻度を高めて再生クロックを原クロックに迅速に近づけ、再生クロックと原クロックとの同期が大まかに合った後に、次第に同期精度を高めることができるというすぐれた効果を有し、伝送遅延が保証されないネットワークシステムにおける音声受信装置等に備えられるクロック再生装置等として有用である。   According to the present invention, at the initial stage of the synchronization operation, the frequency of synchronization control is increased to quickly bring the recovered clock close to the original clock, and the synchronization accuracy is gradually increased after the recovered clock and the original clock are roughly synchronized. Therefore, the present invention is useful as a clock recovery device or the like provided in an audio reception device or the like in a network system in which a transmission delay is not guaranteed.

本実施の形態のクロック再生装置の構成を示す図The figure which shows the structure of the clock reproducing | regenerating apparatus of this Embodiment 本実施の形態のクロック再生装置を使用した受信装置の構成例を示す図The figure which shows the structural example of the receiver which uses the clock reproduction apparatus of this Embodiment 信号選択器のデータの流れを示す図Diagram showing data flow of signal selector 同期合わせ用クロック情報の選択について説明する図The figure explaining selection of the clock information for synchronization 同期合わせ用クロック情報として選択すべき原クロック情報の受信予測時刻について示す図The figure which shows the reception estimated time of the original clock information which should be selected as clock information for synchronization クロック情報受信時の信号選択器動作の説明のためのフロー図Flow diagram for explaining the operation of the signal selector when receiving clock information クロック情報非受信時の信号選択器動作の説明のためのフロー図Flow diagram for explaining signal selector operation when no clock information is received 本実施の形態の効果を説明するための図The figure for demonstrating the effect of this Embodiment 第2の実施の形態における全体システムの構成図Configuration diagram of the entire system in the second embodiment 従来のクロック再生装置のブロック図Block diagram of a conventional clock recovery device

符号の説明Explanation of symbols

10 音声受信装置
11 受信部
12 入力処理部
13 クロック再生部
14 バッファ
15 再生処理部
101 信号検出器
102 信号選択器
103 減算器
104 除算器
105 積算器
106 積算値評価部
107 ラッチ回路
108 カウンタ
109 デジタルアナログ変換器(D/A変換器)
110 ローパスフィルタ(LPF)
111 可変周波数発振器(VCXO)
120 制御情報生成部
201、202 音源
210、211 音声送信装置
220、222 ネットワーク
221 中継装置
230、231、232、233 音声受信装置
240、241、242、243 スピーカ
301 クロック情報記憶部
302 未受信回数カウンタ
401 信号検出器
402 同期信号発生器
403 減算器
404 積算器
405 カウンタ
406 積算値評価部
407 ラッチ回路
408 デジタルアナログ変換器(D/A変換器)
409 ローパスフィルタ(LPF)
410 可変周波数発振器(VCXO)
411 制御情報生成部
DESCRIPTION OF SYMBOLS 10 Audio | voice receiver 11 Reception part 12 Input processing part 13 Clock reproduction | regeneration part 14 Buffer 15 Reproduction | regeneration processing part 101 Signal detector 102 Signal selector 103 Subtractor 104 Divider 105 Accumulator 106 Integrated value evaluation part 107 Latch circuit 108 Counter 109 Digital Analog converter (D / A converter)
110 Low-pass filter (LPF)
111 Variable Frequency Oscillator (VCXO)
120 Control information generation unit 201, 202 Sound source 210, 211 Audio transmission device 220, 222 Network 221 Relay device 230, 231, 232, 233 Audio reception device 240, 241, 242, 243 Speaker 301 Clock information storage unit 302 Unreceived number counter 401 Signal Detector 402 Synchronization Signal Generator 403 Subtractor 404 Accumulator 405 Counter 406 Integrated Value Evaluation Unit 407 Latch Circuit 408 Digital Analog Converter (D / A Converter)
409 Low-pass filter (LPF)
410 Variable Frequency Oscillator (VCXO)
411 Control information generation unit

Claims (11)

送信装置から受信中のデータから、前記送信装置のクロックに関する原クロック情報を取得する原クロック情報取得手段と、
再生クロックを出力する再生クロック出力手段と、
前記原クロック情報取得手段にて取得した原クロック情報の中から、同期合わせに用いる同期合わせ用クロック情報として所定の頻度で原クロック情報を選択する同期合わせ用クロック選択手段と、
原クロック情報から求められる送信装置のクロックに基づく前記同期合わせ用クロック情報の間隔と、前記再生クロックにより計測される前記同期合わせ用クロック情報の取得時間の間隔との差を、前記同期合わせ用クロック情報の間隔で除した値に基づいて、前記再生クロック出力手段を制御する制御手段と、
を備え、
前記同期合わせ用クロック選択手段は、前記制御手段による制御により前記再生クロックが前記原クロックに近づくに従って、前記同期合わせ用クロック情報を選択する頻度を低くすることを特徴とするクロック再生装置。
Original clock information acquisition means for acquiring original clock information related to the clock of the transmission device from data being received from the transmission device;
A reproduction clock output means for outputting a reproduction clock;
From the original clock information acquired by the original clock information acquisition means, the synchronization clock selection means for selecting the original clock information at a predetermined frequency as the synchronization clock information used for synchronization,
The difference between the interval of the synchronization clock information based on the clock of the transmission device obtained from the original clock information and the interval of the acquisition time of the synchronization clock information measured by the recovered clock is the synchronization clock. Control means for controlling the recovered clock output means based on the value divided by the information interval;
With
The clock recovery device according to claim 1, wherein the synchronization clock selection means reduces the frequency of selecting the synchronization clock information as the recovered clock approaches the original clock under the control of the control means.
前記同期合わせ用クロック選択手段は、前記再生クロック出力手段にて出力される再生クロックと前記同期合わせ用クロック情報を選択する所定の頻度とから、前記同期合わせ用クロック情報として選択されるべき原クロック情報を受信するタイミングを予測し、予測したタイミングに原クロック情報を受信できたか否かを判定することを特徴とする請求項1に記載のクロック再生装置。   The synchronization clock selection means is an original clock to be selected as the synchronization clock information from the reproduction clock output from the reproduction clock output means and a predetermined frequency for selecting the synchronization clock information. 2. The clock recovery apparatus according to claim 1, wherein a timing for receiving information is predicted, and it is determined whether or not the original clock information has been received at the predicted timing. 前記同期合わせ用クロック選択手段は、前記予測したタイミングを含む所定の範囲内に前記原クロック情報を受信した場合には、予測したタイミングに原クロック情報を受信できたと判定することを特徴とする請求項2に記載のクロック再生装置。   The synchronization clock selection unit, when receiving the original clock information within a predetermined range including the predicted timing, determines that the original clock information has been received at the predicted timing. Item 3. The clock recovery device according to Item 2. 前記同期合わせ用クロック選択手段は、予測したタイミングに原クロック情報を受信できない事象が所定の回数連続した場合には、前記同期合わせ用クロック情報を選択する頻度を初期値に設定することを特徴とする請求項2または3に記載のクロック再生装置。   The synchronization clock selection means sets the frequency of selecting the synchronization clock information to an initial value when an event in which the original clock information cannot be received at a predicted timing continues for a predetermined number of times. The clock recovery device according to claim 2 or 3. 前記同期合わせ用クロック選択手段は、前記制御手段に対し、前記同期合わせ用クロック情報を選択したタイミングを通知し、
前記制御手段は、前記同期合わせ用クロック選択手段から通知されたタイミングで、前記再生クロック出力手段から出力される再生クロックをカウントすることにより、前記同期合わせ用クロック情報の取得時間を計測することを特徴とする請求項1〜4のいずれかに記載のクロック再生装置。
The synchronization clock selection means notifies the control means of the timing at which the synchronization clock information is selected,
The control means measures the acquisition time of the synchronization clock information by counting the reproduction clock output from the reproduction clock output means at the timing notified from the synchronization clock selection means. 5. The clock recovery device according to claim 1, wherein
前記制御手段は、
原クロック情報から求められる送信装置のクロックに基づく前記同期合わせ用クロック情報の間隔と前記再生クロックにより計測される前記同期合わせ用クロック情報の取得時間の間隔との差を求める減算手段と、
前記減算手段で求めた差を前記同期合わせ用クロック情報の間隔で除する除算手段と、
前記除算手段にて求めた値を積算する積算手段と、
を備え、
前記除算手段にて求めた値または前記積算手段にて求めた値に基づいて前記再生クロック出力手段を制御することを特徴とする請求項1に記載のクロック再生装置。
The control means includes
Subtracting means for obtaining a difference between an interval of the synchronization clock information based on the clock of the transmission device obtained from the original clock information and an interval of acquisition time of the clock information for synchronization measured by the recovered clock;
Dividing means for dividing the difference obtained by the subtracting means by the interval of the clock information for synchronization adjustment;
Integrating means for integrating the values obtained by the dividing means;
With
2. The clock recovery apparatus according to claim 1, wherein the recovered clock output means is controlled based on a value obtained by the dividing means or a value obtained by the integrating means.
前記制御手段は、
前記積算手段にて得られる値が所定の範囲内であるか否かを判定し、前記所定の範囲内であると所定回数連続して判定された場合に、前記同期合わせ用クロック情報を選択する頻度を低くすることを特徴とする請求項6に記載のクロック再生装置。
The control means includes
It is determined whether or not the value obtained by the integrating means is within a predetermined range, and when it is determined that the value is within the predetermined range for a predetermined number of times, the synchronization clock information is selected. 7. The clock recovery apparatus according to claim 6, wherein the frequency is lowered.
前記制御手段は、
前記積算手段にて求めた値が所定の範囲内であるか否かを判定し、前記所定の範囲内ではないと判定された場合に、前記除算手段にて求めた値に基づいて前記再生クロック出力手段を制御することを特徴とする請求項6に記載のクロック再生装置。
The control means includes
It is determined whether or not the value obtained by the integrating means is within a predetermined range, and when it is determined that the value is not within the predetermined range, the reproduction clock is based on the value obtained by the dividing means. 7. The clock recovery apparatus according to claim 6, wherein the output means is controlled.
前記制御手段は、
前記除算手段にて求めた値に基づいて前記再生クロック出力手段を制御する場合に、前記積算手段にて求めた値を前記除算手段で求めた値で初期化することを特徴とする請求項8に記載のクロック再生装置。
The control means includes
9. The control circuit according to claim 8, wherein when the reproduction clock output means is controlled based on a value obtained by the dividing means, the value obtained by the integrating means is initialized with the value obtained by the dividing means. A clock recovery device according to 1.
送信装置から受信中のデータから、前記送信装置のクロックに関する原クロック情報を取得する原クロック情報取得手段と、
再生クロックを出力する再生クロック出力手段と、
前記原クロック情報取得手段にて取得した原クロック情報の中から、同期合わせに用いる同期合わせ用クロック情報として所定の頻度で原クロック情報を選択する同期合わせ用クロック選択手段と、
原クロック情報から求められる送信装置のクロックに基づく前記同期合わせ用クロック情報の間隔と、前記再生クロックにより計測される前記同期合わせ用クロック情報の取得時間の間隔との差を、前記同期合わせ用クロック情報の間隔で除した値がゼロに近づくように前記再生クロック出力手段を制御する制御手段と、
を備え、
前記同期合わせ用クロック選択手段は、前記制御手段による制御により前記再生クロックが前記原クロックに近づくに従って、前記同期合わせ用クロック情報を選択する頻度を低くすることを特徴とするクロック再生装置。
Original clock information acquisition means for acquiring original clock information related to the clock of the transmission device from data being received from the transmission device;
A reproduction clock output means for outputting a reproduction clock;
From the original clock information acquired by the original clock information acquisition means, the synchronization clock selection means for selecting the original clock information at a predetermined frequency as the synchronization clock information used for synchronization,
The difference between the interval of the synchronization clock information based on the clock of the transmission device obtained from the original clock information and the interval of the acquisition time of the synchronization clock information measured by the recovered clock is the synchronization clock. Control means for controlling the reproduction clock output means so that the value divided by the information interval approaches zero;
With
The clock recovery device according to claim 1, wherein the synchronization clock selection means reduces the frequency of selecting the synchronization clock information as the recovered clock approaches the original clock under the control of the control means.
送信装置から所定のネットワークを介して転送されるデータを受信する受信部と、
再生クロックを生成するクロック再生部と、
前記受信部にて受信されたデータを一時的に蓄積するバッファと、
前記バッファに蓄積されたデータを前記クロック再生部にて生成される再生クロックに同期して処理するデータ処理部と、
を有し、
前記クロック再生部は、請求項1〜10のいずれかに記載のクロック再生装置を備えたことを特徴とするデータ受信装置。

A receiving unit for receiving data transferred from a transmitting device via a predetermined network;
A clock recovery unit for generating a recovery clock;
A buffer for temporarily storing data received by the receiving unit;
A data processing unit for processing data stored in the buffer in synchronization with a reproduction clock generated by the clock reproduction unit;
Have
11. A data receiving device, wherein the clock recovery unit includes the clock recovery device according to claim 1.

JP2005348375A 2005-12-01 2005-12-01 Clock reproducing device and data receiver Pending JP2007158543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005348375A JP2007158543A (en) 2005-12-01 2005-12-01 Clock reproducing device and data receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005348375A JP2007158543A (en) 2005-12-01 2005-12-01 Clock reproducing device and data receiver

Publications (1)

Publication Number Publication Date
JP2007158543A true JP2007158543A (en) 2007-06-21

Family

ID=38242360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005348375A Pending JP2007158543A (en) 2005-12-01 2005-12-01 Clock reproducing device and data receiver

Country Status (1)

Country Link
JP (1) JP2007158543A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009153030A (en) * 2007-12-21 2009-07-09 Kenwood Corp Receiver, control method and program
JP2014225847A (en) * 2013-05-17 2014-12-04 京セラ株式会社 Base station and synchronization method therefor
US10425311B2 (en) 2016-03-10 2019-09-24 Fujitsu Limited Packet monitoring apparatus, method of monitoring packet and non-transitory computer-readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009153030A (en) * 2007-12-21 2009-07-09 Kenwood Corp Receiver, control method and program
JP2014225847A (en) * 2013-05-17 2014-12-04 京セラ株式会社 Base station and synchronization method therefor
US10425311B2 (en) 2016-03-10 2019-09-24 Fujitsu Limited Packet monitoring apparatus, method of monitoring packet and non-transitory computer-readable storage medium

Similar Documents

Publication Publication Date Title
US10805728B2 (en) Wireless audio synchronization
JP5353277B2 (en) Stream signal transmission apparatus and transmission method
EP1256197B1 (en) Reference time distribution over a network
US8428045B2 (en) Media clock recovery
JP5525032B2 (en) Synchronization control system including main device and slave device and synchronization control method thereof
JP6092727B2 (en) Receiver
JP2009501485A (en) Time synchronization method and apparatus using time stamp
JP2007124044A (en) Reference clock reproduction circuit and data receiver
US6381660B1 (en) Clock generating system generating clock based on value obtained by adding second time information and difference between first time information and second time information
JP2007158543A (en) Clock reproducing device and data receiver
JP2006050488A (en) Communication terminal device and buffer control method
JPH1051314A (en) Reference clock generator and decoder
JP4425115B2 (en) Clock synchronization apparatus and program
DK3086575T3 (en) PROCEDURE FOR SYNCHRONIZING THE RENDERING OF A DIGITAL SIGNAL SENT FROM A SENDER TO A NUMBER OF MOBILE AUDIO TERMINALS
JP2007228040A (en) Pll device compatible with received packet missing
JP2006324998A (en) Packet transfer unit
JP2004072217A (en) Data reproducing apparatus
JP2019211638A (en) Processing device, output device, synchronization control system, and these control methods, as well as programs
US20230403092A1 (en) Method of synchronizing a main slave clock with a main master clock
JP2723819B2 (en) Sampling clock recovery device
JP2006101029A (en) Data receiver
JP3757125B2 (en) Electronic device and data transmission method
JP2004266723A (en) Network system, data transmitter-receiver, and data transmission reception method
JP2002305727A (en) Timing adjustment device
JP2007124267A (en) Clock reproducing pll pull-in time reducing apparatus