JPH05313775A - Lookup table and digital filter - Google Patents

Lookup table and digital filter

Info

Publication number
JPH05313775A
JPH05313775A JP4118781A JP11878192A JPH05313775A JP H05313775 A JPH05313775 A JP H05313775A JP 4118781 A JP4118781 A JP 4118781A JP 11878192 A JP11878192 A JP 11878192A JP H05313775 A JPH05313775 A JP H05313775A
Authority
JP
Japan
Prior art keywords
circuit
value
look
output
counter
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
JP4118781A
Other languages
Japanese (ja)
Inventor
Koji Kojima
浩嗣 小島
Naoki Sato
直喜 佐藤
Satoshi Tanaka
聡 田中
Takashi Yano
隆 矢野
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP4118781A priority Critical patent/JPH05313775A/en
Publication of JPH05313775A publication Critical patent/JPH05313775A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten time required to update the lookup table by providing a circuit generating table values according to necessary inputted parameters in the system writing signals into RAM and supplying the same clock required to the real time processing for the lookup table to the circuit. CONSTITUTION:A circuit 1 generating a table value according to the necessary inputted parameter 3 is provided on the system writing signals into RAM 2, and supplies the same clock 4 required to the real time processing of the lookup table to the circuit. A circuit 1 generating table values inputting coefficient values and signals for starting generating table values is provided with a counter starting the operation when the signals starting generating table values are inputted and a circuit taking the counter output as the address signal of a memory and multiplying the counter output by the coefficient value. The output of the circuit is outputted as memory data corresponding to the address signal. Thus, the time required to update the lookup table can be shortened.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ルックアップテーブル
を用いた演算を行うディジタル信号処理回路に関し、特
に、ルックアップテーブルの内容を高速に更新する信号
処理回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital signal processing circuit for performing an operation using a look-up table, and more particularly to a signal processing circuit for rapidly updating the contents of the look-up table.

【0002】[0002]

【従来の技術】従来、ルックアップテーブルを用いたデ
ィジタルフィルタは図2に示された回路で実現されてい
た。この回路は、リアルタイムの入力データに対しサン
プリング周期単位の異なる遅延を与えられたデータに対
し、それぞれ所定の係数を乗じてその結果の総和を求め
る形のディジタルフィルタである。
2. Description of the Related Art Conventionally, a digital filter using a look-up table has been realized by the circuit shown in FIG. This circuit is a digital filter in which real-time input data is delayed by different sampling cycle units and multiplied by a predetermined coefficient to obtain the sum of the results.

【0003】用いられているランダムアクセスメモリ2
(Random Access Memory;以後これをRAMと略称す
る)は、全てのアドレスにそのアドレス値と所定の係数
との積を予め書き込んで、乗算回路として用いる。メモ
リのアドレス端子に遅延したデータを入力し、データ端
子から出力したデータと所定係数の積を全て加算するこ
とによりフィルタ出力を得る。
Random access memory 2 used
(Random Access Memory; hereinafter abbreviated as RAM) is used as a multiplication circuit by previously writing the product of the address value and a predetermined coefficient to all the addresses. The delayed data is input to the address terminal of the memory, and all the products of the data output from the data terminal and the predetermined coefficient are added to obtain the filter output.

【0004】[0004]

【発明が解決しようとする課題】上記従来回路では、R
AM2へのデータの書き込みに膨大な時間を要するとい
う問題が生じる。
In the above-mentioned conventional circuit, R
There arises a problem that it takes a huge amount of time to write data to the AM2.

【0005】RAM2へのデータの書き込みは、マイク
ロコンピュータ10により行われる。マイクロコンピュ
ータ10は、アドレス値5を更新しながら所定の積を演
算によって求め、RAM2に書き込む。マイクロコンピ
ュータ10によるデータの演算と転送は、数マシンサイ
クルを要する。そのうえ、動作クロックの周波数はせい
ぜい10MHz程度で、ディジタルフィルタの動作周波
数と比較すれば10分の1程度である場合が一般的であ
る。
Writing of data to the RAM 2 is performed by the microcomputer 10. The microcomputer 10 calculates a predetermined product while updating the address value 5, and writes it in the RAM 2. Calculation and transfer of data by the microcomputer 10 requires several machine cycles. In addition, the frequency of the operation clock is at most about 10 MHz, which is generally about 1/10 of the operation frequency of the digital filter.

【0006】仮に、マイクロコンピュータ10による演
算とデータの転送に5マシンサイクルを要したとし、こ
れを10MHz(100ns周期)の動作クロックで実
行したとする。入力8ビットの乗算器を実現しようとす
れば、256ワードの情報をテーブルに転送する必要が
あるため、100ns×256×5=128μsもの時
間を要することになる。従来、これを短縮するために、
DMA転送(DirectMemory Access)等の方法をとり、演
算に時間がかかっても転送にかかる時間を節約する工夫
がなされてきた。しかし、このような方法をとっても、
転送の周波数はマイクロコンピュータ10に供給してい
るクロックで制限される。1データを1マシンサイクル
で転送できたとしても、転送に要する時間は前述の値の
5分の1の25.6μs にしか低減されない。ルックア
ップテーブルを用いた演算を行うディジタル信号処理回
路は、消費電力の点で並列乗算回路等と比較して有利で
あるにも係らず、上記のようなテーブル値の生成時間の
制限から採用されない場合が多かった。
It is assumed that 5 machine cycles are required for the calculation and data transfer by the microcomputer 10, and this is executed with an operating clock of 10 MHz (100 ns cycle). In order to realize an 8-bit input multiplier, it takes 100 ns × 256 × 5 = 128 μs since 256 words of information have to be transferred to the table. Conventionally, in order to shorten this,
A method such as DMA transfer (Direct Memory Access) has been adopted to save the transfer time even if the calculation takes time. However, even with this method,
The transfer frequency is limited by the clock supplied to the microcomputer 10. Even if one data can be transferred in one machine cycle, the time required for the transfer can be reduced to only 1/5 of the above value to 25.6 μs. A digital signal processing circuit that performs an operation using a lookup table is not adopted due to the limitation of the table value generation time as described above, although it is advantageous in terms of power consumption as compared with a parallel multiplication circuit or the like. There were many cases.

【0007】また、マイクロコンピュータ10の側もテ
ーブル値の演算やデータの転送に多くの時間を割かねば
ならず、制御プログラム作成上の大きな制限事項になっ
ていた。
Also, the microcomputer 10 has to spend a lot of time for calculating table values and transferring data, which is a major limitation in creating a control program.

【0008】[0008]

【課題を解決するための手段】図1に示すように、入力
された必要なパラメータ3に応じてテーブル値を生成す
る回路1をRAM2への書き込み信号系に設け、その回
路にルックアップテーブルの実時間処理に用いるのと同
一のクロック4を供給することによって解決される。
As shown in FIG. 1, a circuit 1 for generating a table value according to a necessary input parameter 3 is provided in a write signal system to a RAM 2 and a look-up table of the circuit is provided in the circuit. It is solved by supplying the same clock 4 used for real time processing.

【0009】[0009]

【作用】図1の回路の動作は、次のとおりである。すな
わち、テーブル値生成回路1には、演算に必要なパラメ
ータ3とRAM2の実動作時のクロック4を入力し、R
AM2に書き込むべきアドレス5と、それに対応するデ
ータ6、および読み出し/書き込み制御信号7を出力す
る。
The operation of the circuit shown in FIG. 1 is as follows. That is, the parameter 3 necessary for calculation and the clock 4 at the time of actual operation of the RAM 2 are input to the table value generation circuit 1, and R
The address 5 to be written to the AM2, the data 6 corresponding to it, and the read / write control signal 7 are output.

【0010】外部から演算に必要なパラメータ3をセッ
トした後、テーブル値生成回路1は、ルックアップテー
ブルとしているRAM2に供給されているクロック4に
同期した動作を開始する。動作の開始と同時に、読み出
し/書き込み制御信号7を書き込み側に変化させ、テー
ブル値生成回路1の出力をRAM2に供給するように制
御する。書き込むべきRAM2のアドレス5を、順次、
出力すると同時に、その値に対して所定の演算を施した
結果をRAM2に格納する。更新すべき全てのアドレス
に格納された値が更新された段階で、読み出し/書き込
み制御信号7を読み出し側に変化させ、RAMのルック
アップテーブルとしての動作を再開させる。必要ならば
上記の読み出し/書き込み制御信号7から容易に作られ
る、ルックアップテーブルとしての動作の再開を知らせ
る信号を外部に出力する。
After the parameter 3 necessary for the calculation is set from the outside, the table value generating circuit 1 starts the operation in synchronization with the clock 4 supplied to the RAM 2 which is a look-up table. Simultaneously with the start of the operation, the read / write control signal 7 is changed to the write side so that the output of the table value generation circuit 1 is supplied to the RAM 2. The address 5 of the RAM 2 to be written is sequentially
At the same time as the output, the result of performing a predetermined operation on the value is stored in the RAM 2. When the values stored in all the addresses to be updated are updated, the read / write control signal 7 is changed to the read side, and the operation as the lookup table of the RAM is restarted. If necessary, a signal for notifying the restart of the operation as the look-up table, which is easily generated from the read / write control signal 7 is output to the outside.

【0011】[0011]

【実施例】本発明の一実施例を図1に示す。入力された
必要なパラメータ3に応じてテーブル値を生成する回路
1をRAM2への書き込み信号系に設け、その回路にル
ックアップテーブルの実時間処理に用いるのと同一のク
ロック4を供給する。テーブル値生成回路1には、演算
に必要なパラメータ3とRAM2の実動作時のクロック
4を入力し、RAM2に書き込むべきアドレス5と、そ
れに対応するデータ6、および読み出し/書き込み制御
信号7を出力する。
FIG. 1 shows an embodiment of the present invention. A circuit 1 for generating a table value in accordance with the required input parameter 3 is provided in the write signal system to the RAM 2, and the same clock 4 as that used for the real-time processing of the look-up table is supplied to the circuit. The table value generation circuit 1 is supplied with a parameter 3 required for calculation and a clock 4 at the time of actual operation of the RAM 2, and outputs an address 5 to be written in the RAM 2, data 6 corresponding thereto, and a read / write control signal 7. To do.

【0012】外部から演算に必要なパラメータ3をセッ
トした後、テーブル値生成回路1は、ルックアップテー
ブルとしているRAM2に供給されているクロック4に
同期した動作を開始する。動作の開始と同時に、読み出
し/書き込み制御信号7を書き込み側に変化させ、テー
ブル値生成回路1の出力をRAM2に供給するように制
御する。書き込むべきRAM2のアドレス5を、順次、
出力すると同時に、その値に対して所定の演算を施した
結果をRAM2に格納する。更新すべき全てのアドレス
に格納された値が更新された段階で、読み出し/書き込
み制御信号7を読み出し側に変化させ、RAM2のルッ
クアップテーブルとしての動作を再開させる。必要なら
ば上記の読み出し/書き込み制御信号7から容易に作ら
れる、ルックアップテーブルとしての動作の再開を知ら
せる信号を外部に出力する。
After setting the parameter 3 required for the calculation from the outside, the table value generating circuit 1 starts the operation in synchronization with the clock 4 supplied to the RAM 2 which is a look-up table. Simultaneously with the start of the operation, the read / write control signal 7 is changed to the write side so that the output of the table value generation circuit 1 is supplied to the RAM 2. The address 5 of the RAM 2 to be written is sequentially
At the same time as the output, the result of performing a predetermined operation on the value is stored in the RAM 2. When the values stored in all the addresses to be updated are updated, the read / write control signal 7 is changed to the read side, and the operation of the RAM 2 as the lookup table is restarted. If necessary, a signal for notifying the restart of the operation as the look-up table, which is easily generated from the read / write control signal 7 is output to the outside.

【0013】本発明の一実施例を図3に示す。テーブル
生成回路1は、アドレス値を与えるカウンタ101と、
カウンタ101の値に対して所定係数の乗算を行う演算
回路102と、所定係数を外部から入力して格納する回
路103で構成される。カウンタ101,演算回路10
2には、ルックアップテーブルの実時間処理に用いるの
と同一のクロック4を供給する。外部からは、係数値の
設定が完了して、ルックアップテーブルの更新の開始を
指示する信号8を入力し、これをセット・リセット・フ
リップフロップ104のセット端子に入力する。この信
号を受け、内部のクロック4がカウンタ101と演算回
路102に印加される。カウンタ101は、0から順次
アドレス値を更新する。演算回路102は、アドレス値
5に所定の係数を乗じた結果を出力して、RAM2に格
納する。カウンタ101は、RAM2の有効アドレス分だけ
のカウントアップを行うと、終了を検知する桁上げ信号
9を発行する。桁上げ信号9は、カウンタ101自身の
リセットとセット・リセット・フリップフロップ104
のリセットを行う。この信号は、ルックアップテーブル
の更新が完了したことを示す信号9として、外部に出力
することもできる。カウンタ101のリセットは、電源
投入時にも行う。また、テーブル更新開始信号8をリセ
ット信号として用いることもできる。
An embodiment of the present invention is shown in FIG. The table generation circuit 1 includes a counter 101 that gives an address value,
An arithmetic circuit 102 that multiplies the value of the counter 101 by a predetermined coefficient and a circuit 103 that inputs and stores the predetermined coefficient from the outside. Counter 101, arithmetic circuit 10
2 is supplied with the same clock 4 used for real-time processing of the look-up table. From the outside, a signal 8 for instructing the start of update of the look-up table is input after the setting of the coefficient value is completed, and this is input to the set terminal of the set / reset flip-flop 104. Upon receiving this signal, the internal clock 4 is applied to the counter 101 and the arithmetic circuit 102. The counter 101 sequentially updates the address value from 0. The arithmetic circuit 102 outputs the result of multiplying the address value 5 by a predetermined coefficient, and stores the result in the RAM 2. The counter 101 issues a carry signal 9 for detecting the end when counting up by the effective address of the RAM 2. The carry signal 9 is used for resetting the counter 101 itself and for the set / reset flip-flop 104.
Reset. This signal can be output to the outside as the signal 9 indicating that the update of the lookup table is completed. The counter 101 is also reset when the power is turned on. The table update start signal 8 can also be used as a reset signal.

【0014】セット・リセット・フリップフロップ10
4のリセットにともない、カウンタ101と演算回路1
02へのクロックの供給は停止される。これにより演算
回路102は、テーブル値の更新のときにのみ動作し、
実動作中には動作を停止するので消費電力が節約され
る。また逆に、セット・リセット・フリップフロップ1
04の出力信号を利用してテーブル更新中の他の回路の
動作を停止することにより、テーブル更新中の消費電力
が節約される。この効果は、他の実施例についても同様
に得られる。
Set / Reset Flip-Flop 10
With the reset of 4, the counter 101 and the arithmetic circuit 1
The supply of the clock to 02 is stopped. As a result, the arithmetic circuit 102 operates only when updating the table value,
Since the operation is stopped during the actual operation, power consumption is saved. Conversely, set / reset flip-flop 1
By using the output signal of 04 to stop the operation of other circuits during the table update, the power consumption during the table update is saved. This effect can be obtained similarly in the other examples.

【0015】本実施例では、演算を固定係数の乗算と仮
定して説明したが、いかなる演算回路でも同様の構成が
可能である。また、演算が複雑で演算回路をパイプライ
ンで構成する場合には、出力タイミングを調整する遅延
回路をアドレス出力および、セット・リセット・フリッ
プフロップ104の出力に挿入する。
Although the present embodiment has been described on the assumption that the operation is multiplication by a fixed coefficient, any operation circuit can have the same configuration. Further, when the arithmetic operation is complicated and the arithmetic circuit is constructed by a pipeline, a delay circuit for adjusting the output timing is inserted into the address output and the output of the set / reset flip-flop 104.

【0016】本発明の一実施例を図4に示す。本実施例
は、演算を固定係数の乗算に限定して、演算回路を簡略
に構成した例である。所望の係数は、係数レジスタ10
3に格納しておき、係数をカウンタ101と同期して積
算することによって、カウンタ101出力に対応する乗
算結果を得るものである。積算レジスタ105は、カウ
ンタ101と同じクロック4を供給され、カウンタ10
1のキャリー信号9でリセットされ、加算器106の前
回の出力を格納して、同じ加算器106の入力に与えて
いる。カウンタ101と積算レジスタ105は、前回の
テーブル更新の最後に発生するカウンタ101のキャリ
ー信号9と、電源投入時のリセット信号でリセットされ
る。この構成により、例えば、係数に3を与えた場合、
カウンタ101の出力が0,1,2,3,4,5と増加
するのに伴い、加算器106の出力は0,3,6,9,
12,15と増加して、係数3に固定したテーブルの更
新が行われる。
An embodiment of the present invention is shown in FIG. The present embodiment is an example in which the arithmetic circuit is simply configured by limiting the arithmetic operation to the multiplication of a fixed coefficient. The desired coefficient is the coefficient register 10
3 and stores the coefficient in synchronism with the counter 101 to obtain a multiplication result corresponding to the output of the counter 101. The integration register 105 is supplied with the same clock 4 as the counter 101, and the counter 10
It is reset by the carry signal 9 of 1, stores the previous output of the adder 106, and supplies it to the input of the same adder 106. The counter 101 and the integration register 105 are reset by the carry signal 9 of the counter 101 generated at the end of the previous table update and the reset signal when the power is turned on. With this configuration, for example, when 3 is given to the coefficient,
As the output of the counter 101 increases to 0, 1, 2, 3, 4, 5, the output of the adder 106 becomes 0, 3, 6, 9,
The number is increased to 12, 15 and the table fixed to the coefficient 3 is updated.

【0017】ビット制限回路107は、四捨五入/切捨
て/切上げ等の操作を施す回路で、演算誤差の蓄積を防
ぐ。例えば、係数に1.3 を与えた場合、カウンタ10
1の出力が0,1,2,3,4,5と増加するのに伴
い、加算器106の出力は0,1.3,2.6,3.9,
5.2,6.5 と増加し、ビット制限回路107で四捨
五入が行われると、0,1,3,4,5,7が出力され
る。係数を1.3 に固定し、出力を整数に限定したテー
ブルの更新が行われる。
The bit limiting circuit 107 is a circuit for performing operations such as rounding, rounding down, and rounding up, and prevents accumulation of arithmetic errors. For example, if the coefficient is 1.3, the counter 10
As the output of 1 increases to 0, 1, 2, 3, 4, 5, the output of adder 106 becomes 0, 1.3, 2.6, 3.9,
When it is increased to 5.2 and 6.5 and rounded off by the bit limiting circuit 107, 0, 1, 3, 4, 5, and 7 are output. The coefficient is fixed at 1.3, and the table is updated with the output limited to integers.

【0018】セット・リセット・フリップフロップ10
4とクロック停止用のアンド回路108の働きは、図3
に示したものと全く同様である。
Set / Reset Flip-Flop 10
4 and the operation of the AND circuit 108 for stopping the clock are shown in FIG.
Is exactly the same as that shown in.

【0019】本発明の一実施例を図5に示す。本実施例
は、入力値と出力値の間の勾配を、入力値に応じて変更
する様な、非線形のルックアップテーブルを与える。図
5は、入力値に応じて勾配を2度変更する折線の非線形
のルックアップテーブルを与える回路の例である。この
ような折線の非線形のルックアップテーブルは、曲線の
入出力特性を折線で近似する場合に多用される。
An embodiment of the present invention is shown in FIG. The present embodiment provides a non-linear look-up table that changes the slope between the input and output values depending on the input value. FIG. 5 is an example of a circuit that provides a non-linear look-up table of a polygonal line that changes the gradient twice according to an input value. Such a non-linear look-up table of broken lines is often used when the input / output characteristics of a curve are approximated by broken lines.

【0020】本実施例の場合、演算に必要なパラメータ
は、勾配a,b,cと、変曲点a−b,b−cの5個で
ある。変曲点は勾配を変更する時点の入力値である。図
4の実施例の係数の与え方を変更することによって実現
される。本実施例では、勾配変更判定回路109におい
て、カウンタ101の出力値と変曲点を常時比較してい
る。勾配変更判定回路109の判定結果に応じて、選択
回路110により所定の勾配の値を積算回路111に与
える。
In the case of the present embodiment, there are five parameters required for the calculation: the gradients a, b and c and the inflection points ab and bc. The inflection point is an input value at the time of changing the slope. This is realized by changing the way of giving the coefficients in the embodiment of FIG. In the present embodiment, the gradient change determination circuit 109 constantly compares the output value of the counter 101 with the inflection point. According to the determination result of the gradient change determination circuit 109, the selection circuit 110 gives a predetermined gradient value to the integration circuit 111.

【0021】本発明の一実施例を図6に示す。本実施例
は、ルックアップテーブルに二乗特性を与えるものであ
る。外部から与えるべきパラメータは、テーブルが2乗
特性のものであるという情報のみでよい。二乗の場合、
ある整数nの二乗とその前の整数n−1の二乗との差
は、2n−1である。n−1の二乗を格納した積算レジ
スタ105の出力にカウンタ値nの2倍を加え、1を減
じることにより、加算器106の出力にnの二乗が得ら
れる。
An embodiment of the present invention is shown in FIG. In this embodiment, the look-up table is given a square characteristic. The parameter to be given from the outside is only the information that the table has the square characteristic. For square,
The difference between the square of a given integer n and the square of the preceding integer n-1 is 2n-1. The square of n is obtained at the output of the adder 106 by adding twice the counter value n to the output of the accumulation register 105 storing the square of n-1 and subtracting 1.

【0022】本発明のルックアップテーブルを乗算器と
して用いた、ディジタルフィルタの構成例を図7に示
す。複数個のルックアップテーブル2に一つのテーブル
生成回路1から更新すべきデータを供給している。係数
メモリ103には、各々のルックアップテーブルの係数
値を予め格納しておく。カウンタ101は、ルックアッ
プテーブルのアドレス値5のほか、その上位数ビットを
余分に備えたものを用いる。上位数ビットは、更新中の
特定のルックアップテーブルを示している。制御回路1
12でこの上位数ビットを監視し、これが変わる毎に積
算レジスタ105をリセットした上で、対応する係数値
を積算回路111に与える。
FIG. 7 shows a configuration example of a digital filter using the lookup table of the present invention as a multiplier. Data to be updated is supplied from one table generation circuit 1 to a plurality of lookup tables 2. The coefficient value of each look-up table is stored in the coefficient memory 103 in advance. As the counter 101, an address value 5 of the lookup table and an extra high-order several bits thereof are used. The upper few bits indicate the particular lookup table being updated. Control circuit 1
The high-order several bits are monitored at 12, and the integration register 105 is reset every time the bits change, and then the corresponding coefficient value is given to the integration circuit 111.

【0023】テーブル値生成回路1は、テーブルの更新
に許された時間との兼ね合いで、一度に更新できるルッ
クアップテーブルの数が決められるので、搭載すべき個
数がこれによって決まる。
In the table value generating circuit 1, the number of lookup tables that can be updated at one time is determined in consideration of the time allowed for updating the table, and thus the number to be mounted is determined by this.

【0024】図7に示したディジタルフィルタに、特
に、図5に示した折線の入出力特性を持つルックアップ
テーブルを適用すると、非線形係数のディジタルフィル
タが実現できる。非線形係数のディジタルフィルタは非
線形の歪みを受けた信号の等化、若しくは逆に非線形の
歪みを受けることが予め判っている信号の処理に有効で
ある。特に本実施例の場合は、ルックアップテーブルの
更新にかかる時間が、従来と比較して格段に短縮される
ので、歪みがなんらかの要因で変化し、それに合わせて
ルックアップテーブルを変更する場合に有効である。
By applying the lookup table having the input / output characteristic of the broken line shown in FIG. 5 to the digital filter shown in FIG. 7, a digital filter having a nonlinear coefficient can be realized. A digital filter having a non-linear coefficient is effective for equalizing a signal that has been subjected to non-linear distortion or, conversely, for processing a signal that is known to be subjected to non-linear distortion. Particularly, in the case of the present embodiment, the time required to update the lookup table is significantly shortened compared to the conventional case, so that the distortion changes due to some factor, and it is effective when the lookup table is changed accordingly. Is.

【0025】磁気ディスクの読み取り装置の波形等化フ
ィルタに利用した例について以下説明する。この場合、
データの格納されているディスクやトラックごとに、適
正なフィルタ係数を設定する必要がある。ディスクやト
ラックが変更される時間は、約10μsであるので、従
来技術ではルックアップテーブルの採用が妨げられてい
た。このため並列乗算器をしており、消費電力が大きい
という問題を生じていた。本実施例は、テーブル更新時
間の制限の問題を解決したため、消費電力が小さく非線
形係数にも対応の容易なディジタルフィルタを実現し
た。
An example of application to a waveform equalizing filter of a magnetic disk reader will be described below. in this case,
It is necessary to set an appropriate filter coefficient for each disk or track in which data is stored. Since it takes about 10 μs to change a disk or a track, the use of a look-up table has been hindered in the prior art. Therefore, a parallel multiplier is used, which causes a problem of high power consumption. In the present embodiment, since the problem of the limitation of the table update time is solved, a digital filter which consumes less power and can easily deal with the nonlinear coefficient is realized.

【0026】また、ディジタルテレビの信号処理に利用
した例について以下説明する。この場合、走査線毎に適
正なフィルタ係数を設定する必要のある処理がある。こ
のとき、係数の更新は、水平ブランキング期間の11.
6μs 以内に完了する必要がある。この例でも、磁気
ディスクの読み取り装置の波形等化フィルタに利用した
例と同様の効果が得られた。
An example used for signal processing of a digital television will be described below. In this case, there is a process that requires setting an appropriate filter coefficient for each scanning line. At this time, the coefficient is updated in the horizontal blanking period 11.
It must be completed within 6 μs. In this example as well, the same effect as the example applied to the waveform equalization filter of the magnetic disk reader was obtained.

【0027】[0027]

【発明の効果】本発明によれば、ルックアップテーブル
の更新にかかる時間が、従来と比較して格段に短縮され
る。従来、マイクロコンピュータによる演算とデータの
転送に5マシンサイクルを要したとし、これを10MH
z(100ns周期)の動作クロックで実行したとす
る。これを、本発明の実施例に挙げた回路を100MH
zで動作させた場合、1データの更新は1マシンサイク
ルで完了する。このとき、ルックアップテーブルの更新
にかかる時間が50分の1に短縮される。一般によく使
われる8ビット入力のルックアップテーブルの更新に
は、従来125μsかかっていたが、本発明を実施する
ことにより2.5μs で済む。このため、従来はテーブ
ルの更新時間で制限されていた分野への適用が可能とな
った。
According to the present invention, the time required to update the look-up table is significantly reduced as compared with the conventional case. In the past, it was assumed that 5 machine cycles were required for calculation and data transfer by a microcomputer,
It is assumed that the operation is performed with an operating clock of z (100 ns cycle). The circuit described in the embodiment of the present invention is 100 MHz.
When operated in z, one data update is completed in one machine cycle. At this time, the time required to update the lookup table is reduced to 1/50. It takes 125 μs to update an 8-bit input look-up table which is generally used, but it can be updated to 2.5 μs by implementing the present invention. For this reason, it has become possible to apply to fields that were conventionally limited by the table update time.

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

【図1】本発明の第1の実施例のブロック図。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】従来例のブロック図。FIG. 2 is a block diagram of a conventional example.

【図3】本発明の第2の実施例のブロック図。FIG. 3 is a block diagram of a second embodiment of the present invention.

【図4】本発明の第3の実施例のブロック図。FIG. 4 is a block diagram of a third embodiment of the present invention.

【図5】本発明の第4の実施例のブロック図。FIG. 5 is a block diagram of a fourth embodiment of the present invention.

【図6】本発明の第5の実施例のブロック図。FIG. 6 is a block diagram of a fifth embodiment of the present invention.

【図7】本発明の第6の実施例のブロック図。FIG. 7 is a block diagram of a sixth embodiment of the present invention.

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

1…テーブル値生成回路、2…RAM、3…演算に必要
なパラメータ、4…実動作クロック、5…RAMのアド
レス信号、6…RAMのデータ信号、7…RAMの読み出
し/書き込み制御信号。
1 ... table value generation circuit, 2 ... RAM, 3 ... parameters required for operation, 4 ... actual operation clock, 5 ... RAM address signal, 6 ... RAM data signal, 7 ... RAM read / write control signal.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 矢野 隆 東京都国分寺市東恋ケ窪1丁目280番地 株式会社日立製作所中央研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takashi Yano 1-280, Higashi Koikekubo, Kokubunji, Tokyo Inside the Central Research Laboratory, Hitachi, Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】メモリを用いて構成したルックアップテー
ブルにおいて、テーブル値の生成回路を備え、前記生成
回路が前記ルックアップテーブルの通常動作周波数のク
ロックで動作することを特徴とするルックアップテーブ
ル。
1. A look-up table configured by using a memory, comprising a table value generation circuit, and the generation circuit operates with a clock having a normal operating frequency of the look-up table.
【請求項2】請求項1において、前記テーブル値の前記
生成回路が、係数値とテーブル値生成開始信号を入力と
し、前記テーブル値生成開始信号が入力されると動作を
開始するカウンタと、前記カウンタ出力を前記メモリの
アドレス信号とし、前記カウンタ出力と前記係数値の積
を求める回路を備え、前記積を求める回路の出力を前記
アドレス信号に対応する前記メモリのデータとして出力
するルックアップテーブル。
2. The counter according to claim 1, wherein the table value generation circuit receives a coefficient value and a table value generation start signal, and starts operation when the table value generation start signal is input. A look-up table comprising a circuit for obtaining a product of the counter output and the coefficient value, using a counter output as an address signal of the memory, and outputting an output of the circuit for obtaining the product as data of the memory corresponding to the address signal.
【請求項3】請求項2において、前記積を求める回路
を、前記カウンタと同期して動作する前記係数値を積算
して積を求める積算回路により構成するルックアップテ
ーブル。
3. The look-up table according to claim 2, wherein the circuit for obtaining the product is constituted by an integrating circuit for obtaining the product by integrating the coefficient values that operate in synchronization with the counter.
【請求項4】請求項3において、前記係数値を複数個格
納する手段と、前記複数の係数値を切り替えるべきアド
レス値を格納する手段を有し、前記アドレス値に応じて
前記積算回路の差分を別の係数値に変更する手段を有す
るルックアップテーブル。
4. The method according to claim 3, further comprising a means for storing a plurality of the coefficient values and a means for storing an address value for switching the plurality of coefficient values, the difference of the integrating circuit according to the address value. A look-up table having means for changing to another coefficient value.
【請求項5】請求項1,2,3または4において、前記
ルックアップテーブルを用いて構成したディジタルフィ
ルタ。
5. A digital filter according to any one of claims 1, 2, 3 or 4, wherein the look-up table is used.
【請求項6】積和演算によって構成されるディジタルフ
ィルタにおいて、積項に非線形の入出力特性を有する回
路を用いて構成したことを特徴とするディジタルフィル
タ。
6. A digital filter configured by a product-sum operation, wherein the product term is configured using a circuit having a nonlinear input / output characteristic.
JP4118781A 1992-05-12 1992-05-12 Lookup table and digital filter Pending JPH05313775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4118781A JPH05313775A (en) 1992-05-12 1992-05-12 Lookup table and digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4118781A JPH05313775A (en) 1992-05-12 1992-05-12 Lookup table and digital filter

Publications (1)

Publication Number Publication Date
JPH05313775A true JPH05313775A (en) 1993-11-26

Family

ID=14744929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4118781A Pending JPH05313775A (en) 1992-05-12 1992-05-12 Lookup table and digital filter

Country Status (1)

Country Link
JP (1) JPH05313775A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7423784B2 (en) 2001-08-22 2008-09-09 Canon Kabushiki Kaisha Processing of signals from image sensing apparatus whose image sensing area includes a plurality of areas

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7423784B2 (en) 2001-08-22 2008-09-09 Canon Kabushiki Kaisha Processing of signals from image sensing apparatus whose image sensing area includes a plurality of areas

Similar Documents

Publication Publication Date Title
US4627021A (en) Integrated processor for the processing of word-wise receivable data
JPH07114337B2 (en) Digital audio signal processor
CN101617235B (en) Method and apparatus for implementing finite impulse response filters without the use of multipliers
US5898878A (en) Data processing system having capability to interpolate processing coefficients
US5392315A (en) FIR filter coefficient updating system
JPH05313775A (en) Lookup table and digital filter
US8736268B2 (en) Device for correcting set-point signals and system for the generation of gradients comprising such a device
JPH06318092A (en) Variable delay circuit
JPH04222111A (en) Digital filter
JPH0372710A (en) Digital signal processing circuit
JP3288074B2 (en) Address generation circuit
JP2685012B2 (en) Digital integrated circuit and digital filter
JP2001045296A (en) Gamma correction device for image data
US5615241A (en) Programmable rate generator
JPS58147223A (en) Digital filter
JP2000020705A (en) Parallel image processing processor
KR200341661Y1 (en) Apparatus for decreasing bits of input image data and restoring the same at output
JPH0646399B2 (en) Digital signal processing circuit
JPH0486116A (en) Digital signal processing circuit
JPH10135742A (en) Signal waveform generation device
JPH0535258A (en) Data conversion device
JPH07262075A (en) Digital signal processor
JPH05273246A (en) Roll display of waveform
JPS63262745A (en) Address forming circuit
JPH05174050A (en) Series arithmetic unit