JP2004333293A - Signal processing device, signal processing method, signal processing program, recording medium for recording signal processing program and measuring machine - Google Patents

Signal processing device, signal processing method, signal processing program, recording medium for recording signal processing program and measuring machine Download PDF

Info

Publication number
JP2004333293A
JP2004333293A JP2003129494A JP2003129494A JP2004333293A JP 2004333293 A JP2004333293 A JP 2004333293A JP 2003129494 A JP2003129494 A JP 2003129494A JP 2003129494 A JP2003129494 A JP 2003129494A JP 2004333293 A JP2004333293 A JP 2004333293A
Authority
JP
Japan
Prior art keywords
signal processing
filter
weight factor
digital signal
distribution function
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.)
Granted
Application number
JP2003129494A
Other languages
Japanese (ja)
Other versions
JP4427272B2 (en
JP2004333293A5 (en
Inventor
Soichi Kadowaki
聰一 門脇
Kozo Umeda
幸蔵 梅田
Tsunetaka Miyakura
常太 宮倉
Tomonori Goto
智徳 後藤
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.)
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
Original Assignee
Mitutoyo Corp
Mitsutoyo Kiko 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 Mitutoyo Corp, Mitsutoyo Kiko Co Ltd filed Critical Mitutoyo Corp
Priority to JP2003129494A priority Critical patent/JP4427272B2/en
Publication of JP2004333293A publication Critical patent/JP2004333293A/en
Publication of JP2004333293A5 publication Critical patent/JP2004333293A5/ja
Application granted granted Critical
Publication of JP4427272B2 publication Critical patent/JP4427272B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a signal processing device and a signal processing method applicable to two-dimensional or three-dimensional data. <P>SOLUTION: This device is equipped with a signal processing filter for performing signal processing to a digital signal value in a prescribed dimension extracted along a prescribed route and ordered in time series, by product sum operation relative to a prescribed distribution function. The distribution function is specified by a sampling pitch along the prescribed route and a cutoff frequency along the prescribed route. The signal processing filter has a filter operation execution part for acquiring a filter output value of each component by multiplying the digital signal value by the distribution function of each component. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、信号処理装置、信号処理方法、信号処理プログラム、信号処理プログラムを記録した記録媒体および測定機に関する。例えば、二次元的あるいは三次元的に取得された測定データに対してフィルタ処理を行う信号処理装置、信号処理方法、信号処理プログラム、信号処理プログラムを記録した記録媒体および測定機に関する。
【0002】
【背景技術】
被測定物の三次元形状を測定する三次元測定機、二次元の輪郭形状を測定する輪郭形状測定機や画像測定機、真円度を測定する真円度測定機、更に被測定物表面のうねりや粗さ等を測定する表面粗さ測定機など、被測定物表面の輪郭形状、粗さ、うねりなどを測定する表面性状測定機が知られている。これらは接触式あるいは非接触式のセンサーと被測定物とを相対的に移動させて被測定物表面の測定データを収集する。
【0003】
このようにして収集された測定データには、通常、ノイズなどの外乱成分が含まれている。
この外乱成分としては、高周波成分を含む電気・磁気的な誘導ノイズなどが多いが、例えば、被測定物表面の輪郭形状を求めたい場合には、表面粗さやうねりなどの成分は外乱成分となり得る。
このような外乱成分を必要に応じて除去するために、測定データをアナログ信号からディジタル信号に変換し、このディジタル信号に対して、コンピュータのフィルタ処理プログラムによってフィルタ処理を行う方法がある。このフィルタ処理により例えば高周波成分が除去される。
【0004】
このようなフィルタリングを行うフィルタとしては、ガウシアン回帰フィルタが知られている(例えば、非特許文献1)。これは、被測定物表面をx軸方向に沿って所定のサンプリングピッチΔxで測定したときの測定データy(i=1,2,3・・・)に対してガウス分布関数型の重み付けを行うフィルタである。
ガウス分布関数をsikとすると、測定データyに対するフィルタ出力gは次のように表される。
【0005】
【数1】

Figure 2004333293
【0006】
ただし、ガウス分布関数s’ikは規格化され、次の式で表される。
【0007】
【数2】
Figure 2004333293
【0008】
ここで、Δxはx軸に沿ったサンプリングピッチであり、λはカットオフ周波数である。
【0009】
さらに、測定データyとフィルタ処理後データgとの残差dの大きさに応じて各測定データの重みを調整することにより、ロバスト性を備えたロバストガウシアン回帰フィルタが知られている(例えば、非特許文献1、2、3)。
【0010】
【非特許文献1】
ISO/TR 16610−10:2000(E) Geometrical Product Specification (GPS)−Data extraction techniques by sampling and filtration−Part10: Robust Gaussian regression filter, 1999
【非特許文献2】
S. Brinkmann et al., Accessing roughness in three−dimensions using Gaussian regression filtering, International Journal of Machine Tools & Manufacture 41(2001)2153−2161
【非特許文献3】
S. Brinkmann et al., Development of a robust Gaussian regression filter for three −dimensional surface analysis, Xth International Colloquiun on Surface, 2000, pp122−132
【0011】
このようなガウシアン回帰フィルタおよびロバストガウシアン回帰フィルタによれば、測定データを削除したり、擬似データを加える処理などを行うことなく、総てのデータに対するフィルタ処理を行うことができる。特に、測定領域の両端部における歪の発生を抑えたフィルタ処理を行うことができる。
また、ロバストガウシアン回帰フィルタでは、異常データによる影響を抑えたフィルタ処理結果を得ることができる。
【0012】
【発明が解決しようとする課題】
しかしながら、従来のガウシアン回帰フィルタおよびロバストガウシアン回帰フィルタにおいては、一次元時系列データとして得られたデータにのみ適用可能であった。例えば、表面粗さ測定機などにおいて、測定子を一方向(x方向)に移動させた場合に、x方向の所定ピッチで粗さデータyを取得したような場合である。そのため、例えば、平面曲線データとして得られた測定データ(x、y)のように処理対象が2つある場合には、(ロバスト)ガウシアン回帰フィルタを適用することができなかった。また、空間曲線データとして得られた測定データ(x、y、z)で処理対象が三つである場合にも、同様に(ロバスト)ガウシアン回帰フィルタを適用することができなかった。
【0013】
ここで、平面曲線データである測定データとは、例えば、三次元測定機などにおいてz座標一定のもとで被測定物の輪郭曲面を所定ピッチで測定して取得された(x、y)座標値等を意味する。また、空間曲線データである測定データとは、例えば、三次元測定機などにおいて、被測定物表面を所定ピッチで測定して取得された(x、y、z)座標値等を意味する。
【0014】
表面加工技術の重要性の高まりと技術進歩により、高度に精密化された表面形状の評価は必要不可欠となってきており、平面的あるいは立体的に測定された被測定物表面の精密評価に対するニーズが高まっている。
【0015】
なお、非特許文献2において、処理対象としている3Dデータとは、被測定面上にx座標とy座標とで格子状に定められたサンプリング位置を設定し、このような格子状のサンプリング位置と、サンプリング位置で測定されたz座標値とから構成されるデータを意味しており、文献中で提案されている手法は、一次元の時系列データに対する処理をx軸方向およびy軸方向に適用しているにすぎない。よって、平面的に存在する平面曲線データあるいは三次元空間内に立体的に存在する空間曲線データにおいて処理の対象が二つあるいは三つある場合に適用できない。また、非特許文献2において処理対象が二つ以上ある場合の対応については記載も示唆もないため、平面曲線データあるいは空間曲線データに対する(ロバスト)ガウシアン回帰処理を行うことができなかった。
【0016】
本発明の目的は、従来の問題を解消し、平面曲線データあるいは空間曲線データに適用できる信号処理装置、信号処理方法、信号処理プログラム、信号処理プログラムを記録した記録媒体および測定機を提供することにある。
【0017】
【課題を解決するための手段】
請求項1に記載の信号処理装置は、所定の経路に沿って測定された所定次元のディジタル信号値に対して所定の分布関数に関する積和演算により信号処理を行う信号処理フィルタを備え、前記分布関数は、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定され、前記信号処理フィルタは、前記ディジタル信号値に対して成分ごとに前記分布関数を乗算することにより成分ごとのフィルタ出力値を得るフィルタ演算実行部を有することを特徴とする。
【0018】
このような構成によれば、所定次元のディジタル信号値、例えば二次元、三次元のディジタル信号値に対して成分ごとに信号処理が行われる。この信号処理において、フィルタ演算実行部は、入力されたディジタル信号に分布関数を乗算して線形に足し合わせてフィルタ出力値を得る。ここで、分布関数が、ディジタル信号を抽出する経路に沿ったサンプリングピッチおよびカットオフ周波数で規定されている。つまり、分布関数がディジタル信号の抽出経路に沿って移動しながらディジタル信号の積和演算が行われる。その結果、信号を抽出する経路に従った忠実な信号処理が行われる。
このようにサンプリング経路に沿った分布関数でディジタル信号の成分ごとに信号処理を行うことにより、一次元時系列データのみならず、二次元、三次元のディジタルデータについても適切に信号処理を行うことができる。その結果、例えば、被測定物表面の形状データについて信号処理を行う場合でも、測定経路に沿った形状解析を行うことができるので、形状の変化点をより正確に捉えるなど形状解析の精度を向上させることができる。
【0019】
請求項2に記載の信号処理装置は、請求項1に記載の信号処理装置において、前記信号処理フィルタは、前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出部を備え、前記フィルタ演算実行部は、前記ディジタル信号に対して、成分ごとに前記分布関数と前記重み因子算出部にて算出された重み因子とに関する積和演算を実行することを特徴とする。
【0020】
このような構成によれば、重み因子算出部により各ディジタル信号値に対して重み因子が設定される。この重み因子により各ディジタル信号値の重みを調整して、さらに、分布関数による積和演算が行われる。
ディジタル信号値の各信号値に対して重みを調整することにより、例えば、異常なデータの影響を排除することができる。
【0021】
請求項3に記載の信号処理装置は、請求項2に記載の信号処理装置において、前記重み因子算出部は、前記ディジタル信号値とこのディジタル信号値に対する前記フィルタ出力値との成分ごとの自乗和に基づく離隔量に応じて前記重み因子を決定することを特徴とする。
【0022】
このような構成によれば、重み因子算出部は、ディジタル信号値とフィルタ出力値との成分ごとの自乗和を計算するだけでよいので、演算負荷が軽減される。例えば、ディジタル信号とフィルタ処理によって得られる曲線との最短距離に基づいて重み因子を決定することも可能であるが、高次元のデータである場合には演算負荷が飛躍的に大きくなる。しかし、本発明によれば、演算量が少ないので、出力応答速度を向上させることができる。
【0023】
請求項4に記載の信号処理装置は、請求項2または請求項3に記載の信号処理装置において、前記重み因子算出部は、フィルタ演算実行部によるフィルタ出力値を用いて前記重み因子の再計算を行い、前記信号処理フィルタは、前記重み因子算出部で算出された重み因子と前回のステップにおいて算出された前記重み因子との変化量に基づいて前記重み因子の収束状態を判定する収束判定部を有し、前記フィルタ演算実行部は、前記収束判定部による判定により収束したと判定された重み因子を用いたフィルタ出力値を外部出力することを特徴とする。
【0024】
このような構成によれば、収束判定部により、重み因子の変化量に基づいて信号処理の収束が判定される。重み因子が収束したと判定されたところで重み因子の計算が終了され、収束した重み因子によりフィルタ出力が得られる。したがって、重み因子の変化量に基づいて収束が判定されるので、総てのディジタル信号値に対して適切に収束した結果を得ることができる。
【0025】
請求項5に記載の信号処理装置は、請求項1ないし請求項4に記載の信号処理装置において、前記ディジタル信号値は、二次元以上のデータであることを特徴とする。
このような構成によれば、二次元あるいは三次元のディジタル信号値に対して信号処理を行うことができる。
【0026】
請求項6に記載の信号処理装置は、請求項1ないし請求項5に記載の信号処理装置において、前記分布関数は、ガウス分布関数であることを特徴とする。
このような構成によれば、ガウシアンフィルタあるいはロバストガウシアンフィルタを構成することができる。
なお、分布関数としては、移動平均フィルタを構成する箱型関数であってもよい。
【0027】
請求項7に記載の信号処理方法は、所定の経路に沿って測定された所定次元のディジタル信号値に対して所定の分布関数に関する積和演算により信号処理を行う信号処理方法であって、前記分布関数は、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定され、前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出工程と、前記ディジタル信号に対して、成分ごとに前記重み因子算出工程にて算出された重み因子と前記分布関数とに関する積和演算を実行するフィルタ演算実行工程とを備えていることを特徴とする。
【0028】
このような構成によれば、請求項3に記載の発明と同様の作用効果を奏することができる。すなわち、ディジタル信号値の各信号値に対して重みを調整することにより、例えば、異常なデータの影響を排除することができる。
【0029】
請求項8に記載の信号処理方法は、請求項7に記載の信号処理方法において、前記重み因子算出工程は、前記ディジタル信号値とこのディジタル信号値に対する前記フィルタ出力値との成分ごとの自乗和に基づく離隔量に応じて前記重み因子を決定することを特徴とする。
このような構成によれば、請求項3に記載の発明と同様の作用効果を奏することができる。すなわち、ディジタル信号値とフィルタ出力値との成分ごとの自乗和を計算するだけでよいので、演算負荷が軽減される。
【0030】
請求項9に記載の信号処理方法は、請求項7または請求項8に記載の信号処理方法において、前記重み因子算出工程は、フィルタ演算実行工程によるフィルタ出力値を用いて前記重み因子の再計算を行い、前記重み因子算出工程で算出された重み因子と前回のステップにおいて算出された前記重み因子との変化量に基づいて前記重み因子の収束状態を判定する収束判定工程を有し、前記フィルタ演算実行工程は、前記収束判定工程による判定により収束したと判定された重み因子を用いたフィルタ出力値を外部出力することを特徴とする。
【0031】
このような構成によれば、請求項4に記載の発明と同様の作用効果を奏することができる。すなわち、重み因子の収束が判定されるので、無駄に繰り返し計算を行う必要がなく、また、重み因子の変化量に基づいて収束が判定されるので、総てのディジタル信号値に対して適切に収束した結果を得ることができる。
【0032】
請求項10に記載の信号処理プログラムは、所定の経路に沿って測定された所定次元のディジタル信号値に対して、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定された分布関数に関する積和演算により信号処理を行う信号処理装置にコンピュータを組み込んで、このコンピュータに、前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出工程と、前記ディジタル信号に対して、成分ごとに前記分布関数と前記重み因子算出工程にて算出された重み因子とに関する積和演算を実行するフィルタ演算実行工程と、を実行させることを特徴とする。
【0033】
請求項11に記載の記録媒体は、所定の経路に沿って測定された所定次元のディジタル信号値に対して、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定された分布関数に関する積和演算により信号処理を行う信号処理装置にコンピュータを組み込んで、このコンピュータに、前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出工程と、前記ディジタル信号に対して、成分ごとに前記分布関数と前記重み因子算出工程にて算出された重み因子とに関する積和演算を実行するフィルタ演算実行工程と、を実行させる信号処理プログラムを記録したことを特徴とする。
【0034】
このような構成によれば、請求項2に記載の発明と同様の作用効果を奏することができる。さらに、CPU(中央処理装置)やメモリ(記憶装置)を有するコンピュータを組み込んでこのコンピュータに各工程を実行させるようにプログラムを構成すれば、各工程におけるパラメータを容易に変更することができる。そして、このプログラムを記録した記録媒体をコンピュータに直接差し込んでプログラムをコンピュータにインストールしてもよく、記録媒体の情報を読み取る読取装置をコンピュータに外付けし、この読取装置からコンピュータにプログラムをインストールしてもよい。なお、プログラムは、インターネット、LANケーブル、電話回線等の通信回線や無線によってコンピュータに供給されてインストールされてもよい。
【0035】
請求項12に記載の測定機は、被測定物表面を接触ないし非接触で走査する測定子を先端に有するスタイラスと、測定子を二次元的あるいは三次元的に移動させる移動手段と、測定子の位置を検出して測定データとして出力する位置検出部と、測定子の移動を指令する移動制御部と、請求項1ないし請求項6のいずれかに記載の信号処理装置と、前記信号処理装置でフィルタ処理された結果を出力する出力部と、を備えることを特徴とする。
【0036】
このような構成によれば、被測定物表面を走査して被測定物の輪郭形状のデータを取得したのち、さらに、この測定データを信号処理することによって形状解析を行うことができる。この際、請求項1ないし請求項6に記載の発明と同様の効果を奏し、二次元あるいは三次元的に取得された測定データについて信号処理を行うことができる。
【0037】
ここで、出力部は、フィルタ処理された結果を表示する表示部や処理結果を印字する印字部、あるいは処理結果を外部出力する外部出力部とすることができる。
【0038】
【発明の実施の形態】
以下、本発明の実施の形態を図示例と共に説明する。
(第1実施形態)
本発明の第1実施形態にかかる測定機としての三次元測定機を図1に示す。
この三次元測定機1は、被測定物10の表面を接触ないし非接触で走査する測定子21を先端に有するスタイラス2と、測定子21を三次元的にx方向、y方向およびz方向に移動させる移動手段3と、測定子21の位置を検出して測定データとして出力する位置検出部4と、測定子21の移動を指令しかつ得られた測定データを演算処理する制御部5と、演算処理された結果を表示する出力部としての表示部6とを備えて構成されている。
制御部5は、測定子21を被測定物10の表面に沿って移動させる制御信号を移動手段3に出力する移動制御部51と、測定データに関して演算処理を行う信号処理装置としての演算処理部52とを備えている。
【0039】
演算処理部52は信号処理フィルタとしてのガウシアン回帰フィルタ(フィルタ演算実行部)521で構成されている。位置検出部4により検出された測定子21の座標が測定データとして演算処理部52に入力され、演算処理部52は測定データに対してガウシアン回帰処理を行う。
【0040】
一般に測定データは、三次元空間内の任意の平面上に分布する平面曲線データや、三次元空間内に立体的に分布する空間曲線データとして測定あるいは定義されるが、ここでは説明の都合上、x、y、z軸の3軸の直交座標系によって測定あるいは定義されたデータのうち、z軸座標値が一定なxy平面上の平面曲線データを二次元データと称する。また、この直交座標系内において三次元的に立体的に存在する空間曲線データを三次元データと称する。
二次元データは、例えば三次元測定機のz軸をクランプしてx軸とy軸とのみを可動とし、測定子21を被測定物平面上に沿って移動させ、所定のピッチΔlでサンプリングして取得することができる。この場合、測定データのz座標値はすべて同一となるので、便宜的に測定データを(x,y)で表すことができる。
また、平面的に描かれた曲線をスキャナで読み込み、直交xy平面上で所定のピッチΔlごとの座標を読み取って測定データ(x,y)として取得したものでもよい。
【0041】
演算処理部52は、二次元データである測定データ(x,y)に対してガウシアン回帰処理を行う。演算処理部52によるフィルタ出力(gx,k,gy,k)は、ガウス分布関数s’ikを用いて次の式で表される。
【0042】
【数3】
Figure 2004333293
【0043】
ここで、ガウシアン分布関数s’ikは、サンプリングピッチを測定経路に沿った長さΔlとし、また、カットオフ波長についても測定経路に沿った波長λ’として次の式で表される。
【0044】
【数4】
Figure 2004333293
【0045】
すなわち、演算処理部52は、入力される二次元データに対して式(3)に従う演算を行うことにより、測定経路に沿って移動するガウス分布関数s’ikと測定データとの積和演算の結果を出力する。
【0046】
このような構成を備える三次元測定機1において測定データをガウシアン回帰処理する動作について説明する。
まず、z座標を一定として測定子21が被測定物表面に沿って走査される。このとき、位置検出部4により測定子21の座標が測定経路に沿った所定のピッチΔlでサンプリングされ、サンプリングされた測定データ(x,y)は演算処理部52に送られる。演算処理部52で測定データ(x,y)はガウシアン回帰フィルタ521によりフィルタ処理される。すなわち、式(3)による演算が実行されフィルタ出力(gx,k,y,k)が得られる。得られたフィルタ出力は、表示部6にて表示される。
【0047】
図2、図3、図4および図5に、二次元データに対してガウシアンフィルタ処理を行った結果を示す。
図2は、半径10mmの円の上にカットオフ波長と同じ波長を有する振幅1mmの正弦波を重ね合わせた二次元データにガウシアンフィルタ処理を行った結果である。図2より、フィルタリングによって正弦波の振幅が0.5mmに減衰していることが確認できる。すなわち、50%に減衰されていることがわかる。
【0048】
図3は、対数螺旋に標準偏差0.1mmのガウスノイズを重ねた二次元データに対してガウシアンフィルタ処理を行った結果である。図3(A)は、カットオフ波長0.5mmの場合であり、図3(B)は、カットオフ波長1.0mmの場合である。
図4は、正葉線に標準偏差0.1mmのガウスノイズを重ねた二次元データに対してガウシアンフィルタ処理を行った結果である。図4(A)は、カットオフ波長0.5mmの場合であり、図4(B)は、カットオフ波長1.0mmの場合である。
図5は、エアフォイルの設計データに標準偏差0.1mmのガウスノイズを重ねた二次元データに対してガウシアンフィルタ処理を行った結果である。図5(A)は、カットオフ波長0.5mmの場合であり、図5(B)はカットオフ波長1.0mmの場合である。
図3〜図5の結果に示されるように、二次元データに対するガウシアンフィルタによって、スプラインフィルタに比べて同等に平滑化された結果を得ることができる。
【0049】
このような第1実施形態によれば、次の効果を奏することができる。
(1)測定データが二次元データである場合についてもガウシアン回帰処理を行うことができる。したがって、被測定物10を平面内で倣い測定して測定経路に沿った所定ピッチで得られた測定データについてフィルタ処理を行うことができる。すると、測定経路に沿った所定ピッチでの測定データに基づいて形状解析を行うことができるので、例えば、x軸方向に沿った所定ピッチで測定データを得る場合に比べて、形状変化点をより正確に捉えることができる。例えば、直線領域から円弧領域への変化点や、段差の境界点などをより正確に捉えることができ、形状解析の精度を向上させることができる。
【0050】
(2)二次元データに対してガウシアン回帰処理が可能となるので、測定領域の端部における歪の発生を抑えたフィルタ処理を行うことができる。
【0051】
(変形例1)
次に、本発明の変形例1について説明する。変形例1の基本的構成は第1実施形態と同様であるが、変形例1が特徴とする点は、演算処理部52が三次元的に測定された三次元データ(x、y、z)に対してフィルタ処理を行う点にある。
このような三次元データに対するフィルタ処理を行う演算処理部52において、ガウシアン回帰フィルタ521からのフィルタ出力(gx,k,gy,k,gz,k)は次の式で表される。
【0052】
【数5】
Figure 2004333293

【0053】
ガウス分布関数は、第1実施形態と同様に、測定経路に沿ったサンプリングピッチΔlおよび測定経路に沿ったカットオフ周波数λ’を用いて式(4)と同様に表される。
このような変形例1によれば、第1実施形態の効果と同様の効果を奏することができる。すなわち、測定データが三次元データである場合についてもガウシアン回帰処理によって適切なフィルタ処理を施すことができる。
【0054】
(第2実施形態)
次に、本発明の第2実施形態について説明する。
この第2実施形態が特徴とするところは、フィルタ処理において各測定データに対する重み因子を導入したロバスト推定法によるロバスト回帰処理を行う点にある。
第2実施形態の基本的構成は第1実施形態と同様であるが、演算処理部52の構成に異なる点を有する。図6に、演算処理部52の機能ブロック図を示す。
演算処理部52は、ロバストガウシアン回帰フィルタ(信号処理フィルタ)53で構成され、ロバストガウシアン回帰フィルタ53は、測定データに対して初期的に非ロバスト的なフィルタ処理を行う初期設定部54と、重み因子を算出する繰り返し計算を行ってロバスト的にフィルタ処理を行うロバスト回帰フィルタ処理部55とを備えている。
【0055】
初期設定部54は、ガウシアン回帰処理を初期的に行うものであり、第1実施形態のガウシアン回帰フィルタ521と同様に構成されている。これは、初期設定部54において総ての重み因子δが“1”に設定されることと同義である。
【0056】
ロバスト回帰フィルタ処理部55は、重み因子δを算出する重み因子算出部56と、演算処理を実行してフィルタ処理による出力値(gx,k,gy,k)を算出するフィルタ演算実行部57と、重み因子δの収束を判定する収束判定部58と、を備えて構成されている。
【0057】
重み因子算出部56は、各測定データに対する重み因子を算出する。
ここで、測定点(x,y)とこの測定点に対するフィルタ出力(gx,k,gy,k)との距離をdとし、また、m回目の処理によるフィルタ演算実行部からのフィルタ出力(離散化点)を(g x,k,g y,k)とする。
【0058】
【数6】
Figure 2004333293
【0059】
このとき、重み因子算出部56は、重み因子δ を適合型バイウェイト(Biweight)法を用いて、標準偏差σで規格化された中間値データβと所定係数cとにより次の式で算出する。
【0060】
【数7】
Figure 2004333293
【0061】
ここで、標準偏差で規格化された中間値データβは次の式で表される。
【0062】
【数8】
Figure 2004333293
【0063】
ただし、σは、d の標準偏差である。
また、係数cは、次の式で決定される。
【0064】
【数9】
Figure 2004333293
【0065】
重み因子算出部56は、式(7)に従って重み因子δを算出し、算出した重み因子δをフィルタ演算実行部57および収束判定部58に出力する。また、収束判定部58による判定により、重み因子δが収束していないと判断される場合、重み因子算出部56は重み因子δを更新する。すなわち、フィルタ演算実行部57での次段のステップ処理によるフィルタ出力(gm+1 x,k,gm+1 y,k)に基づいて重み因子δm+1 を式(7)により算出することで重み因子を更新する。
【0066】
フィルタ演算実行部57は、重み因子算出部56で算出された重み因子δを用いてロバストガウシアン回帰処理を実行する。
すなわち、測定データ(x,y)に対して、重み因子δm−1 を用いたロバストガウシアン回帰フィルタ55の出力(g x,k,g y,k)は、次の式で表される。
【0067】
【数10】
Figure 2004333293
【0068】
なお、ガウス分布関数s’ikは、測定経路に沿ったサンプリングピッチΔlと測定経路に沿ったカットオフ周波数λ’とにより式(4)と同様に表される。ただし、次の式で規格化される。
【0069】
【数11】
Figure 2004333293
【0070】
フィルタ演算実行部57は、収束判定部58での判定により重み因子δ の収束が指令されると、収束した重み因子δ によりフィルタ演算を式(10)に従って実行する。このときのフィルタ出力(gm+1 x,k,gm+1 y,k)はフィルタ演算実行部57から表示部6に出力される。
また、フィルタ演算実行部57は、収束判定部58での判定により重み因子δ が収束していないことを指令された場合、重み因子δ によりフィルタ演算を実行して、このフィルタ出力を重み因子算出部56に出力する。
【0071】
収束判定部58は、重み因子算出部56で更新された重み因子δの収束を判定する。すなわち、(m−1)回目のステップ処理によるフィルタ出力(gm−1 )から決定される重み因子δm−1 と、m回目のステップ処理によるフィルタ出力(g )から決定される重み因子δ と、を比較する。この比較において次の式で表される収束条件により重み因子δ の収束を判定する。
【0072】
【数12】
Figure 2004333293
【0073】
収束判定部58は、重み因子δ の収束判定の結果をフィルタ演算実行部57に出力する。
【0074】
このような構成を備える第2実施形態において測定データをロバストガウシアン回帰処理する動作について説明する。図7に、ロバストガウシアン回帰処理の工程を示す。
まず、z座標を一定として測定子21が被測定物表面に沿って走査される。このとき、位置検出部4により測定子21の座標が測定経路に沿った所定のピッチΔlでサンプリングされ、サンプリングされた測定データ(x,y)は演算処理部52に送られる(ST1)。
演算処理部52において、まず、初期設定部54によりガウシアン回帰処理が実行され、この出力(g x,k,g y,k)は重み因子算出部56に送られる(ST2)。
重み因子算出部56は、式(10)により重み因子δ を算出し(ST3)、算出結果をフィルタ演算実行部57および収束判定部58に出力する(重み因子算出工程)。
フィルタ演算実行部57は、重み因子δ を用いて式(10)による演算を実行し、フィルタ出力(g ,g )を得る(ST4、フィルタ演算実行工程)。
【0075】
一方、収束判定部58は、重み因子算出部56で算出された重み因子δ を初期的に設定された重みである“1”と式(12)により比較して収束を判定する(ST5、収束判定工程)。
収束判定部58における判定において重み因子δ が収束判定式(12)を満たさない場合(ST6:NO)、フィルタ演算実行部57で得られたフィルタ出力(g ,g )は重み因子算出部56に出力される。
重み因子算出部56は、次のステップ処理(ST8)として重み因子δ を算出する(ST3)。
以後、収束判定部58において重み因子δ が収束するまでステップ処理(ST3〜ST6)が繰り返される。
【0076】
収束判定部58において、重み因子δ が収束したと判定されると(ST6:YES)、フィルタ演算実行部57によるフィルタ演算の出力(gm+1 x,k,gm+1 y,k)が表示部6で表示される。
【0077】
図8に、二次元データに対してロバストガウシアンフィルタ処理を行った結果を示す。図8(A)に、正葉線にスパイクノイズを付加したデータについてカットオフ波長0.1mmとするロバストガウシアンフィルタ処理を行った結果を示す。図8(B)に、エアフォイルの設計データにスパイクノイズを付加したデータについてカットオフ波長0.5mmとするロバストガウシアンフィルタ処理を行った結果を示す。
図8(A)(B)の結果に示されるように、ロバストガウシアンフィルタ処理によれば、ガウシアンフィルタ処理に比べてスパイクノイズの影響を抑えて平滑化された結果を得ることができる。
【0078】
このような構成を備える第2実施形態によれば、上記実施形態の効果(1)(2)に加えて、次の効果を奏することができる。
(3)二次元データに対してロバストガウシアンフィルタ処理を行うことができる。従って、局所的に離隔するような特異点データに影響されることなく、被測定物10の形状解析を行うことができる。
【0079】
(4)重み因子δの算出において、測定データ(x,y)とこの測定データに対するフィルタ処理による出力値(gx,k,gy,k)との二点間距離dに基づいて測定データとフィルタ処理による出力値との離隔量を評価する。このように二点間距離dを用いることにより、演算量を少なくし、出力応答速度を向上させることができる。例えば、単純に、測定データとフィルタ処理により得られる曲線との最短距離に基づいて計算を行う場合に比べて演算負荷を軽減することができる。
【0080】
(5)収束判定において、式(12)を用いることにより、ステップ処理間における重み因子δの変化量から収束を判定する。ロバスト推定法における収束判定において、重み因子δの変化が所定量以下となったところでフィルタ出力の収束を判定することができるので、不必要な繰り返しループを行うことがなく、フィルタ処理時間を短縮することができる。
また、例えば、残差(二点間距離)dの中間値(メディアン)の変化量に基づいて収束判定を行うこともできるが、中間値の収束がフィルタ出力全体の収束を反映しない場合もありうる。そこで、総ての重み因子δの変化量に基づく収束判定を行うことにより、総ての測定データに対して適切に収束したフィルタ出力値を得ることができる。その結果、形状解析の精度を向上させることができる。
【0081】
ここで、図9に、ISOに準拠してBeaton−Functionを用いたフィルタ処理と適合型biweight法を用いた本発明のロバストガウシアンフィルタ処理との比較を示す。なお、ISOに準拠するBeaton−Functionを用いた重み因子の算出およびフィルタ処理の収束判定については、一次元時系列データの場合について非特許文献1、非特許文献2および非特許文献3に記載されている。
図9(A)(B)に示される結果からわかるように、ISO準拠型のBeaton−Functionを用いた場合ではスパイクノイズの影響を抑えきれていないのに対して、適合型Biweight法を用いた本実施形態によれば、スパイクノイズの影響を抑えてロバストな結果を得ることができる。
【0082】
(変形例2)
次に、本発明の変形例2について説明する。
変形例2の基本的構成は第2実施形態と同様であるが、変形例2が特徴とする点は、演算処理部52が三次元的に測定された三次元データ(x,y,z)に対してフィルタ処理を行う点にある。
このような三次元データに対するフィルタ処理を行う演算処理部52において、ロバストガウシアン回帰フィルタからのフィルタ出力(gx,k,gy,k,gz,k)は次の式で表される。
【0083】
【数13】
Figure 2004333293
【0084】
重み因子δ は、第2実施形態に倣って式(7)によって算出される。ここで、測定点(x,y,z)とこの測定点に対するフィルタ出力値(g x,k,g y,k,g z,k)との距離d は次の式で表される。
【0085】
【数14】
Figure 2004333293

【0086】
また、ガウス分布関数s’ikは、第1実施形態と同様に、測定経路に沿ったサンプリングピッチΔlおよび測定経路に沿ったカットオフ周波数λ’を用いて式(4)と同様に表される。
【0087】
このような変形例2によれば、第2実施形態と同様の効果を奏することができる。すなわち、測定データが三次元データである場合についてもロバストガウシアン回帰処理を行うことができる。したがって、被測定物の立体形状の形状解析を正確に行うことができる。
【0088】
(変形例3)
次に、本発明の変形例3について説明する。
この変形例3の基本的構成は第1実施形態、第2実施形態、変形例1および変形例2と同様であるが、ガウス分布関数sikに代えて他の分布関数を用いる点に特徴を有する。
すなわち、上記実施形態において、ガウス分布関数に代えて、図10に示される箱型関数を用いてもよい。この箱型関数は、区間[−W/2、W/2]においてf(l)=1/W、かつ、区間[−W/2、W/2]を除く領域においてf(l)=0である。
このような箱型関数を用いることにより、移動平均フィルタを構成することができる。
なお、分布関数は次の規格化の式を満たすものであればよい。
【0089】
【数15】
Figure 2004333293
【0090】
なお、本発明の信号処理装置、信号処理方法および測定機は、上記実施形態に限定されず、本発明の要旨を逸脱しない範囲内で種々変更を加え得ることはもちろんである。
例えば、演算処理部52をCPU(中央処理装置)やメモリ(記憶装置)等を備えたコンピュータで構成して、フィルタ演算実行部57や重み因子算出部56、収束判定部58としての各機能を実現させてもよい。この際、このコンピュータにフィルタ演算実行部57や重み因子算出部56、収束判定部58として機能させるための信号処理プログラムをインターネット等の通信手段や、CD−ROM,メモリカード等の記録媒体を介してインストールしてもよい。あるいは、記録媒体を読み取る機器を外付けで接続してもよい。このように、演算処理部52をコンピュータで構成し、信号処理をソフト的に行う構成とすれば、所定のパラメータ、例えば、サンプリングピッチやカットオフ周波数、収束条件などを適宜変更することが容易となる。
【0091】
例えば、第2実施形態において、重み因子は適合型Biweight法により算出され、係数cは式(9)に従って中間値データβにより決定されるとして説明したが、係数cは、所定値で固定されていてもよい。
また、重み因子は、適合型Biweight法によらず、例えば、Beaton関数を用いて決定されてもよい。
【0092】
【発明の効果】
以上、説明したように本発明の本発明の信号処理装置、信号処理方法、信号処理プログラム、信号処理プログラムを記録した記録媒体および測定機によれば、二次元あるいは三次元データの信号処理を行うことができるという優れた効果を奏し得る。
【図面の簡単な説明】
【図1】本発明の第1実施形態にかかる三次元測定機の構成を示す図である。
【図2】半径10mmの円に振幅1mmの正弦波を重ね合わせた二次元データにガウシアンフィルタ処理を行った結果である。
【図3】対数螺旋に標準偏差0.1mmのガウスノイズを重ねた二次元データに対してガウシアンフィルタ処理を行った結果である。(A)はカットオフ波長0.5mmの場合、(B)はカットオフ波長1.0mmの場合である。
【図4】正葉線に標準偏差0.1mmのガウスノイズを重ねた二次元データに対してガウシアンフィルタ処理を行った結果である。(A)はカットオフ波長0.5mmの場合、(B)は、カットオフ波長1.0mmの場合である。
【図5】エアフォイルの設計データに標準偏差0.1mmのガウスノイズを重ねた二次元データに対してガウシアンフィルタ処理を行った結果である。(A)はカットオフ波長0.5mmの場合、(B)はカットオフ波長1.0mmの場合である。
【図6】本発明の第2実施形態において、演算処理部の機能ブロック図である。
【図7】前記第2実施形態において測定データをロバストガウシアン回帰処理する工程を示すフローチャートである。
【図8】二次元データに対してロバストガウシアンフィルタ処理を行った結果である。(A)は正葉線にスパイクノイズを付加したデータについてカットオフ波長0.1mmとした場合、(B)はエアフォイルの設計データにスパイクノイズを付加したデータについてカットオフ波長0.5mmとした場合である。
【図9】ISOに準拠してBeaton−Functionを用いたフィルタ処理と適合型biweight法を用いた本発明のロバストガウシアンフィルタ処理との比較を示す図である。
【図10】分布関数の変形例としての箱型関数を示す図である。
【符号の説明】
1 三次元測定機(測定機)
2 スタイラス
3 移動手段
4 位置検出部
5 制御部
6 表示部(出力部)
10 被測定物
21 測定子
51 移動制御部
52 演算処理部(信号処理装置)
53 ロバストガウシアン回帰フィルタ(信号処理フィルタ)
54 初期設定部
55 ロバストガウシアン回帰フィルタ処理部
56 重み因子算出部
57 フィルタ演算実行部
58 収束判定部
521 ガウシアン回帰フィルタ(信号処理フィルタ、フィルタ演算実行部)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a signal processing device, a signal processing method, a signal processing program, a recording medium on which the signal processing program is recorded, and a measuring device. For example, the present invention relates to a signal processing device, a signal processing method, a signal processing program, a recording medium on which the signal processing program is recorded, and a measuring device for performing filter processing on measurement data acquired two-dimensionally or three-dimensionally.
[0002]
[Background Art]
A three-dimensional measuring machine for measuring the three-dimensional shape of the object to be measured, a contour shape measuring machine or an image measuring machine for measuring a two-dimensional contour shape, a roundness measuring machine for measuring the roundness, and further, for measuring the surface of the measured object 2. Description of the Related Art A surface texture measuring device for measuring the contour shape, roughness, undulation, and the like of the surface of an object to be measured, such as a surface roughness measuring device for measuring undulation and roughness, is known. These devices relatively move a contact type or non-contact type sensor and an object to be measured, and collect measurement data on the surface of the object to be measured.
[0003]
The measurement data collected in this manner usually includes disturbance components such as noise.
As the disturbance components, there are many electric and magnetic induction noises including high-frequency components, but, for example, when it is desired to obtain the contour shape of the surface of the measured object, components such as surface roughness and undulation can be disturbance components. .
In order to remove such disturbance components as needed, there is a method of converting measurement data from an analog signal to a digital signal, and performing a filter process on the digital signal by a filter processing program of a computer. This filtering removes, for example, high-frequency components.
[0004]
As a filter that performs such filtering, a Gaussian regression filter is known (for example, Non-Patent Document 1). This is the measurement data y when the surface of the object to be measured is measured at a predetermined sampling pitch Δx along the x-axis direction.i(I = 1, 2, 3,...) Is a filter that performs Gaussian distribution function weighting.
Let the Gaussian distribution function be sikThen, the measurement data yiFilter output g forkIs expressed as follows.
[0005]
(Equation 1)
Figure 2004333293
[0006]
Where the Gaussian distribution function s'ikIs standardized and represented by the following equation.
[0007]
(Equation 2)
Figure 2004333293
[0008]
Where Δx is the sampling pitch along the x-axis,cIs the cutoff frequency.
[0009]
Further, the measurement data yiAnd data g after filteringkAnd the residual dkThere is known a robust Gaussian regression filter having robustness by adjusting the weight of each measurement data according to the size of the data (for example, Non-Patent Documents 1, 2, and 3).
[0010]
[Non-patent document 1]
ISO / TR 16610-10: 2000 (E) Geometric Product Specification (GPS)-Data extraction technologies by sampling and filtration-Part 10: Robust gastronomy
[Non-patent document 2]
S. Brinkmann et al. , Accessing strength in three-dimensions using Gaussian regression filtering, International Journal of Machine Tools & Manufacture 41 (2001) 215-216.
[Non-Patent Document 3]
S. Brinkmann et al. , Development of a robust Gaussian regression filter for three-dimensional surface analysis, Xth International Colloquion on Surface, 2000, 132-pp.
[0011]
According to such a Gaussian regression filter and a robust Gaussian regression filter, it is possible to perform a filtering process on all data without performing a process of deleting measurement data or adding pseudo data. In particular, it is possible to perform a filtering process in which the occurrence of distortion at both ends of the measurement region is suppressed.
Further, with the robust Gaussian regression filter, it is possible to obtain a filter processing result in which the influence of abnormal data is suppressed.
[0012]
[Problems to be solved by the invention]
However, the conventional Gaussian regression filter and the robust Gaussian regression filter are applicable only to data obtained as one-dimensional time-series data. For example, this is a case where, in a surface roughness measuring device or the like, when a tracing stylus is moved in one direction (x direction), roughness data y is obtained at a predetermined pitch in the x direction. Therefore, for example, when there are two processing targets such as the measurement data (x, y) obtained as the plane curve data, the (robust) Gaussian regression filter cannot be applied. Further, even when the measurement data (x, y, z) obtained as the space curve data has three processing targets, the (robust) Gaussian regression filter cannot be similarly applied.
[0013]
Here, the measurement data that is plane curve data is, for example, (x, y) coordinates obtained by measuring a contour curved surface of an object to be measured at a predetermined pitch under a constant z coordinate by a three-dimensional measuring machine or the like. Means a value or the like. The measurement data that is space curve data means, for example, (x, y, z) coordinate values and the like obtained by measuring the surface of an object to be measured at a predetermined pitch using a coordinate measuring machine or the like.
[0014]
With the growing importance of surface processing technology and technological advances, it has become indispensable to evaluate highly refined surface shapes, and there is a need for precise evaluation of planar or three-dimensionally measured object surfaces. Is growing.
[0015]
Note that, in Non-Patent Document 2, the 3D data to be processed refers to a sampling position defined in a grid pattern on the surface to be measured by x-coordinates and y-coordinates. Means the data composed of the z-coordinate values measured at the sampling position, and the method proposed in the literature applies processing to one-dimensional time-series data in the x-axis direction and the y-axis direction. It is just doing. Therefore, this method cannot be applied to a case where there are two or three objects to be processed in plane curve data existing in a plane or in space curve data existing in a three-dimensional space. Further, in Non-Patent Document 2, there is no description or suggestion regarding the case where there are two or more processing targets, and therefore, (robust) Gaussian regression processing cannot be performed on plane curve data or space curve data.
[0016]
An object of the present invention is to provide a signal processing device, a signal processing method, a signal processing program, a recording medium on which the signal processing program is recorded, and a measuring machine which can solve the conventional problems and can be applied to plane curve data or space curve data. It is in.
[0017]
[Means for Solving the Problems]
2. The signal processing device according to claim 1, further comprising: a signal processing filter configured to perform signal processing on a digital signal value of a predetermined dimension measured along a predetermined path by a product-sum operation related to a predetermined distribution function. The function is defined by a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path, and the signal processing filter multiplies the digital signal value by the distribution function for each component. And a filter operation execution unit that obtains a filter output value for each component.
[0018]
According to such a configuration, signal processing is performed on a digital signal value of a predetermined dimension, for example, a two-dimensional or three-dimensional digital signal value for each component. In this signal processing, the filter operation execution unit obtains a filter output value by multiplying the input digital signal by a distribution function and linearly adding the result. Here, the distribution function is defined by a sampling pitch and a cutoff frequency along a path for extracting a digital signal. That is, the product-sum operation of the digital signal is performed while the distribution function moves along the digital signal extraction path. As a result, faithful signal processing according to the signal extraction path is performed.
By performing signal processing for each digital signal component using the distribution function along the sampling path in this way, appropriate signal processing is performed not only for one-dimensional time-series data but also for two-dimensional and three-dimensional digital data. Can be. As a result, for example, even when signal processing is performed on the shape data of the surface of the object to be measured, shape analysis along the measurement path can be performed, thereby improving the accuracy of shape analysis, such as capturing a change point of the shape more accurately. Can be done.
[0019]
The signal processing device according to claim 2, wherein in the signal processing device according to claim 1, the signal processing filter includes a weight factor calculation unit that calculates a weight factor for each signal value of the digital signal value, The filter operation executing unit executes a product-sum operation on the digital signal for each component with respect to the distribution function and the weight factor calculated by the weight factor calculating unit.
[0020]
According to such a configuration, the weighting factor is set for each digital signal value by the weighting factor calculation unit. The weight of each digital signal value is adjusted by this weighting factor, and a product-sum operation is further performed by a distribution function.
By adjusting the weight for each digital signal value, for example, the influence of abnormal data can be eliminated.
[0021]
According to a third aspect of the present invention, in the signal processing apparatus according to the second aspect, the weighting factor calculation unit calculates a sum of squares of each component of the digital signal value and the filter output value for the digital signal value. Wherein the weighting factor is determined according to the separation amount based on.
[0022]
According to such a configuration, the weighting factor calculation unit only needs to calculate the sum of squares of the digital signal value and the filter output value for each component, so that the calculation load is reduced. For example, it is possible to determine the weighting factor based on the shortest distance between the digital signal and the curve obtained by the filtering process. However, in the case of high-dimensional data, the calculation load is significantly increased. However, according to the present invention, since the amount of calculation is small, the output response speed can be improved.
[0023]
According to a fourth aspect of the present invention, in the signal processing apparatus according to the second or third aspect, the weight factor calculation unit recalculates the weight factor using a filter output value from a filter operation execution unit. The signal processing filter performs a convergence determination unit that determines a convergence state of the weight factor based on a change amount between the weight factor calculated by the weight factor calculation unit and the weight factor calculated in the previous step. Wherein the filter operation execution unit externally outputs a filter output value using a weight factor determined to have converged by the determination by the convergence determination unit.
[0024]
According to such a configuration, the convergence determination unit determines the convergence of the signal processing based on the change amount of the weight factor. When it is determined that the weight factor has converged, the calculation of the weight factor is terminated, and a filter output is obtained using the converged weight factor. Therefore, convergence is determined based on the amount of change in the weighting factor, and a result can be obtained that has converged appropriately for all digital signal values.
[0025]
According to a fifth aspect of the present invention, in the signal processing apparatus of the first to fourth aspects, the digital signal value is two-dimensional or more data.
According to such a configuration, signal processing can be performed on a two-dimensional or three-dimensional digital signal value.
[0026]
According to a sixth aspect of the present invention, in the signal processing apparatus according to any one of the first to fifth aspects, the distribution function is a Gaussian distribution function.
According to such a configuration, a Gaussian filter or a robust Gaussian filter can be configured.
Note that the distribution function may be a box-shaped function that forms a moving average filter.
[0027]
The signal processing method according to claim 7, wherein the signal processing method performs signal processing on a digital signal value of a predetermined dimension measured along a predetermined path by a product-sum operation regarding a predetermined distribution function. A distribution function defined by a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path; a weighting factor calculating step of calculating a weighting factor for each signal value of the digital signal value; And a filter operation executing step of executing a product-sum operation on the signal with respect to the weighting factor calculated in the weighting factor calculating step and the distribution function for each component.
[0028]
According to such a configuration, the same function and effect as the invention described in claim 3 can be obtained. That is, by adjusting the weight for each signal value of the digital signal value, for example, the influence of abnormal data can be eliminated.
[0029]
The signal processing method according to claim 8, wherein in the signal processing method according to claim 7, the weighting factor calculating step includes a sum of squares for each component of the digital signal value and the filter output value for the digital signal value. Wherein the weighting factor is determined according to the separation amount based on.
According to such a configuration, the same function and effect as the invention described in claim 3 can be obtained. That is, it is only necessary to calculate the sum of squares of the digital signal value and the filter output value for each component, so that the calculation load is reduced.
[0030]
According to a ninth aspect of the present invention, in the signal processing method according to the seventh or the eighth aspect, the weighting factor calculating step recalculates the weighting factor using a filter output value obtained in a filtering operation executing step. A convergence determination step of determining a convergence state of the weight factor based on a change amount between the weight factor calculated in the weight factor calculation step and the weight factor calculated in the previous step. The calculation execution step is characterized in that a filter output value using a weight factor determined to have converged by the determination in the convergence determination step is output to the outside.
[0031]
According to such a configuration, the same function and effect as the invention described in claim 4 can be obtained. That is, since the convergence of the weighting factor is determined, it is not necessary to repeatedly perform unnecessary calculations, and the convergence is determined based on the amount of change in the weighting factor. A converged result can be obtained.
[0032]
The signal processing program according to claim 10, wherein, for a digital signal value of a predetermined dimension measured along a predetermined path, a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path. A signal processing device that performs signal processing by a product-sum operation related to a distribution function defined by a computer, and the computer includes a weighting factor calculating step of calculating a weighting factor for each signal value of the digital signal value; And performing a filter calculation execution step of executing a product-sum operation on the signal for each component with respect to the distribution function and the weight factor calculated in the weight factor calculation step.
[0033]
The recording medium according to claim 11, wherein, for a digital signal value of a predetermined dimension measured along a predetermined path, a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path. A weighting factor calculating step of calculating a weighting factor for each signal value of the digital signal value by incorporating a computer into a signal processing device that performs signal processing by a product-sum operation with respect to a specified distribution function; A filter processing execution step of executing a product-sum operation for the distribution function and the weighting factor calculated in the weighting factor calculation step for each component. I do.
[0034]
According to such a configuration, the same operation and effect as the invention described in claim 2 can be obtained. Furthermore, if a computer having a CPU (Central Processing Unit) and a memory (storage device) is incorporated and a program is configured to cause this computer to execute each step, parameters in each step can be easily changed. Then, the recording medium on which the program is recorded may be directly inserted into the computer, and the program may be installed on the computer.A reading device for reading information on the recording medium may be externally attached to the computer, and the program may be installed on the computer from the reading device. You may. Note that the program may be supplied to a computer via a communication line such as the Internet, a LAN cable, a telephone line or the like or wirelessly and installed.
[0035]
13. A measuring machine according to claim 12, wherein a stylus having a probe for scanning the surface of the object to be measured in a contact or non-contact manner at a tip thereof, a moving means for moving the probe in two or three dimensions, and a probe. 7. A position detecting section for detecting the position of the probe and outputting it as measurement data, a movement control section for instructing the movement of the tracing stylus, the signal processing device according to claim 1, and the signal processing device. And an output unit for outputting a result of the filtering process.
[0036]
According to such a configuration, after the data of the contour shape of the object to be measured is obtained by scanning the surface of the object to be measured, the shape analysis can be performed by further performing signal processing on the measured data. In this case, the same effects as those of the first to sixth aspects of the invention are obtained, and signal processing can be performed on measurement data acquired two-dimensionally or three-dimensionally.
[0037]
Here, the output unit may be a display unit that displays the result of the filter processing, a printing unit that prints the processing result, or an external output unit that externally outputs the processing result.
[0038]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(1st Embodiment)
FIG. 1 shows a coordinate measuring machine as a measuring machine according to a first embodiment of the present invention.
The three-dimensional measuring device 1 includes a stylus 2 having a stylus 21 at its tip for scanning the surface of the object 10 in contact or non-contact, and a stylus 2 in three dimensions in the x, y, and z directions. A moving unit 3 for moving, a position detecting unit 4 for detecting the position of the tracing stylus 21 and outputting it as measurement data, a control unit 5 for instructing the movement of the tracing stylus 21 and arithmetically processing the obtained measurement data; And a display unit 6 as an output unit for displaying the result of the arithmetic processing.
The control unit 5 includes a movement control unit 51 that outputs a control signal for moving the tracing stylus 21 along the surface of the DUT 10 to the movement unit 3 and an arithmetic processing unit as a signal processing device that performs arithmetic processing on measurement data. 52.
[0039]
The arithmetic processing unit 52 includes a Gaussian regression filter (filter operation executing unit) 521 as a signal processing filter. The coordinates of the tracing stylus 21 detected by the position detection unit 4 are input to the arithmetic processing unit 52 as measurement data, and the arithmetic processing unit 52 performs Gaussian regression processing on the measurement data.
[0040]
In general, measurement data is measured or defined as plane curve data distributed on an arbitrary plane in a three-dimensional space, or space curve data distributed three-dimensionally in a three-dimensional space. Among the data measured or defined by a three-axis orthogonal coordinate system of x, y, and z axes, plane curve data on an xy plane having a constant z-axis coordinate value is referred to as two-dimensional data. Further, space curve data that exists three-dimensionally and three-dimensionally in this orthogonal coordinate system is referred to as three-dimensional data.
The two-dimensional data is obtained by, for example, clamping the z-axis of a three-dimensional measuring machine, making only the x-axis and the y-axis movable, moving the tracing stylus 21 along the plane of the workpiece, and sampling at a predetermined pitch Δl. Can be obtained. In this case, since the z-coordinate values of the measurement data are all the same, the measurement data is conveniently referred to as (xi, Yi).
Further, a curve drawn in a plane is read by a scanner, coordinates at a predetermined pitch Δl are read on an orthogonal xy plane, and measurement data (xi, Yi) May be obtained.
[0041]
The arithmetic processing unit 52 measures the measurement data (xi, Yi) Is subjected to Gaussian regression processing. Filter output (gx, k, Gy, k) Is the Gaussian distribution function s'ikIs represented by the following equation.
[0042]
(Equation 3)
Figure 2004333293
[0043]
Here, the Gaussian distribution function s ′ikIs the sampling pitch as the length Δl along the measurement path, and the cutoff wavelength is the wavelength λ ′ along the measurement path.cIs represented by the following equation.
[0044]
(Equation 4)
Figure 2004333293
[0045]
That is, the arithmetic processing unit 52 performs an arithmetic operation on the input two-dimensional data according to the equation (3), and thereby the Gaussian distribution function s ′ moving along the measurement path.ikAnd outputs the result of the product-sum operation of the measured data.
[0046]
An operation of performing Gaussian regression processing on measurement data in the coordinate measuring machine 1 having such a configuration will be described.
First, the tracing stylus 21 is scanned along the surface of the DUT while keeping the z coordinate constant. At this time, the coordinates of the tracing stylus 21 are sampled by the position detection unit 4 at a predetermined pitch Δl along the measurement path, and the sampled measurement data (xi, Yi) Is sent to the arithmetic processing unit 52. The measurement data (xi, Yi) Are filtered by the Gaussian regression filter 521. That is, the operation according to the equation (3) is executed and the filter output (gx, k,gy, k) Is obtained. The obtained filter output is displayed on the display unit 6.
[0047]
FIGS. 2, 3, 4, and 5 show the results of performing Gaussian filtering on the two-dimensional data.
FIG. 2 shows the result of performing a Gaussian filter process on two-dimensional data in which a sine wave having an amplitude of 1 mm having the same wavelength as the cutoff wavelength is superimposed on a circle having a radius of 10 mm. From FIG. 2, it can be confirmed that the amplitude of the sine wave is attenuated to 0.5 mm by the filtering. That is, it can be seen that it is attenuated to 50%.
[0048]
FIG. 3 shows the result of performing Gaussian filter processing on two-dimensional data in which a logarithmic spiral is overlaid with Gaussian noise having a standard deviation of 0.1 mm. FIG. 3A shows the case where the cutoff wavelength is 0.5 mm, and FIG. 3B shows the case where the cutoff wavelength is 1.0 mm.
FIG. 4 shows the result of performing a Gaussian filter process on two-dimensional data in which Gaussian noise having a standard deviation of 0.1 mm is superimposed on the regular line. FIG. 4A shows the case where the cutoff wavelength is 0.5 mm, and FIG. 4B shows the case where the cutoff wavelength is 1.0 mm.
FIG. 5 shows the result of performing a Gaussian filter process on two-dimensional data in which Gaussian noise having a standard deviation of 0.1 mm is superimposed on airfoil design data. FIG. 5A shows the case where the cutoff wavelength is 0.5 mm, and FIG. 5B shows the case where the cutoff wavelength is 1.0 mm.
As shown in the results of FIGS. 3 to 5, it is possible to obtain a result smoothed by the Gaussian filter on the two-dimensional data, as compared with the spline filter.
[0049]
According to the first embodiment, the following effects can be obtained.
(1) Gaussian regression processing can be performed even when the measurement data is two-dimensional data. Therefore, it is possible to perform the filtering process on the measurement data obtained at the predetermined pitch along the measurement path by performing the scanning measurement of the DUT 10 in the plane. Then, since the shape analysis can be performed based on the measurement data at a predetermined pitch along the measurement path, for example, the shape change point can be more compared with the case where the measurement data is obtained at a predetermined pitch along the x-axis direction. Can be captured accurately. For example, a change point from a straight line region to a circular arc region, a boundary point of a step, and the like can be more accurately captured, and the accuracy of shape analysis can be improved.
[0050]
(2) Since the Gaussian regression processing can be performed on the two-dimensional data, it is possible to perform the filter processing in which the occurrence of distortion at the end of the measurement area is suppressed.
[0051]
(Modification 1)
Next, a first modification of the present invention will be described. The basic configuration of the first modification is the same as that of the first embodiment, but the first modification is characterized in that the arithmetic processing unit 52 performs three-dimensional measurement of three-dimensional data (x, y, z). In that filter processing is performed.
In the arithmetic processing unit 52 that performs a filtering process on such three-dimensional data, the filter output (gx, k, Gy, k, Gz, k) Is represented by the following equation.
[0052]
(Equation 5)
Figure 2004333293

[0053]
As in the first embodiment, the Gaussian distribution function has a sampling pitch [Delta] l along the measurement path and a cutoff frequency [lambda] 'along the measurement path.cAnd expressed in the same manner as in equation (4).
According to the first modification, the same effect as that of the first embodiment can be obtained. That is, even when the measurement data is three-dimensional data, appropriate filter processing can be performed by Gaussian regression processing.
[0054]
(2nd Embodiment)
Next, a second embodiment of the present invention will be described.
The feature of the second embodiment is that robust regression processing is performed by a robust estimation method in which a weighting factor for each measurement data is introduced in the filter processing.
The basic configuration of the second embodiment is the same as that of the first embodiment, except that the configuration of the arithmetic processing unit 52 is different. FIG. 6 shows a functional block diagram of the arithmetic processing unit 52.
The arithmetic processing unit 52 includes a robust Gaussian regression filter (signal processing filter) 53. The robust Gaussian regression filter 53 includes an initial setting unit 54 that initially performs non-robust filter processing on measurement data, and a weighting unit. A robust regression filter processing unit 55 that performs a filter calculation robustly by performing repeated calculations for calculating factors.
[0055]
The initial setting unit 54 initially performs a Gaussian regression process, and has the same configuration as the Gaussian regression filter 521 of the first embodiment. This is equivalent to setting all the weighting factors δ to “1” in the initial setting unit 54.
[0056]
The robust regression filter processing unit 55 executes a calculation process to calculate a weight factor δ and an output value (gx, k, Gy, k), And a convergence determining unit 58 that determines the convergence of the weighting factor δ.
[0057]
The weight factor calculator 56 calculates a weight factor for each measurement data.
Here, the measurement point (xi, Yi) And the filter output (gx, k, Gy, k) And dkAnd the filter output (discrete point) from the filter calculation execution unit in the m-th process is (g)m x, k, Gm y, k).
[0058]
(Equation 6)
Figure 2004333293
[0059]
At this time, the weighting factor calculation unit 56 calculates the weighting factor δm kIs calculated by the following equation using the intermediate value data β standardized by the standard deviation σ and the predetermined coefficient c using the adaptive biweight method.
[0060]
(Equation 7)
Figure 2004333293
[0061]
Here, the intermediate value data β normalized by the standard deviation is represented by the following equation.
[0062]
(Equation 8)
Figure 2004333293
[0063]
Where σ is dm kIs the standard deviation of
The coefficient c is determined by the following equation.
[0064]
(Equation 9)
Figure 2004333293
[0065]
The weight factor calculation unit 56 calculates the weight factor δ according to the equation (7), and outputs the calculated weight factor δ to the filter calculation execution unit 57 and the convergence determination unit 58. If it is determined by the convergence determining unit 58 that the weight factor δ has not converged, the weight factor calculating unit 56 updates the weight factor δ. That is, the filter output (gm + 1 x, k, Gm + 1 y, k) Based on the weighting factor δm + 1 kIs calculated by equation (7) to update the weighting factor.
[0066]
The filter calculation execution unit 57 executes a robust Gaussian regression process using the weight factor δ calculated by the weight factor calculation unit 56.
That is, the measurement data (xi, Yi), The weighting factor δm-1 k(G) of the robust Gaussian regression filter 55 usingm x, k, Gm y, k) Is represented by the following equation.
[0067]
(Equation 10)
Figure 2004333293
[0068]
Note that the Gaussian distribution function s'ikIs the sampling pitch [Delta] l along the measurement path and the cut-off frequency [lambda] 'along the measurement path.cAnd are represented in the same manner as in equation (4). However, it is standardized by the following equation.
[0069]
(Equation 11)
Figure 2004333293
[0070]
The filter calculation execution unit 57 determines the weight factor δ by the convergence determination unit 58m kIs commanded, the converged weight factor δm kTo execute a filter operation in accordance with equation (10). The filter output at this time (gm + 1 x, k, Gm + 1 y, k) Are output from the filter calculation execution unit 57 to the display unit 6.
Further, the filter calculation execution unit 57 determines the weight factor δ by the convergence determination unit 58.m kIs not converged, the weight factor δm kAnd outputs the filter output to the weighting factor calculation unit 56.
[0071]
The convergence determining unit 58 calculates the weight factor δ updated by the weight factor calculating unit 56.mIs determined. That is, the filter output (gm-1 kWeight factor δ determined fromm-1 kAnd the filter output (gm kWeight factor δ determined fromm kAnd. In this comparison, the weighting factor δ is determined by the convergence condition represented by the following equation.m kIs determined.
[0072]
(Equation 12)
Figure 2004333293
[0073]
The convergence judging unit 58 calculates the weight factor δm kIs output to the filter operation execution unit 57.
[0074]
The operation of performing the robust Gaussian regression processing on the measurement data in the second embodiment having such a configuration will be described. FIG. 7 shows the steps of the robust Gaussian regression processing.
First, the tracing stylus 21 is scanned along the surface of the DUT while keeping the z coordinate constant. At this time, the coordinates of the tracing stylus 21 are sampled by the position detection unit 4 at a predetermined pitch Δl along the measurement path, and the sampled measurement data (xi, Yi) Is sent to the arithmetic processing unit 52 (ST1).
In the arithmetic processing unit 52, first, the Gaussian regression processing is executed by the initial setting unit 54, and the output (g0 x, k, G0 y, k) Is sent to the weighting factor calculation unit 56 (ST2).
The weighting factor calculation unit 56 calculates the weighting factor δ by Expression (10).0 kIs calculated (ST3), and the calculation result is output to the filter calculation execution unit 57 and the convergence determination unit 58 (weight factor calculation step).
The filter calculation execution unit 57 calculates the weighting factor δ0 kIs used to perform the operation according to equation (10), and the filter output (g1 x, G1 y) Is obtained (ST4, a filter calculation execution step).
[0075]
On the other hand, the convergence determination unit 58 calculates the weight factor δ calculated by the weight factor calculation unit 56.0 kIs compared with the initially set weight "1" by equation (12) to determine convergence (ST5, convergence determination step).
In the determination by the convergence determining unit 58, the weighting factor δ0 kDoes not satisfy the convergence determination formula (12) (ST6: NO), the filter output (g1 x, G1 y) Are output to the weighting factor calculation unit 56.
The weighting factor calculation unit 56 determines the weighting factor δ as the next step processing (ST8).1 kIs calculated (ST3).
Thereafter, the weighting factor δm kStep processes (ST3 to ST6) are repeated until is converged.
[0076]
In the convergence determining unit 58, the weighting factor δm kIs determined to have converged (ST6: YES), the filter operation output (gm + 1 x, k, Gm + 1 y, k) Is displayed on the display unit 6.
[0077]
FIG. 8 shows a result of performing a robust Gaussian filter process on two-dimensional data. FIG. 8A shows a result obtained by performing a robust Gaussian filter process with a cutoff wavelength of 0.1 mm for data obtained by adding spike noise to the regular leaf line. FIG. 8B shows a result of performing a robust Gaussian filter process with a cutoff wavelength of 0.5 mm for data obtained by adding spike noise to airfoil design data.
As shown in the results of FIGS. 8A and 8B, according to the robust Gaussian filter processing, it is possible to obtain a smoothed result while suppressing the influence of spike noise as compared with the Gaussian filter processing.
[0078]
According to the second embodiment having such a configuration, the following effect can be obtained in addition to the effects (1) and (2) of the above embodiment.
(3) Robust Gaussian filter processing can be performed on two-dimensional data. Therefore, the shape analysis of the DUT 10 can be performed without being affected by singular point data that is locally separated.
[0079]
(4) In calculating the weighting factor δ, the measurement data (xi, Yi) And the output value (gx, k, Gy, k) And the distance d between two pointskIs used to evaluate the amount of separation between the measurement data and the output value obtained by the filtering process. Thus, the distance d between two pointskIs used, the amount of calculation can be reduced, and the output response speed can be improved. For example, the calculation load can be reduced as compared with the case where the calculation is simply performed based on the shortest distance between the measurement data and the curve obtained by the filter processing.
[0080]
(5) In the convergence determination, the convergence is determined from the change amount of the weighting factor δ during the step processing by using the equation (12). In the convergence determination in the robust estimation method, the convergence of the filter output can be determined when the change of the weighting factor δ becomes equal to or less than a predetermined amount. be able to.
Also, for example, the residual (distance between two points) dkMay be determined based on the amount of change of the median of the median, but the convergence of the median may not reflect the convergence of the entire filter output. Therefore, by performing convergence determination based on the change amounts of all the weighting factors δ, it is possible to obtain a filter output value that has converged appropriately on all measurement data. As a result, the accuracy of the shape analysis can be improved.
[0081]
Here, FIG. 9 shows a comparison between filter processing using Beaton-Function and the robust Gaussian filter processing of the present invention using the adaptive biweight method based on ISO. The calculation of the weighting factor and the convergence determination of the filtering process using Beaton-Function conforming to ISO are described in Non-Patent Document 1, Non-Patent Document 2, and Non-Patent Document 3 in the case of one-dimensional time-series data. ing.
As can be seen from the results shown in FIGS. 9A and 9B, the effect of spike noise cannot be completely suppressed in the case of using the ISO-based Beaton-Function, whereas the adaptive-type Biweight method is used. According to the present embodiment, a robust result can be obtained while suppressing the influence of spike noise.
[0082]
(Modification 2)
Next, a second modification of the present invention will be described.
The basic configuration of the second modification is the same as that of the second embodiment, but a feature of the second modification is that the arithmetic processing unit 52 uses the three-dimensional data (xi, Yi, Zi) Is filtered.
In the arithmetic processing unit 52 that performs a filtering process on such three-dimensional data, a filter output (gx, k, Gy, k, Gz, k) Is represented by the following equation.
[0083]
(Equation 13)
Figure 2004333293
[0084]
Weight factor δm kIs calculated by Expression (7) according to the second embodiment. Here, the measurement point (xk, Yk, Zk) And the filter output value (gm x, k, Gm y, k, Gm z, k) And distance dm kIs represented by the following equation.
[0085]
[Equation 14]
Figure 2004333293

[0086]
Also, the Gaussian distribution function s'ikIs the sampling pitch [Delta] l along the measurement path and the cutoff frequency [lambda] 'along the measurement path, as in the first embodiment.cAnd expressed in the same manner as in equation (4).
[0087]
According to the second modification, the same effects as those of the second embodiment can be obtained. That is, the robust Gaussian regression processing can be performed even when the measurement data is three-dimensional data. Therefore, the shape analysis of the three-dimensional shape of the measured object can be accurately performed.
[0088]
(Modification 3)
Next, a third modification of the present invention will be described.
The basic configuration of Modification 3 is the same as that of the first embodiment, the second embodiment, Modification 1 and Modification 2, but the Gaussian distribution function sikThis is characterized in that another distribution function is used instead of.
That is, in the above embodiment, a box function shown in FIG. 10 may be used instead of the Gaussian distribution function. This box-shaped function is such that f (l) = 1 / W in the section [-W / 2, W / 2] and f (l) = 0 in the region excluding the section [-W / 2, W / 2]. It is.
By using such a box function, a moving average filter can be configured.
Note that the distribution function only needs to satisfy the following standardization equation.
[0089]
(Equation 15)
Figure 2004333293
[0090]
Note that the signal processing device, signal processing method, and measuring device of the present invention are not limited to the above-described embodiment, and it is needless to say that various changes can be made without departing from the spirit of the present invention.
For example, the arithmetic processing unit 52 is configured by a computer having a CPU (central processing unit), a memory (storage device), and the like, and functions as a filter operation execution unit 57, a weight factor calculation unit 56, and a convergence determination unit 58 are performed. It may be realized. At this time, a signal processing program for causing the computer to function as the filter calculation execution unit 57, the weight factor calculation unit 56, and the convergence determination unit 58 is transmitted via communication means such as the Internet or a recording medium such as a CD-ROM or a memory card. May be installed. Alternatively, a device for reading a recording medium may be externally connected. As described above, if the arithmetic processing unit 52 is configured by a computer and configured to perform signal processing in a software manner, it is easy to appropriately change predetermined parameters such as a sampling pitch, a cutoff frequency, and a convergence condition. Become.
[0091]
For example, in the second embodiment, it has been described that the weighting factor is calculated by the adaptive Biweight method and the coefficient c is determined by the intermediate value data β according to the equation (9). However, the coefficient c is fixed at a predetermined value. You may.
Further, the weighting factor may be determined using, for example, a Beaton function, instead of the adaptive Biweight method.
[0092]
【The invention's effect】
As described above, according to the signal processing device, the signal processing method, the signal processing program, the recording medium on which the signal processing program is recorded, and the measuring device of the present invention, signal processing of two-dimensional or three-dimensional data is performed. It is possible to achieve an excellent effect of being able to do so.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a coordinate measuring machine according to a first embodiment of the present invention.
FIG. 2 shows a result of performing a Gaussian filter process on two-dimensional data in which a sine wave having an amplitude of 1 mm is superimposed on a circle having a radius of 10 mm.
FIG. 3 shows a result obtained by performing a Gaussian filter process on two-dimensional data in which Gaussian noise having a standard deviation of 0.1 mm is superimposed on a logarithmic spiral. (A) shows a case where the cutoff wavelength is 0.5 mm, and (B) shows a case where the cutoff wavelength is 1.0 mm.
FIG. 4 shows a result of performing a Gaussian filter process on two-dimensional data in which Gaussian noise having a standard deviation of 0.1 mm is superimposed on a regular leaf line. (A) shows a case where the cutoff wavelength is 0.5 mm, and (B) shows a case where the cutoff wavelength is 1.0 mm.
FIG. 5 shows the result of performing Gaussian filter processing on two-dimensional data in which Gaussian noise having a standard deviation of 0.1 mm is superimposed on airfoil design data. (A) shows a case where the cutoff wavelength is 0.5 mm, and (B) shows a case where the cutoff wavelength is 1.0 mm.
FIG. 6 is a functional block diagram of an arithmetic processing unit according to the second embodiment of the present invention.
FIG. 7 is a flowchart showing a step of performing robust Gaussian regression processing on measurement data in the second embodiment.
FIG. 8 shows a result of performing a robust Gaussian filter process on two-dimensional data. (A) shows a cutoff wavelength of 0.1 mm for data obtained by adding spike noise to the regular leaf line, and (B) shows a cutoff wavelength of 0.5 mm for data obtained by adding spike noise to airfoil design data. Is the case.
FIG. 9 is a diagram showing a comparison between filter processing using Beaton-Function and the robust Gaussian filter processing of the present invention using an adaptive biweight method according to ISO.
FIG. 10 is a diagram illustrating a box function as a modified example of the distribution function.
[Explanation of symbols]
1 3D measuring machine (measuring machine)
2 stylus
3 means of transportation
4 Position detector
5 control part
6. Display unit (output unit)
10 DUT
21 Measuring element
51 Movement control unit
52 arithmetic processing unit (signal processing device)
53 Robust Gaussian Regression Filter (Signal Processing Filter)
54 Initial setting section
55 Robust Gaussian Regression Filter Processing Unit
56 Weight Factor Calculator
57 Filter calculation execution unit
58 Convergence judgment unit
521 Gaussian regression filter (signal processing filter, filter operation execution unit)

Claims (12)

所定の経路に沿って測定された所定次元のディジタル信号値に対して所定の分布関数に関する積和演算により信号処理を行う信号処理フィルタを備え、
前記分布関数は、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定され、
前記信号処理フィルタは、前記ディジタル信号値に対して成分ごとに前記分布関数を乗算することにより成分ごとのフィルタ出力値を得るフィルタ演算実行部を有することを特徴とする信号処理装置。
A signal processing filter that performs signal processing by a product-sum operation on a predetermined distribution function on a digital signal value of a predetermined dimension measured along a predetermined path,
The distribution function is defined by a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path,
The signal processing apparatus according to claim 1, wherein the signal processing filter includes a filter operation execution unit that obtains a filter output value for each component by multiplying the digital signal value by the distribution function for each component.
請求項1に記載の信号処理装置において、
前記信号処理フィルタは、前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出部を備え、
前記フィルタ演算実行部は、前記ディジタル信号に対して、成分ごとに前記分布関数と前記重み因子算出部にて算出された重み因子とに関する積和演算を実行することを特徴とする信号処理装置。
The signal processing device according to claim 1,
The signal processing filter includes a weight factor calculating unit that calculates a weight factor for each signal value of the digital signal value,
The signal processing device, wherein the filter operation execution unit executes a product-sum operation on the digital signal with respect to the distribution function and the weight factor calculated by the weight factor calculation unit for each component.
請求項2に記載の信号処理装置において、
前記重み因子算出部は、前記ディジタル信号値とこのディジタル信号値に対する前記フィルタ出力値との成分ごとの自乗和に基づく離隔量に応じて前記重み因子を決定することを特徴とする信号処理装置。
The signal processing device according to claim 2,
The signal processing device according to claim 1, wherein the weighting factor calculation unit determines the weighting factor in accordance with a separation amount based on a sum of squares of each of the digital signal value and the filter output value for the digital signal value.
請求項2または請求項3に記載の信号処理装置において、
前記重み因子算出部は、フィルタ演算実行部によるフィルタ出力値を用いて前記重み因子の再計算を行い、
前記信号処理フィルタは、前記重み因子算出部で算出された重み因子と前回のステップにおいて算出された前記重み因子との変化量に基づいて前記重み因子の収束状態を判定する収束判定部を有し、
前記フィルタ演算実行部は、前記収束判定部による判定により収束したと判定された重み因子を用いたフィルタ出力値を外部出力することを特徴とする信号処理装置。
In the signal processing device according to claim 2 or 3,
The weighting factor calculation unit performs recalculation of the weighting factor using a filter output value by a filter calculation execution unit,
The signal processing filter includes a convergence determination unit that determines a convergence state of the weight factor based on a change amount between the weight factor calculated by the weight factor calculation unit and the weight factor calculated in a previous step. ,
The signal processing device, wherein the filter operation execution unit outputs a filter output value using a weight factor determined to have converged by the determination by the convergence determination unit.
請求項1ないし請求項4に記載の信号処理装置において、
前記ディジタル信号値は、二次元以上のデータであることを特徴とする信号処理装置。
The signal processing device according to claim 1, wherein
The signal processing device according to claim 1, wherein the digital signal value is two-dimensional or more data.
請求項1ないし請求項5に記載の信号処理装置において、
前記分布関数は、ガウス分布関数であることを特徴とする信号処理装置。
The signal processing device according to claim 1, wherein
The signal processing device, wherein the distribution function is a Gaussian distribution function.
所定の経路に沿って測定された所定次元のディジタル信号値に対して所定の分布関数に関する積和演算により信号処理を行う信号処理方法であって、
前記分布関数は、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定され、
前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出工程と、
前記ディジタル信号に対して、成分ごとに前記重み因子算出工程にて算出された重み因子と前記分布関数とに関する積和演算を実行するフィルタ演算実行工程とを備えていることを特徴とする信号処理方法。
A signal processing method for performing signal processing on a digital signal value of a predetermined dimension measured along a predetermined path by a product-sum operation on a predetermined distribution function,
The distribution function is defined by a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path,
A weight factor calculating step of calculating a weight factor for each signal value of the digital signal value;
A signal processing step of performing a product-sum operation on the digital signal for each component with respect to the weighting factor calculated in the weighting factor calculating step and the distribution function. Method.
請求項7に記載の信号処理方法において、
前記重み因子算出工程は、前記ディジタル信号値とこのディジタル信号値に対する前記フィルタ出力値との成分ごとの自乗和に基づく離隔量に応じて前記重み因子を決定することを特徴とする信号処理方法。
The signal processing method according to claim 7,
The signal processing method, wherein the weighting factor calculation step determines the weighting factor according to a separation amount based on a sum of squares of each of the digital signal value and the filter output value for the digital signal value.
請求項7または請求項8に記載の信号処理方法において、
前記重み因子算出工程は、フィルタ演算実行工程によるフィルタ出力値を用いて前記重み因子の再計算を行い、
前記重み因子算出工程で算出された重み因子と前回のステップにおいて算出された前記重み因子との変化量に基づいて前記重み因子の収束状態を判定する収束判定工程を有し、
前記フィルタ演算実行工程は、前記収束判定工程による判定により収束したと判定された重み因子を用いたフィルタ出力値を外部出力することを特徴とする信号処理方法。
In the signal processing method according to claim 7 or 8,
The weighting factor calculation step is to recalculate the weighting factor using a filter output value from the filter calculation execution step,
A convergence determination step of determining a convergence state of the weight factor based on a change amount between the weight factor calculated in the weight factor calculation step and the weight factor calculated in the previous step,
The signal processing method according to claim 1, wherein in the filter operation executing step, a filter output value using a weight factor determined to be converged by the determination in the convergence determining step is output to the outside.
所定の経路に沿って測定された所定次元のディジタル信号値に対して、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定された分布関数に関する積和演算により信号処理を行う信号処理装置にコンピュータを組み込んで、このコンピュータに、
前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出工程と、
前記ディジタル信号に対して、成分ごとに前記分布関数と前記重み因子算出工程にて算出された重み因子とに関する積和演算を実行するフィルタ演算実行工程と、を実行させることを特徴とした信号処理プログラム。
For a digital signal value of a predetermined dimension measured along a predetermined path, a product-sum operation is performed on a distribution function defined by a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path. A computer is built into a signal processing device that performs signal processing, and this computer
A weight factor calculating step of calculating a weight factor for each signal value of the digital signal value;
Performing, on the digital signal, a filter calculation execution step of executing a product-sum operation relating to the distribution function and the weight factor calculated in the weight factor calculation step for each component. program.
所定の経路に沿って測定された所定次元のディジタル信号値に対して、前記所定の経路に沿ったサンプリングピッチおよび前記所定の経路に沿ったカットオフ周波数によって規定された分布関数に関する積和演算により信号処理を行う信号処理装置にコンピュータを組み込んで、このコンピュータに、
前記ディジタル信号値の各信号値に対する重み因子を算出する重み因子算出工程と、
前記ディジタル信号に対して、成分ごとに前記分布関数と前記重み因子算出工程にて算出された重み因子とに関する積和演算を実行するフィルタ演算実行工程と、を実行させる信号処理プログラムを記録したコンピュータ読み出し可能な記録媒体。
For a digital signal value of a predetermined dimension measured along a predetermined path, a product-sum operation is performed on a distribution function defined by a sampling pitch along the predetermined path and a cutoff frequency along the predetermined path. A computer is built into a signal processing device that performs signal processing, and this computer
A weight factor calculating step of calculating a weight factor for each signal value of the digital signal value;
A computer for recording a signal processing program for executing, on the digital signal, a filter operation executing step of executing a product-sum operation relating to the distribution function and the weighting factor calculated in the weighting factor calculating step for each component. Readable recording medium.
被測定物表面を接触ないし非接触で走査する測定子を先端に有するスタイラスと、
測定子を二次元的あるいは三次元的に移動させる移動手段と、
測定子の位置を検出して測定データとして出力する位置検出部と、
測定子の移動を指令する移動制御部と、
請求項1ないし請求項6のいずれかに記載の信号処理装置と、
前記信号処理装置でフィルタ処理された結果を出力する出力部と、を備えることを特徴とする測定機。
A stylus having a probe at the tip for scanning the contact or non-contact on the surface of the object to be measured,
Moving means for moving the probe in two or three dimensions,
A position detection unit that detects the position of the tracing stylus and outputs it as measurement data;
A movement control unit that commands movement of the tracing stylus;
A signal processing device according to any one of claims 1 to 6,
A measuring unit, comprising: an output unit that outputs a result of the filter processing by the signal processing device.
JP2003129494A 2003-05-07 2003-05-07 Signal processing apparatus, signal processing method, signal processing program, recording medium recording signal processing program, and measuring instrument Expired - Fee Related JP4427272B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003129494A JP4427272B2 (en) 2003-05-07 2003-05-07 Signal processing apparatus, signal processing method, signal processing program, recording medium recording signal processing program, and measuring instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003129494A JP4427272B2 (en) 2003-05-07 2003-05-07 Signal processing apparatus, signal processing method, signal processing program, recording medium recording signal processing program, and measuring instrument

Publications (3)

Publication Number Publication Date
JP2004333293A true JP2004333293A (en) 2004-11-25
JP2004333293A5 JP2004333293A5 (en) 2005-09-15
JP4427272B2 JP4427272B2 (en) 2010-03-03

Family

ID=33505318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003129494A Expired - Fee Related JP4427272B2 (en) 2003-05-07 2003-05-07 Signal processing apparatus, signal processing method, signal processing program, recording medium recording signal processing program, and measuring instrument

Country Status (1)

Country Link
JP (1) JP4427272B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005201869A (en) * 2004-01-19 2005-07-28 Mitsutoyo Corp Signal-processing method, signal-processing program, recording medium with the program stored, and signal processing apparatus
JP2005201870A (en) * 2004-01-19 2005-07-28 Mitsutoyo Corp Signal processor, signal processing method, signal processing program, recording medium with signal processing program stored, and measuring machine
JP2006064617A (en) * 2004-08-30 2006-03-09 Rozefu Technol:Kk Extraction method of roughness curve, and extraction method of three-dimensional surface roughness shape
JP2007024502A (en) * 2005-07-12 2007-02-01 Mitsutoyo Corp Data processing apparatus, method, and program
JP2009204624A (en) * 2009-06-16 2009-09-10 Mitsutoyo Corp Signal processing apparatus and measuring machine

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01222383A (en) * 1988-03-01 1989-09-05 Toshiba Corp Three-dimensional logical filtering circuit
JPH06176107A (en) * 1992-12-04 1994-06-24 Canon Inc Method and device for processing distance picture
JPH06203144A (en) * 1993-01-06 1994-07-22 Nippon Telegr & Teleph Corp <Ntt> Three-dimensional information input device
JPH0771940A (en) * 1993-06-21 1995-03-17 Nippon Telegr & Teleph Corp <Ntt> Method for entering three-dimensional information and three-dimensional information entry device using the same
JPH0821730A (en) * 1994-07-08 1996-01-23 Meidensha Corp Two-dimensional position sensor
JPH08285574A (en) * 1995-04-19 1996-11-01 Toshiba Mach Co Ltd Analysis method and analysis processor for circular motion accuracy measuring data
JPH11304489A (en) * 1998-04-17 1999-11-05 Yaskawa Electric Corp Method for position inference
JP2000019070A (en) * 1998-07-06 2000-01-21 Toyota Motor Corp Method for evaluating cog surface shape of toothed wheel
JP2003097940A (en) * 2001-09-21 2003-04-03 Ricoh Co Ltd Method and device for shape measuring, storage medium storing computer program for shape measuring, and computer program for shape measuring

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01222383A (en) * 1988-03-01 1989-09-05 Toshiba Corp Three-dimensional logical filtering circuit
JPH06176107A (en) * 1992-12-04 1994-06-24 Canon Inc Method and device for processing distance picture
JPH06203144A (en) * 1993-01-06 1994-07-22 Nippon Telegr & Teleph Corp <Ntt> Three-dimensional information input device
JPH0771940A (en) * 1993-06-21 1995-03-17 Nippon Telegr & Teleph Corp <Ntt> Method for entering three-dimensional information and three-dimensional information entry device using the same
JPH0821730A (en) * 1994-07-08 1996-01-23 Meidensha Corp Two-dimensional position sensor
JPH08285574A (en) * 1995-04-19 1996-11-01 Toshiba Mach Co Ltd Analysis method and analysis processor for circular motion accuracy measuring data
JPH11304489A (en) * 1998-04-17 1999-11-05 Yaskawa Electric Corp Method for position inference
JP2000019070A (en) * 1998-07-06 2000-01-21 Toyota Motor Corp Method for evaluating cog surface shape of toothed wheel
JP2003097940A (en) * 2001-09-21 2003-04-03 Ricoh Co Ltd Method and device for shape measuring, storage medium storing computer program for shape measuring, and computer program for shape measuring

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005201869A (en) * 2004-01-19 2005-07-28 Mitsutoyo Corp Signal-processing method, signal-processing program, recording medium with the program stored, and signal processing apparatus
JP2005201870A (en) * 2004-01-19 2005-07-28 Mitsutoyo Corp Signal processor, signal processing method, signal processing program, recording medium with signal processing program stored, and measuring machine
JP2006064617A (en) * 2004-08-30 2006-03-09 Rozefu Technol:Kk Extraction method of roughness curve, and extraction method of three-dimensional surface roughness shape
JP4514206B2 (en) * 2004-08-30 2010-07-28 株式会社ロゼフテクノロジー Roughness curve extraction program and 3D surface roughness shape extraction program
JP2007024502A (en) * 2005-07-12 2007-02-01 Mitsutoyo Corp Data processing apparatus, method, and program
JP4705815B2 (en) * 2005-07-12 2011-06-22 株式会社ミツトヨ Data processing apparatus, data processing method, and data processing program
JP2009204624A (en) * 2009-06-16 2009-09-10 Mitsutoyo Corp Signal processing apparatus and measuring machine

Also Published As

Publication number Publication date
JP4427272B2 (en) 2010-03-03

Similar Documents

Publication Publication Date Title
US7461112B2 (en) Signal processor, signal processing method, signal processing program, recording medium with the signal processing program recorded therein and measuring instrument
US20240027181A1 (en) System and method for measuring using multiple modalities
US20230267593A1 (en) Workpiece measurement method, workpiece measurement system, and program
Liu et al. Gaussian process machine learning-based surface extrapolation method for improvement of the edge effect in surface filtering
JP2005201869A (en) Signal-processing method, signal-processing program, recording medium with the program stored, and signal processing apparatus
JP2004333293A (en) Signal processing device, signal processing method, signal processing program, recording medium for recording signal processing program and measuring machine
JP6599698B2 (en) Image measuring apparatus and control program therefor
JP4427258B2 (en) Signal processing method, signal processing program, recording medium recording this signal processing program, and signal processing apparatus
JP2008116206A (en) Apparatus, method, and program for pattern size measurement
TWI600879B (en) Shape measuring device, processing device and shape measuring method
JP5481397B2 (en) 3D coordinate measuring device
TW200949472A (en) On-board two-dimension contour detection method and system
KR100994741B1 (en) The method of measuring unknown curve with measurement step optimization based on the surface curvature using 3 dimensional coordinate measuring machine
JP4683324B2 (en) Shape measuring system, shape measuring method and shape measuring program
JP4390851B2 (en) Signal processing apparatus and measuring machine
JP4484907B2 (en) Mold correction apparatus and mold correction method
JP5620741B2 (en) Information processing apparatus, information processing method, and program
JP4705815B2 (en) Data processing apparatus, data processing method, and data processing program
CN114236181B (en) AFM probe measuring method, device, control equipment and storage medium
JP6590634B2 (en) Shape measuring method and shape measuring apparatus
Kawalec et al. The selection of radius correction method in the case of coordinate measurements of a turbine blade
JP2021081384A (en) Surface distortion evaluation device, surface distortion evaluation method and program
CN114782512A (en) Blade marking method and system for aircraft engine and storage medium
US20040162708A1 (en) Signal-processing method, signal-processing program, recording medium storing the signal-processing program and signal processor
JP2006105717A (en) Height data estimation method, height data estimation program and three-dimensional shape measuring device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050324

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060322

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070703

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070809

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080513

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090915

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091110

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: 20091208

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091214

R150 Certificate of patent or registration of utility model

Ref document number: 4427272

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121218

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151218

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees