JPH06188839A - Sampling rate converter - Google Patents

Sampling rate converter

Info

Publication number
JPH06188839A
JPH06188839A JP34044792A JP34044792A JPH06188839A JP H06188839 A JPH06188839 A JP H06188839A JP 34044792 A JP34044792 A JP 34044792A JP 34044792 A JP34044792 A JP 34044792A JP H06188839 A JPH06188839 A JP H06188839A
Authority
JP
Japan
Prior art keywords
signal
output
sampling rate
data
input side
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
JP34044792A
Other languages
Japanese (ja)
Inventor
Minoru Takeda
稔 竹田
Akira Toyama
明 遠山
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.)
Nippon Precision Circuits Inc
Original Assignee
Nippon Precision Circuits Inc
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 Nippon Precision Circuits Inc filed Critical Nippon Precision Circuits Inc
Priority to JP34044792A priority Critical patent/JPH06188839A/en
Publication of JPH06188839A publication Critical patent/JPH06188839A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To provide a sampling rate converter in which the output of erroneous data can be prevented at the time of switching a sampling rate or a data format. CONSTITUTION:An input side clock signal (a), output side clock signal (b), input side data signal (c), and input side data format designation signal (d) are inputted to an arithmetic circuit 1. A prescribed arithmetic operation is performed based on those signals, and an output side data format designation signal preliminarily fixed to the inside of the arithmetic circuit 1, and an output side data signal (e) is outputted. When the input side clock signal (a) or the input side data format designation signal (d) fluctuate, the fluctuation is detected by a fluctuation detecting circuit 2 or 3. The output of the output side data signal (e) to an outside circuit is stopped by an output stopping circuit 4 receiving a detection signal (f) or (g).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデジタルオーディオ等に
おけるサンプリングレートコンバータに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sampling rate converter for digital audio or the like.

【0002】[0002]

【従来の技術】デジタルオーディオ等に用いられるデジ
タル信号には、方式によって異なるサンプリングレート
が用いられる。したがって、異なる方式間でデータのや
りとりをするためにはサンプリングレートの変換が必要
となる。このように、オーディオ信号等の波形信号の同
一性を保持したままサンプリングレートを変換する装置
をサンプリングレートコンバータと呼んでいる。
2. Description of the Related Art Digital signals used for digital audio or the like have different sampling rates depending on the system. Therefore, it is necessary to convert the sampling rate in order to exchange data between different methods. A device that converts a sampling rate while maintaining the identity of a waveform signal such as an audio signal is called a sampling rate converter.

【0003】[0003]

【発明が解決しようとする課題】一般的にサンプリング
レートコンバータでは、出力側のサンプリングレートお
よびデータフォーマットを固定しておき、入力側のサン
プリングレートおよびデータフォーマットを切換えて使
用することが多い。このような場合、新たな信号に対し
て改めて演算等を行わなければならないので、正しい演
算結果が出力されるまでに一定の時間を要する。言い替
えると、正しい演算結果が出力されるまでの期間では間
違ったデータが出力されていることになる。しかしなが
ら、従来はこのような問題点に対し十分な対策が施され
ていなかった。
Generally, in a sampling rate converter, the sampling rate and the data format on the output side are fixed and the sampling rate and the data format on the input side are often switched and used. In such a case, a new signal needs to be recalculated, so that it takes a certain amount of time to output a correct calculation result. In other words, incorrect data is output during the period until the correct calculation result is output. However, conventionally, sufficient measures have not been taken against such problems.

【0004】本発明の目的は、サンプリングレートやデ
ータ形式を切換えたときに間違ったデータが出力される
ことを防止することが可能なサンプリングレートコンバ
ータを提供することである。
An object of the present invention is to provide a sampling rate converter capable of preventing erroneous data from being output when the sampling rate or the data format is switched.

【0005】[0005]

【課題を解決するための手段】本発明は、第1サンプリ
ングレートの第1データ信号を第2サンプリングレート
の第2データ信号に変換するサンプリングレートコンバ
ータにおいて、上記第1サンプリングレートに対応した
第1クロック信号、上記第2サンプリングレートに対応
した第2クロック信号、上記第1データ信号、上記第1
データ信号の形式を指定する第1データ形式指定信号お
よび上記第2データ信号の形式を指定する第2データ形
式指定信号に基いて演算を行い上記第2データ信号を生
じる演算回路と、上記第1クロック信号、上記第2クロ
ック信号、上記第1データ形式指定信号または上記第2
データ形式指定信号の変動を検出して検出信号を生じる
変動検出回路と、上記検出信号を受けて上記演算回路で
生じた上記第2データ信号の出力を停止させる出力停止
回路とを設けたものである。
According to the present invention, there is provided a sampling rate converter for converting a first data signal having a first sampling rate into a second data signal having a second sampling rate, the first sampling rate corresponding to the first sampling rate. A clock signal, a second clock signal corresponding to the second sampling rate, the first data signal, the first
A first data format designating signal for designating the format of the data signal and a second data format designating signal for designating the format of the second data signal, and an arithmetic circuit for producing the second data signal; A clock signal, the second clock signal, the first data format designation signal, or the second
A variation detection circuit that detects a variation of the data format designation signal to generate a detection signal, and an output stop circuit that receives the detection signal and stops the output of the second data signal generated in the arithmetic circuit. is there.

【0006】[0006]

【実施例】以下、図1に基いて、本発明の実施例を説明
する。
Embodiments of the present invention will be described below with reference to FIG.

【0007】演算回路1は、入力側サンプリングレート
(入力側サンプリング周波数)に対応した入力側クロッ
ク信号“a”、出力側サンプリングレート(出力側サン
プリング周波数)に対応した出力側クロック信号
“b”、入力側データ信号(入力側波形データ)
“c”、入力側データ信号の形式(フォーマット)を指
定する入力側データ形式指定信号“d”および出力側デ
ータ信号の形式(フォーマット)を指定する出力側デー
タ形式指定信号(演算回路1内部に予め固定されてい
る。)に基いて所定の演算を行い、出力側データ信号
(出力側波形データ)“e”を生じるものである。な
お、入力(出力)側データ信号の形式とは、入力(出
力)側データ信号“c”(“e”)のワード長やビット
順(MSBファーストあるいはLSBファースト)等を
いう。
The arithmetic circuit 1 has an input side clock signal "a" corresponding to an input side sampling rate (input side sampling frequency), an output side clock signal "b" corresponding to an output side sampling rate (output side sampling frequency), Input side data signal (input side waveform data)
“C”, an input side data format designation signal “d” that specifies the format of the input side data signal, and an output side data format designation signal that specifies the format (format) of the output side data signal (in the arithmetic circuit 1 The data is output on the output side (output side waveform data) "e" by performing a predetermined calculation based on the above (fixed in advance). The format of the input (output) side data signal means the word length or bit order (MSB first or LSB first) of the input (output) side data signal "c"("e").

【0008】変動検出回路2は、入力側クロック信号
“a”の変動(クロック信号の停止や周波数の切り替わ
り等)を検出して検出信号“f”を生じるものである。
変動検出回路3は、入力側データ形式指定信号“d”の
変動(データ形式の切り替わり等)を検出して検出信号
“g”を生じるものである。
The fluctuation detecting circuit 2 detects a fluctuation of the input side clock signal "a" (stop of clock signal, switching of frequency, etc.) and generates a detection signal "f".
The fluctuation detecting circuit 3 detects a fluctuation of the input side data format designation signal "d" (switching of data format, etc.) to generate a detection signal "g".

【0009】出力停止回路4は、検出信号“f”または
“g”が生じたときに出力側データ信号“e”の外部回
路(図示せず)への出力を一定期間停止(ミュート)さ
せるものである。具体的には、検出信号“f”または
“g”が生じた後少なくとも演算回路1から正しい演算
結果が出力されるまでの期間、出力信号“h”を0レベ
ルあるいは微小化するものである。
The output stop circuit 4 stops (mutes) the output of the output side data signal "e" to an external circuit (not shown) when a detection signal "f" or "g" occurs. Is. Specifically, the output signal "h" is set to 0 level or reduced for at least a period after the detection signal "f" or "g" is generated until the correct calculation result is output from the calculation circuit 1.

【0010】つぎに、図1の実施例の動作を説明する。Next, the operation of the embodiment shown in FIG. 1 will be described.

【0011】演算回路1には、入力側クロック信号
“a”、出力側クロック信号“b”、入力側データ信号
“c”および入力側データ形式指定信号“d”が入力し
ている。そして、これらの信号と演算回路1内部に予め
固定されている出力側データ形式指定信号とに基いて所
定の演算が行われ、出力側データ信号“e”が出力され
る。ここで行われる演算動作は一般的なサンプリングレ
ートコンバータで行われるサンプリングレートの変換動
作と同様のものである。具体的には、入力側クロック信
号“a”および出力側クロック信号“b”に基いて入力
側サンプリングレートと出力側サンプリングレートとの
サンプリングレート比が求められ、このサンプリングレ
ート比等に基いてデジタルフィルタリング演算等の所定
の演算動作が行われる。
An input side clock signal "a", an output side clock signal "b", an input side data signal "c" and an input side data format designation signal "d" are input to the arithmetic circuit 1. Then, a predetermined calculation is performed based on these signals and the output side data format designation signal fixed in advance inside the arithmetic circuit 1, and the output side data signal "e" is output. The arithmetic operation performed here is the same as the sampling rate conversion operation performed by a general sampling rate converter. Specifically, the sampling rate ratio between the input side sampling rate and the output side sampling rate is obtained based on the input side clock signal “a” and the output side clock signal “b”, and the digital sampling rate is based on the sampling rate ratio and the like. A predetermined calculation operation such as filtering calculation is performed.

【0012】一方、変動検出回路2では入力側クロック
信号“a”の変動を、変動検出回路3では入力側データ
形式指定信号“d”の変動を、それぞれ常時監視してい
る。そして、入力側クロック信号“a”または入力側デ
ータ形式指定信号“d”が変動すると、変動検出回路2
または変動検出回路3でその変動が検出され、検出信号
“f”または“g”が一定期間アクティブになる。
On the other hand, the fluctuation detecting circuit 2 constantly monitors the fluctuation of the input side clock signal "a", and the fluctuation detecting circuit 3 constantly monitors the fluctuation of the input side data format designation signal "d". When the input side clock signal “a” or the input side data format designation signal “d” changes, the change detection circuit 2
Alternatively, the fluctuation detection circuit 3 detects the fluctuation, and the detection signal “f” or “g” is active for a certain period.

【0013】出力停止回路4では、通常は出力側データ
信号“e”をそのまま出力信号“h”として出力してい
るが、検出信号“f”または“g”がアクティブになる
とそのアクティブ期間だけ出力側データ信号“e”の外
部回路(図示せず)への出力を停止(ミュート)させ
る。つまり、演算回路1で少なくとも正しい演算結果が
出力されるまで出力信号“h”は停止状態となるわけで
ある。したがって、間違ったデータが出力されるという
問題点が解消される。
In the output stop circuit 4, the output side data signal "e" is normally output as it is as the output signal "h", but when the detection signal "f" or "g" becomes active, it is output only during the active period. The output of the side data signal "e" to the external circuit (not shown) is stopped (muted). That is, the output signal "h" is in a stopped state at least until the arithmetic circuit 1 outputs a correct arithmetic result. Therefore, the problem that incorrect data is output is solved.

【0014】なお、以上説明した実施例では、変動検出
回路2および3により入力側クロック信号“a”の変動
または入力側データ形式指定信号“d”の変動を検出し
て検出信号“f”または“g”を生じるようにしていた
が、これ以外にも出力側クロック信号“b”の変動を検
出して同様に検出信号を生じるようにしてもよい。ま
た、出力側データ形式指定信号は演算回路1内部に予め
固定されているものとしたが、入力側データ形式指定信
号“d”と同様に外部から与えるようにしてもよく、こ
の場合には上記と同様に出力側データ形式指定信号の変
動を変動検出回路で検出するようにしてもよい。
In the embodiment described above, the fluctuation detection circuits 2 and 3 detect the fluctuation of the input side clock signal "a" or the fluctuation of the input side data format designation signal "d" to detect the detection signal "f" or Although "g" is generated, a detection signal may be generated similarly by detecting a change in the output clock signal "b". Further, although the output side data format designation signal is fixed in advance inside the arithmetic circuit 1, it may be given from the outside like the input side data format designation signal "d". Similarly, the fluctuation of the output side data format designation signal may be detected by the fluctuation detection circuit.

【0015】[0015]

【発明の効果】本発明では、変動検出回路および出力停
止回路を設けたことにより、サンプリングレートやデー
タ形式を切換えたときに間違ったデータが出力されるこ
とを防止することが可能となる。
According to the present invention, by providing the fluctuation detection circuit and the output stop circuit, it is possible to prevent erroneous data from being output when the sampling rate or the data format is switched.

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

【図1】本発明の実施例を示したブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

1……演算回路 2……変動検出回路 3……変動検出回路 4……出力停止回路 a……入力側クロック信号(第1クロック信号) b……出力側クロック信号(第2クロック信号) c……入力側データ信号(第1データ信号) d……入力側データ形式指定信号(第1データ形式指定
信号) e……出力側データ信号(第2データ信号) f……検出信号 g……検出信号
1 ... Arithmetic circuit 2 ... Variation detection circuit 3 ... Variation detection circuit 4 ... Output stop circuit a ... Input side clock signal (first clock signal) b ... Output side clock signal (second clock signal) c ...... Input side data signal (first data signal) d …… Input side data format designation signal (first data format designation signal) e …… Output side data signal (second data signal) f …… Detection signal g …… Detection signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 第1サンプリングレートの第1データ信
号を第2サンプリングレートの第2データ信号に変換す
るサンプリングレートコンバータにおいて、 上記第1サンプリングレートに対応した第1クロック信
号、上記第2サンプリングレートに対応した第2クロッ
ク信号、上記第1データ信号、上記第1データ信号の形
式を指定する第1データ形式指定信号および上記第2デ
ータ信号の形式を指定する第2データ形式指定信号に基
いて演算を行い上記第2データ信号を生じる演算回路
と、 上記第1クロック信号、上記第2クロック信号、上記第
1データ形式指定信号または上記第2データ形式指定信
号の変動を検出して検出信号を生じる変動検出回路と、 上記検出信号を受けて上記演算回路で生じた上記第2デ
ータ信号の出力を停止させる出力停止回路とを有するサ
ンプリングレートコンバータ。
1. A sampling rate converter for converting a first data signal of a first sampling rate into a second data signal of a second sampling rate, wherein a first clock signal corresponding to the first sampling rate and the second sampling rate. Corresponding to the second clock signal, the first data signal, the first data format designating signal designating the format of the first data signal, and the second data format designating signal designating the format of the second data signal. An arithmetic circuit for performing an operation to generate the second data signal, and a detection signal by detecting a variation in the first clock signal, the second clock signal, the first data format designation signal or the second data format designation signal. The fluctuation detection circuit that occurs and the output of the second data signal that occurs in the arithmetic circuit in response to the detection signal are stopped. And a sampling rate converter having an output stop circuit.
JP34044792A 1992-12-21 1992-12-21 Sampling rate converter Pending JPH06188839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34044792A JPH06188839A (en) 1992-12-21 1992-12-21 Sampling rate converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34044792A JPH06188839A (en) 1992-12-21 1992-12-21 Sampling rate converter

Publications (1)

Publication Number Publication Date
JPH06188839A true JPH06188839A (en) 1994-07-08

Family

ID=18337052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34044792A Pending JPH06188839A (en) 1992-12-21 1992-12-21 Sampling rate converter

Country Status (1)

Country Link
JP (1) JPH06188839A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02198072A (en) * 1989-01-27 1990-08-06 Hitachi Ltd Digital interpolation system
JPH02260814A (en) * 1989-03-31 1990-10-23 Fujitsu Ten Ltd Filter coefficient setting method for digital filter
JPH02279015A (en) * 1989-04-20 1990-11-15 Sanyo Electric Co Ltd Delay circuit
JPH0328899A (en) * 1989-06-26 1991-02-07 Pioneer Electron Corp Audio signal data processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02198072A (en) * 1989-01-27 1990-08-06 Hitachi Ltd Digital interpolation system
JPH02260814A (en) * 1989-03-31 1990-10-23 Fujitsu Ten Ltd Filter coefficient setting method for digital filter
JPH02279015A (en) * 1989-04-20 1990-11-15 Sanyo Electric Co Ltd Delay circuit
JPH0328899A (en) * 1989-06-26 1991-02-07 Pioneer Electron Corp Audio signal data processor

Similar Documents

Publication Publication Date Title
JPH06188838A (en) Sampling rate converter
KR0170422B1 (en) Noise shaping circuit and noise shaping method
JPH02105628A (en) Muting circuit of digital audio equipmemt
JPS6159913A (en) Ad converting circuit
EP0144143A2 (en) Circuit arrangement for adjusting sound volume
JP2656024B2 (en) Modulation circuit
JPH06188839A (en) Sampling rate converter
US5652532A (en) Frequency difference detection apparatus
JP2725486B2 (en) Pointer processing circuit
JPS59181719A (en) Offset compensating circuit
JP2000357968A (en) A/d converter and d/a converter
JPS6251329A (en) Code identification circuit
JPH11317665A (en) A/d converting device
JPH03102265A (en) Maximum value detecting circuit
JP2797428B2 (en) Control code update detection circuit
JPS61230428A (en) Digital signal processing circuit
JP3544596B2 (en) Bit skip detection method in synchro / digital converter
JP3374205B2 (en) Serial data interface device
JPH0637857A (en) Serial data receiving circuit
KR870000672B1 (en) Multiplying circuit for muting in digital-audio tape recorder system
JP3956655B2 (en) Overflow detection circuit and detection method in audio equipment
JPH0212427A (en) Minimum value detecting circuit for television signal
JPH0983363A (en) A/d converting circuit
JPH0369204A (en) Gain control circuit
JPH0550760B2 (en)