JPH10135829A - Analog/digital converting error reducing device - Google Patents

Analog/digital converting error reducing device

Info

Publication number
JPH10135829A
JPH10135829A JP30399896A JP30399896A JPH10135829A JP H10135829 A JPH10135829 A JP H10135829A JP 30399896 A JP30399896 A JP 30399896A JP 30399896 A JP30399896 A JP 30399896A JP H10135829 A JPH10135829 A JP H10135829A
Authority
JP
Japan
Prior art keywords
code
conversion error
level
error
analog
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
JP30399896A
Other languages
Japanese (ja)
Inventor
Toshihiko Sakino
利彦 崎野
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 Columbia Co Ltd
Original Assignee
Nippon Columbia 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 Nippon Columbia Co Ltd filed Critical Nippon Columbia Co Ltd
Priority to JP30399896A priority Critical patent/JPH10135829A/en
Publication of JPH10135829A publication Critical patent/JPH10135829A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce a conversion error by estimating the correct quantizing level of a code generating a conversion error and outputting the quantizing level as the quantizing level of a code generating the conversion error so as to detect a conversion error at the time of analog/digital conversion from a digital signal. SOLUTION: A digital audio signal prepares a histogram by a level distribution detecting means 1. An error code detecting means 2 detects codes whose appearing frequency are extremely many or less at each code. A level estimating means 3 estimates a quantizing level which is estimated to be correct in an error code from an inputted digital audio signal. A conversion error judging means 4 compares the estimated quantizing level and inputted digital audio signal with each other. A converting error correcting means 5, at the time of judging a conversion error to be large, outputs the digital audio signal by lowering the quantizing level of the digital audio signal by 1LBS (a lowest order bit) and when the conversion error is small, outputs as it is.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル信号のア
ナログ/デジタル変換時における変換誤差を低減するア
ナログ/デジタル変換誤差低減装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an analog / digital conversion error reducing apparatus for reducing a conversion error during digital / analog conversion of a digital signal.

【0002】[0002]

【従来の技術】PCM(Pulse Code Modulation)変調
による音楽信号の録音が開始された初期には、アナログ
信号をデシタル信号に変換するアナログ/デジタル変換
器(A/Dコンバータ:Analog/Digital Converter)と
して、13ビット又は14ビットの低ビットの逐次比較
型A/Dコンバータが用いられていた。前記逐次比較型
A/Dコンバータは、A/Dコンバータ内部の抵抗値を
調整したり、外付けの回路によりビット重みを調節する
ことで変換誤差を低減することができ、初期のPCM録
音におけるA/D変換時点では、A/D変換誤差を低減
することができた。
2. Description of the Related Art At the beginning of recording of a music signal by PCM (Pulse Code Modulation) modulation, an analog / digital converter (A / D converter: Analog / Digital Converter) for converting an analog signal into a digital signal is used. , 13-bit or 14-bit successive approximation type A / D converter has been used. The successive approximation type A / D converter can reduce a conversion error by adjusting a resistance value inside the A / D converter or adjusting a bit weight by an external circuit. At the time of the / D conversion, the A / D conversion error could be reduced.

【0003】[0003]

【発明が解決しようとする課題】しかし、過去に、低ビ
ットのA/Dコンバータを用いてデジタル記録が行われ
た数多くのデジタルオーディオ信号は、低ビットのA/
DコンバータによるA/D変換精度の悪さから変換誤差
を多く有している。A/Dコンバータの特性は経時変化
するため、記録時に用いられていたA/Dコンバータで
あっても、そのA/Dコンバータから変換誤差を検出
し、デジタルオーディオ信号を補正することができなか
った。つまり、A/D変換時の変換誤差を有した状態で
記録されたデジタルオーディオ信号から変換誤差を検出
し、低減させるのは困難であった。
However, in the past, many digital audio signals digitally recorded by using a low-bit A / D converter are low-bit A / D converters.
It has many conversion errors due to poor A / D conversion accuracy by the D converter. Since the characteristics of the A / D converter change with time, even if the A / D converter was used at the time of recording, it was not possible to detect a conversion error from the A / D converter and correct the digital audio signal. . That is, it is difficult to detect and reduce the conversion error from the digital audio signal recorded with the conversion error at the time of A / D conversion.

【0004】本発明は、アナログ/デジタル変換器によ
る変換誤差を有するデジタル信号からアナログ/デジタ
ル変換時の変換誤差を検出し、変換誤差を低減すること
が可能なアナログ/デジタル変換誤差低減装置を提供す
ることを目的としている。
The present invention provides an analog / digital conversion error reducing device capable of detecting a conversion error at the time of analog / digital conversion from a digital signal having a conversion error by an analog / digital converter and reducing the conversion error. It is intended to be.

【0005】[0005]

【課題を解決するための手段】そのため請求項1記載の
本発明は、アナログ/デジタル変換器によりコードに変
換されたデジタル信号の複数サンプルについて、各々の
量子化された振幅レベルを表すコード毎の出現度数を検
出するレベル分布検出手段と、レベル分布検出手段で検
出されたコード毎の出現度数から、隣接するコードの出
現度数の差が大きいコードを変換誤差が生じたコードと
して検出する誤差コード検出手段と、誤差コード検出手
段で検出された変換誤差が生じたコードの正しい量子化
レベルを推定するレベル推定手段と、レベル推定手段で
推定された量子化レベルを変換誤差が生じたコードの量
子化レベルとして出力する変換誤差補正手段とを具備す
ることを特徴としている。
According to the present invention, a plurality of samples of a digital signal converted to a code by an analog / digital converter are provided for each code representing a quantized amplitude level. Level distribution detecting means for detecting the frequency of occurrence, and error code detection for detecting a code having a large difference in the frequency of occurrence of an adjacent code as a code having a conversion error from the frequency of occurrence for each code detected by the level distribution detecting means Means, a level estimating means for estimating a correct quantization level of a code having a conversion error detected by an error code detecting means, and quantizing a code having a conversion error by converting the quantization level estimated by the level estimating means. And a conversion error correction means for outputting a level.

【0006】また、請求項2記載の本発明は、請求項1
記載のアナログ/デジタル変換誤差低減装置において、
レベル推定手段は、前記変換誤差が生じたコードと時間
的に前後に隣接するコードとの量子化レベルの平均か
ら、変換誤差が生じたコードの量子化レベルを推定する
ことを特徴としている。
The present invention according to claim 2 is based on claim 1.
In the analog / digital conversion error reducing device described above,
The level estimating means estimates the quantization level of the code in which the conversion error has occurred, from the average of the quantization levels of the code in which the conversion error has occurred and the code adjacent in time.

【0007】また、請求項3記載の本発明は、請求項1
記載のアナログ/デジタル変換誤差低減装置において、
レベル推定手段は、変換誤差が生じたコードに対し時間
的に前後に隣接するコードとの量子化レベルから平均推
定値を求め、平均推定値と、変換誤差が生じたコードに
対し時間的に複数個前のコードとの量子化レベルから第
1の外挿推定値を求め、平均推定値と、変換誤差が生じ
たコードに対し時間的に複数個後のコードとの量子化レ
ベルから第2の外挿推定値を求め、第1の外挿推定値と
第2の外挿推定値とから平均外挿推定値を求め、平均推
定値と外挿平均推定値との平均から変換誤差が生じたコ
ードの量子化レベルを推定することを特徴としている。
The present invention described in claim 3 is based on claim 1.
In the analog / digital conversion error reducing device described above,
The level estimating means obtains an average estimated value from a quantization level of a code immediately before and after the code in which the conversion error has occurred, and obtains the average estimated value and a plurality of temporally estimated codes in which the conversion error has occurred. A first extrapolated estimated value is obtained from a quantization level with the previous code, and a second extrapolated value is calculated from the average estimated value and the quantization level with a code that is temporally plural codes later than the code in which the conversion error has occurred. An extrapolated estimate is obtained, an average extrapolated value is obtained from the first extrapolated value and the second extrapolated value, and a conversion error occurs from the average of the average estimated value and the extrapolated average estimated value. It is characterized by estimating the quantization level of the code.

【0008】本発明によれば、入力されたデジタル信号
の量子化された振幅レベルを表すコード毎の出現度数か
ら、アナログ/デジタル変換器による変換誤差が生じた
コードを検出し、そのコードにおける正しい量子化レベ
ルを推定し、推定した量子化レベルを変換誤差が生じた
コードの量子化レベルとして出力する。このことによ
り、デジタル信号のアナログ/デジタル変換誤差を低減
することができる。
According to the present invention, a code having a conversion error caused by an analog / digital converter is detected from the frequency of occurrence of each code representing a quantized amplitude level of an input digital signal, and the correct code in the code is detected. A quantization level is estimated, and the estimated quantization level is output as a quantization level of a code having a conversion error. As a result, an analog / digital conversion error of a digital signal can be reduced.

【0009】[0009]

【発明の実施の形態】図1は、本発明のアナログ/デジ
タル変換誤差低減装置における一実施例の概略構成を示
す模式図である。図1に示すように、アナログ/デジタ
ル(A/D)変換誤差低減装置は、レベル分布検出手段
1、誤差コード検出手段2、レベル推定手段3、変換誤
差判定手段4、変換誤差補正手段5を具備している。デ
ジタルオーディオ信号は、アナログオーディオ信号をA
/D変換し、デジタルオーディオテープ(DAT:Digi
tal Audio Tape)やコンパクトディスク(CD:Compac
t Disk)等の記録媒体に記録され、その記録媒体から読
み出されたものである。
FIG. 1 is a schematic diagram showing a schematic configuration of an embodiment of an analog / digital conversion error reducing apparatus according to the present invention. As shown in FIG. 1, the analog / digital (A / D) conversion error reducing device includes a level distribution detecting unit 1, an error code detecting unit 2, a level estimating unit 3, a conversion error determining unit 4, and a conversion error correcting unit 5. I have it. Digital audio signals are analog audio signals
/ D conversion and digital audio tape (DAT: Digi
tal Audio Tape) and compact discs (CD: Compac)
t Disk) or the like, and are read from the recording medium.

【0010】レベル分布検出手段1は、デジタルオーデ
ィオ信号の量子化された振幅レベルを表すコード毎の出
現度数を検出するものである。デジタルオーディオ信号
は、A/D変換器によりアナログ信号からデジタル信号
に変換された信号であり、振幅レベルは量子化されコー
ドとして表される。そのコードがデジタルオーディオ信
号中にどれだけ出現するか出現頻度を検出したものがヒ
ストグラムである。
The level distribution detecting means 1 detects the frequency of appearance of each code representing the quantized amplitude level of the digital audio signal. The digital audio signal is a signal converted from an analog signal to a digital signal by an A / D converter, and the amplitude level is quantized and represented as a code. A histogram is obtained by detecting the frequency of occurrence of the code in the digital audio signal.

【0011】ここで、デジタルオーディオ信号のヒスト
グラムについて説明する。図2は、デジタルオーディオ
信号のヒストグラムの一例を示す模式図である。(a)
は、A/D変換誤差が小さい場合であり、(b)は、A
/D変換誤差が大きい場合である。図2(a)のヒスト
グラムに示すように、A/D変換誤差の小さいデジタル
オーディオ信号の出現度数は、コード0の場合を中心と
して、正方向、負方向にほぼ対象の分布になる。コード
が0のとき出現頻度が高く、コードが正方向に大きくな
るに従い、また、コードが負方向に小さくなるに従い、
出現度数が徐々に低くなる。このようなヒストグラムの
特徴は、入力されたそれぞれのオーディオ信号固有のも
のである。
Here, the histogram of the digital audio signal will be described. FIG. 2 is a schematic diagram illustrating an example of a histogram of a digital audio signal. (A)
Shows the case where the A / D conversion error is small, and FIG.
This is the case where the / D conversion error is large. As shown in the histogram of FIG. 2A, the frequency of appearance of the digital audio signal having a small A / D conversion error has a substantially symmetric distribution in the positive and negative directions with the code 0 as the center. When the code is 0, the appearance frequency is high, and as the code increases in the positive direction, and as the code decreases in the negative direction,
The appearance frequency gradually decreases. Such a feature of the histogram is unique to each input audio signal.

【0012】しかし、図2(b)に示すように、A/D
変換誤差が生じたデジタルオーディオ信号のヒストグラ
ムの場合、出現度数が隣接するコードに対して急激に高
くなるコード、または、急激に低くなるコードが発生す
る。
However, as shown in FIG.
In the case of a histogram of a digital audio signal in which a conversion error has occurred, a code whose appearance frequency sharply increases or a code sharply decreases with respect to an adjacent code is generated.

【0013】レベル分布検出手段1は、量子化された振
幅レベルを表すコード自体をアドレスとして、そのアド
レスに対応した値を記憶しているアドレスメモリ(図示
せず)と、ヒストグラムを作成するために各コードの出
現頻度を累積していくヒストグラムメモリ(図示せず)
とを具備している。レベル分布検出手段1は、デジタル
オーディオ信号のコードから、そのコードに基づいてヒ
ストグラムメモリにアクセスし、前記アドレスメモリに
記憶してあるアドレスに対応する値を読み出す。このデ
ータに1を加算し、同じアドレスに加算した値を書き込
む。この処理を複数サンプル分について繰り返し行う。
このことにより、コード毎の累積回数、すなわち、出現
度数が求められ、ヒストグラムメモリに蓄積する。
The level distribution detecting means 1 uses the code itself representing the quantized amplitude level as an address, and an address memory (not shown) storing a value corresponding to the address, and a histogram for creating a histogram. Histogram memory (not shown) that accumulates the appearance frequency of each code
Is provided. The level distribution detecting means 1 accesses a histogram memory from a code of the digital audio signal based on the code, and reads a value corresponding to an address stored in the address memory. One is added to this data, and the added value is written to the same address. This process is repeated for a plurality of samples.
As a result, the cumulative number of times for each code, that is, the frequency of appearance is obtained and stored in the histogram memory.

【0014】ヒストグラムを作成する処理を行うサンプ
ル数は、A/D変換誤差を検出する対象のデジタルオー
ディオ信号の全てではなく、同じA/Dコンバータによ
りデジタルオーディオ信号に変換されたものであるなら
ば、そのデジタルオーディオ信号の一部、例えば最初の
数秒間のサンプルでよい。サンプル数が多い程、ヒスト
グラムの精度が向上する。例えば、比較的レベルの高い
部分が連続した2,500,000サンプル分の期間の
サンプルを用いると、良好なヒストグラム分布を得るこ
とができる。このヒストグラム化は、デジタルカウンタ
回路、または、ソフトウェアで実現することも可能であ
る。
The number of samples for which the process of creating a histogram is performed is not all of the digital audio signals for which an A / D conversion error is to be detected, but is a signal converted into a digital audio signal by the same A / D converter. , A portion of the digital audio signal, eg, samples for the first few seconds. The greater the number of samples, the better the accuracy of the histogram. For example, if a sample of a period of 2,500,000 samples in which a relatively high level portion is continuous is used, a favorable histogram distribution can be obtained. This histogram can be realized by a digital counter circuit or software.

【0015】誤差コード検出手段2は、レベル分布検出
手段1により検出されたヒストグラムからA/D変換誤
差が生じたコードを検出するものである。図3は、A/
D変換誤差の大きいコードを示す模式図である。A/D
変換誤差が生じたデジタルオーディオ信号には、隣接す
るコードの出現度数が急激に高くなるコード、または、
低くなるコードが発生する。誤差コード検出手段2は、
その出現度数が急激の変化したコードをヒストグラムよ
り検出する。図3に示すように、出現度数が−35LS
Bと−36LSBとで約20000サンプルの差があ
る。本来、−36LSBと変換されるべきサンプルが、
約10000サンプル、A/D変換誤差により−35L
SBに変換されている。このような場合、誤差コード検
出手段2は、−36LSBのレベルのコードを変換誤差
が生じたコードとして検出する。
The error code detecting means 2 detects a code having an A / D conversion error from the histogram detected by the level distribution detecting means 1. FIG.
FIG. 3 is a schematic diagram showing a code having a large D conversion error. A / D
In a digital audio signal in which a conversion error has occurred, a code in which the frequency of occurrence of an adjacent code sharply increases, or
A low code occurs. The error code detection means 2
The code whose appearance frequency changes abruptly is detected from the histogram. As shown in FIG. 3, the appearance frequency is -35 LS
There is a difference of about 20,000 samples between B and -36 LSB. Originally, the sample to be converted to -36 LSB is
About 10,000 samples, -35L due to A / D conversion error
It has been converted to SB. In such a case, the error code detecting means 2 detects a code having a level of -36 LSB as a code having a conversion error.

【0016】レベル推定手段3は、誤差コード検出手段
2で検出された出現度数の差が大きいコードに対し、該
コードに時間的に隣接しているコードから、正しいと推
定される量子化レベルを推定するものである。この量子
化レベルの推定方法には、2つの方法がある。第1の推
定方法は、量子化レベルを推定するコードと時間的に隣
接した前後のコードの値から推定する方法である。ま
た、第2の推定方法は、量子化レベルを推定するコード
に対し時間的に前のコードの量子化レベルから推定した
値と、量子化レベルを推定するコードに対し時間的に後
のコードの量子化レベルから推定した値とを求め、その
2つの値の平均から値を推定する方法である。
The level estimating means 3 calculates a quantization level which is estimated to be correct from a code temporally adjacent to the code having a large difference in appearance frequency detected by the error code detecting means 2. It is an estimate. There are two methods for estimating the quantization level. The first estimating method is a method of estimating the quantization level from the values of codes before and after the code temporally adjacent to the code for estimating the quantization level. In addition, the second estimation method includes a method of estimating a value estimated from a quantization level of a code temporally preceding a code for estimating a quantization level and a value of a code temporally subsequent to the code estimating a quantization level. This is a method of obtaining a value estimated from the quantization level and estimating the value from an average of the two values.

【0017】第1の推定方法について具体的に説明す
る。図4は、本発明のアナログ/ディジタル変換誤差低
減装置における第1のレベル推定方法を示す模式図であ
る。図4において、例えば、出現度数が−35LSBと
−36LSBとの間に約20000サンプルの差がある
ものとする。つまり、本来、−36LSBと変換される
べきサンプルが、約10000サンプル、A/D変換誤
差により−35LSBに変換されているものとする。
The first estimating method will be specifically described. FIG. 4 is a schematic diagram showing a first level estimation method in the analog / digital conversion error reduction device of the present invention. In FIG. 4, for example, it is assumed that there is a difference of about 20,000 samples between the appearance frequencies of −35 LSB and −36 LSB. That is, it is assumed that a sample to be converted to −36 LSB is converted to −35 LSB due to an A / D conversion error.

【0018】検出された時間Tnの量子化レベルSnは−
35LSBであるが、時間Tn-1の量子化レベルSn-1
−38LSB、時間Tn+1の量子化レベルSn+1は−34
LSBであり、時間的に前後のサンプルの量子化レベル
から推定した時間Tnにおける量子化レベルの平均推定
値S'nは、次式により求めることができる。 S'n=(Sn-1+Sn+1)/2 (1)
The quantization level Sn of the detected time T n is-
It is a 35LSB, the quantization level S n-1 of the time T n-1 -38LSB, the quantization level S n + 1 of the time T n + 1 -34
The LSB, and the average estimated value S ′ n of the quantization level at the time T n estimated from the quantization levels of the preceding and succeeding samples can be obtained by the following equation. S ′ n = (S n−1 + S n + 1 ) / 2 (1)

【0019】第2のレベル推定方法について具体的に説
明する。図5は、本発明のアナログ/ディジタル変換誤
差低減装置における第2のレベル推定方法を示す模式図
である。図5において、例えば、出現度数が−35LS
Bと−36LSBとの間で約20000サンプルの差が
あるものとする。つまり、本来、−36LSBと変換さ
れるべきサンプルが、約10000サンプル、A/D変
換誤差により−35LSBに変換されているものとす
る。
The second level estimation method will be specifically described. FIG. 5 is a schematic diagram showing a second level estimation method in the analog / digital conversion error reduction device of the present invention. In FIG. 5, for example, the frequency of occurrence is −35 LS.
Assume that there is a difference of about 20,000 samples between B and -36 LSB. That is, it is assumed that a sample to be converted to −36 LSB is converted to −35 LSB due to an A / D conversion error.

【0020】時間Tn-1の量子化レベルSn-1は−38L
SB、時間Tn+1の量子化レベルSn+1は−34LSBで
あり、検出された時間Tnの量子化レベルSnは−35L
SBである。まず、時間的に前後のサンプルの量子化レ
ベルから推定した時間Tnにおけるサンプルの量子化レ
ベルの平均推定値S'nは、次式により求める。 S'n=(Sn-1+Sn+1)/2 (2)
The quantization level S n-1 of the time T n-1 is -38L
SB, the quantization level S n + 1 of the time T n + 1 is -34LSB, quantization levels S n of the detected time T n is -35L
SB. First, the average estimated value S 'n of quantization levels of the sample at the time was estimated from the quantization level T n temporally before and after the sample is calculated by the following equation. S ′ n = (S n−1 + S n + 1 ) / 2 (2)

【0021】次に、Sn-2、Sn-1、S'nから、時間T
n-1での量子化レベルの第1の外挿推定値Zn1を、次式
により求める。 Zn1=Sn-1−{(S'n−Sn-2)/2} (3)
Next, from S n−2 , S n−1 and S ′ n , the time T
The first extrapolated estimated value Z n1 of the quantization level at n−1 is obtained by the following equation. Z n1 = S n1 - {( S 'n -S n-2) / 2} (3)

【0022】また、S'n、Sn+2、Sn+1から、時間T
n+1での量子化レベルの第2の外挿推定値Zn2を、次式
により求める。 Zn2=Sn+1−{(Sn-2−S'n)/2} (4)
Further, from S ' n , S n + 2 , S n + 1 , the time T
A second extrapolated estimated value Z n2 of the quantization level at n + 1 is obtained by the following equation. Z n2 = S n + 1 - {(S n2 -S 'n) / 2} (4)

【0023】更に、第1の外挿推定値Zn1と第2の外挿
推定値Zn2から、時間Tnでの推定値の平均外挿推定値
nを、次式により求める。 Zn=(Zn1+Zn2)/2 (5)
Furthermore, the first outer挿推value Z n1 from the second outer挿推value Z n2, the average outer挿推value Z n of estimate at time T n, calculated by the following equation. Z n = (Z n1 + Z n2) / 2 (5)

【0024】そして、平均推定値S'nと平均外挿推定値
nから、推定値S''nを、次式により求める。 S''n=(S'n+Zn)/2 (6)
[0024] Then, 'the average outer挿推value Z n and n, the estimated value S' average estimate S a 'n, calculated by the following equation. S ″ n = (S ′ n + Z n ) / 2 (6)

【0025】変換誤差判定手段4は、レベル推定手段3
により推定された値と出現度数の差の大きいコードの値
とを比較し、その2つの値の差が所定値より大きいか、
小さいかにより、出現度数の差が大きいコードの値を補
正するかどうかを判定するものである。
The conversion error judging means 4 comprises the level estimating means 3
Is compared with the value of the code having a large difference in appearance frequency, and whether the difference between the two values is greater than a predetermined value,
It is determined whether or not to correct the value of a code having a large difference in appearance frequency depending on whether the code is small.

【0026】前述した第1のレベル推定方法による推定
値S'n、または、第2のレベル推定方法による推定値
S''nから、次式により、A/D変換誤差が大きいサン
プルかどうかを判定する。 S'n<Sn−1/2LSB (7) S''n<Sn−1/2LSB S'n≧Sn−1/2LSB (8) S''n≧Sn−1/2LSB
The estimated value S according to the first level estimation method described above 'n or the estimated value S according to the second-level estimation method' from 'n, the following equation, whether sample A / D conversion error is large judge. S ′ n <S n −1 / LSB (7) S ″ n <S n −1 / LSB S ′ n ≧ S n −1 / LSB (8) S ″ n ≧ S n −1 / LSB

【0027】変換誤差補正手段5は、変換誤差判定手段
4でA/D変換誤差が大きいコードと判定された場合
に、入力されるデジタルオーディオ信号に対して補正を
加え、出力するものである。つまり、(7)、(8)式
から求められた推定値S'(S'')の値が、Sn−1/2
LSBの値より小さい場合、A/D変換誤差が大きいも
のと判定し、そのサンプルの量子化レベルSnの値を1
LSB下げて出力する。また、(7)、(8)式から求
められた推定値S'(S'')の値が、Sn−1/2LSB
の値以上の場合、A/D変換誤差が小さいものと判定
し、入力されたデジタルオーディオ信号をそのまま出力
する。
The conversion error correction means 5 corrects the input digital audio signal and outputs it when the conversion error determination means 4 determines that the code has a large A / D conversion error. That is, the value of the estimated value S ′ (S ″) obtained from the equations (7) and (8) is equal to S n −1/2.
If the value is smaller than the LSB value, it is determined that the A / D conversion error is large, and the value of the quantization level Sn of the sample is set to 1
Output with LSB lowered. Also, the value of the estimated value S ′ (S ″) obtained from the equations (7) and (8) is Sn− / LSB.
If the value is equal to or greater than the value, it is determined that the A / D conversion error is small, and the input digital audio signal is output as it is.

【0028】以上の構成からなるA/D変換誤差低減装
置の処理について説明する。デジタルオーディオ信号
は、レベル分布検出手段1に入力され、コード毎に出現
度数が検出されヒストグラムを作成する。
The processing of the A / D conversion error reducing device having the above configuration will be described. The digital audio signal is input to the level distribution detecting means 1, and the frequency of appearance is detected for each code to create a histogram.

【0029】誤差コード検出手段2は、作成したヒスト
グラムを参照して、コード毎に出現度数が極端に多いコ
ードまたは出現度数が極端に少ないコードを検出する。
The error code detecting means 2 refers to the created histogram to detect a code having an extremely high appearance frequency or a code having an extremely low appearance frequency for each code.

【0030】レベル推定手段3は、誤差コード検出手段
2で検出された誤差コードに基づいて、入力されるデジ
タルオーディオ信号から、誤差コードにおける正しいと
推定される量子化レベルを推定する。
Based on the error code detected by the error code detecting means 2, the level estimating means 3 estimates a quantization level estimated to be correct in the error code from the input digital audio signal.

【0031】変換誤差判定手段4は、レベル推定手段3
で推定された量子化レベルと入力されたデジタルオーデ
ィオ信号とを比較し、変換誤差大きいかどうかを判定す
る。
The conversion error judging means 4 comprises the level estimating means 3
Is compared with the input digital audio signal to determine whether the conversion error is large.

【0032】変換誤差補正手段5は、変換誤差判定手段
4で変換誤差が大きいと判定されたコードについては、
入力されるデジタルオーディオ信号の量子化レベルを1
LSB下げて出力し、また、変換誤差が小さいと判定さ
れたコードについては、そのまま入力されるデジタルオ
ーディオ信号を出力する。
The conversion error correction means 5 converts the code determined to have a large conversion error by the conversion error
Set the quantization level of the input digital audio signal to 1
The digital audio signal that is output with the LSB lowered and that is determined to have a small conversion error is output as it is.

【0033】以上の処理により、デジタルオーディオ信
号のA/D変換時に生じた変換誤差を検出して低減する
ことができ、例えば、使用されたA/D変換器の特性が
わからない場合でも、A/D変換誤差を有する音楽ソフ
トの歪みを低減し、音質を高めることができる。
By the above processing, a conversion error generated at the time of A / D conversion of a digital audio signal can be detected and reduced. For example, even if the characteristics of the used A / D converter are not known, A / D conversion can be performed. The distortion of music software having a D conversion error can be reduced, and the sound quality can be improved.

【0034】[0034]

【発明の効果】本発明によれば、アナログ/デジタル変
換誤差低減装置において、アナログ/デジタル変換器に
よる変換誤差の有するデジタル信号からアナログ/デジ
タル変換時の変換誤差を検出し、変換誤差を低減するこ
とができる。
According to the present invention, in an analog / digital conversion error reducing device, a conversion error at the time of analog / digital conversion is detected from a digital signal having a conversion error by an analog / digital converter, and the conversion error is reduced. be able to.

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

【図1】本発明のアナログ/デジタル変換誤差低減装置
における一実施例の概略構成を示す模式図である。
FIG. 1 is a schematic diagram showing a schematic configuration of an embodiment of an analog / digital conversion error reduction device of the present invention.

【図2】デジタルオーディオ信号のヒストグラムの一例
を示す模式図である。(a)は、A/D変換誤差が小さ
い場合であり、(b)は、A/D変換誤差が大きい場合
である。
FIG. 2 is a schematic diagram illustrating an example of a histogram of a digital audio signal. (A) shows the case where the A / D conversion error is small, and (b) shows the case where the A / D conversion error is large.

【図3】A/D変換誤差の大きいコードを示す模式図で
ある。
FIG. 3 is a schematic diagram showing a code having a large A / D conversion error.

【図4】本発明のアナログ/ディジタル変換誤差低減装
置における第1のレベル推定方法を示す模式図である。
FIG. 4 is a schematic diagram showing a first level estimation method in the analog / digital conversion error reduction device of the present invention.

【図5】本発明のアナログ/ディジタル変換誤差低減装
置における第2のレベル推定方法を示す模式図である。
FIG. 5 is a schematic diagram showing a second level estimation method in the analog / digital conversion error reduction device of the present invention.

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

1 ・・・レベル分布検出手段 2 ・・・誤差コード検出手段 3 ・・・レベル推定手段 4 ・・・変換誤差判定手段 5 ・・・変換誤差補正手段 DESCRIPTION OF SYMBOLS 1 ... Level distribution detection means 2 ... Error code detection means 3 ... Level estimation means 4 ... Conversion error determination means 5 ... Conversion error correction means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】アナログ/デジタル変換器によりコードに
変換されたデジタル信号の複数サンプルについて各々の
量子化された振幅レベルを表すコード毎の出現度数を検
出するレベル分布検出手段と、該レベル分布検出手段で
検出された前記コード毎の出現度数から隣接するコード
の出現度数の差が大きいコードを変換誤差が生じたコー
ドとして検出する誤差コード検出手段と、該誤差コード
検出手段で検出された前記変換誤差が生じたコードの正
しい量子化レベルを推定するレベル推定手段と、該レベ
ル推定手段で推定された量子化レベルを前記変換誤差が
生じたコードの量子化レベルとして出力する変換誤差補
正手段とを具備することを特徴とするアナログ/デジタ
ル変換誤差低減装置。
1. A level distribution detecting means for detecting an appearance frequency of each code representing a quantized amplitude level of a plurality of samples of a digital signal converted into a code by an analog / digital converter, and detecting the level distribution. Error code detecting means for detecting a code having a large difference in the frequency of occurrence of an adjacent code from the frequency of occurrence of each code detected by the means as a code having a conversion error, and the conversion detected by the error code detecting means. Level estimating means for estimating a correct quantization level of the code in which the error has occurred, and conversion error correcting means for outputting the quantization level estimated by the level estimating means as the quantization level of the code in which the conversion error has occurred. An analog / digital conversion error reduction device, comprising:
【請求項2】請求項1記載のアナログ/デジタル変換誤
差低減装置において、前記レベル推定手段は、前記変換
誤差が生じたコードと時間的に前後に隣接するコードと
の量子化レベルの平均から前記変換誤差が生じたコード
の量子化レベルを推定することを特徴とするアナログ/
デジタル変換誤差低減装置。
2. The analog / digital conversion error reducing device according to claim 1, wherein said level estimating means calculates the average of quantization levels of a code in which the conversion error has occurred and a code adjacent immediately before and after the code. An analog / digital converter for estimating a quantization level of a code having a conversion error.
Digital conversion error reduction device.
【請求項3】請求項1記載のアナログ/デジタル変換誤
差低減装置において、前記レベル推定手段は、前記変換
誤差が生じたコードと時間的に前後に隣接するコードと
の量子化レベルから平均推定値を求め、該平均推定値と
前記変換誤差が生じたコードに対し時間的に複数個前の
コードとの量子化レベルから第1の外挿推定値を求め、
該平均推定値と前記変換誤差が生じたコードに対し時間
的に複数個後のコードとの量子化レベルから第2の外挿
推定値を求め、前記第1の外挿推定値と前記第2の外挿
推定値とから平均外挿推定値を求め、前記平均推定値と
前記外挿平均推定値との平均から前記変換誤差が生じた
コードの量子化レベルを推定することを特徴とするアナ
ログ/デジタル変換誤差低減装置。
3. An analog / digital conversion error reducing apparatus according to claim 1, wherein said level estimating means calculates an average estimated value from a quantization level of a code in which the conversion error has occurred and a code immediately preceding and succeeding in time. , And a first extrapolated estimated value is obtained from the quantized level of the average estimated value and the code having a plurality of codes before the conversion error.
A second extrapolated estimated value is obtained from the quantization level between the average estimated value and the code having a plurality of codes temporally subsequent to the code in which the conversion error has occurred, and the first extrapolated estimated value and the second extrapolated value are calculated. An analog extrapolated value is obtained from the extrapolated estimated value, and the quantization level of the code having the conversion error is estimated from the average of the average estimated value and the extrapolated average estimated value. / Digital conversion error reduction device.
JP30399896A 1996-10-30 1996-10-30 Analog/digital converting error reducing device Pending JPH10135829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30399896A JPH10135829A (en) 1996-10-30 1996-10-30 Analog/digital converting error reducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30399896A JPH10135829A (en) 1996-10-30 1996-10-30 Analog/digital converting error reducing device

Publications (1)

Publication Number Publication Date
JPH10135829A true JPH10135829A (en) 1998-05-22

Family

ID=17927828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30399896A Pending JPH10135829A (en) 1996-10-30 1996-10-30 Analog/digital converting error reducing device

Country Status (1)

Country Link
JP (1) JPH10135829A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002530988A (en) * 1998-11-20 2002-09-17 テレフォンアクチーボラゲット エル エム エリクソン(パブル) Calibration method and system for analog / digital conversion

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002530988A (en) * 1998-11-20 2002-09-17 テレフォンアクチーボラゲット エル エム エリクソン(パブル) Calibration method and system for analog / digital conversion

Similar Documents

Publication Publication Date Title
US20050143981A1 (en) Compressing method and apparatus, expanding method and apparatus, compression and expansion system, recorded medium, program
JP5137953B2 (en) Analog / digital conversion circuit, optical disk reproducing device, receiving device
JP3556066B2 (en) Distortion detection device, distortion correction device, and distortion correction method
JPH10135829A (en) Analog/digital converting error reducing device
JP3445398B2 (en) Digital signal reproduction device
JP3081047B2 (en) Coding method for reducing DC voltage component in data stream of digital signal
JPH0991887A (en) Digital signal processing method and device
US6587984B1 (en) Distortion detecting device, distortion correcting device, and distortion correcting method for digital audio signal
JP3256399B2 (en) Apparatus and method for detecting linearity error of digital audio signal, and apparatus and method for reducing linearity error
US20040081051A1 (en) Jitter detection apparatus and jitter detection method
JPH0936740A (en) Bit length extension method and device therefor
JP3475064B2 (en) Distortion correction device and distortion correction method
JPH10199144A (en) Maximum likelihood decoder
JP3336823B2 (en) Sound signal processing device
JP2614840B2 (en) Digital audio recording and playback device
JP2943395B2 (en) Signal processing circuit
JPH10322205A (en) Device and method for correcting nonlinear distortion
JPH10322206A (en) Device and method for reducing distortion
JP2601440B2 (en) Digital audio recording and playback device
JP2000022549A (en) Quantization noise reducing device and bit length extending device
JPH08195037A (en) Evaluation device for optical disk and recorded information reproducing device
JPH08329626A (en) Device for interpolating digital data, reproducing device, recorder and method of interpolation
JP3536993B2 (en) Data playback device
JP2917191B2 (en) Digital signal reproduction device
JPH09259548A (en) Data-reproducing circuit