Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3618160B2 - Filter order determination method and apparatus - Google Patents
[go: Go Back, main page]

JP3618160B2 - Filter order determination method and apparatus - Google Patents

Filter order determination method and apparatus Download PDF

Info

Publication number
JP3618160B2
JP3618160B2 JP04546296A JP4546296A JP3618160B2 JP 3618160 B2 JP3618160 B2 JP 3618160B2 JP 04546296 A JP04546296 A JP 04546296A JP 4546296 A JP4546296 A JP 4546296A JP 3618160 B2 JP3618160 B2 JP 3618160B2
Authority
JP
Japan
Prior art keywords
order
filter
noise
determining
frequency
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
Application number
JP04546296A
Other languages
Japanese (ja)
Other versions
JPH09210758A (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.)
Yamato Scale Co Ltd
Original Assignee
Yamato Scale Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamato Scale Co Ltd filed Critical Yamato Scale Co Ltd
Priority to JP04546296A priority Critical patent/JP3618160B2/en
Publication of JPH09210758A publication Critical patent/JPH09210758A/en
Application granted granted Critical
Publication of JP3618160B2 publication Critical patent/JP3618160B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、計重装置が発生する計重信号に含まれるノイズ成分を除去するフィルタに、最適な次数を決定する方法及び装置に関する。
【0002】
【従来の技術】
一般に、計重装置としては、ストレインゲージ式ロードセルやフォースバランス等が知られている。これら計重装置の計重信号には、物品を計重装置に載荷したときの衝撃や、計重装置の主振動等の影響を受けて、物品の真の重量を表す成分の他に、不要な振動成分も含まれている。
【0003】
このような成分を除去するために、例えば特公平6−21814号公報に開示されているように、多重の移動平均フィルタを使用することがある。即ち、縦続接続された複数の移動平均フィルタに、計重信号を通過させることによって、複数の振動成分を除去する。1段の移動平均フィルタは、数1に示すように次数nを定めると、ノッチ周波数f(または、その整数倍)を有している。
【0004】
【数1】

Figure 0003618160
【0005】
但し、Tは、移動平均フィルタをディジタル形式によって形成する際に行うA/Dのサンプリング時間である。また、この場合のフィルタの出力の応答遅れの時間、即ち遅延時間Tは、数2によって示される。
【0006】
【数2】
Figure 0003618160
【0007】
理想的には、例えば計重信号にn個の振動成分が含まれている場合、移動平均フィルタの段数をn段とし、各移動平均フィルタのノッチ周波数を、それぞれn個の振動成分の周波数に設定する。この場合、総合遅延時間は、各移動平均フィルタにおいて生じる遅延時間の和である。
【0008】
【発明が解決しようとする課題】
近年、計重の高速化が要求されているので、できるだけ短い時間で計重を完了することが望まれる。従って、複数の振動成分に対して、各振動成分と同数の移動平均フィルタによって計重信号を濾波する場合、必ずしも許容される遅延時間が充分にあるとは限らない。
【0009】
例えば、ロードセルを用いた重量選別機の場合、計重信号には、重量を表す直流成分の他に、ロードセルの上下振動、ロードセルの縦、横揺れ振動が含まれる。さらに、ロードセルが、コンベヤに接続された計重コンベヤの場合には、上記の振動の他に、コンベヤの駆動モータによる振動、プーリの動的アンバランスによる振動等の様々な振動成分が含まれる。これらの振動成分の周波数にそれぞれノッチ周波数を一致させた複数の移動平均フィルタによって、これら振動成分を除去していては、その総合遅延時間がかなり大きくなり、計重の高速化の要求を満たすことができない。
【0010】
本発明は、一定の遅延時間、一定数のフィルタ段数によって、いかに減衰効果の高い多重移動平均フィルタを構成するかを課題とするものである。
【0011】
【課題を解決するための手段】
請求項1記載の発明では、上記計重信号の周波数分析を行い、ノイズ成分のノイズ周波数f(j=1、2・・・m)とそのピークレベルH(j=1、2・・・m)とをそれぞれ決定する。予め定めた複数段の各フィルタの次数が種々に変更される。この変更ごとに、上記各ノイズ周波数と上記ピークレベルとそのときの次数とに基づいて、上記各ノイズ周波数における上記縦続接続された複数のフィルタの最終出力の総和を求める。例えば最終出力の総和Jは、数3によって表される。
【0012】
【数3】
Figure 0003618160
【0013】
但し、G1j、G2j・・・Gpjは、j段目のフィルタのピークレベルHに対応する減衰率である。これら減衰率は、例えばG1jの場合、各フィルタが移動平均フィルタであるとすると、数4によって表される。但し、nは、1番目のフィルタの次数である。他のフィルタの減衰率も、次数nを各フィルタに応じた次数に変更することによって表される。
【0014】
【数4】
Figure 0003618160
【0015】
例えば、図4(a)に示すようにm=3、即ち3つのピークレベルを持つ計重信号が、p=2、即ち2段に縦続接続された移動平均フィルタに入力され、1段目のフィルタが、或るときの次数nによって同図(b)に示すような伝達関数となり、2段目のフィルタがそのときの次数nによって同図(c)に示すような伝達関数となった場合を考えると、Jは、数5によって表される。
【0016】
【数5】
Figure 0003618160
【0017】
また、上記各フィルタの次数を種々に変更するごとに、上記各フィルタにおける遅延時間の総和を求める。例えば、上記の例で1段目のフィルタの遅延時間Tは、例えば数6で、2段目のフィルタの遅延時間Tは、例えば数7で、3段目の遅延時間は、数8で求められ、遅延時間の総和Tは、数9で示される。なお、Tは、各フィルタへの入力するために行われたA/D変換のサンプリング時間である。
【0018】
【数6】
Figure 0003618160
【数7】
Figure 0003618160
【数8】
Figure 0003618160
【数9】
Figure 0003618160
【0019】
このように最終出力の総和Jと総合遅延時間Tとが、次数を変更するごとに求められる。そして、上記最終出力の総和Jのうち最小に近く、かつ対応する上記遅延時間の総和Tが予め定めた目標遅延時間Tに近い次数を決定する。
【0020】
請求項2記載の発明では、周波数分析手段が、計重信号の上記各ノイズ成分のノイズ周波数、例えばf乃至fとそのノイズ周波数におけるピークレベルH乃至Hとをそれぞれ決定する。次数指定手段が、上記各フィルタの次数を種々に指定する。上記次数指定手段によって指定された次数における上記各フィルタの上記ノイズ周波数での減衰率、例えばG11乃至G23と、上記ノイズ周波数におけるピークレベルH乃至Hとの乗算値それぞれの総和である総和フィルタ出力特性Jを、総和フィルタ出力特性算出手段が求める。上記次数指定手段によって指定された次数における上記各フィルタの遅延時間の総和Tを遅延時間演算手段が求める。上記各総和フィルタ出力特性が最小に近く、かつ上記遅延時間の総和が予め定めた目標遅延時間に近い次数を、次数決定手段が決定する。
【0021】
請求項3記載の発明では、計重信号の周波数分析を行い、ノイズ成分のノイズ周波数、例えばf乃至fとピークレベルH乃至Hとをそれぞれ決定する。上記各フィルタの次数を種々に変更するごとに、上記各ノイズ周波数f乃至fと、上記ピークレベルH乃至Hと、そのときの次数、例えばn乃至nとに基づいて、上記各ノイズ周波数における上記各フィルタの出力のうち最大値Jmax を、例えば数10のように求める。
【0022】
【数10】
Figure 0003618160
【0023】
上記各フィルタの次数を種々に変更するごとに、上記各フィルタにおける遅延時間の総和Tを求める。これは、数9と同様にして求められる。上記各最大値Jmax のうち最小に近く、かつ対応する上記遅延時間の総和Tが予め定めた目標遅延時間Tに近い次数を決定する。
【0024】
請求項4記載の発明では、計重信号の各ノイズ成分のノイズ周波数、例えばf乃至fとそのノイズ周波数におけるピークレベルH乃至Hとを周波数分析手段が決定する。上記各フィルタの次数を次数指定手段が、種々に指定する。上記次数指定手段によって指定された次数における上記各フィルタの上記ノイズ周波数での減衰率G11乃至G23と、このノイズ周波数におけるピークレベルH乃至Hとの乗算値である上記各フィルタの出力のうち最大値Jmax を、最大値検出手段が求める。上記次数指定手段によって指定された次数における上記各フィルタの遅延時間の総和Tを、遅延時間演算手段が求める。上記各最大値のうち最小に近く、かつ上記遅延時間の総和Tが予め定めた目標遅延時間Tに近い次数を、次数決定手段が決定する。
【0025】
請求項5記載の発明は、例えば計重装置としてロードセルを使用した場合、ロードセルに載荷される物品の重量によって、例えば図7(a)に示すように、ロードセルの固有振動数に対応するノイズ成分のノイズ周波数が例えばf、f′と、ピークレベルが、H3a、H3b と変化する場合でも、同一のフィルタによって対処しようとするものである。この発明でも、計重信号の周波数分析が行われる。各フィルタの次数を種々に変更するごとに、ノイズ周波数の周波数変動範囲、例えばf′min 乃至f′max と、この変動範囲における各ノイズレベルと、そのときの次数とに基づいて、上記周波数変動範囲における上記各フィルタの最終出力Jを、例えば数11によって求める。
【0026】
【数11】
Figure 0003618160
【0027】
但し、H(f′)は、固有振動周波数f′に対応する振動成分のレベル、例えば図 (a)のf′min 乃至f′max の範囲の各レベル、G(f′)乃至Gは、或る時点で各フィルタに割り当てられた次数n乃至nの例えば移動平均フィルタの固有振動周波数f′における減衰率である。
【0028】
また、上記各フィルタの次数を種々に変更するごとに、上記各フィルタにおける遅延時間の総和Tを求める。上記各最終出力Jのうち最小値に近く、かつ対応する上記遅延時間の総和Tが予め定めた目標遅延時間Tに近い次数を決定する。
【0029】
請求項6記載の発明も、請求項5記載の発明と同様に、ノイズ成分の周波数とピークレベルが変動する場合のものである。請求項6記載の発明では、計重信号の周波数分析を、周波数分析手段が行う。上記各フィルタの次数を、次数指定手段が種々に指定する。上記次数指定手段によって指定された次数において、上記ノイズ周波数の周波数変動範囲f′min 乃至f′max と、この変動範囲における各ノイズレベルとに基づいて、上記周波数変動範囲における上記各フィルタの最終出力Jを、最終出力算出手段が求める。上記次数指定手段によって指定された次数における上記各フィルタにおける遅延時間の総和Tを、総和遅延時間算出手段が求める。上記各最終出力のうち最小値に近く、かつ対応する上記遅延時間の総和Tが予め定めた目標遅延時間に近い次数を、次数決定手段が決定する。
【0030】
請求項7記載の発明では、計重信号の周波数分析を行い、n(nは2以上の正の整数)個のノイズ成分のノイズ周波数、例えばf乃至fとピークレベルH乃至Hとをそれぞれ決定する。m(mは2以上の正の整数で、nよりも小さい)段、例えば2段のフィルタのうち、1段から(m−1)段のフィルタ、例えば1段目のフィルタに対して、最大のものから順に(m−1)個、例えば最大値の上記ピークレベルに対応するノイズ周波数Hを遮断する次数nを決定する。上記決定された(m−1)個の次数nにおける遅延時間Tを決定する。上記決定された(m−1)個の遅延時間の和Tが目標遅延時間Tより小さいとき、上記目標遅延時間Tと上記決定された(m−1)個の遅延時間の和との差により、m番目のフィルタの次数nを決定する。
【0031】
請求項8記載の発明では、計重信号に含まれるn(nは2以上の正の整数)個のノイズ成分の上記ノイズ周波数、例えばf乃至fとピークレベルH乃至Hとを、周波数分析手段が分析する。上記各ピークレベルに対して最大のものから順に(m−1)個のピークレベル、例えば最大値Hを検索すると共に、これら検索されたピークレベルに対応する(m−1)個の上記ノイズ周波数、例えばfを、検索手段が検索する。上記検索された(m−1)個のノイズ周波数fを、(m−1)個のフィルタによってそれぞれ遮断させる次数nを、次数決定手段が決定する。上記決定された(m−1)個の次数nにおける遅延時間Tを算出し、その和Tを、遅延時間算出手段が、求める。上記算出された遅延時間の和Tが、目標遅延時間Tよりも小さいとき、上記算出された遅延時間の和Tと上記目標遅延時間Tとの差に基づいて、m番目のフィルタの次数を、次数決定手段が決定する。
【0032】
【発明の実施の形態】
図1乃至図4に第1の実施の形態を示す。第1の実施の形態は、請求項1、2に記載の発明に対応するものである。この実施の形態では、図3に示すように、例えば計重コンベヤ2に設けられている計重手段、例えばロードセル4からの計重信号が、A/D変換器6によってディジタル計重信号に変換され、CPU8に入力される。CPU8には、メモリ10、キーボード12及び表示装置14が付属している。CPU8が、ディジタル計重信号を濾波するディジタルフィルタ、例えば多重移動平均フィルタとして機能する。また、CPU8は、この多重移動平均フィルタの各次数を、予め定められた段数pと、予め定められた目標遅延時間Tとを前提として、最適に決定する装置としても機能する。
【0033】
図3に示すように、CPU8には、キーボード12の操作によって、目標遅延時間T、移動平均フィルタの段数p、A/D変換器6におけるサンプリング時間T、サンプリングデータ数Nが入力される(ステップS2)。サンプリングデータ数Nは、次数を決定するためにCPU8に入力されるディジタル計重信号のサンプリングデータ数を表している。
【0034】
そして、適当な物品を計重コンベヤ2に載荷してときに得られる連続するディジタル計重信号をN個、CPU8に入力する(ステップS4)。
【0035】
次に、これらN個のディジタル計重信号を周波数分析、例えばFFTを行い、これら計重信号のノイズ周波数と、そのレベル(振幅)を検出し、例えば図4(a)に示すような結果を得る。図4(a)において、f、f、fは、ディジタル計重信号に含まれているノイズ成分、例えば振動成分のノイズ周波数を表し、H、H、Hは、各ノイズ周波数におけるノイズ成分のピークレベルを表している。
【0036】
そして、組合せ最適化手法によって次数を配分する(ステップS8)。即ち、2段のフィルタの次数を順に変更しながら、ステップS6において求めたノイズ周波数とピークレベルとを用いて、上記各ノイズ周波数における2段のフィルタの最終出力における和を評価関数として求め、それが最小値となり、かつ総合遅延時間が目標遅延時間Tに近い次数を求める。
【0037】
より詳細には、図1に示すように、上記評価関数の最適解を記憶する領域Jmin の値を、初期値として、最小値では生じえない値、例えば10000とし、さらに初段のフィルタの最適な次数を記憶する次数最適解領域n1minと、後段のフィルタの最適な次数を記憶する次数最適解領域n2minの値を、初期値としてそれぞれ0とする(ステップS10)。
【0038】
次に、初段のフィルタの次数を指定する次数指定手段として機能するカウンタnをn・Tを0.001秒とした場合、例えば10とする(ステップS12)。このカウンタnの初期値は、1としてもよいが、n以下の値では振動成分に対する減衰効果が小さく、計算しても意味がないと考えられるので、最適化を行うの要する時間を短縮するため、nとしてある。
【0039】
そして、次数nにおける遅延時間Tを、n・Tによって求める(ステップS14)。次に、遅延時間Tが、目標遅延時間Tの1/2よりも大きいか判断する(ステップS16)。この判断がノーの場合、後段のフィルタの次数を指定するカウンタnの初期値をnとする(ステップS18)。ここで、カウンタnの初期値をnとしているのも、カウンタnの初期値をnとしたのと同様な理由である。なお、カウンタn、nの初期値は、同一の値とすることもできるし、異なる値とすることもできる。
【0040】
そして、後段のフィルタにおける遅延時間Tを、n・Tによって求める(ステップS20)。遅延時間TとTとの和である総合遅延時間が、目標遅延時間Tよりも大きいか判断する(ステップS22)。この判断がイエスであると、カウンタnの値を1だけ増加させ(ステップS24)、ステップS14に戻る。
【0041】
ステップS22の判断がノーであると、ノイズ周波数fにおける前段のフィルタの減衰率G11、ノイズ周波数fにおける前段のフィルタの減衰率G12、ノイズ周波数fにおける前段のフィルタの減衰率G13、ノイズ周波数fにおける後段のフィルタの減衰率G21、ノイズ周波数fにおける後段のフィルタの減衰率G22、ノイズ周波数fにおける後段のフィルタの減衰率G23を求める(ステップS26)。
【0042】
これら減衰率G11乃至G13は、数4における添字jを1乃至3に変更することによって求められ、減衰率G21乃至G23は、数4における添字1jを2jとし、次数nを次数nに変更し、添字jを1乃至3に変更することによって求められる。これらG11乃至G23の一例を図4(b)、(c)に示す。
【0043】
次に、評価関数Jを求める(ステップS28)。この評価関数Jは、数5によって求められる。これは、次数n、nの2段のフィルタに、サンプルとなるディジタル計重信号を入力したときに、ノイズ周波数f、f、fにおいて2段のフィルタからそれぞれ得られる出力を加算したものである。この評価関数Jが、評価関数の最適解Jmin よりも小さいか判断する(ステップS30)。
【0044】
この判断がイエスであると、評価関数の最適解Jmin を評価関数Jとし(ステップS32)、そのときの次数n、nを、次数最適解n1min、n2minとして記憶する(ステップS34)。
【0045】
そして、カウンタnの値を1だけ進め(ステップS36)、ステップS20を実行する。以下、同様にしてステップS22の判断がイエスになるまで(T+TがTより大きくなるまで)、ステップS20乃至S36のループを繰り返す。ステップS22の判断がイエスになると、S24、S14を実行して、新たな次数nでの遅延時間を求める。
【0046】
この新たな遅延時間Tが目標遅延時間Tの1/2よりも大きいと、次数最適解n1min、n2minを出力する(ステップS38)。なお、遅延時間Tが目標遅延時間Tの1/2よりも大きくなると、最適化を終了するのは、フィルタ数を2としたからである。即ち、1つの最適解がn1min=A、n2min=Bとすると、n1min=B、n2min=Aも同じく最適解となるはずであるので、A、Bに必要な時間T、Tのどちらか半分が必ず、目標遅延時間Tの半分以下である。従って、Tが目標遅延時間Tの半分より大きくなるまで計算すれば充分である。
【0047】
ステップS38で出力された次数最適解n1min、n2minに基づいて、図2に示すように2段の多重平均フィルタを構成する(ステップS40)。
【0048】
このように第1の実施の形態では、初段のフィルタの次数を或る次数として、後段のフィルタの次数を順次変更する。変更するごとに、評価関数Jを求め、それが今までの評価関数最適値Jmin よりも小さくなると、これを新たな評価関数最適値Jmin として記憶し、そのときの次数n、nを、新たな次数の最適解n1min、n2minとして記憶させる。さらにその時の後段のフィルタの次数nを1つ進めた段階での遅延時間Tと初段のフィルタの次数nによる遅延時間Tとの和である総合遅延時間Tが、目標遅延時間Tを超えないなら、再度評価関数を求めて、上述したのと同様な処理を行う。総合遅延時間Tが目標遅延時間を超えるなら、初段のフィルタの次数nを1つ進めて、新たな遅延時間Tを求め、これが目標遅延時間Tの1/2よりも大きければ、次数最適解n1min、n2minを出力する。新たな遅延時間Tが、目標遅延時間Tの1/2よりも小さければ、後段の次数nを初期値nとして、上述したのと同様な処理を行う。
【0049】
このように、各ノイズ周波数におけるフィルタの出力信号を加算した値である評価関数Jが最小であって、総合遅延時間Tが、目標遅延時間Tよりも始めて大きくなったときのn1min、n2minを最適化された次数として出力している。
【0050】
なお、数5において、各振幅H乃至Hに対して適当な重みW乃至Wをそれぞれ乗算することによって、個別のノイズ成分に対して或る程度の減衰率の余裕を与えることもできる。
【0051】
第2の実施の形態を図5に示す。第2の実施の形態は、請求項3、4に対応するものである。この実施の形態では、評価関数が第1の実施の形態と異なる以外、第1の実施の形態と同様に構成されている。従って、図5に示すようにステップS10からS26までは、第1の実施の形態と同じ処理が行われる。
【0052】
第2の実施の形態では、評価関数として、数10に示したように、或る次数n、nにおける、例えばノイズ周波数f、f、fでの各フィルタの出力のうち最大値を用いている。即ち、最も減衰の効果が現れていない周波数でのフィルタの出力を評価関数としている。この最大値が今までの評価関数最適値Jmin よりも小さければ、このときの次数n、nを新たな次数最適解n1min、n2minとするものである。
【0053】
そのため、ステップS26に続いて、ノイズ周波数fにおける2段のフィルタの出力Jが、G11・G21・Hとして計算され、ノイズ周波数fにおける2段のフィルタの出力Jが、G12・G22・Hとして計算され、ノイズ周波数fにおける2段のフィルタの出力Jが、G13・G23・Hとして計算される(ステップS41)。
【0054】
次に、ステップS42乃至S54によって、J乃至Jのうち最大値を求めている。まず評価関数Jの初期値を0とし(ステップS42)、Jが評価関数Jより大きいか判断し(ステップS44)、大きければ、Jを評価関数Jとする(ステップS46)。Jが評価関数Jより小さい場合、或いはステップS46に続いて、Jが評価関数Jより大きいか判断し(ステップS48)、大きければ、Jを評価関数Jとする(ステップS50)。Jが評価関数Jより小さい場合、或いはステップS50に続いて、Jが評価関数Jより大きいか判断し(ステップS52)、大きければ、Jを評価関数Jとする(ステップS54)。これによって、評価関数Jは、J、J、Jのうち最大値のものとなる。
【0055】
ステップS52において、Jが評価関数Jより小さいと判断されるか、ステップS54に続いて、ステップS30乃至S36が実行され、ステップS20が実行される。
【0056】
第3の実施の形態を図6及び図7を参照して説明する。第3の実施の形態は、請求項5、6に対応するものである。上述したように、例えばロードセルを用いた計重装置では、ロードセルの固有振動周波数に対応する振動成分の周波数と振幅は、計重装置に載荷される物品の重量によって変動する。例えば図7に示すように、或る物品が載荷されたとき、固有振動の周波数はfで、その振幅がH3aであったのに、異なる重量の物品が載荷されたとき、固有振動の周波数はf′に、その振幅はH3bに変動する。但し、コンベヤ駆動モータやプーリ等の動的アンバランスによる振動成分の周波数、例えばf、f及びその振幅H、Hは、載荷される物品が変化しても、ほとんど変動しない。
【0057】
そこで、計重装置の計重範囲全域にわたって全ての計重信号を同一のフィルタで処理しようとする場合、その計重範囲に対応する振動周波数範囲にわたっての減衰率を考慮した上で、多重移動平均フィルタの次数を配分することが望ましい。このような場合の評価関数は、数11を参照して、数12のようになる
【0058】
【数12】
Figure 0003618160
【0059】
数12における第2項は数11と同一である。第1項におけるG1j乃至Gpjは、p段のフィルタにおける各ノイズ周波数fにおける減衰率、Hは、各ノイズ周波数におけるノイズ成分のレベルである。この実施例の場合、p=2、jは1からm、但しm=2である。
【0060】
数12における第1項は、計重装置の固有振動以外の振動成分についての各フィルタの出力の和を表したもので、図7(b)の符号Aの部分がこれに対応する。第2項は、計重装置の固有振動による振動成分に関する各フィルタの出力の和を表したもので、符号Bの部分がこれに対応する。第2項が設けられているので、特定のノイズ周波数における減衰のみを考慮するのではなく、固有振動周波数範囲全域にわたっての減衰の影響を考慮している。なお、第2項におけるf′min 及びf′max は、ステップS6によって行った周波数分析に基づいて求められる。
【0061】
そのため、図6に示すように、第1の実施の形態におけるステップS26とS28とが、ステップS56、S58に置換されている。ステップS56では、ノイズ周波数f、fにおける各フィルタの減衰率G11、G12、G21、G22を計算する他に、固有振動周波数の変動範囲f′min からf′max における各フィルタの減衰率G′1,1 、・・・・G′1,10、G′2,1 、・・・・G′2,10を計算する。なお、この場合、固有振動周波数の変動幅が10Hzで、1Hzごとに減衰率を求めている。また、ステップS58では、評価関数Jとして数13を算出している。但し、H′乃至H′10は、固有振動周波数の下限周波数f′min から上限周波数f′max までの1Hzごとの振幅である。以下は、第1の実施の形態と同様に処理が行われる。
【0062】
【数13】
Figure 0003618160
【0063】
第4の実施の形態を図8に示す。この実施の形態は請求項7、8に対応するものである。この実施の形態は、各ノイズ成分の振幅の大きいものから順に多重移動平均フィルタの次数を配分するものである。そのため、図2におけるステップS8に代えて、図8に示すような処理が行われる。なお、この場合、周波数分析の結果、図4(a)に示すようにノイズ周波数f乃至fにおいて、振幅H乃至Hが検出されたとする。また、フィルタの段数は2段とする。
【0064】
まず、ステップS60乃至S72において、各ノイズ成分のうち、振幅が最も大きいものと、その周波数とを検索する。即ち、最大振幅Hとして初期値0を記憶し(ステップS60)、振幅Hが最大振幅Hよりも大きいか判断する(ステップS62)。大きければ、最大振幅Hとして振幅Hを記憶させ、かつその振幅Hに対応するノイズ周波数fを最大振幅周波数fとして記憶させる(ステップS64)。
【0065】
ステップS62において振幅Hが最大振幅Hよりも小さいと判断されると、振幅Hが最大振幅Hよりも大きいか判断する(ステップS66)。大きければ、最大振幅Hとして振幅Hを記憶させ、かつその振幅Hに対応するノイズ周波数fを最大振幅周波数fとして記憶させる(ステップS68)。
【0066】
ステップS66において振幅Hが最大振幅Hよりも小さいと判断されると、振幅Hが最大振幅Hよりも大きいか判断する(ステップS70)。大きければ、最大振幅Hとして振幅Hを記憶させ、かつその振幅Hに対応するノイズ周波数fを最大振幅周波数fとして記憶させる(ステップS72)。これによって、各ノイズ成分のうち最大振幅を持つものの、振幅と周波数とが検索される。
【0067】
ステップS70で振幅Hが最大振幅Hよりも小さいと判断された場合、またはステップS72に続いて、最大振幅周波数fがノッチ周波数となるように、初段のフィルタの次数nを1/f(T)によって求める(ステップS74)。次に、この次数nにおける遅延時間Tをn・Tによって求める(ステップS76)。
【0068】
次に、この遅延時間Tが、目標遅延時間Tよりも大きいか判断する(ステップS78)。遅延時間Tが、目標遅延時間Tよりも小さいと、後段のフィルタの次数nを、(T−T)/Tで求める(ステップS80)。そして、次数n、nを出力する(ステップS82)。ステップS78において、遅延時間Tが、目標遅延時間Tよりも大きいと判断されると、処理時間不足というメッセージを表示装置14に表示して(ステップS84)、終了する。
【0069】
なお、この実施の形態では、フィルタの段数を2段としたので、最大振幅の周波数fを検索すると、直ちに、このfをノッチ周波数とした場合の遅延時間Tが目標遅延時間Tよりも大きいか判断しているが、例えば3段の場合、2番目に大きい振幅の周波数をノッチ周波数とした場合の遅延時間を求め、両遅延時間の和が目標遅延時間Tよりも小さいか判断し、小さければ、目標遅延時間Tから両遅延時間を減算した時間をサンプリング時間Tで除算して、最終段の次数を決定すればよい。フィルタの段数がさらに増加した場合も同様である。
【0070】
上記の各実施の形態では、フィルタの段数をいずれも2段としたが、3段以上の段数とすることもできる。また、第1乃至第3の実施の形態では、最適の次数n、nを決定するのに、いわゆる全ての解を列挙する列挙的手法を使用したが、これ以外にも、最適解或いは近似解を生成するためのアルゴリズムまたはルールを利用してただ1つの解を求める発見的手法や、列挙的手法と発見的手法との中間に位置する、可能領域の部分領域内を探索することによって近似解を探し出す探索的手法を使用してもよい。
【0071】
【実施例】
本発明の第1及び第4の実施の形態において、数値シミュレーションを行った結果を示す。計重信号x(k)には、数14で示すような振動成分が含まれているとする。
【0072】
【数14】
Figure 0003618160
【0073】
但し、kはサンプリングデータ数で1乃至1000、Tは0.001秒である。この計重信号x(k)を図9に示す。
【0074】
もし充分な計重信号の処理時間(総合遅延時間)が許されるなら、各振動周波数15、28、43に対応する67、36、23の次数を持った移動平均フィルタ3段を用いることによって振動成分を完全に減衰できる。
【0075】
このような三重の移動平均フィルタを使用するためには、0.123秒の総合遅延時間が必要である。目標遅延時間を0.1秒として、フィルタ数を2とする。第1の実施の形態では、上記の場合、2つの移動平均フィルタの次数は33と67とになった。
【0076】
また、第4の実施の形態の場合、振動成分の一番大きい振幅は28Hzの1.5であるので、28Hzに対する初段の移動平均フィルタの次数を36と決め、残った信号処理時間によって2つ目の移動平均フィルタの次数を64と決定する。このように次数を決定した第1の実施の形態と、第4の実施の形態に、計重信号x(k)を通過させた結果を、第10図に示す。実線が第1の実施の形態、点線が第4の実施の形態である。第1の実施の形態と第4の実施の形態とでは、それぞれ1/190と1/80の減衰率が得られた。このようにして次数を決定した場合でも、総合遅延時間を短くした上に、充分な減衰率が得られた。特に、第1の実施の形態では、顕著な減衰率を示している。
【0077】
【発明の効果】
請求項1または2記載の発明によれば、各フィルタの次数を種々に変更するたびに、各ノイズ周波数における、縦続接続フィルタの最終出力の総和(各ノイズ周波数全体における減衰の状態)を求めると共に、各フィルタにおける遅延時間の総和を求め、各最終出力の総和のうち最小(各ノイズ周波数全体における減衰の状態が最も良好なもの)に近く、かつ遅延時間の総和が予め定めた目標遅延時間に近い次数を選択している。従って、目標遅延時間に近い遅延時間でありながら、各ノイズ成分を大きく減衰することができる。
【0078】
請求項3または4記載の発明によれば、各フィルタの次数を種々に変更するたびに、各ノイズ周波数と、そのピークレベルと、そのときの次数とに基づいて、各ノイズ周波数それぞれにおける各フィルタの出力のうち最大値(各次数における最も減衰が少ないノイズ周波数における減衰の状態)を求め、かつ各フィルタにおける遅延時間の総和を求め、各最大値のうち最小(各次数における最も減衰が少ないノイズ周波数における減衰の状態のうち、最も減衰の状態が良好なもの)に近く、かつ対応する遅延時間の総和が予め定めた目標遅延時間に近い次数を選択している。従って、目標遅延時間に近い遅延時間でありながら、各ノイズ成分を大きく減衰することができる。
【0079】
請求項5または6記載の発明によれば、各フィルタの次数を種々に変更するごとに、ノイズ周波数の周波数変動範囲における、縦続接続されたフィルタの最終出力を求め、かつ各フィルタにおける遅延時間の総和を求め、各最終出力のうち最小値に近く、かつ対応する遅延時間の総和が予め定めた目標遅延時間に近い次数を決定している。従って、ノイズ周波数が、例えば計重される物品の重量に応じて変動するような場合でも、ノイズ成分を大きく減衰することができる。
【0080】
請求項7または8記載の発明によれば、各ノイズ成分のうち最もレベルの大きいものを減衰させられる次数を、各フィルタのうち最終段以外のものに順に割り当て、これら次数の割り当てられた各フィルタでの総合遅延時間が、目標遅延時間よりも小さい場合、総合遅延時間と目標遅延時間との差に基づいて、最終段のフィルタに割り当てる次数を決定している。従って、大きなレベルのノイズ成分から順に大きく減衰することができる上に、総合遅延時間を目標遅延時間とすることができる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態の主要部のフローチャートである。
【図2】同第1の実施の形態の概略フローチャートである。
【図3】同第1の実施の形態のブロック図である。
【図4】同第1の実施の形態における計重信号と或る次数におけるフィルタの周波数特性図である。
【図5】同第2の実施形態の主要部のフローチャートである。
【図6】同第3の実施の形態の主要部のフローチャートである。
【図7】同第3の実施の形態における計重信号と或る次数におけるフィルタの周波数特性図である。
【図8】同第4の実施の形態における主要部のフローチャートである。
【図9】同第1及び第4の形態によって次数を決定したフィルタへの入力信号と出力信号とを示す図である。
【符号の説明】
4 ロードセル
8 CPU
10 メモリ
12 キーボード[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method and apparatus for determining an optimal order for a filter that removes a noise component contained in a weighing signal generated by a weighing device.
[0002]
[Prior art]
Generally, a strain gauge type load cell, a force balance, and the like are known as a weighing device. The weighing signal of these weighing devices is not necessary in addition to the component that represents the true weight of the article due to the impact when the article is loaded on the weighing apparatus, the main vibration of the weighing apparatus, etc. The vibration component is also included.
[0003]
In order to remove such components, a multiple moving average filter may be used as disclosed in, for example, Japanese Patent Publication No. 6-21814. That is, a plurality of vibration components are removed by passing a weight signal through a plurality of cascaded moving average filters. The single-stage moving average filter has a notch frequency f (or an integer multiple thereof) when the order n is determined as shown in Equation (1).
[0004]
[Expression 1]
Figure 0003618160
[0005]
However, T s Is an A / D sampling time when the moving average filter is formed in a digital format. Further, the response delay time of the output of the filter in this case, that is, the delay time T is expressed by Equation 2.
[0006]
[Expression 2]
Figure 0003618160
[0007]
Ideally, for example, when the weight signal includes n vibration components, the number of moving average filter stages is n, and the notch frequency of each moving average filter is set to the frequency of each of the n vibration components. Set. In this case, the total delay time is the sum of delay times generated in each moving average filter.
[0008]
[Problems to be solved by the invention]
In recent years, since speeding up of weighing has been required, it is desired to complete weighing in as short a time as possible. Therefore, when the weight signal is filtered with respect to a plurality of vibration components by the same number of moving average filters as each vibration component, the allowable delay time is not always sufficient.
[0009]
For example, in the case of a weight sorter using a load cell, the weight signal includes vertical vibration of the load cell, vertical and roll vibration of the load cell, in addition to the DC component representing the weight. Furthermore, when the load cell is a weighing conveyor connected to the conveyor, in addition to the above-described vibration, various vibration components such as vibration due to the drive motor of the conveyor and vibration due to dynamic unbalance of the pulley are included. If these vibration components are removed by a plurality of moving average filters that match the frequency of these vibration components, respectively, the total delay time will be considerably large and meet the demand for faster weighing. I can't.
[0010]
It is an object of the present invention to configure a multiple moving average filter having a high attenuation effect with a certain delay time and a certain number of filter stages.
[0011]
[Means for Solving the Problems]
According to the first aspect of the present invention, frequency analysis of the weighing signal is performed, and the noise frequency f of the noise component is determined. j (J = 1, 2,... M) and its peak level H j (J = 1, 2,... M) are determined respectively. The orders of the respective filters in a plurality of stages are changed in various ways. For each change, the sum of the final outputs of the plurality of cascade-connected filters at each noise frequency is obtained based on each noise frequency, the peak level, and the order at that time. For example, the total sum J of the final output is expressed by Equation 3.
[0012]
[Equation 3]
Figure 0003618160
[0013]
However, G 1j , G 2j ... G pj Is the peak level H of the j-th stage filter. j Is an attenuation rate corresponding to. These attenuation factors are, for example, G 1j In this case, if each filter is a moving average filter, it is expressed by Equation 4. However, n 1 Is the order of the first filter. The attenuation factor of other filters is also of order n 1 Is changed to an order corresponding to each filter.
[0014]
[Expression 4]
Figure 0003618160
[0015]
For example, as shown in FIG. 4A, m = 3, that is, a weight signal having three peak levels is input to a moving average filter connected in cascade with p = 2, that is, two stages. The order n when the filter is 1 The transfer function shown in FIG. 5B is obtained, and the second-stage filter has the order n at that time. 2 When the transfer function as shown in FIG. 5C is obtained, J is expressed by Equation 5.
[0016]
[Equation 5]
Figure 0003618160
[0017]
Each time the order of each filter is changed variously, the sum of delay times in each filter is obtained. For example, in the above example, the delay time T of the first-stage filter 1 Is the delay time T of the second stage filter, for example, 2 Is, for example, Equation (7), and the delay time of the third stage is obtained by Equation (8), and the total delay time T is expressed by Equation (9). T s Is a sampling time of A / D conversion performed for input to each filter.
[0018]
[Formula 6]
Figure 0003618160
[Expression 7]
Figure 0003618160
[Equation 8]
Figure 0003618160
[Equation 9]
Figure 0003618160
[0019]
Thus, the final output total J and the total delay time T are obtained every time the order is changed. Then, the sum total J of the final outputs is close to the minimum, and the corresponding total sum T of the delay times is a predetermined target delay time T. t The order close to is determined.
[0020]
In the second aspect of the invention, the frequency analysis means is a noise frequency of each noise component of the weight signal, for example, f. 1 Thru f 3 And peak level H at its noise frequency 1 Thru H 3 And determine each. The order designation means designates the order of each filter in various ways. Attenuation rate at the noise frequency of each filter in the order specified by the order specifying means, for example, G 11 Thru G 23 And the peak level H at the noise frequency 1 Thru H 3 The sum filter output characteristic calculation means obtains a sum filter output characteristic J which is the sum of the multiplication values of. The delay time calculation means obtains the total delay time T of the filters in the order designated by the order designation means. The order determining means determines an order in which each sum filter output characteristic is close to a minimum and the sum of the delay times is close to a predetermined target delay time.
[0021]
In the invention according to claim 3, the frequency analysis of the weight signal is performed, and the noise frequency of the noise component, for example, f 1 Thru f 3 And peak level H 1 Thru H 3 And determine each. Each time the order of each filter is changed variously, each noise frequency f 1 Thru f 3 And the above peak level H 1 Thru H 3 And the order at that time, for example n 1 Thru n 2 Based on the above, the maximum value J of the outputs of the filters at the noise frequencies max For example, as shown in Equation 10.
[0022]
[Expression 10]
Figure 0003618160
[0023]
Each time the order of each filter is changed, the total delay time T in each filter is obtained. This is obtained in the same manner as Equation 9. Each of the above maximum values J max A target delay time T that is close to the minimum and corresponding to the total delay time T is predetermined. t The order close to is determined.
[0024]
In the invention according to claim 4, the noise frequency of each noise component of the weight signal, for example, f 1 Thru f 3 And peak level H at its noise frequency 1 Thru H 3 Is determined by the frequency analysis means. The order designation means variously designates the order of each filter. Attenuation rate G at the noise frequency of each filter in the order specified by the order specifying means 11 Thru G 23 And the peak level H at this noise frequency 1 Thru H 3 The maximum value J among the outputs of the above filters, which is a multiplication value of max Is obtained by the maximum value detecting means. The delay time calculating means obtains the total delay time T of each filter in the order specified by the order specifying means. A target delay time T which is close to the minimum among the maximum values and whose delay time total T is predetermined. t The order determining means determines an order close to.
[0025]
According to the fifth aspect of the present invention, for example, when a load cell is used as a weighing device, a noise component corresponding to the natural frequency of the load cell is obtained depending on the weight of an article loaded on the load cell, for example, as shown in FIG. For example, the noise frequency is f 3 , F 3 'And the peak level is H 3a , H 3b Even if they change, the same filter is used to deal with them. Also in this invention, frequency analysis of the weighing signal is performed. Each time the order of each filter is changed variously, the frequency variation range of the noise frequency, for example, f ′ min To f ' max Based on each noise level in the fluctuation range and the order at that time, the final output J of each filter in the frequency fluctuation range is obtained by, for example, Expression 11.
[0026]
[Expression 11]
Figure 0003618160
[0027]
However, H (f ′) is the level of the vibration component corresponding to the natural vibration frequency f ′, for example, f ′ in FIG. min To f ' max Each level in the range, G 1 (F ') to G p Is the order n assigned to each filter at some point 1 Thru n p For example, the damping rate at the natural vibration frequency f ′ of the moving average filter.
[0028]
Each time the order of each filter is changed, the total delay time T in each filter is obtained. Among the final outputs J, a target delay time T that is close to the minimum value and the corresponding total delay time T is a predetermined target delay time T. t The order close to is determined.
[0029]
The invention described in claim 6 is also the case where the frequency and peak level of the noise component fluctuate, as in the invention described in claim 5. According to the sixth aspect of the invention, the frequency analysis means performs frequency analysis of the weight signal. The order designation means variously designates the order of each filter. In the order specified by the order specifying means, the frequency variation range f ′ of the noise frequency min To f ' max Based on the noise level in the fluctuation range, the final output calculating means obtains the final output J of each filter in the frequency fluctuation range. The total delay time calculating means obtains the total delay time T in the respective filters in the order specified by the order specifying means. The order determining means determines an order that is close to the minimum value among the final outputs, and whose corresponding total delay time T is close to a predetermined target delay time.
[0030]
In the invention according to claim 7, the frequency analysis of the weight signal is performed, and the noise frequency of n noise components (n is a positive integer of 2 or more), for example, f 1 Thru f 3 And peak level H 1 Thru H 3 And determine each. m (m is a positive integer greater than or equal to 2 and smaller than n), for example, among the two-stage filters, the maximum is 1 to (m−1) stages of filters, for example, the first-stage filter. Noise frequency H corresponding to the peak level of the maximum value, for example, (m−1) in order from 2 The order n 1 To decide. (M−1) orders n determined above 1 Delay time T 1 To decide. The sum T of the determined (m−1) delay times 1 Is the target delay time T t When smaller than the target delay time T t And the above determined (m−1) delay time sum, the order n of the mth filter 2 To decide.
[0031]
In the invention according to claim 8, the noise frequency of n noise components (n is a positive integer of 2 or more) included in the weight signal, for example, f 1 Thru f 3 And peak level H 1 Thru H 3 Are analyzed by the frequency analysis means. (M-1) peak levels in order from the maximum for each peak level, for example, the maximum value H 2 And (m−1) noise frequencies, eg, f, corresponding to the searched peak levels. 2 Is retrieved by the retrieval means. The (m-1) noise frequencies f searched above. 2 Are blocked by (m−1) filters, respectively. 1 Is determined by the order determining means. (M−1) orders n determined above 1 Delay time T 1 And the sum T 1 Is obtained by the delay time calculating means. Sum T of the calculated delay times 1 Is the target delay time T t Is smaller than the sum T of the calculated delay times T 1 And the target delay time T t The order determining means determines the order of the m-th filter based on the difference between.
[0032]
DETAILED DESCRIPTION OF THE INVENTION
1 to 4 show a first embodiment. The first embodiment corresponds to the invention described in claims 1 and 2. In this embodiment, as shown in FIG. 3, for example, a weighing signal provided from the weighing conveyor 2, for example, a weighing signal from the load cell 4 is converted into a digital weighing signal by the A / D converter 6. And input to the CPU 8. The CPU 8 is accompanied by a memory 10, a keyboard 12 and a display device 14. The CPU 8 functions as a digital filter for filtering the digital weighing signal, for example, a multiple moving average filter. Further, the CPU 8 determines each order of the multiple moving average filter by using a predetermined number of stages p and a predetermined target delay time T. t As a premise, it also functions as an optimally determined device.
[0033]
As shown in FIG. 3, the CPU 8 causes the target delay time T by the operation of the keyboard 12. t , Number p of moving average filter, sampling time T in A / D converter 6 s The sampling data number N is input (step S2). The number N of sampling data represents the number of sampling data of the digital weight signal input to the CPU 8 in order to determine the order.
[0034]
Then, N continuous digital weighing signals obtained when an appropriate article is loaded on the weighing conveyor 2 are input to the CPU 8 (step S4).
[0035]
Next, frequency analysis, for example, FFT is performed on these N digital weight signals, and the noise frequency and the level (amplitude) of these weight signals are detected. For example, the result shown in FIG. obtain. In FIG. 4 (a), f 1 , F 2 , F 3 Represents a noise component included in the digital weight signal, for example, a noise frequency of a vibration component, and H 1 , H 2 , H 3 Represents the peak level of the noise component at each noise frequency.
[0036]
Then, the order is distributed by the combination optimization method (step S8). That is, while sequentially changing the order of the two-stage filter, using the noise frequency and the peak level obtained in step S6, the sum at the final output of the two-stage filter at each noise frequency is obtained as an evaluation function. Is the minimum value and the total delay time is the target delay time T t Find the order close to.
[0037]
More specifically, as shown in FIG. 1, an area J for storing the optimum solution of the evaluation function is stored. min The initial value is a value that cannot be generated at the minimum value, for example, 10000, and the optimum order solution region n for storing the optimum order of the first-stage filter. 1 min And the optimal order solution region n for storing the optimal order of the subsequent filter 2min Are set to 0 as initial values (step S10).
[0038]
Next, a counter n that functions as an order designating means for designating the order of the first-stage filter 1 N 0 ・ T s Is set to 0.001 seconds, for example, 10 (step S12). This counter n 1 The initial value of may be 1, but n 0 In the following values, the damping effect on the vibration component is small, and it is considered meaningless to calculate, so in order to reduce the time required for optimization, n 0 It is as.
[0039]
And the order n 1 Delay time T 1 N 1 ・ T s (Step S14). Next, the delay time T 1 Is the target delay time T t It is judged whether it is larger than 1/2 (step S16). If this determination is NO, a counter n that specifies the order of the subsequent filter 2 The initial value of n 0 (Step S18). Where counter n 2 The initial value of n 0 The counter n 1 The initial value of n 0 For the same reason as above. Counter n 1 , N 2 The initial values of can be the same value or different values.
[0040]
Then, the delay time T in the subsequent filter 2 N 2 ・ T s (Step S20). Delay time T 1 And T 2 The total delay time that is the sum of and the target delay time T t It is judged whether it is larger than (step S22). If this judgment is yes, the counter n 1 Is increased by 1 (step S24), and the process returns to step S14.
[0041]
If the determination in step S22 is no, the noise frequency f 1 Filter attenuation factor G 11 , Noise frequency f 2 Filter attenuation factor G 12 , Noise frequency f 3 Filter attenuation factor G 13 , Noise frequency f 1 Attenuation factor G of the latter stage filter at 21 , Noise frequency f 2 The filter attenuation G 22 , Noise frequency f 3 The filter attenuation G 23 Is obtained (step S26).
[0042]
These attenuation factors G 11 Thru G 13 Is obtained by changing the subscript j in Equation 4 to 1 to 3, and the attenuation rate G 21 Thru G 23 Is subscript 1j in Equation 4 is 2j, and order n 1 Is the order n 2 And subscript j is changed to 1 to 3. These G 11 Thru G 23 An example is shown in FIGS. 4B and 4C.
[0043]
Next, an evaluation function J is obtained (step S28). This evaluation function J is obtained by Equation 5. This is the order n 1 , N 2 When a digital weight signal as a sample is input to the two-stage filter, the noise frequency f 1 , F 2 , F 3 Are obtained by adding outputs respectively obtained from the two-stage filters. This evaluation function J is the optimal solution J of the evaluation function. min It is judged whether it is smaller than (step S30).
[0044]
If this judgment is yes, the optimal solution J of the evaluation function min Is an evaluation function J (step S32), and the order n at that time 1 , N 2 Is the optimal solution n 1 min , N 2min (Step S34).
[0045]
And counter n 2 Is advanced by 1 (step S36), and step S20 is executed. Hereinafter, until the determination in step S22 is YES (T 1 + T 2 Is T t The loop of steps S20 to S36 is repeated. If the determination in step S22 is yes, S24 and S14 are executed, and a new order n 1 Find the delay time at.
[0046]
This new delay time T 1 Is the target delay time T t Greater than ½ of the order optimal solution n 1 min , N 2min Is output (step S38). The delay time T 1 Is the target delay time T t The reason why the optimization is terminated when the value is larger than ½ is that the number of filters is two. That is, one optimal solution is n 1 min = A, n 2min = B, n 1 min = B, n 2min = A should be an optimal solution as well, so the time T required for A and B A , T B Either half is always the target delay time T t Less than half. Therefore, T 1 Is the target delay time T t It is sufficient to calculate until it becomes larger than half of the above.
[0047]
Order optimal solution n output in step S38 1 min , N 2min Based on the above, a two-stage multiple average filter is constructed as shown in FIG. 2 (step S40).
[0048]
As described above, in the first embodiment, the order of the first-stage filter is set as a certain order, and the order of the subsequent-stage filter is sequentially changed. Each time the value is changed, the evaluation function J is obtained, which is the evaluation function optimum value J so far. min Is smaller than the new evaluation function optimum value J min And the order n at that time 1 , N 2 To the optimal solution n of the new order 1 min , N 2min Remember as. Further, the order n of the subsequent filter at that time 2 Delay time T at the stage where one is advanced 2 And the order n of the first stage filter 1 Delay time T due to 1 The total delay time T, which is the sum of and the target delay time T t If it does not exceed, the evaluation function is obtained again and the same processing as described above is performed. If the total delay time T exceeds the target delay time, the order n of the first stage filter 1 To advance a new delay time T 1 This is the target delay time T t Is greater than ½ of the order optimal solution n 1 min , N 2min Is output. New delay time T 1 Is the target delay time T t Less than half of the 2 Is the initial value n 0 As described above, the same processing as described above is performed.
[0049]
Thus, the evaluation function J, which is a value obtained by adding the output signals of the filters at the respective noise frequencies, is minimum, and the total delay time T is equal to the target delay time T. t N when first getting bigger than 1 min , N 2min Is output as an optimized order.
[0050]
In Equation 5, each amplitude H 1 Thru H 3 Suitable weight W for 1 Thru W 3 By multiplying each of them, it is possible to give a certain degree of attenuation rate margin to the individual noise components.
[0051]
A second embodiment is shown in FIG. The second embodiment corresponds to claims 3 and 4. In this embodiment, the evaluation function is the same as that of the first embodiment except that the evaluation function is different from that of the first embodiment. Therefore, as shown in FIG. 5, the same processing as in the first embodiment is performed from step S10 to S26.
[0052]
In the second embodiment, as an evaluation function, as shown in Equation 10, a certain order n 1 , N 2 For example, the noise frequency f 1 , F 2 , F 3 The maximum value is used among the outputs of each filter. That is, the output of the filter at the frequency where the attenuation effect does not appear the most is used as the evaluation function. This maximum value is the evaluation function optimum J min If it is smaller than the order n at this time 1 , N 2 Is the new optimal solution n 1 min , N 2min It is what.
[0053]
Therefore, following step S26, the noise frequency f 1 The output J of the two-stage filter at 1 But G 11 ・ G 21 ・ H 1 And the noise frequency f 2 The output J of the two-stage filter at 2 But G 12 ・ G 22 ・ H 2 And the noise frequency f 3 The output J of the two-stage filter at 3 But G 13 ・ G 23 ・ H 3 (Step S41).
[0054]
Next, in steps S42 to S54, J 1 Thru J 3 The maximum value is obtained. First, the initial value of the evaluation function J is set to 0 (step S42). 1 Is greater than the evaluation function J (step S44). 1 Is an evaluation function J (step S46). J 1 Is smaller than the evaluation function J, or following step S46, J 2 Is greater than the evaluation function J (step S48). 2 Is an evaluation function J (step S50). J 2 Is smaller than the evaluation function J, or following step S50, J 3 Is greater than the evaluation function J (step S52). 3 Is an evaluation function J (step S54). As a result, the evaluation function J becomes J 1 , J 2 , J 3 Of the maximum value.
[0055]
In step S52, J 3 Is determined to be smaller than the evaluation function J or, following step S54, steps S30 to S36 are executed, and step S20 is executed.
[0056]
A third embodiment will be described with reference to FIGS. The third embodiment corresponds to claims 5 and 6. As described above, for example, in a weighing device using a load cell, the frequency and amplitude of the vibration component corresponding to the natural vibration frequency of the load cell vary depending on the weight of the article loaded on the weighing device. For example, as shown in FIG. 7, when a certain article is loaded, the frequency of the natural vibration is f. 3 And its amplitude is H 3a However, when an article with a different weight is loaded, the frequency of the natural vibration is f 3 ', The amplitude is H 3b Fluctuates. However, the frequency of the vibration component due to dynamic unbalance of the conveyor drive motor, pulley, etc., for example, f 1 , F 2 And its amplitude H 1 , H 2 Does not fluctuate even when the loaded article changes.
[0057]
Therefore, when all weight signals are to be processed with the same filter over the entire weighing range of the weighing device, multiple moving averages are taken into account after considering the attenuation rate over the vibration frequency range corresponding to the weighing range. It is desirable to distribute the filter order. The evaluation function in such a case is as shown in Equation 12 with reference to Equation 11.
[0058]
[Expression 12]
Figure 0003618160
[0059]
The second term in Equation 12 is the same as in Equation 11. G in the first term 1j Thru G pj Is the noise frequency f in the p-stage filter. j Attenuation rate at H, H j Is the level of the noise component at each noise frequency. In this embodiment, p = 2, j is 1 to m, where m = 2.
[0060]
The first term in Equation 12 represents the sum of the outputs of the filters for the vibration components other than the natural vibration of the weigher, and the portion indicated by the symbol A in FIG. 7B corresponds to this. The second term represents the sum of the output of each filter related to the vibration component due to the natural vibration of the weighing device, and the part of the symbol B corresponds to this. Since the second term is provided, not only the attenuation at a specific noise frequency is considered, but the influence of the attenuation over the entire natural vibration frequency range is considered. Note that f ′ in the second term min And f ′ max Is obtained based on the frequency analysis performed in step S6.
[0061]
Therefore, as shown in FIG. 6, steps S26 and S28 in the first embodiment are replaced with steps S56 and S58. In step S56, the noise frequency f 1 , F 2 Attenuation factor G of each filter at 11 , G 12 , G 21 , G 22 In addition to calculating the fluctuation range f ′ of the natural vibration frequency. min To f ' max Attenuation factor G ′ of each filter 1,1 ... G ' 1,10 , G ' 2,1 ... G ' 2,10 Calculate In this case, the fluctuation range of the natural vibration frequency is 10 Hz, and the attenuation rate is obtained every 1 Hz. In step S58, Equation 13 is calculated as the evaluation function J. However, H ' 1 To H ' 10 Is the lower limit frequency f ′ of the natural vibration frequency. min To the upper limit frequency f ′ max It is an amplitude for every 1 Hz. In the following, processing is performed as in the first embodiment.
[0062]
[Formula 13]
Figure 0003618160
[0063]
A fourth embodiment is shown in FIG. This embodiment corresponds to claims 7 and 8. In this embodiment, the order of the multiple moving average filter is distributed in descending order of the amplitude of each noise component. Therefore, processing shown in FIG. 8 is performed instead of step S8 in FIG. In this case, as a result of the frequency analysis, as shown in FIG. 1 Thru f 3 In the amplitude H 1 Thru H 3 Is detected. The number of filter stages is two.
[0064]
First, in steps S60 to S72, the noise component having the largest amplitude and its frequency are searched for. That is, the initial value 0 is stored as the maximum amplitude H (step S60), and the amplitude H 1 Is greater than the maximum amplitude H (step S62). If it is larger, the amplitude H is set as the maximum amplitude H. 1 And its amplitude H 1 The noise frequency f corresponding to 1 Is stored as the maximum amplitude frequency f (step S64).
[0065]
In step S62, the amplitude H 1 Is determined to be smaller than the maximum amplitude H, the amplitude H 2 Is greater than the maximum amplitude H (step S66). If it is larger, the amplitude H is set as the maximum amplitude H. 2 And its amplitude H 2 The noise frequency f corresponding to 2 Is stored as the maximum amplitude frequency f (step S68).
[0066]
In step S66, the amplitude H 2 Is determined to be smaller than the maximum amplitude H, the amplitude H 3 Is larger than the maximum amplitude H (step S70). If it is larger, the amplitude H is set as the maximum amplitude H. 3 And its amplitude H 3 The noise frequency f corresponding to 3 Is stored as the maximum amplitude frequency f (step S72). As a result, the amplitude and frequency of the noise component having the maximum amplitude are searched.
[0067]
In step S70, the amplitude H 3 Is determined to be smaller than the maximum amplitude H, or following step S72, the order n of the first-stage filter is set so that the maximum amplitude frequency f becomes the notch frequency. 1 1 / f (T s ) (Step S74). Next, this order n 1 Delay time T 1 N 1 ・ T s (Step S76).
[0068]
Next, this delay time T 1 Is larger than the target delay time T (step S78). Delay time T 1 Is smaller than the target delay time T, the order n of the subsequent filter 2 (TT 1 ) / T s (Step S80). And the order n 1 , N 2 Is output (step S82). In step S78, the delay time T 1 However, if it is determined that it is longer than the target delay time T, a message indicating that the processing time is insufficient is displayed on the display device 14 (step S84), and the process is terminated.
[0069]
In this embodiment, since the number of filter stages is two, when the frequency f having the maximum amplitude is searched, the delay time T when f is the notch frequency is immediately detected. 1 Is the target delay time T t For example, in the case of three stages, the delay time when the frequency having the second largest amplitude is the notch frequency is obtained, and the sum of both delay times is the target delay time T. t If it is smaller, the target delay time T is determined. t The time obtained by subtracting both delay times from the sampling time T S Divide by to determine the order of the final stage. The same applies when the number of filter stages is further increased.
[0070]
In each of the above-described embodiments, the number of filter stages is two, but it may be three or more. In the first to third embodiments, the optimal order n 1 , N 2 The so-called enumerated method of enumerating all the solutions was used to determine the solution, but in addition to this, the discovery of finding a single solution using an algorithm or rule for generating an optimal solution or approximate solution An exploratory method for searching for an approximate solution by searching in a partial region of a possible region located between an enumerated method and a heuristic method may be used.
[0071]
【Example】
In the 1st and 4th embodiment of the present invention, the result of having performed numerical simulation is shown. It is assumed that the weight signal x (k) includes a vibration component as shown in Equation 14.
[0072]
[Expression 14]
Figure 0003618160
[0073]
Where k is the number of sampling data 1 to 1000, T s Is 0.001 seconds. This weight signal x (k) is shown in FIG.
[0074]
If sufficient weighing signal processing time (total delay time) is allowed, vibration is achieved by using three stages of moving average filters with orders of 67, 36, 23 corresponding to the respective vibration frequencies 15, 28, 43. The component can be completely attenuated.
[0075]
In order to use such a triple moving average filter, a total delay time of 0.123 seconds is required. The target delay time is 0.1 seconds and the number of filters is 2. In the first embodiment, the orders of the two moving average filters are 33 and 67 in the above case.
[0076]
In the case of the fourth embodiment, since the largest amplitude of the vibration component is 1.5 of 28 Hz, the order of the moving average filter of the first stage with respect to 28 Hz is determined to be 36, and two depending on the remaining signal processing time. The order of the moving average filter of the eyes is determined to be 64. FIG. 10 shows the result of passing the weighing signal x (k) in the first embodiment and the fourth embodiment in which the order is determined in this way. The solid line is the first embodiment, and the dotted line is the fourth embodiment. In the first embodiment and the fourth embodiment, 1/190 and 1/80 attenuation factors were obtained, respectively. Even when the order was determined in this way, a sufficient attenuation rate was obtained while shortening the total delay time. In particular, the first embodiment shows a significant attenuation rate.
[0077]
【The invention's effect】
According to the first or second aspect of the invention, each time the order of each filter is changed variously, the sum of the final outputs of the cascaded filters at each noise frequency (attenuation state at each noise frequency) is obtained. The sum of the delay times in each filter is obtained, the sum of the final outputs is close to the minimum (the one with the best attenuation state in each noise frequency), and the sum of the delay times is equal to the predetermined target delay time. A close order is selected. Accordingly, each noise component can be greatly attenuated while the delay time is close to the target delay time.
[0078]
According to the third or fourth aspect of the invention, each time the order of each filter is changed variously, each filter at each noise frequency is based on each noise frequency, its peak level, and the order at that time. The maximum value (state of attenuation at the noise frequency with the least attenuation in each order) is obtained, and the sum of the delay times in each filter is obtained, and the minimum (noise with the least attenuation in each order) of each maximum value is obtained. Among the attenuation states at the frequency, the order that is close to the one with the best attenuation state) and the sum of the corresponding delay times is close to a predetermined target delay time is selected. Accordingly, each noise component can be greatly attenuated while the delay time is close to the target delay time.
[0079]
According to the invention described in claim 5 or 6, each time the order of each filter is changed variously, the final output of the cascade-connected filter in the frequency variation range of the noise frequency is obtained, and the delay time in each filter is determined. The sum is obtained, and the order close to the minimum value among the final outputs and the sum of the corresponding delay times is close to a predetermined target delay time is determined. Therefore, the noise component can be greatly attenuated even when the noise frequency varies depending on, for example, the weight of the article to be weighed.
[0080]
According to the seventh or eighth aspect of the present invention, the order capable of attenuating the noise component having the highest level among the noise components is sequentially assigned to the filters other than the final stage, and the filters to which these orders are assigned are sequentially assigned. When the total delay time at is smaller than the target delay time, the order to be assigned to the final stage filter is determined based on the difference between the total delay time and the target delay time. Accordingly, it is possible to attenuate the noise components in order from a large level, and to set the total delay time as the target delay time.
[Brief description of the drawings]
FIG. 1 is a flowchart of a main part of a first embodiment of the present invention.
FIG. 2 is a schematic flowchart of the first embodiment.
FIG. 3 is a block diagram of the first embodiment;
FIG. 4 is a frequency characteristic diagram of a weight signal and a filter at a certain order in the first embodiment.
FIG. 5 is a flowchart of the main part of the second embodiment.
FIG. 6 is a flowchart of the main part of the third embodiment.
FIG. 7 is a frequency characteristic diagram of a weight signal and a filter at a certain order in the third embodiment.
FIG. 8 is a flowchart of main parts in the fourth embodiment;
FIG. 9 is a diagram showing an input signal and an output signal to a filter whose order is determined according to the first and fourth embodiments.
[Explanation of symbols]
4 Load cell
8 CPU
10 memory
12 Keyboard

Claims (8)

計重手段からの計重信号であって、複数のノイズ周波数にピークを持つノイズ成分が含まれている上記計重信号が供給される、予め定めた段数に縦続接続された複数のフィルタそれぞれの次数を決定する方法であって、
上記計重信号の周波数分析を行い、上記ノイズ成分の上記ノイズ周波数と上記ピークレベルとをそれぞれ決定する段階と、
上記各フィルタの次数を種々に変更するごとに、上記各ノイズ周波数と上記ピークレベルとそのときの次数とに基づいて、上記各ノイズ周波数における上記縦続接続された複数のフィルタの最終出力の総和を求め、かつ上記各フィルタの次数を種々に変更するごとに、上記各フィルタにおける遅延時間の総和を求める段階と、
上記最終出力の総和のうち最小に近く、かつ対応する上記遅延時間の総和が予め定めた目標遅延時間に近い次数を決定する段階とを、
具備するフィルタの次数決定方法。
Each of a plurality of filters cascaded in a predetermined number of stages, which is a weighing signal from the weighing means and is supplied with the weighing signal including noise components having peaks at a plurality of noise frequencies. A method for determining the order,
Performing a frequency analysis of the weighing signal and determining the noise frequency and the peak level of the noise component,
Each time the order of each filter is changed variously, the sum of the final outputs of the plurality of cascaded filters at each noise frequency is calculated based on each noise frequency, the peak level, and the order at that time. Obtaining the total sum of the delay times in each of the filters, each time the order of each filter is determined and variously changed;
Determining an order that is close to the minimum of the total sum of the final outputs and in which the corresponding sum of the delay times is close to a predetermined target delay time;
A method for determining the order of a filter.
計重手段からの計重信号であって、複数のノイズ周波数にピークを持つノイズ成分が含まれている上記計重信号が供給される、予め定めた段数に縦続接続された複数のフィルタそれぞれの次数を決定する装置であって、
上記計重信号の上記各ノイズ成分のノイズ周波数とそのノイズ周波数におけるピークレベルとをそれぞれ決定する周波数分析手段と、
上記各フィルタの次数を種々に指定する次数指定手段と、
上記次数指定手段によって指定された次数における上記各フィルタの上記ノイズ周波数での減衰率と、このノイズ周波数におけるピークレベルとの乗算値それぞれの総和である総和フィルタ出力特性を求める手段と、
上記次数指定手段によって指定された次数における上記各フィルタの遅延時間の総和を求める遅延時間演算手段と、
上記各総和フィルタ出力特性が最小に近く、かつ上記遅延時間の総和が予め定めた目標遅延時間に近い次数を決定する次数決定手段とを、
具備するフィルタの次数決定装置。
Each of a plurality of filters cascade-connected to a predetermined number of stages, which is a weighing signal from the weighing means and is supplied with the weighing signal including noise components having peaks at a plurality of noise frequencies. A device for determining the order,
A frequency analysis means for determining a noise frequency of each noise component of the weighing signal and a peak level at the noise frequency;
Order specifying means for variously specifying the order of each filter;
Means for obtaining a sum filter output characteristic that is a sum of respective multiplication values of the attenuation rate at the noise frequency of each filter in the order designated by the order designation means and a peak level at the noise frequency;
A delay time calculating means for obtaining a sum of delay times of the respective filters in the order specified by the order specifying means;
Order determining means for determining an order in which each sum filter output characteristic is close to a minimum and the sum of the delay times is close to a predetermined target delay time;
A filter order determining device.
計重手段からの計重信号であって、複数のノイズ周波数にピークを持つノイズ成分が含まれている上記計重信号が供給される、予め定めた段数に縦続接続された複数のフィルタそれぞれの次数を決定する方法であって、
上記計重信号の周波数分析を行い、上記ノイズ成分の上記ノイズ周波数と上記ピークレベルとをそれぞれ決定する段階と、
上記各フィルタの次数を種々に変更するごとに、上記各ノイズ周波数と上記ピークレベルとそのときの次数とに基づいて、上記各ノイズ周波数における上記各フィルタの出力のうち最大値を求め、かつ上記各フィルタの次数を種々に変更するごとに、上記各フィルタにおける遅延時間の総和を求める段階と、
上記各最大値のうち最小に近く、かつ対応する上記遅延時間の総和が予め定めた目標遅延時間に近い次数を決定する段階とを、
具備するフィルタの次数決定方法。
Each of a plurality of filters cascade-connected to a predetermined number of stages, which is a weighing signal from the weighing means and is supplied with the weighing signal including noise components having peaks at a plurality of noise frequencies. A method for determining the order,
Performing a frequency analysis of the weighing signal and determining the noise frequency and the peak level of the noise component,
Each time the order of each filter is changed variously, a maximum value is obtained from the outputs of the filters at the noise frequencies based on the noise frequencies, the peak level, and the order at that time, and Each time the order of each filter is changed variously, the step of calculating the total delay time in each filter,
Determining an order that is close to the minimum of the maximum values and in which the sum of the corresponding delay times is close to a predetermined target delay time;
A method for determining the order of a filter.
計重手段からの計重信号であって、複数のノイズ周波数にピークを持つノイズ成分が含まれている上記計重信号が供給される、予め定めた段数に縦続接続された複数のフィルタそれぞれの次数を決定する装置であって、
上記計重信号の上記各ノイズ成分のノイズ周波数とそのノイズ周波数におけるピークレベルとをそれぞれ決定する周波数分析手段と、
上記各フィルタの次数を種々に指定する次数指定手段と、
上記次数指定手段によって指定された次数における上記各フィルタの上記ノイズ周波数での減衰率と、このノイズ周波数におけるピークレベルとの乗算値である上記各フィルタの出力のうち最大値を求める手段と、
上記次数指定手段によって指定された次数における上記各フィルタの遅延時間の総和を求める遅延時間演算手段と、
上記各最大値のうち最小に近く、かつ上記遅延時間の総和が予め定めた目標遅延時間に近い次数を決定する次数決定手段とを、
具備するフィルタの次数決定装置。
Each of a plurality of filters cascaded in a predetermined number of stages, which is a weighing signal from the weighing means and is supplied with the weighing signal including noise components having peaks at a plurality of noise frequencies. A device for determining the order,
A frequency analysis means for determining a noise frequency of each noise component of the weighing signal and a peak level at the noise frequency;
Order specifying means for variously specifying the order of each filter;
Means for obtaining a maximum value among the outputs of the filters, which is a multiplication value of the attenuation rate at the noise frequency of each filter in the order specified by the order specifying means, and a peak level at the noise frequency;
A delay time calculating means for obtaining a sum of delay times of the respective filters in the order specified by the order specifying means;
Order determining means for determining an order that is close to the minimum of the maximum values and in which the sum of the delay times is close to a predetermined target delay time;
A filter order determining device.
計重手段からの計重信号であって、ノイズ周波数においてピークレベルとなるノイズ成分を少なくとも1つ有し、そのノイズ周波数が少なくとも変動する上記計重信号が供給される、予め定めた段数に縦続接続された複数のフィルタそれぞれの次数を決定する方法であって、
上記計重信号の周波数分析を行う段階と、
上記各フィルタの次数を種々に変更するごとに、上記ノイズ周波数の周波数変動範囲と、この変動範囲における各ノイズレベルと、そのときの次数とに基づいて、上記周波数変動範囲における上記縦続接続されたフィルタの最終出力を求め、かつ上記各フィルタの次数を種々に変更するごとに、上記各フィルタにおける遅延時間の総和を求める段階と、
上記各最終出力のうち最小値に近く、かつ対応する上記遅延時間の総和が予め定めた目標遅延時間に近い次数を決定する段階とを、
具備するフィルタの次数決定方法。
A weighing signal from the weighing means, which has at least one noise component having a peak level at the noise frequency, and is cascaded in a predetermined number of stages to which the weighing signal whose noise frequency varies at least is supplied. A method for determining the order of each of a plurality of connected filters,
Performing a frequency analysis of the weighing signal;
Each time the order of each filter is changed variously, the cascade connection in the frequency fluctuation range is made based on the frequency fluctuation range of the noise frequency, each noise level in the fluctuation range, and the order at that time. Obtaining a final output of the filter, and obtaining a total sum of delay times in each filter each time the order of each filter is changed variously;
Determining an order that is close to a minimum value among the final outputs and in which the corresponding sum of the delay times is close to a predetermined target delay time;
A method for determining the order of a filter.
計重手段からの計重信号であって、ノイズ周波数においてピークレベルとなるノイズ成分を少なくとも1つ有し、そのノイズ周波数が少なくとも変動する上記計重信号が供給される、予め定めた段数に縦続接続された複数のフィルタそれぞれの次数を決定する装置であって、
上記計重信号の周波数分析を行い、上記ノイズ周波数を変動範囲を決定する手段と、
上記各フィルタの次数を種々に指定する次数指定手段と、
上記次数指定手段によって指定された次数において、上記ノイズ周波数の周波数変動範囲と、この変動範囲における各ノイズレベルとに基づいて、上記周波数変動範囲における上記各フィルタの最終出力を求める手段と、
上記次数指定手段によって指定された次数における上記各フィルタにおける遅延時間の総和を求める手段と、
上記各最終出力のうち最小値に近く、かつ対応する上記遅延時間の総和が予め定めた目標遅延時間に近い次数を決定する手段とを、
具備するフィルタの次数決定装置。
A weighing signal from the weighing means, which has at least one noise component having a peak level at the noise frequency and is cascaded in a predetermined number of stages to which the weighing signal at which the noise frequency varies at least is supplied. An apparatus for determining the order of each of a plurality of connected filters,
Means for performing frequency analysis of the weighing signal and determining a fluctuation range of the noise frequency;
Order specifying means for variously specifying the order of each filter;
Means for obtaining a final output of each filter in the frequency fluctuation range based on the frequency fluctuation range of the noise frequency and each noise level in the fluctuation range in the order specified by the order specifying means;
Means for calculating a sum of delay times in the respective filters in the order specified by the order specifying means;
Means for determining an order that is close to a minimum value among the final outputs and in which the sum of the corresponding delay times is close to a predetermined target delay time;
A filter order determining device.
計重手段からの計重信号であって、n(nは2以上の正の整数)個のノイズ周波数にピークを持つノイズ成分が含まれている上記計重信号が供給される、m(mは2以上の正の整数で、nより小さい)段数に縦続接続されたフィルタそれぞれの次数を決定する方法であって、
上記計重信号の周波数分析を行い、上記n個のノイズ成分の上記ノイズ周波数と上記ピークレベルとをそれぞれ決定する段階と、
1段から(m−1)段の上記各フィルタに対して、最大のものから順に(m−1)個の上記ピークレベルに対応するノイズ周波数を遮断する次数を決定する段階と、
上記決定された(m−1)個の次数における遅延時間を決定する段階と、
上記決定された(m−1)個の遅延時間の和が目標遅延時間より小さいとき、上記目標遅延時間と上記決定された(m−1)個の遅延時間の和との差によりm番目のフィルタの次数を決定する段階とを、
具備するフィルタの次数決定方法。
A weighing signal from the weighing means, the weighing signal including a noise component having a peak at n (n is a positive integer of 2 or more) noise frequencies is supplied, m (m Is a positive integer greater than or equal to 2 and less than n) for determining the order of each of the cascaded filters.
Performing a frequency analysis of the weighing signal and determining the noise frequency and the peak level of the n noise components,
Determining the order of blocking noise frequencies corresponding to the (m−1) peak levels in order from the largest for each of the filters from 1 to (m−1) stages;
Determining a delay time in the determined (m−1) orders;
When the determined sum of the (m−1) delay times is smaller than the target delay time, the m th difference is determined by the difference between the target delay time and the determined (m−1) delay times. Determining the order of the filter,
A method for determining the order of a filter.
計重手段からの計重信号であって、n(nは2以上の正の整数)個のノイズ周波数にピークを持つノイズ成分が含まれている上記計重信号が供給される、m(mは2以上の正の整数で、nより小さい)段数に縦続接続されたフィルタそれぞれの次数を決定する装置であって、
上記計重信号に含まれる上記n個のノイズ成分の上記ノイズ周波数と上記ピークレベルとをそれぞれ分析する周波数分析手段と、
上記各ピークレベルに対して最大のものから順に(m−1)個のピークレベルを検索すると共に、これら検索されたピークレベルに対応する(m−1)個の上記ノイズ周波数を検索する検索手段と、
上記検索された(m−1)個のノイズ周波数を、(m−1)個のフィルタによってそれぞれ遮断させる次数を決定する手段と、
上記決定された(m−1)個の次数における遅延時間を算出し、その和を求める遅延時間算出手段と、
上記算出された遅延時間の和が、目標遅延時間よりも小さいとき、上記算出された遅延時間の和と上記目標遅延時間との差に基づいて、m番目のフィルタの次数を決定する手段とを、具備する
フィルタの次数決定装置。
A weighing signal from the weighing means, the weighing signal including a noise component having a peak at n (n is a positive integer of 2 or more) noise frequencies is supplied, m (m Is a positive integer greater than or equal to 2 and less than n) and determines the order of each filter cascaded in stages,
Frequency analysis means for analyzing the noise frequency and the peak level of the n noise components included in the weighing signal, respectively.
Retrieval means for retrieving (m−1) peak levels in order from the maximum for each peak level and retrieving (m−1) noise frequencies corresponding to the retrieved peak levels. When,
Means for determining orders in which the searched (m−1) noise frequencies are blocked by (m−1) filters, respectively;
A delay time calculating means for calculating a delay time in the determined (m−1) orders and obtaining a sum thereof;
Means for determining the order of the mth filter based on the difference between the calculated delay time sum and the target delay time when the calculated delay time sum is smaller than the target delay time; A filter order determining device.
JP04546296A 1996-02-06 1996-02-06 Filter order determination method and apparatus Expired - Lifetime JP3618160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04546296A JP3618160B2 (en) 1996-02-06 1996-02-06 Filter order determination method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04546296A JP3618160B2 (en) 1996-02-06 1996-02-06 Filter order determination method and apparatus

Publications (2)

Publication Number Publication Date
JPH09210758A JPH09210758A (en) 1997-08-15
JP3618160B2 true JP3618160B2 (en) 2005-02-09

Family

ID=12720041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04546296A Expired - Lifetime JP3618160B2 (en) 1996-02-06 1996-02-06 Filter order determination method and apparatus

Country Status (1)

Country Link
JP (1) JP3618160B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4638981B2 (en) * 2000-11-29 2011-02-23 アンリツ株式会社 Signal processing device

Also Published As

Publication number Publication date
JPH09210758A (en) 1997-08-15

Similar Documents

Publication Publication Date Title
EP2779155B1 (en) Sound signal analysis apparatus, sound signal analysis method and sound signal analysis program
US9087501B2 (en) Sound signal analysis apparatus, sound signal analysis method and sound signal analysis program
EP0202633A1 (en) Processing circuit capable of raising throughput of accumulation
US7809555B2 (en) Speech signal classification system and method
EP1901285A2 (en) Voice Authentication Apparatus
JPH0621814B2 (en) Method and device for filtering weighing signal of weighing device
EP0209049A2 (en) Processing circuit capable of raising throughput of accumulation
US5130938A (en) Device and method for filtering weight indicative signal from weighing device
CN111967964A (en) Intelligent recommendation method and device for bank client website
JP2004110422A (en) Music classification device, music classification method, and program
US5144672A (en) Speech recognition apparatus including speaker-independent dictionary and speaker-dependent
CN111415644B (en) Audio comfort prediction method and device, server and storage medium
US7482530B2 (en) Signal processing apparatus and method, recording medium and program
US4426551A (en) Speech recognition method and device
KR100323011B1 (en) Pitch period extractor of audio signal
JP3618160B2 (en) Filter order determination method and apparatus
JPS6356560B2 (en)
JP2616829B2 (en) Fuzzy inference device
CN110971743B (en) Reminding method of terminal equipment and related product
JP2719722B2 (en) Weight signal filtering method and apparatus
JP2914332B2 (en) Spectrum feature parameter extraction device based on frequency weight evaluation function
JP4973287B2 (en) Sound processing apparatus and program
JP2008070650A (en) Music classification method, music classification apparatus, and computer program
JP4735398B2 (en) Acoustic signal analysis apparatus, acoustic signal analysis method, and acoustic signal analysis program
JPH07333045A (en) Weighing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040823

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041109

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071119

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081119

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101119

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term