JP2815526B2 - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JP2815526B2
JP2815526B2 JP16902993A JP16902993A JP2815526B2 JP 2815526 B2 JP2815526 B2 JP 2815526B2 JP 16902993 A JP16902993 A JP 16902993A JP 16902993 A JP16902993 A JP 16902993A JP 2815526 B2 JP2815526 B2 JP 2815526B2
Authority
JP
Japan
Prior art keywords
digital data
data
digital
band
ads
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.)
Expired - Fee Related
Application number
JP16902993A
Other languages
Japanese (ja)
Other versions
JPH0728784A (en
Inventor
猛 田中
幸彦 配川
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP16902993A priority Critical patent/JP2815526B2/en
Publication of JPH0728784A publication Critical patent/JPH0728784A/en
Application granted granted Critical
Publication of JP2815526B2 publication Critical patent/JP2815526B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Complex Calculations (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ミニディスク等のデジ
タルオーディオ機器に内蔵されて、デジタルデータを演
算して統合するシーケンシャル演算器に用いられ、デー
タ長が固定長のDSP(Digital Signal Processer)を
用いたデジタル信号処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in a sequential arithmetic unit which is built in a digital audio device such as a mini disk and calculates and integrates digital data, and has a fixed data length DSP (Digital Signal Processor). And a digital signal processing device using the same.

【0002】[0002]

【従来の技術】従来より、オーディオ信号を光磁気方式
にて記録再生するミニディスクでは、オーディオ信号を
デジタル化したPCM信号であるデジタルデータを、2
つの帯域分割フィルター(Quadrature Mirror Filter:
以下、QMFという)を用いて3つの帯域のオーディオ
信号を示すデジタルデータにそれぞれ分割し、上記各デ
ジタルデータをデータ圧縮して記録している。
2. Description of the Related Art Conventionally, in a mini-disc for recording / reproducing an audio signal by a magneto-optical method, digital data which is a PCM signal obtained by digitizing an audio signal is stored in a mini disk.
Quadrature Mirror Filter:
Hereafter, the digital data is divided into digital data indicating audio signals of three bands using QMF, and the digital data is compressed and recorded.

【0003】つまり、オーディオ信号がデジタル変換さ
れたデジタルデータを、1段目のQMFを用いて0Hz−
11kHzと 11kHz−22kHz との各帯域のデジタルデータに
2分割した後、上記の0Hz− 11kHzの帯域のデジタルデ
ータを、2段目のQMFを用いて0Hz−5.5kHzと5.5kHz
−11kHz に2分割し、上記 11kHz−22kHz の帯域のデジ
タルデータと合わせて、3つの帯域のオーディオ信号を
示す各デジタルデータに分割する。
[0003] In other words, digital data obtained by digitally converting an audio signal is converted into 0 Hz-
After the digital data of each band of 11kHz and 11kHz-22kHz is divided into two, the above digital data of the band of 0Hz-11kHz is converted to 0Hz-5.5kHz and 5.5kHz using the second stage QMF.
The signal is divided into two at -11 kHz, and is further divided into digital data representing audio signals in three bands together with the digital data in the band of 11 kHz to 22 kHz.

【0004】その後、ミニディスクでは、上記3つの帯
域のオーディオ信号を示す各デジタルデータを、MDC
T(Modified Discrete Cosine Transformer) 等を用い
てスペクトル信号にそれぞれ変換しデータ圧縮して光磁
気ディスクに記録している。
[0004] After that, in the mini disc, each digital data indicating the audio signals of the above three bands is converted into MDC data.
The signals are converted into spectral signals by using a T (Modified Discrete Cosine Transformer) or the like, compressed, and recorded on a magneto-optical disk.

【0005】このようなミニディスクの再生では、記録
された各帯域のスペクトル信号は、ミニディスクからそ
れぞれ読み出されて逆変換され、3つの帯域のオーディ
オ信号を示す各デジタルデータが得られた後、各デジタ
ルデータが帯域信号合成部にそれぞれ入力されて帯域統
合されてオーディオ信号を示すPCM信号となった後、
そのPCM信号がオーディオ信号に変換され音として再
生される。
[0005] In the reproduction of such a mini-disc, the recorded spectrum signal of each band is read out from the mini-disc and inversely converted to obtain digital data representing audio signals of three bands. After each digital data is input to the band signal synthesizing unit and band-integrated into a PCM signal indicating an audio signal,
The PCM signal is converted into an audio signal and reproduced as sound.

【0006】上記帯域信号合成部では、図2に示すよう
に、0−5.5kHzと5.5kHz−11kHz と11kHz−22kHz との
各帯域のオーディオ信号を示す各デジタルデータが入力
されるバスライン21・22・23がそれぞれ設けられ
ている。まず、上記各バスライン21・22に入力され
た各帯域の信号を1段目のQMF24を用いて演算し統
合して0− 11kHzのデジタルデータをバスライン25に
出力する。
In the band signal synthesizing section, as shown in FIG. 2, bus lines 21 to which digital data representing audio signals of respective bands of 0-5.5 kHz, 5.5 kHz-11 kHz and 11 kHz-22 kHz are inputted. 22 and 23 are provided respectively. First, the signals of the respective bands input to the respective bus lines 21 and 22 are calculated and integrated by using the QMF 24 in the first stage, and the digital data of 0 to 11 kHz is output to the bus line 25.

【0007】その後、バスライン25の信号と、バスラ
イン23の信号とを、2段目のQMF26を用いて演算
統合して元のPCM信号27を得、続いて、図示しない
が、上記PCM信号をオーディオ信号に変換して再生し
ている。
After that, the signal of the bus line 25 and the signal of the bus line 23 are arithmetically integrated by using the QMF 26 in the second stage to obtain the original PCM signal 27. Then, although not shown, the PCM signal 27 Is converted to an audio signal and played.

【0008】上記各QMF24・26では、データ長が
固定された例えば24ビットの固定長のDSPを用いて演
算することにより、統合されたデジタルデータを得てお
り、次の(1)、(2)に示す数式にて演算が行われ
る。
In each of the QMFs 24 and 26, integrated digital data is obtained by performing an operation using a fixed-length DSP having a fixed data length of, for example, 24 bits, and the following (1) and (2) are obtained. The calculation is performed by the formula shown in ()).

【0009】[0009]

【数1】 (Equation 1)

【0010】[0010]

【数2】 (Equation 2)

【0011】なお、上記 ADLは、低帯域のオーディオ信
号に対応するデジタルデータを示し、上記 ADHは、高帯
域のオーディオ信号に対応するデジタルデータを示し、
上記ADSは、上記 ADLおよび ADHのデジタルデータを統
合したデジタルデータを示し、上記のaは、QMFの特
性を表す係数であり、上記の場合、j=0〜23のときの
計24個の係数をそれぞれ表し、上記のqは、0,1,2,3,…
であり、合成されたデータの時間的な並びを表す。
Note that ADL indicates digital data corresponding to a low-band audio signal, ADH indicates digital data corresponding to a high-band audio signal,
The ADS indicates digital data obtained by integrating the ADL and ADH digital data. The a is a coefficient representing the characteristic of the QMF. In the above case, a total of 24 coefficients when j = 0 to 23 is used. Where q is 0, 1, 2, 3,...
And represents the temporal arrangement of the synthesized data.

【0012】[0012]

【発明が解決しようとする課題】ところが、上記従来の
構成では、固定長のDSPを用いて、デジタルデータの
演算を行うとき下記のような演算誤差が発生するという
問題を生じている。
However, in the above-mentioned conventional configuration, there is a problem that the following calculation error occurs when digital data is calculated using a fixed-length DSP.

【0013】すなわち、上記のようなミニディスクで
は、演算するデータの数値は、−1から1の間に分布す
るように標準化されており、かつ、量子化するデータ長
は24ビットあるいは16ビットが採用されている。ただ
し、本明細書では説明の表記を簡略化するために8ビッ
トのデータ長にて説明する。一般的に、小数の数値を有
限長のビットで表すときに誤差を伴うことがあり、例え
ば、 0.2という数字を8ビットで表すと、16進表示(以
下、hex という)では19ということになる。
That is, in the above-mentioned minidisc, the numerical values of the data to be calculated are standardized so as to be distributed between -1 and 1, and the data length to be quantized is 24 bits or 16 bits. Has been adopted. However, in this specification, the description will be made with an 8-bit data length to simplify the description. Generally, an error may occur when a decimal number is represented by a finite length bit. For example, when a number of 0.2 is represented by 8 bits, it becomes 19 in hexadecimal notation (hereinafter referred to as hex). .

【0014】ところが、19(hex )は実際には0.195312
5 であり、0.0046875 の誤差を発生していることにな
る。なお、上記16進表示では、先頭ビットは符号ビット
として用いられ、符号ビット0は正数、符号ビット1は
負数を表し、デジタルデータa(0≦a<1)を7ビッ
トで表示していて、その最大値は16進表示では7Fと表示
される。
However, 19 (hex) is actually 0.195312
5, which means that an error of 0.0046875 has occurred. In the hexadecimal notation, the leading bit is used as a sign bit, sign bit 0 represents a positive number, sign bit 1 represents a negative number, and digital data a (0 ≦ a <1) is represented by 7 bits. , Its maximum value is displayed as 7F in hexadecimal notation.

【0015】そこで、例として、19(hex )は、8ビッ
トでは00011001であるから、その先頭ビットを除いた 0
011001は2-3+2-4+2-7を表し、先頭ビット0から正
数となり、0.1953125 となる。
Therefore, as an example, since 19 (hex) is 00011001 in 8 bits, 0 (hex) is obtained by excluding the first bit.
011001 represents 2 −3 +2 −4 +2 −7 , and becomes a positive number from the first bit 0 and becomes 0.1953125.

【0016】このような数値を使って、データaとデー
タbとの加算は、デジタル式に行うと、(a−e1) +(b−
e2) =a+b−e1−e2となり真の値に対して−e1−e2
け小さな値となってしまう。なお、a、bは真の値、
e1、e2は誤差を示す。
When the addition of the data a and the data b is performed digitally using such numerical values, (a−e 1 ) + (b−)
e 2 ) = a + b−e 1 −e 2 , which is −e 1 −e 2 smaller than the true value. Note that a and b are true values,
e 1 and e 2 indicate errors.

【0017】同様に、乗算については、(a−e1) *(b−
e2) =ab−ae2−be1+e1e2となる。ここで、e1e
2は、ae2、be1に対して非常に小さな値となり、無視
できるから、上記乗算の誤差は、真の値から小さくなる
方向に働いている。
Similarly, for multiplication, (a−e 1 ) * (b−
e 2 ) = ab−ae 2 −be 1 + e 1 e 2 . Where e 1 e
Since 2 is a very small value with respect to ae 2 and be 1 and can be ignored, the error of the multiplication works in the direction of decreasing from the true value.

【0018】ここで、より判りやすく説明するために、
前記の(1)、(2)式を用いた計算例について述べ
る。まず、j=0〜1とし、任意のqに対して、1段目
のQMF24での演算を次の値で実行すると次の通りと
なる。
Here, in order to explain more clearly,
A calculation example using the above equations (1) and (2) will be described. First, it is assumed that j = 0 to 1 and the operation of the first-stage QMF 24 is performed with respect to an arbitrary q using the following values.

【0019】ADL(2(q-0)) =0.2 ADL(2(q-1)) =0.4 ADH(2(q-0)) =0.3 ADH(2(q-1)) =0.5 2a(0) =0.3 2a(1) =0.5 2a(2) =0.5 2a(3) =0.3 ADS(2q)=0.3 (0.2−0.3)+0.5 (0.4−0.5) =− 0.03 −0.05 =− 0.08 ADS(2q +1)=0.5 (0.2+0.3)+0.3 (0.4+0.5) =0.25+0.27 =0.52 さらに、1段目の結果をもとに2段目のQMF26の演
算を実行すると、次の通りとなる。
ADL (2 (q-0)) = 0.2 ADL (2 (q-1)) = 0.4 ADH (2 (q-0)) = 0.3 ADH (2 (q-1)) = 0.5 2a (0 ) = 0.3 2a (1) = 0.5 2a (2) = 0.5 2a (3) = 0.3 ADS (2q) = 0.3 (0.2−0.3) +0.5 (0.4−0.5) = −0.03 −0.05 = −0.08 ADS ( 2q + 1) = 0.5 (0.2 + 0.3) +0.3 (0.4 + 0.5) = 0.25 + 0.27 = 0.52 Further, when the operation of the second stage QMF 26 is executed based on the result of the first stage, It becomes as follows.

【0020】まず、1段目の結果より、 ADL(2(q-0)) =−0.08 ADL(2(q-1)) =0.52 また、2a(j)を1段目と同じで、ADHを次の様に
設定すると、 ADH(2(q-0)) =0.5 ADH(2(q-1)) =0.3 ADS(2q)=0.3(−0.08−0.5)+0.5(0.52−0.3) =−0.174 +0.11 =−0.064 ADS(2q +1)=0.5(−0.08+0.5)+0.3(0.52+0.3) =0.21+0.246 =0.456 このような演算を固定長のDSPを用いてデジタルにて
計算させると(以後、データは16進表示にて示す)、次
の通りである。
First, from the result of the first stage, ADL (2 (q−0)) = − 0.08 ADL (2 (q−1)) = 0.52 Further, 2a (j) is the same as that of the first stage, ADH Is set as follows, ADH (2 (q-0)) = 0.5 ADH (2 (q-1)) = 0.3 ADS (2q) = 0.3 (−0.08−0.5) +0.5 (0.52−0.3) = -0.174 + 0.11 = -0.064 ADS (2q + 1) = 0.5 (-0.08 + 0.5) +0.3 (0.52 + 0.3) = 0.21 + 0.246 = 0.456 This operation is performed using a fixed-length DSP. When the data is calculated digitally (hereafter, the data is shown in hexadecimal notation),

【0021】ADL(2(q-0)) =19 ADL(2(q-1)) =32 ADH(2(q-0)) =26 ADH(2(q-1)) =40 2a(0) =26 2a(1) =40 2a(2) =40 2a(3) =26 ADS(2q)=26 (19−26) +40 (32−40) =FC+F9 =F5 ADS(2q +1)=40(19 +26) +26(32 +40) =1F+21 =40 さらに、1段目の結果をもとに2段目のQMFの演算を
実行すると次の通りである。
ADL (2 (q-0)) = 19 ADL (2 (q-1)) = 32 ADH (2 (q-0)) = 26 ADH (2 (q-1)) = 402a (0 ) = 26 2a (1) = 40 2a (2) = 40 2a (3) = 26 ADS (2q) = 26 (19−26) +40 (32−40) = FC + F9 = F5 ADS (2q + 1) = 40 ( 19 + 26) +26 (32 + 40) = 1F + 21 = 40 Further, the calculation of the QMF of the second stage based on the result of the first stage is as follows.

【0022】まず、1段目の結果より、 ADL(2(q-0)) =F5 ADL(2(q-1)) =40 また、2a(j)と1段目と同じで、ADHを次の様に
設定すると、 ADH(2(q-0)) =40 ADH(2(q-1)) =26 ADS(2q)=26( F5−40) +40( 40−26) =EA+0D =F7 ADS(2q +1)= 40(F5+40) + 26(40+26) =1A+1E =38 したがって、上記のように固定長のDSPを用い、デー
タ長を8ビットで演算した例では、 ADS(2q)は、F7=−
0.0703125 となることから、その演算誤差は、( 0.064
−0.0703125 )の絶対値、0.0063125 となる一方、 ADS
(2q +1)は、38=0.4375となるから、その演算誤差は、
( 0.456−0.4375)の絶対値、0.0185ということにな
る。
First, from the results of the first stage, ADL (2 (q−0)) = F5 ADL (2 (q−1)) = 40 Further, as in 2a (j), the ADH is ADH (2 (q-0)) = 40 ADH (2 (q-1)) = 26 ADS (2q) = 26 (F5-40) +40 (40-26) = EA + 0D = F7 ADS (2q + 1) = 40 (F5 + 40) +26 (40 + 26) = 1A + 1E = 38 Therefore, in the example where the fixed length DSP is used and the data length is calculated by 8 bits, ADS (2q) is calculated by F7 = −
0.0703125, the calculation error is (0.064
−0.0703125), the absolute value of
Since (2q + 1) is 38 = 0.4375, the calculation error is
The absolute value of (0.456−0.4375) is 0.0185.

【0023】このようにデジタル演算では、演算誤差を
生じることがあり、その誤差は、算出値が真の値に対し
て小さくなる方向に演算結果が偏ることが判る。
As described above, in the digital calculation, a calculation error may occur, and it is understood that the calculation result is biased in a direction in which the calculated value becomes smaller than the true value.

【0024】また、上記のような演算誤差を小さくする
ために、データ長が可変のDSPを用いることが考えら
れるが、可変長のDSPは固定長のDSPと比べて高価
であり、コストアップを招来するという問題を生じてい
る。
In order to reduce the calculation error as described above, it is conceivable to use a DSP having a variable data length. However, a variable-length DSP is more expensive than a fixed-length DSP, and the cost is increased. There is a problem of inviting.

【0025】そこで、本発明の目的は、コストを低減で
きる固定長のDSPを用いて、演算誤差を軽減できるデ
ジタル信号処理装置を提供することである。
It is an object of the present invention to provide a digital signal processing apparatus capable of reducing operation errors by using a fixed-length DSP capable of reducing costs.

【0026】[0026]

【課題を解決するための手段】本発明のデジタル信号処
理装置は、以上の課題を解決するために、デジタル化さ
れ、標準化された第1および第2デジタルデータが入力
されて、データ長を固定にて演算することにより上記第
1および第2デジタルデータを演算し、統合して第3デ
ジタルデータを出力する第1の演算器が設けられ、第3
デジタルデータと、第4デジタルデータとが入力され
て、データ長が固定にて演算することにより上記第3お
よび第4デジタルデータを演算し、統合して第5デジタ
ルデータを出力する第2の演算器が設けられているデジ
タル信号処理装置において、第3および第4デジタルデ
ータの符号を反転して第2の演算器に入力する第1反転
手段がそれぞれ設けられ、かつ、上記第2の演算器から
出力される第5デジタルデータの符号を反転して出力す
る第2反転手段が設けられていることを特徴としてい
る。
In order to solve the above-mentioned problems, a digital signal processing apparatus according to the present invention receives digitized and standardized first and second digital data and fixes the data length. A first computing unit that computes the first and second digital data by integrating the first and second digital data and outputs the third digital data is provided.
Digital data and fourth digital data are input, and the third and fourth digital data are calculated by performing calculations with a fixed data length, and the second calculation is performed to integrate and output fifth digital data. A digital signal processing device provided with a first inverting means for inverting the signs of the third and fourth digital data and inputting the inverted signals to a second computing unit; And a second inverting means for inverting and outputting the sign of the fifth digital data output from the second digital data.

【0027】[0027]

【作用】上記構成によれば、第1の演算器に入力された
第1および第2デジタルデータが演算されて統合される
際に、演算に誤差を生じて、真の値に対して、例えば小
さくなる方向に生じた第1の演算器からの第3デジタル
データと、第4デジタルデータとに対してそれらの符号
を第1反転手段により反転して第2の演算器に入力して
演算する。
According to the above arrangement, when the first and second digital data input to the first arithmetic unit are calculated and integrated, an error occurs in the calculation, and the first and second digital data are compared with the true value, for example. The sign of the third digital data and the fourth digital data generated in the decreasing direction from the first arithmetic unit is inverted by the first inverting means and input to the second arithmetic unit for calculation. .

【0028】このことにより、第2の演算器で得られた
第5デジタルデータに生じる、真の値に対する誤差の方
向を、第1の演算器で生じた誤差の方向と逆方向、つま
り真の値から大きくなる方向にすることができる。この
ような第5デジタルデータの符号を第2反転手段により
反転させることにより、第5デジタルデータの符号を復
元することができる。
As a result, the direction of the error with respect to the true value generated in the fifth digital data obtained by the second arithmetic unit is changed in the direction opposite to the direction of the error generated by the first arithmetic unit, that is, the true direction. The direction can be increased from the value. The sign of the fifth digital data can be restored by inverting the sign of the fifth digital data by the second inverting means.

【0029】これにより、上記構成は、第1の演算器に
て生じた誤差の増大する方向と、第2の演算器にて生じ
る誤差の増大する方向とを逆方向とすることができるか
ら、上記各第1および第2の演算器にて生じる少なくと
も一方の誤差を打ち消すことができる。このことから、
得られた演算結果の誤差を低減することができ、従来よ
り真の値に近づいた演算結果を得ることが、データ長が
固定の第1および第2演算器を用いて可能となる。
Thus, in the above configuration, the direction in which the error generated in the first arithmetic unit increases and the direction in which the error generated in the second arithmetic unit increases can be reversed. At least one error occurring in each of the first and second computing units can be canceled. From this,
The error of the obtained operation result can be reduced, and the operation result closer to the true value than before can be obtained by using the first and second operation units having a fixed data length.

【0030】[0030]

【実施例】本発明の一実施例について図1に基づいて説
明すれば、以下の通りである。デジタル信号処理装置
は、例えばミニディスクのように、帯域データに分割さ
れて、それら各帯域データがデータ圧縮されて記録され
たデジタルデータを再生した際、再生された各帯域デー
タを統合する場合に用いる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIG. The digital signal processing device is divided into band data, such as a mini-disc, for example.When reproducing each digital data recorded by compressing and recording each band data, when integrating the reproduced band data, Used.

【0031】デジタル信号処理装置では、図1に示すよ
うに、各帯域データを示すデジタルデータが入力される
各バスライン1・2・3が設けられている。バスライン
1では、0Hz−5.5kHzの帯域のオーディオ信号を示すデ
ジタルデータが入力され、バスライン2では、0Hz〜 1
1kHzの帯域のオーディオ信号を示すデジタルデータが入
力され、バスライン3では、 11kHz−22kHz の帯域のオ
ーディオ信号を示すデジタルデータが入力される。
In the digital signal processing apparatus, as shown in FIG. 1, each of the bus lines 1, 2, and 3 to which digital data indicating each band data is input is provided. Digital data indicating an audio signal in a 0 Hz-5.5 kHz band is input to the bus line 1, and 0 Hz to 1
Digital data indicating an audio signal in a 1 kHz band is input, and digital data indicating an audio signal in an 11 kHz to 22 kHz band is input to the bus line 3.

【0032】なお、上記各バスライン1・2・3に入力
されるデジタルデータの各データ値xは標準化されてい
て、−1<x<1の範囲に設定され、各データ値xは、
例えば24ビットあるいは16ビットで表示され、また、負
数の表示としては、2の補数表示を用いる。なお、負数
の表示としては、1の補数表示や、先頭ビットを符号ビ
ットとして用いることもできる。
Each data value x of the digital data input to each of the bus lines 1, 2, and 3 is standardized and set in a range of -1 <x <1, and each data value x is
For example, it is displayed in 24 bits or 16 bits, and a two's complement display is used as a negative number. In addition, as a display of a negative number, a 1's complement display or a head bit can be used as a sign bit.

【0033】上記各バスライン1・2のデジタルデータ
が入力される帯域統合フィルターであるQMF(第1の
演算器)4が設けられ、上記QMF4にて上記各デジタ
ルデータが演算され帯域統合される。帯域統合されて0
Hz− 11kHzの帯域のオーディオ信号を示すデジタルデー
タがQMF4からバスライン5に出力される。そのバス
ライン5のデジタルデータは符号反転器(第1反転手
段)6により符号が反転されバスライン8に出力され
る。
There is provided a QMF (first arithmetic unit) 4 which is a band integrating filter to which the digital data of each of the bus lines 1 and 2 is input, and the digital data is calculated and integrated by the QMF 4. . Band integrated 0
Digital data representing an audio signal in a band of 11 Hz to 11 kHz is output from the QMF 4 to the bus line 5. The digital data on the bus line 5 is inverted in sign by a sign inverter (first inversion means) 6 and output to the bus line 8.

【0034】一方、前記バスライン3からの 11kHz−22
kHz の帯域のオーディオ信号を示すデジタルデータは、
符号反転器(第1反転手段)7により符号が反転されバ
スライン9に出力される。各バスライン8・9のデジタ
ルデータはQMF(第2の演算器)10に入力される。
上記QMF10では、上記各デジタルデータが0Hz−22
kHz のオーディオ信号を示すデジタルデータに帯域統合
され、その帯域統合されたデジタルデータがバスライン
11に出力される。
On the other hand, 11 kHz-22 from the bus line 3
The digital data representing the audio signal in the kHz band is
The sign is inverted by the sign inverter (first inversion means) 7 and output to the bus line 9. The digital data of each of the bus lines 8 and 9 is input to a QMF (second arithmetic unit) 10.
In the QMF10, each of the digital data is 0Hz-22
The band is integrated with the digital data indicating the audio signal of kHz, and the band-integrated digital data is output to the bus line 11.

【0035】このバスライン11のデジタルデータは、
符号反転器(第2反転手段)12にて再び反転されて元
の符号に復元され、0Hz−22kHz のオーディオ信号を示
すデジタルデータとしてのPCM信号となる。
The digital data on the bus line 11 is
The sign is inverted again by the sign inverter (second inverting means) 12 and restored to the original sign, and becomes a PCM signal as digital data indicating an audio signal of 0 Hz to 22 kHz.

【0036】このような各QMF4・10では、データ
長が例えば24ビットの固定長に設定されたDSP(Degi
tal Signal Processer)にて演算が実行される。また、
上記QMFは、Quadrature Mirror Filterの略称であ
る。
In each of these QMFs 4 and 10, a DSP (Degi-type) whose data length is set to a fixed length of, for example, 24 bits
tal Signal Processor). Also,
The QMF is an abbreviation for Quadrature Mirror Filter.

【0037】次に、上記各QMF4・10での演算例に
ついて説明すると以下の通りである。なお、以下の演算
は、説明の表記を簡素化して見やすくするために、24ビ
ットあるいは16ビットのデータ長を8ビットにて示し、
デジタルデータの表記を簡便にするために、そのデジタ
ルデータを16進法にて示す。また、各QMF4・10で
実行される演算は下記の(1)、(2)の数式で表され
る。
Next, a description will be given of a calculation example in each of the QMFs 4 and 10 as follows. In the following calculations, the data length of 24 bits or 16 bits is indicated by 8 bits in order to simplify the description notation and make it easier to see.
To simplify the notation of digital data, the digital data is shown in hexadecimal. In addition, the operations performed by the respective QMFs 4 and 10 are expressed by the following equations (1) and (2).

【0038】[0038]

【数3】 (Equation 3)

【0039】[0039]

【数4】 (Equation 4)

【0040】なお、上記 ADLは低帯域のオーディオ信号
に対応するデジタルデータを示し、上記 ADHは高帯域の
オーディオ信号に対応するデジタルデータを示し、上記
ADSは上記 ADLおよび ADHのデジタルデータを統合した
デジタルデータを示し、上記のaは、QMFの特性を表
す係数であり、上記の場合、j=0〜23のときの計24個
の係数をそれぞれ表し、上記のqは、0,1,2,3,…であ
り、合成されたデータの時間的な並びを表す。
Note that ADL indicates digital data corresponding to a low-band audio signal, ADH indicates digital data corresponding to a high-band audio signal, and
ADS indicates digital data obtained by integrating the digital data of ADL and ADH. The above a is a coefficient representing the characteristic of QMF. In the above case, a total of 24 coefficients when j = 0 to 23 are obtained. The above q is 0, 1, 2, 3,..., And represents the temporal arrangement of the synthesized data.

【0041】まず、QMF4での演算例は次の通りであ
る。 ADL(2(q-0)) =19 ADL(2(q-1)) =32 ADH(2(q-0)) =26 ADH(2(q-1)) =40 2a(0) =26 2a(1) =40 2a(2) =40 2a(3) =26 ADS(2q)=26 (19−26) +40 (32−40) =FC+F9 =F5 ADS(2q +1)=40(19 +26) +26(32 +40) =1F+21 =40 上記各演算結果を符号反転器6にて符号を反転させる
と、 ADS(2q)=0B ADS(2q +1)=B1 となる。
First, a calculation example in the QMF 4 is as follows. ADL (2 (q-0)) = 19 ADL (2 (q-1)) = 32 ADH (2 (q-0)) = 26 ADH (2 (q-1)) = 40 2a (0) = 26 2a (1) = 40 2a (2) = 40 2a (3) = 26 ADS (2q) = 26 (19−26) +40 (32−40) = FC + F9 = F5 ADS (2q + 1) = 40 (19 + 26) +26 (32 + 40) = 1F + 21 = 40 ADS (2q) = 0B ADS (2q + 1) = B1 when the sign of each operation result is inverted by the sign inverter 6.

【0042】さらに、1段目となるQMF4の演算結果
のデジタルデータと、バスライン3からのデジタルデー
タを符号反転器7にて反転させたバスライン9のデジタ
ルデータをもとに2段目となるQMF10にて帯域統合
するための演算を実行すると次の通りである。
Further, based on the digital data of the operation result of the QMF 4 at the first stage and the digital data of the bus line 9 obtained by inverting the digital data from the bus line 3 by the sign inverter 7, The calculation for band integration performed by the QMF 10 is as follows.

【0043】まず、1段目の結果より、 ADL(2(q-0)) =0B ADL(2(q-1)) =B1 また、2a(j)は1段目と同じで、ADHを次の様に
設定すると、 ADH(2(q-0)) =40 ADH(2(q-1)) =26となり、 さらに、上記各設定値を符号反転器7にて反転させる
と、 ADH(2(q-0)) =B1 ADH(2(q-1)) =DAとなる。
First, from the result of the first stage, ADL (2 (q-0)) = 0B ADL (2 (q-1)) = B1 Further, 2a (j) is the same as the first stage, and ADH is With the following settings, ADH (2 (q-0)) = 40 ADH (2 (q-1)) = 26. Further, when the above set values are inverted by the sign inverter 7, ADH (2 (q-0)) = 40 2 (q-0)) = B1 ADH (2 (q-1)) = DA.

【0044】これにより、2段目となるQMF10にお
ける演算は、次の通りとなる。 ADS(2q)=26(0B −B1) +40(B1 −DA) =16+F3 =09 ADS(2q +1)= 40(0B+C0) + 26(C0+DA) =E5+E1 =C6 このようにQMF10にて得られた演算結果を、その符
号を符号反転器12にて反転させると、 ADS(2q)=F7 ADS(2q +1)=3A となる。
Thus, the calculation in the second stage QMF 10 is as follows. ADS (2q) = 26 (0B−B1) +40 (B1−DA) = 16 + F3 = 09 ADS (2q + 1) = 40 (0B + C0) +26 (C0 + DA) = E5 + E1 = C6 The operation thus obtained by QMF10 When the sign of the result is inverted by the sign inverter 12, ADS (2q) = F7 ADS (2q + 1) = 3A.

【0045】したがって、固定長のDSPを用い8ビッ
トにて演算した場合、 ADS(2q)については、F7=−0.07
03125 で、その演算誤差は(0.064 −0.0703125 )の絶
対値0.0063125 となる一方、 ADS(2q +1)については、
3A=0.453125で、その演算誤差は、(0.456 −0.45312
5)の絶対値、0.002875となる。
Therefore, when the arithmetic operation is performed with 8 bits using a fixed-length DSP, the ADS (2q) is calculated as follows: F7 = −0.07
03125, the calculation error is the absolute value of (0.064-0.0703125) 0.0063125, while for ADS (2q + 1),
3A = 0.453125, and the calculation error is (0.456-0.45312
The absolute value of 5) is 0.002875.

【0046】ところで、従来では、同様の演算を実行す
ると、 ADS(2q)での誤差が、0.0063125 となり、 ADS(2
q +1)での誤差が0.0185となっていた。したがって、上
記構成は、従来より演算誤差を小さくできるものとなっ
ている。
By the way, conventionally, when the same operation is performed, the error in ADS (2q) becomes 0.0063125, and ADS (2q)
The error at q + 1) was 0.0185. Therefore, the above configuration can reduce the calculation error as compared with the related art.

【0047】このように上記構成では、固定長のDSP
を用いても、各反転符号器6・7・12を設けることに
より、各QMF4・10での演算誤差が増大する方向
を、大きくなる方向と小さくなる方向というように逆方
向にできて、少なくとも一方の演算誤差を打ち消すこと
が可能となる。
As described above, in the above configuration, the fixed-length DSP
However, by providing each of the inversion encoders 6, 7, and 12, the direction in which the calculation error in each of the QMFs 4 and 10 increases can be reversed in the direction of increasing and decreasing. One of the calculation errors can be canceled.

【0048】これにより、上記構成は、固定長のDSP
を、複数段、シリーズに用いて、従来より演算結果の誤
差を低減できるものとなっているから、演算誤差を軽減
するために可変長のDSPを用いることに起因するコス
トアップを回避することができる。
As a result, the above-mentioned configuration is a fixed-length DSP
Can be used for a plurality of stages and series to reduce the error of the operation result as compared with the prior art. Therefore, it is possible to avoid the cost increase caused by using the variable length DSP to reduce the operation error. it can.

【0049】[0049]

【発明の効果】本発明のデジタル信号処理装置は、以上
のように、第1および第2デジタルデータが入力され
て、データ長を固定にて演算することにより上記第1お
よび第2デジタルデータを演算し、統合して第3デジタ
ルデータを出力する第1の演算器が設けられ、その第1
の演算器からの第3デジタルデータと、第4デジタルデ
ータとが入力されて、データ長が固定にて演算すること
により上記第3および第4デジタルデータを演算し、統
合して第5デジタルデータを出力する第2の演算器が設
けられ、さらに、第3および第4デジタルデータの符号
を反転する第1反転手段がそれぞれ設けられ、かつ、上
記第2の演算器から出力される第5デジタルデータの符
号を反転して出力する第2反転手段が設けられている構
成である。
As described above, the digital signal processing apparatus of the present invention receives the first and second digital data and calculates the first and second digital data by fixing the data length. A first computing unit that computes and integrates and outputs the third digital data;
The third digital data and the fourth digital data are input from the arithmetic unit, and the third and fourth digital data are calculated by performing calculations with a fixed data length. Is provided, further provided are first inverting means for inverting the signs of the third and fourth digital data, respectively, and the fifth digital output from the second arithmetic unit is provided. This configuration is provided with a second inverting unit that inverts the sign of the data and outputs the inverted data.

【0050】それゆえ、上記構成は、第1の演算器で生
じる誤差の方向と第2の演算器で生じる誤差の方向と
を、相互に逆方向とすることができるので、データ長が
固定の第1および第2の演算器をシリーズに用いて、得
られた演算誤差を軽減することができるので、演算誤差
を軽減するために可変長の演算器を用いることによるコ
ストアップを回避することができるという効果を奏す
る。
Therefore, in the above configuration, the direction of the error generated in the first arithmetic unit and the direction of the error generated in the second arithmetic unit can be opposite to each other, so that the data length is fixed. Since the first and second arithmetic units can be used in series to reduce the obtained arithmetic error, it is possible to avoid an increase in cost due to using a variable-length arithmetic unit to reduce the arithmetic error. It has the effect of being able to.

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

【図1】本発明のデジタル信号処理装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a digital signal processing device of the present invention.

【図2】従来のデジタル信号処理装置の構成を示すブロ
ック図である。
FIG. 2 is a block diagram illustrating a configuration of a conventional digital signal processing device.

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

4 QMF(第1の演算器) 6 符号反転器(第1反転手段) 7 符号反転器(第1反転手段) 10 QMF(第2の演算器) 12 符号反転器(第2反転手段) Reference Signs List 4 QMF (first computing unit) 6 Sign inverter (first inversion unit) 7 Sign inverter (first inversion unit) 10 QMF (second computing unit) 12 Sign inverter (second inversion unit)

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−304029(JP,A) 特開 平4−104606(JP,A) シャープ技報 No.57 (1993−11 −10) PP.57−60 シャープ技報 No.55 (1993−3 −10) PP.43−46 (58)調査した分野(Int.Cl.6,DB名) G06F 17/10 H03H 17/02 613 H03H 17/02 615 H03H 17/02 641 H03H 17/02 661 JICSTファイル(JOIS)──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-4-304029 (JP, A) JP-A-4-104606 (JP, A) Sharp Technical Report No. 57 (1993-11-10) PP. 57-60 Sharp Technical Report No. 55 (1993-3-10) PP. 43-46 (58) Fields investigated (Int. Cl. 6 , DB name) G06F 17/10 H03H 17/02 613 H03H 17/02 615 H03H 17/02 641 H03H 17/02 661 JICST file (JOIS)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】デジタル化され、標準化された第1および
第2デジタルデータが入力されて、データ長を固定にて
演算することにより上記第1および第2デジタルデータ
を演算し、統合して第3デジタルデータを出力する第1
の演算器が設けられ、第3デジタルデータと、第4デジ
タルデータとが入力されて、データ長が固定にて演算す
ることにより上記第3および第4デジタルデータを演算
し、統合して第5デジタルデータを出力する第2の演算
器が設けられているデジタル信号処理装置において、 第3および第4デジタルデータの符号を反転して第2の
演算器に入力する第1反転手段がそれぞれ設けられ、か
つ、上記第2の演算器から出力される第5デジタルデー
タの符号を反転して出力する第2反転手段が設けられて
いることを特徴とするデジタル信号処理装置。
1. A digitalized and standardized first and second digital data is inputted, and the first and second digital data are calculated by integrating the first and second digital data, and the data length is fixed. First to output 3 digital data
The third digital data and the fourth digital data are input, and the third and fourth digital data are calculated by integrating the third digital data and the fourth digital data. In a digital signal processing device provided with a second arithmetic unit for outputting digital data, first inverting means for inverting the signs of the third and fourth digital data and inputting the inverted signals to the second arithmetic unit are provided. And a second inverting means for inverting the sign of the fifth digital data output from the second arithmetic unit and outputting the inverted signal.
JP16902993A 1993-07-08 1993-07-08 Digital signal processor Expired - Fee Related JP2815526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16902993A JP2815526B2 (en) 1993-07-08 1993-07-08 Digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16902993A JP2815526B2 (en) 1993-07-08 1993-07-08 Digital signal processor

Publications (2)

Publication Number Publication Date
JPH0728784A JPH0728784A (en) 1995-01-31
JP2815526B2 true JP2815526B2 (en) 1998-10-27

Family

ID=15879006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16902993A Expired - Fee Related JP2815526B2 (en) 1993-07-08 1993-07-08 Digital signal processor

Country Status (1)

Country Link
JP (1) JP2815526B2 (en)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
シャープ技報 No.55 (1993−3−10) PP.43−46
シャープ技報 No.57 (1993−11−10) PP.57−60

Also Published As

Publication number Publication date
JPH0728784A (en) 1995-01-31

Similar Documents

Publication Publication Date Title
US7130952B2 (en) Data transmit method and data transmit apparatus
AU600137B2 (en) Apparatus for digital signal
JPH0537298A (en) Digital filter
JP3208001B2 (en) Signal processing device for sub-band coding system
US5511095A (en) Audio signal coding and decoding device
JP2815526B2 (en) Digital signal processor
JP3524747B2 (en) Discrete cosine transform circuit
JP3460037B2 (en) Digital recording device
JP3889738B2 (en) Inverse quantization apparatus, audio decoding apparatus, image decoding apparatus, inverse quantization method, and inverse quantization program
JP3041563B2 (en) Finite impulse response filter
JPH06169289A (en) Compressed data reproduction device
JP3830106B2 (en) A mechanism for defining the signal spectrum of a wideband digital signal and obtaining bit arrangement information according to the signal spectrum
EP0753849A2 (en) Signal processing device
JP2778415B2 (en) Distortion effect device
JPS63140369A (en) Bit-serial signal scaling apparatus and digital signal amplitude controller
JP3501246B2 (en) MPEG audio decoder
JPH09289437A (en) Digital limiter device
JPH0669741A (en) D/a conversion processing method
JP3252297B2 (en) Waveform data output device with digital filter device
JP3138100B2 (en) Signal encoding device and signal decoding device
JPH0426895A (en) Musical signal generating device
JP2002300042A (en) Signal decoding method, signal decoder, and recording medium having signal decoding processing program recorded thereon
JPH1198023A (en) Signal coding and decoding device
JPH06152291A (en) Dynamic range compressor for input signal
JP2638344B2 (en) Digital data converter

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070814

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080814

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080814

Year of fee payment: 10

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20090814

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

Free format text: PAYMENT UNTIL: 20090814

Year of fee payment: 11

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20100814

LAPS Cancellation because of no payment of annual fees