JPH0520772B2 - - Google Patents
Info
- Publication number
- JPH0520772B2 JPH0520772B2 JP62200526A JP20052687A JPH0520772B2 JP H0520772 B2 JPH0520772 B2 JP H0520772B2 JP 62200526 A JP62200526 A JP 62200526A JP 20052687 A JP20052687 A JP 20052687A JP H0520772 B2 JPH0520772 B2 JP H0520772B2
- Authority
- JP
- Japan
- Prior art keywords
- processing
- register
- adder
- minimum value
- value
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
- G06F7/499—Denomination or exception handling, e.g. rounding or overflow
- G06F7/49905—Exception handling
- G06F7/4991—Overflow or underflow
- G06F7/49921—Saturation, i.e. clipping the result to a minimum or maximum value
Landscapes
- Complex Calculations (AREA)
- Control Of Amplification And Gain Control (AREA)
Description
【発明の詳細な説明】
技術分野
本発明は、たとえば音響信号などのデジタル値
で表された信号の演算処理を行なうための回路に
関する。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a circuit for performing arithmetic processing on signals expressed as digital values, such as acoustic signals.
背景技術
デジタル値で表わされた音響信号を処理するに
あたつて、たとえば低音域の増強あるいは高音域
の増強等のアルゴリズム切換時、電源投入時、係
数変更時や入力ソース切換時などの過渡期間に
は、処理の切換えによつて信号の不連続点が発生
し、前記音響信号にポツプノイズ等の異音が重畳
されることがある。このため典型的な先行技術で
は、デジタル値で表された音響信号のレベルが急
激に変化されるのではなく、時間経過に伴つて
徐々に変化されるように、信号処理回路内のメモ
リのストア領域に第4図で示されるようなカウン
タを設け、上述したような処理の切換時には、そ
のカウント値を第5図に示される動作に従つて予
め定められた範囲内で順次インクリメントまたは
デクリメントして、前記音響信号に係数として乗
算し、異音の発生を抑えるミユーテイング動作を
実現していた。BACKGROUND TECHNOLOGY When processing acoustic signals expressed as digital values, transients such as when switching algorithms such as bass enhancement or treble enhancement, when power is turned on, when changing coefficients, or when switching input sources, etc. During this period, discontinuous points may occur in the signal due to processing switching, and abnormal sounds such as pop noise may be superimposed on the acoustic signal. For this reason, typical prior art techniques include storing memory in signal processing circuits such that the level of the acoustic signal, represented by a digital value, is changed gradually over time rather than abruptly. A counter as shown in Fig. 4 is provided in the area, and when switching the processing as described above, the count value is sequentially incremented or decremented within a predetermined range according to the operation shown in Fig. 5. , the acoustic signal is multiplied as a coefficient to realize a muting operation that suppresses the occurrence of abnormal noise.
すなわちステツプn1からステツプn2に移り、
クリツプカウンタのカウント値Cに増分(負領域
も含む)Aが加算され、カウント値Cが更新され
る。ステツプn3では、更新されたカウント値C
が最大値MAXを超えているかどうかが判断さ
れ、そうでないときすなわち最大値MAX以下で
あるときにはステツプn4に移り、カウント値C
が最小値MIN未満であるかどうかが判断され、
そうでないときすなわちカウント値Cが最小値
MIN以上であるときにはステツプn5に移り、動
作を終了する。 In other words, moving from step n1 to step n2,
The increment A (including the negative area) is added to the count value C of the clip counter, and the count value C is updated. At step n3, the updated count value C
It is determined whether C exceeds the maximum value MAX, and if not, that is, if it is less than the maximum value MAX, the process moves to step n4 and the count value C is
It is determined whether is less than the minimum value MIN,
If not, that is, the count value C is the minimum value
If it is greater than or equal to MIN, the process moves to step n5 and the operation ends.
ステツプn3においてカウント値Cが最大値
MAXを超えているときにはステツプn6に移り、
カウント値Cに最大値MAXを代入してステツプ
n5に移る。 At step n3, count value C reaches the maximum value
If it exceeds MAX, move to step n6,
Assign the maximum value MAX to the count value C and step
Move to n5.
ステツプn4においてカウント値Cが最小値
MIN未満であるときにはステツプn7に移り、カ
ウント値Cに最小値MINを代入してステツプn5
に移る。このような動作の繰返しによつて、たと
えば増分Aを正にすることによつて音響信号のレ
ベルを時間経過に伴つて徐々に増大することがで
き、電源投入時における異音の発生を抑えること
ができる。 At step n4, count value C is the minimum value
If it is less than MIN, proceed to step n7, substitute the minimum value MIN to count value C, and proceed to step n5.
Move to. By repeating such operations, for example, by making the increment A positive, the level of the acoustic signal can be gradually increased over time, thereby suppressing the occurrence of abnormal noise when the power is turned on. I can do it.
発明が解決すべき問題点
上述のような先行技術では、ミユーテイング動
作を行なうために、信号処理回路は、たとえばト
ーンコントロール等の本来の音響信号処理の他
に、ミユーテイング動作のための演算を行なわな
ければならない。したがつてこのミユーテイング
動作のための演算には、たとえばアドレス指定し
てカウント値Cや増分Aを読出し、演算処理後、
その処理結果を最大値MAXおよび最小値MINと
比較する等の多くのプログラムステツプを必要と
するため、このようないわばソフトウエアによつ
てミユーテイング動作を実現することは、所定の
期間内で演算処理を行なわなければならない音響
信号のリアルタイム処理には不利である。Problems to be Solved by the Invention In the prior art as described above, in order to perform the muting operation, the signal processing circuit must perform calculations for the muting operation in addition to the original audio signal processing such as tone control. Must be. Therefore, for calculations for this muting operation, for example, address is specified, count value C and increment A are read out, and after calculation processing,
Since it requires many program steps such as comparing the processing result with the maximum value MAX and minimum value MIN, it is difficult to realize the muting operation by software. This is disadvantageous for real-time processing of acoustic signals, which must be performed.
本発明の目的は、音響信号などの入力信号を時
間経過に伴つて順次的に演算処理する場合におけ
る演算処理速度を向上することができるようにし
た信号処理装置を提供することである。 An object of the present invention is to provide a signal processing device that can improve the processing speed when processing an input signal such as an acoustic signal sequentially over time.
問題点を解決するための手段
本発明は、デジタルデータに対して演算処理や
遅延処理等の処理を行う処理回路と、
前記処理回路の処理に用いられる係数をストア
するデータメモリと、
前記データメモリにストアされる係数の値を更
新する演算回路とを備え、
前記演算回路は、
演算に用いる初期データ或いは演算結果をスト
アするレジスタと、
1加算動作当りの増分がストアされる増分また
は減分レジスタと、
加算器と、
前記加算器の最大値をストアする最大値レジス
タと、
前記加算器の最小値をストアする最小値レジス
タと、
加算器の加算結果と、前記最大値または最小値
とをそれぞれ比較する比較手段と、
加算器の加算動作を制御し、加算結果が最大値
を超えたときまたは最小値未満となつたとき、前
記各比較手段からの出力によつて加算器の加算結
果を前記最大値または前記最小値に設定する制御
手段とを有し、
前記演算回路の演算結果を係数として前記デー
タメモリに転送することによつて、前記処理回路
の処理に用いる係数の値を更新するようにしたこ
とを特徴とする信号処理装置である。Means for Solving the Problems The present invention provides: a processing circuit that performs processing such as arithmetic processing and delay processing on digital data; a data memory that stores coefficients used in the processing of the processing circuit; and the data memory. an arithmetic circuit that updates the value of a coefficient stored in the arithmetic circuit, the arithmetic circuit comprising: a register that stores initial data or a calculation result used in the calculation; and an increment or decrement register that stores an increment per one addition operation. an adder; a maximum value register that stores the maximum value of the adder; a minimum value register that stores the minimum value of the adder; and an adder that stores the addition result of the adder and the maximum value or the minimum value, respectively. a comparing means for comparing; and controlling the addition operation of the adder, and when the addition result exceeds the maximum value or becomes less than the minimum value, the addition result of the adder is adjusted to the above-mentioned by the output from each of the comparison means. control means for setting the value to the maximum value or the minimum value, and updating the value of the coefficient used in the processing of the processing circuit by transferring the calculation result of the calculation circuit to the data memory as a coefficient. This is a signal processing device characterized by:
作 用
本発明に従えば、データメモリにストアされて
いる係数を用いて音響信号などのデジタルデータ
に対して演算処理や遅延処理などの処理を行う処
理回路に関連して、前記データメモリのストア内
容を更新するために演算回路が設けられている。
前記演算回路において、演算に用いる初期データ
或は演算結果をストアするレジスタのストア内容
は、増分または減分レジスタにストアされている
1加算動作当りの増分と、加算器において加算さ
れて更新される。加算器の加算結果は比較手段に
与えられており、この比較手段にはまた、最大値
レジスタから該加算器が加算動作を行なうにあた
つての上限値である最大値と、最小値レジスタか
ら下限値である最小値とが与えられており、比較
手段は加算結果と前記最大値および最小値とをそ
れぞれ比較し、、該加算結果が前記最大値を超え
たときまたは最小値未満となつたときに制御手段
に出力を導出し、加算器の加算結果を前記最大値
または前記最小値に設定する。そして、演算回路
の演算結果は、データメモリに転送されて係数と
してストアされ、前記処理回路はこの係数を用い
て、前記演算処理や遅延処理などの処理を行う。Effects According to the present invention, in connection with a processing circuit that performs processing such as arithmetic processing and delay processing on digital data such as an acoustic signal using coefficients stored in the data memory, An arithmetic circuit is provided to update the contents.
In the arithmetic circuit, the initial data used for the arithmetic operation or the stored contents of the register that stores the arithmetic result are updated by adding the increment per one addition operation stored in the increment or decrement register in an adder. . The addition result of the adder is given to the comparison means, and this comparison means also receives the maximum value, which is the upper limit value for the adder to perform the addition operation, from the maximum value register, and the maximum value from the minimum value register. A minimum value, which is a lower limit value, is given, and the comparison means compares the addition result with the maximum value and the minimum value, respectively, and determines when the addition result exceeds the maximum value or is less than the minimum value. At times, the output is derived to the control means, and the addition result of the adder is set to the maximum value or the minimum value. Then, the calculation results of the calculation circuit are transferred to a data memory and stored as coefficients, and the processing circuit uses the coefficients to perform processing such as the calculation processing and delay processing.
したがつて、たとえば演算回路によつて最小値
の0から最大値の1までの範囲内で順次更新され
た係数によつて、処理回路は、デジタルデータに
対して、たとえば該係数が音響信号処理のために
用いられるときには、音量などの調整を行う。し
たがつて、信号処理のための係数は、該信号の処
理回路の外部に設けられた本発明に従う演算回路
によつて変化されるので、処理回路には係数を変
化させるための処理動作が不要となり、信号処理
速度を向上することができる。 Therefore, for example, by using the coefficients that are sequentially updated within the range from the minimum value of 0 to the maximum value of 1 by the arithmetic circuit, the processing circuit can process the digital data such that the coefficients are used for acoustic signal processing. When used for this purpose, adjust the volume, etc. Therefore, since the coefficients for signal processing are changed by the arithmetic circuit according to the present invention provided outside the signal processing circuit, the processing circuit does not need a processing operation to change the coefficients. Therefore, the signal processing speed can be improved.
実施例
第1図は本発明の一実施例の演算回路1のブロ
ツク図であり、第2図はその演算回路1が用いら
れる音響信号処理装置2のブロツク図である。た
とえばラジオ受信機等からのアナログ音響信号
は、入力端子3からアナログ/デジタル変換器4
に与えられ、デジタル変換されて、データバス5
を介して処理回路6に与えられる。処理回路6で
は、たとえばトーンコントロール等の演算処理や
遅延処理が行なわれ、こうして加工された音響信
号は、データバス5からデジタル/アナログ変換
器7に与えられ、アナログ変換されて、出力端子
8に接続されるたとえば電力増幅回路等に与えら
れる。Embodiment FIG. 1 is a block diagram of an arithmetic circuit 1 according to an embodiment of the present invention, and FIG. 2 is a block diagram of an acoustic signal processing device 2 in which the arithmetic circuit 1 is used. For example, an analog audio signal from a radio receiver or the like is input from an input terminal 3 to an analog/digital converter 4.
is given to the data bus 5, converted into digital data, and
The signal is applied to the processing circuit 6 via. In the processing circuit 6, arithmetic processing such as tone control and delay processing are performed, and the thus processed acoustic signal is given from the data bus 5 to the digital/analog converter 7, converted into analog, and sent to the output terminal 8. It is applied to a connected power amplifier circuit, for example.
上述したような処理回路6における演算処理に
用いられる係数は、データメモリ9にストアされ
ており、このデータメモリ9のストア内容がデー
タバス10,5を介して読出され、前記係数とし
て用いられる。データメモリ9のストア内容は、
演算回路1の演算結果が与えられて更新される。
すなわち演算回路1は、ライン11を介してプロ
グラムメモリ12に信号を導出し、該プログラム
メモリ12にストアされている演算動作の処理手
順を、プログラムバス13,14およびライン1
5を介して読出す。こうして読出された手順に従
つて、演算回路1はライン16を介してデータメ
モリ9に信号を導出し、データメモリ9のストア
内容がデータバス10,5,17を介して読出さ
れ、後述するような演算動作が行われた後、デー
タバス17,5,10を介してデータメモリ9に
与えられ、データメモリ9のストア内容が更新さ
れる。 The coefficients used in the arithmetic processing in the processing circuit 6 as described above are stored in the data memory 9, and the stored contents of the data memory 9 are read out via the data buses 10 and 5 and used as the coefficients. The stored contents of data memory 9 are as follows:
The calculation result of the calculation circuit 1 is given and updated.
That is, the arithmetic circuit 1 derives a signal to the program memory 12 via the line 11, and transmits the processing procedure of the arithmetic operation stored in the program memory 12 to the program buses 13, 14 and the line 1.
5. According to the procedure thus read, the arithmetic circuit 1 derives a signal to the data memory 9 via the line 16, and the stored contents of the data memory 9 are read via the data buses 10, 5, 17, as will be described later. After the calculation operation is performed, the data is applied to the data memory 9 via the data buses 17, 5, and 10, and the stored contents of the data memory 9 are updated.
演算回路1は、加算器21と、この加算器21
の最大値Xをストアする最大値レジスタ22と、
最小値Yをストアする最小値レジスタ23と、こ
れらの最大値Xおよび最小値Yと加算器21の最
大加算Mとをそれぞれ比較する比較器24,25
と、前記加算動作1回当りを増分△1をストアす
る増分レジスタ26と、加算動作1回当りの減分
△2をストアする減分レジスタ27と、加算器2
1の加算結果Mをストアするレジスタ28と、前
述したプログラムメモリ12からの加算動作の処
理手順を表わすプログラムをデコードする命令デ
コーダ29と、この命令デコーダ29を介するプ
ログラムなどに従つて加算器21を制御する制御
回路30とを含んで構成される。 The arithmetic circuit 1 includes an adder 21 and this adder 21
a maximum value register 22 that stores the maximum value X of
A minimum value register 23 that stores the minimum value Y, and comparators 24 and 25 that compare the maximum value X and the minimum value Y with the maximum addition M of the adder 21, respectively.
, an increment register 26 that stores an increment Δ1 for each addition operation, a decrement register 27 that stores a decrement Δ2 for each addition operation, and an adder 2.
1, an instruction decoder 29 that decodes the program representing the processing procedure of the addition operation from the program memory 12, and the adder 21 according to the program via the instruction decoder 29. It is configured to include a control circuit 30 for controlling.
加算器21が加算動作を行なうにあたつて、ま
ずデータバス10,5,17aを介して、データ
メモリ9のストア内容が読出され、レジスタ28
の初期設定が行なわれる。次に処理回路6からデ
ータバス5,17bを介して増分レジスタ26に
1回の加算動作当りの増分△1が入力され、同様
にデータバス5,17cを介して減分レジスタ2
7に減分△2が入力される。さらに処理回路6か
らデータバス5,17dを介して最大値レジスタ
22に加算動作の最大値Xが入力され、同様にデ
ータバス5,17eを介して最小値レジスタ23
に最小値Yが入力される。 When the adder 21 performs an addition operation, the stored contents of the data memory 9 are first read out via the data buses 10, 5, and 17a, and stored in the register 28.
Initial settings are made. Next, the increment Δ1 per one addition operation is input from the processing circuit 6 to the increment register 26 via the data buses 5 and 17b, and similarly, the increment Δ1 per addition operation is input to the increment register 26 via the data buses 5 and 17c.
Decrement △2 is input to 7. Furthermore, the maximum value X of the addition operation is input from the processing circuit 6 to the maximum value register 22 via the data buses 5 and 17d, and similarly to the minimum value register 23 via the data buses 5 and 17e.
The minimum value Y is input to .
このようにして初期設定が終了すると、前述し
たように制御回路30からライン11に導出され
る信号によつてプログラムメモリ12から加算動
作の処理手順が読出され、命令デコーダ29でデ
コードされて制御回路30に与えられる。 When the initial setting is completed in this manner, the processing procedure for the addition operation is read out from the program memory 12 by the signal derived from the control circuit 30 to the line 11 as described above, and is decoded by the instruction decoder 29 to be outputted to the control circuit. given to 30.
制御回路30は、ライン34,35を介して入
力される比較器24,25からの出力に基づいて
加算器21の加算動作を制御する。加算器21
は、制御回路30からの制御信号に基づいてレジ
スタ28のストア内容Bをデータバス36を介し
て読出すとともに、増分レジスタ26または減分
レジスタ27からデータバス37を介して増分△
1または減分△2を読出し、加算結果Mをデータ
バス38を介してレジスタ28に転送し、こうし
てレジスタ28のストア内容Bが更新される。 Control circuit 30 controls the addition operation of adder 21 based on the outputs from comparators 24 and 25 input via lines 34 and 35. Adder 21
reads out the stored content B of the register 28 via the data bus 36 based on a control signal from the control circuit 30, and reads out the increment Δ from the increment register 26 or the decrement register 27 via the data bus 37.
1 or the decrement Δ2 is read out and the addition result M is transferred to the register 28 via the data bus 38, thus updating the stored content B of the register 28.
レジスタ28のストア内容Bはまた、データバ
ス39を介して比較器24,25にそれぞれ与え
られる。比較器24にはデータバス40を介して
最大値レジスタ22から加算器21が加算動作を
行なうにあたつての最大値Xが与えられ、同様に
比較器25にはデータバス41を介して最小値レ
ジスタ23から最小値Yが与えられる。比較器2
4はレジスタ28のストア内容B、すなわち加算
器21の加算結果が最大値Xより大きくなつたと
きにライン34に加算動作を停止するための信号
を導出し、また比較器25は加算結果Mが最小値
Yより小さくなつたときにライン35に加算動作
を停止するための信号を導出する。このように加
算結果Mが最大値Xを超えたとき、または最小値
Yより小さくなつたときには、レジスタ28のス
トア内容Bにはデータバス42,43を介する最
大値Xまたは最小値Yが代入される。 Store contents B of register 28 are also provided to comparators 24 and 25, respectively, via data bus 39. The comparator 24 is supplied with the maximum value X for the adder 21 to perform the addition operation from the maximum value register 22 via the data bus 40, and similarly, the comparator 25 is supplied with the minimum value X via the data bus 41. The minimum value Y is given from the value register 23. Comparator 2
4 derives a signal to the line 34 to stop the addition operation when the stored content B of the register 28, that is, the addition result of the adder 21 becomes larger than the maximum value A signal for stopping the addition operation is derived on line 35 when the value becomes smaller than the minimum value Y. In this way, when the addition result M exceeds the maximum value X or becomes smaller than the minimum value Y, the maximum value X or minimum value Y via the data buses 42 and 43 is assigned to the stored content B of the register 28. Ru.
第3図は、動作を説明するためのフローチヤー
トである。ステツプm1では、前述のようにして
初期設定が行なわれる。すなわちデータメモリ9
のストア内容Bがレジスタ28に読出され、また
増分レジスタ26と減分レジスタ27とにはそれ
ぞれ増分△1と減分△2とが処理回路6から与え
られる。またこのとき最大値レジスタ22と最小
値レジスタ23とには、加算器21の加算結果M
の最大値Xおよび最小値Yが設定される。 FIG. 3 is a flowchart for explaining the operation. In step m1, initial settings are performed as described above. That is, data memory 9
The stored content B of is read out to the register 28, and an increment Δ1 and a decrement Δ2 are given to the increment register 26 and the decrement register 27, respectively, from the processing circuit 6. Also, at this time, the maximum value register 22 and the minimum value register 23 contain the addition result M of the adder 21.
A maximum value X and a minimum value Y are set.
ステツプm2では、命令デコーダ29によつて
デコードされた演算命令が取込まれる。ステツプ
m3では、加算器21にレジスタ28のストサ内
容Bと増分△1または減分△2とが読出され、ス
テツプm4で加算動作が行なわれる。ステツプm5
では、加算結果Mがレジスタ28に与えられると
ともに、このレジスタ28を介して比較器24,
25にそれぞれ与えられる。 At step m2, the arithmetic instruction decoded by the instruction decoder 29 is taken in. step
At step m3, the store contents B of the register 28 and the increment .DELTA.1 or the decrement .DELTA.2 are read out to the adder 21, and an addition operation is performed at step m4. step m5
Then, the addition result M is given to the register 28, and the comparator 24,
25 each.
ステツプm6では加算結果Mが最大値Xを超え
ているかまたは最小値Yより小さいかどうかが判
断され、そうであるときにはステツプm7に移り、
レジスタ28には最大値Xまたは最小値Yがスト
アされ、ステツプm2に戻る。ステツプm6におい
て、加算結果Mが最大値Xから最小値Yの範囲内
であるときには直接ステツプm2に戻る。 In step m6, it is determined whether the addition result M exceeds the maximum value X or is smaller than the minimum value Y, and if so, the process moves to step m7.
The maximum value X or the minimum value Y is stored in the register 28, and the process returns to step m2. At step m6, when the addition result M is within the range from the maximum value X to the minimum value Y, the process directly returns to step m2.
上述のように本件演算回路1を音響信号処理装
置2内に設け、その演算結果を音響信号処理のた
とえば係数として用いることによつて、処理回路
6は本来の音響信号の処理動作のみを行なうだけ
でよく、したがつて音響信号処理の速度を向上す
ることができ、あるいは音響信号処理の品質を向
上することができる。 As described above, by providing the present calculation circuit 1 in the acoustic signal processing device 2 and using the calculation result as a coefficient for acoustic signal processing, the processing circuit 6 only performs the original processing operation of the acoustic signal. Therefore, the speed of audio signal processing can be improved, or the quality of audio signal processing can be improved.
効 果
以上のように本発明によれば、演算回路では、
加算器を用いたいわばハードウエアによつて演算
動作が行われるので、演算速度を向上することが
できる。また加算器の加算結果がたとえば音響信
号処理の係数として用いられるときには、該音響
信号の処理回路は係数を変化させるための処理動
作を行なう必要がなく、信号処理速度を向上する
ことができる。Effects As described above, according to the present invention, in the arithmetic circuit,
Since the calculation operation is performed by hardware using the adder, the calculation speed can be improved. Furthermore, when the addition result of the adder is used, for example, as a coefficient for audio signal processing, the audio signal processing circuit does not need to perform a processing operation to change the coefficient, and the signal processing speed can be improved.
第1図は本発明の一実施例の演算回路1のブロ
ツク図、第2図は第1図に示された演算回路1が
用いられる音響信号処理装置2のブロツク図、第
3図は動作を説明するためのフローチヤート、第
4図は先行技術を説明するための信号処理回路内
のメモリのストア領域を示す図、第5図は先行技
術の動作を説明するためのフローチヤートであ
る。
1…演算回路、2…音響信号処理装置、6…処
理回路、9…データメモリ、12…プログラムメ
モリ、21…加算器、22…最大値レジスタ、2
3…最小値レジスタ、24,25…比較器、26
…増分レジスタ、27…減分レジスタ、28…レ
ジスタ、29…命令デコーダ、30…制御回路。
FIG. 1 is a block diagram of an arithmetic circuit 1 according to an embodiment of the present invention, FIG. 2 is a block diagram of an acoustic signal processing device 2 in which the arithmetic circuit 1 shown in FIG. 1 is used, and FIG. 3 shows the operation. FIG. 4 is a diagram showing a memory storage area in a signal processing circuit to explain the prior art, and FIG. 5 is a flow chart to explain the operation of the prior art. DESCRIPTION OF SYMBOLS 1... Arithmetic circuit, 2... Acoustic signal processing device, 6... Processing circuit, 9... Data memory, 12... Program memory, 21... Adder, 22... Maximum value register, 2
3...Minimum value register, 24, 25...Comparator, 26
...Increment register, 27...Decrement register, 28...Register, 29...Instruction decoder, 30...Control circuit.
Claims (1)
等の処理を行う処理回路6と、 前記処理回路6の処理に用いられる係数をスト
アするデータメモリ9と、 前記データメモリ9にストアされる係数の値を
更新する演算回路1とを備え、 前記演算回路1は、 演算に用いる初期データ或いは演算結果をスト
アするレジスタ28と、 1加算動作当りの増分△1,△2がストアされ
る増分または減分レジスタ26,27と、 加算器21と、 前記加算器21の最大値をストアする最大値レ
ジスタ22と、 前記加算器21の最小値をストアする最小値レ
ジスタ23と、 加算器21の加算結果と、前記最大値または最
小値とをそれぞれ比較する比較手段24,25
と、 加算器21の加算動作を制御し、加算結果が最
大値を超えたときまたは最小値未満となつたと
き、前記各比較手段からの出力によつて加算器の
加算結果を前記最大値または前記最小値に設定す
る制御手段30とを有し、 前記演算回路1の演算結果を係数として前記デ
ータメモリ9に転送することによつて、前記処理
回路6の処理に用いる係数の値を更新するように
したことを特徴とする信号処理装置。[Scope of Claims] 1. A processing circuit 6 that performs processing such as arithmetic processing and delay processing on digital data; a data memory 9 that stores coefficients used in the processing of the processing circuit 6; The arithmetic circuit 1 includes: a register 28 that stores initial data or the arithmetic result used in the arithmetic operation; and a register 28 that stores increments △1 and △2 per one addition operation. an adder 21; a maximum value register 22 for storing the maximum value of the adder 21; and a minimum value register 23 for storing the minimum value of the adder 21; Comparing means 24, 25 for comparing the addition result of the unit 21 with the maximum value or the minimum value, respectively.
and controlling the addition operation of the adder 21, and when the addition result exceeds the maximum value or becomes less than the minimum value, the addition result of the adder is adjusted to the maximum value or the minimum value according to the output from each of the comparison means. and a control means 30 for setting the value to the minimum value, and updating the value of the coefficient used in the processing of the processing circuit 6 by transferring the calculation result of the calculation circuit 1 to the data memory 9 as a coefficient. A signal processing device characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62200526A JPS6442734A (en) | 1987-08-10 | 1987-08-10 | Arithmetic circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62200526A JPS6442734A (en) | 1987-08-10 | 1987-08-10 | Arithmetic circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6442734A JPS6442734A (en) | 1989-02-15 |
| JPH0520772B2 true JPH0520772B2 (en) | 1993-03-22 |
Family
ID=16425776
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62200526A Granted JPS6442734A (en) | 1987-08-10 | 1987-08-10 | Arithmetic circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6442734A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02216582A (en) * | 1989-02-16 | 1990-08-29 | Nec Corp | Pipeline arithmetic circuit |
| JPH0375926A (en) * | 1989-08-18 | 1991-03-29 | Seiko Instr Inc | Divider for picture processing |
| JPH0997178A (en) * | 1995-09-29 | 1997-04-08 | Matsushita Electric Ind Co Ltd | Saturation processing device and method |
| US7461118B2 (en) | 2003-04-09 | 2008-12-02 | Infineon Technologies Ag | Arithmetic logic unit with merged circuitry for comparison, minimum/maximum selection and saturation for signed and unsigned numbers |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60142735A (en) * | 1983-12-29 | 1985-07-27 | Matsushita Electric Ind Co Ltd | Overflow detecting and correcting circuit |
-
1987
- 1987-08-10 JP JP62200526A patent/JPS6442734A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6442734A (en) | 1989-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6088461A (en) | Dynamic volume control system | |
| JPH0723490A (en) | Digital sound field creation device | |
| JP2001230645A (en) | Adaptive equalizer for audio and determining method for filter coefficient | |
| US8583717B2 (en) | Signal processing circuit | |
| JPH0520772B2 (en) | ||
| JPH10200351A (en) | Digital audio processor | |
| JPH09153748A (en) | Volume control device | |
| JP5045366B2 (en) | Volume control device, program, and volume control method | |
| JP3088035B2 (en) | Digital signal processor | |
| CN113194378B (en) | Noise reduction method for audio signal, audio signal processing device and electronic equipment | |
| JP2000305594A (en) | Microphone system | |
| JPS59230311A (en) | Sound volume controller | |
| JPH03201813A (en) | Sound quality controller | |
| JPH09294037A (en) | Sound quality controller and sound volume sound quality controller | |
| JP2001022383A (en) | Noise/audio sound reduction device | |
| US11711649B2 (en) | Method for audio signal noise cancellation, apparatus for audio signal processing, and electronic device | |
| CN114203195B (en) | Noise reshaping digital automatic gain control system and method | |
| JP2001016678A (en) | Audio tone canceller | |
| JPH10177395A (en) | Signal processing method | |
| US7492289B2 (en) | Signal processing method and device | |
| JPH03201900A (en) | Sound field correction device | |
| JP2001024458A (en) | Adaptive equalizer for audio | |
| JPS63311477A (en) | Method and device for arithmetic operation | |
| JP2834746B2 (en) | Digital signal processing device and address data generating method thereof | |
| JPS63215106A (en) | How to control the volume control device |