JP2004020427A - Method of removing noise, and filter for removing noise - Google Patents

Method of removing noise, and filter for removing noise Download PDF

Info

Publication number
JP2004020427A
JP2004020427A JP2002177085A JP2002177085A JP2004020427A JP 2004020427 A JP2004020427 A JP 2004020427A JP 2002177085 A JP2002177085 A JP 2002177085A JP 2002177085 A JP2002177085 A JP 2002177085A JP 2004020427 A JP2004020427 A JP 2004020427A
Authority
JP
Japan
Prior art keywords
value
noise
deviation
difference
digital signal
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
JP2002177085A
Other languages
Japanese (ja)
Other versions
JP4076797B2 (en
Inventor
Hirobumi Kasai
河西 博文
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.)
Saginomiya Seisakusho Inc
Original Assignee
Saginomiya Seisakusho Inc
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 Saginomiya Seisakusho Inc filed Critical Saginomiya Seisakusho Inc
Priority to JP2002177085A priority Critical patent/JP4076797B2/en
Publication of JP2004020427A publication Critical patent/JP2004020427A/en
Application granted granted Critical
Publication of JP4076797B2 publication Critical patent/JP4076797B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To remove an impulsive noise contained in a digital signal. <P>SOLUTION: A differential calculating part 2 calculates a differential δ<SB>i</SB>between adjacent samples in the digital data D<SB>i</SB>of a processing object. a deviation calculating part 3 finds an average value δbar of the difference value δ<SB>i</SB>and a standard deviation S thereof, and calculates a deviation H<SB>i</SB>prepared by dividing a difference between the difference value δ<SB>i</SB>and the average value δbar by the average value δbar. In a filtering part 4, the deviation H<SB>i</SB>is compared with a threshold value Hd, and the sample corresponding in the data D<SB>i</SB>is determined as a noise portion when an absolute value of the deviation H<SB>i</SB>exceeds the threshold value Hd consecutively in an interval within a prescribed number Hn, and a digital data D'<SB>i</SB>of which the impulsive noise is removed is output when after substituted with an interpolation value found from the samples positioned in front and rear sides thereof. Execution of the processing herein is allowed to be repeated optional times. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、ディジタル信号からそこに混入しているインパルス性ノイズを除去するノイズ除去方法及びノイズ除去フィルタに関する。
【0002】
【従来の技術】
計測器からのアナログ出力をA/D変換したものを記憶装置に記録したディジタルデータもしくは計測器によりディジタルデータとして記憶装置に記憶されたディジタルデータには、計測時の振動や電気的ノイズ等の外乱により生じたインパルス的なノイズが含まれている。
このようなデータをコンピュータにより処理する際には、ノイズ成分を除去して処理を行うことが望ましいが、そのために、原信号が劣化することは避けなければならない。従来、このようなノイズ成分を除去するために、ディジタルフィルタによるローパスフィルタや移動平均フィルタなどが用いられていたが、これらの手法では、原信号に対する影響が避けられない。
【0003】
そこで、このような問題点を避け、高精度にインパルス性ノイズを除去することができるノイズ除去方法が提案されている(特許第262951号公報)。
このノイズ除去方法は、測定した信号波形中に重畳したノイズを除去するに当り、前記測定信号波形を一次微分し、この一次微分値の絶対値が設定された閾値以上である場合にノイズ有りと判断するとともに、この一次微分値の符号が変化する符号変化点の位置によって、ノイズ発生位置を特定し、このノイズ発生位置を挟む前後の各測定信号の平均値を補間値として算出し、この補間値と前記ノイズ信号とを置換することにより前記ノイズを除去するというものである。
【0004】
【発明が解決しようとする課題】
上記提案されているノイズ除去方法によれば、複雑な演算処理をすることなく高精度にノイズを除去することができるが、このノイズ除去方法を種々の測定信号などに適用しようとすると、測定対象やスケールなどに応じて測定信号のレベルが異なるため、そのレベルに応じた閾値を個々に設定することが必要であった。
そこで本発明は、対象となるディジタル信号のレベルが様々に変わった場合でも、同一の基準で適用することができるノイズ除去方法及びノイズ除去フィルタを提供することを目的としている。
【0005】
【課題を解決するための手段】
上記目的を達成するために、本発明のノイズ除去方法は、ディジタル信号に混入しているインパルス性ノイズを除去する方法であって、前記ディジタル信号の隣接するサンプル間の差分値を算出する第1のステップと、前記差分値の平均値と標準偏差を求め、各差分値について前記平均値との差を前記標準偏差で除算した偏差を算出する第2のステップと、前記算出した偏差と予め設定された閾値とを比較し、前記偏差の絶対値が前記閾値を超えるものが所定のサンプル数以内の間隔で連続して発生したときに、前記ディジタル信号の対応するサンプルをインパルス性ノイズであると判定する第3のステップと、該インパルス性ノイズであると判定された前記ディジタル信号のサンプルをその前後に位置するサンプルから求めた補間値に置き換える第4のステップとを含むものである。
また、前記第1のステップから前記第4のステップを複数回繰り返すものである。
【0006】
さらに、本発明のノイズ除去フィルタは、ディジタル信号に混入しているインパルス性ノイズを除去するノイズ除去フィルタであって、前記ディジタル信号の隣接するサンプル間の差分値を算出する手段、前記差分値の平均値及び標準偏差を算出し、各差分値について前記平均値との差を前記標準偏差で除算した偏差を算出する手段、前記算出した偏差と予め設定された閾値とを比較し、前記偏差の絶対値が前記閾値を超えるものが所定のサンプル数以内の間隔で連続して発生したときに、前記ディジタル信号の対応するサンプルをインパルス性ノイズであると判定する手段、及び、該インパルス性ノイズであると判定された前記ディジタル信号のサンプルをその前後に位置するサンプルから求めた補間値に置換する手段を有するものである。
【0007】
【発明の実施の形態】
本発明のノイズ除去方法の一実施の形態について、図面を参照して説明する。
図1は本発明のノイズ除去方法が実行されるノイズ除去装置(ノイズ除去フィルタ)の機能構成を示すブロック図、図2は本発明のノイズ除去方法の処理の流れを示すフローチャートである。なお、本発明のノイズ除去方法は、専用のマイクロコンピュータやDSPにより実行させてもよいし、パーソナルコンピュータなどの汎用のコンピュータにより実行させてもよい。
図1において、1は処理対象となるディジタルデータD(i=1,2,...,n+1)、2は該ディジタルデータDの隣接するサンプル間の差分値δ(=Di+1−D)(i=1,2,...,n)を計算する差分計算部、3は該差分値δを統計的手法で処理して、各差分値データδの偏差Hを算出する偏差計算部、4は該偏差Hに基づき、前記ディジタルデータD中に混入しているインパルス性ノイズを除去して、ディジタルデータD’(5)を出力するフィルタ処理部である。
【0008】
図2のフローチャートにおいて、はじめに、処理対象であるディジタルデータD(i=1,2,...,n+1)が記憶装置中に記憶されているものとする(ステップS1)。このディジタルデータDは、例えば、計測器からのアナログ出力をA/D変換したディジタルデータあるいは計測器から直接出力されたディジタルデータである。
次に、ステップS2において、前記ディジタルデータの差分値δ(δ=Di+ −D、i=1,2,...,n+1)を求める。そして、ステップS3に進み、前記ステップS2で求めた差分値データδの平均値δbarおよび標準偏差Sを算出し、各差分値の偏差Hを求める。
【数1】

Figure 2004020427
【0009】
上式に示すように、本発明においては、各差分値δにつき、平均値δbarとの差を標準偏差Sで除算した偏差Hを求めている。そして、ステップS4のフィルタ処理において、この偏差Hに基づいてディジタルデータD中のインパルス性ノイズの個所を判定し(ステップS4−1)、該ノイズ個所であると判定されたサンプルを補間値に置き換えて(ステップS4−2)、ノイズの除去されたディジタルデータD’を出力する。なお、このフィルタ処理の詳細については後述する。
ここで、本発明においてインパルス性ノイズ個所であるか否かの判定に用いている偏差Hは、各差分値δにつき平均値δbarとの差を標準偏差Sで除算した値であるため、差分値δが例えば正規分布をしているときには、偏差H=1の差分値δは差分値データ全体のなかの上位31.74%の位置、H=2の差分値は上位4.56%、H=3の差分値は上位0.26%の位置にあることがわかる。インパルスノイズ個所は、偏差Hの絶対値が大きな値となるため、この偏差の値を基準としてフィルタの設定、すなわち、ノイズ個所であるか否かの判定を行うようにしている。
また、この偏差Hの値は、元のディジタル信号Dのレベルがk倍されても変化しない。したがって、偏差Hを用いることにより、種々のレベルのディジタルデータに対して、同一の基準でフィルタの設定を行うことができる。
【0010】
そして、以上のノイズ除去処理を反復実行する場合には、ノイズが除去されたディジタルデータD’を処理対象のデータとして、前記ステップS2に戻り、その差分値データδ’を算出し、以下、上述と同様の処理を繰り返す。このように、ノイズが除去されたディジタルデータD’を処理対象として上述した処理を繰り返すことにより、第1回目の処理の場合とは、差分値データの平均値や標準偏差の値が変化するため、前回の処理では検出できなかったノイズ個所を新たに検出することが可能となり、より、高精度の処理結果を得ることが可能となる。
なお、反復処理回数は0回以上の任意の回数とすることができ、例えば、新たなノイズ個所が検出されなくなったときに、繰り返し処理を打ち切るようにしてもよい。
【0011】
図3は、前記入力ディジタルデータD、差分値データδおよびノイズが除去された出力ディジタルデータD’の一例を示す図である。
図3の(a)に示すように、ディジタルデータDにはインパルス性ノイズが混入している。前記差分計算部2により、図3の(b)に示す差分値データδが得られる。この図に示すように、差分値データδは、ディジタルデータDに含まれているインパルス性ノイズに対し、正方向と負方向に大きな値を有する。例えば、正方向のインパルス性ノイズがあるときには、差分値データδは、まず、正方向に大きな値となり、次に、そのインパルス性ノイズの持続時間後に負方向の大きな値となる。一方、負方向のインパルス性ノイズがあるときには、差分値データは、まず負方向に大きな値となり、ノイズの持続時間後に正方向に大きな値となる。
図3の(c)は、前記フィルタ処理によってノイズが除去されたディジタルデータD’の一例を示す図である。
【0012】
前記フィルタ処理(S4)について、図4のフローチャートを参照して詳細に説明する。
まず、偏差Hのサンプルを指定する変数(サンプル番号)iを初期値1にセットし(ステップS11)、該偏差Hが予め設定されている閾値Hdよりも大きな値であるか否かを判定する(S12)。H>Hdであるときは、ステップS15に進み、大きさが−Hdよりも小さい偏差サンプルが、予め設定されているサンプル数Hn以内に存在しているか否かを判定し、サンプルHi+L(1≦L≦Hn)がそのサンプルであるときには、前記サンプルiの次のサンプルからサンプル(i+L)に対応するディジタルデータDi+1〜Di+Lはインパルス性ノイズの個所であると判定し、ステップS17に進んで、データ補間処理を行う。
一方、前記ステップS12の判定結果がNOのときは、ステップS13に進み、偏差Hが−Hdよりも小さいか否かを判定する。その判定結果がYESのときは、ステップS16に進み、今度は、そのサンプルからHnサンプル以内に偏差がHdよりも大きいサンプルがあるか否かを判定する。その結果がYESのときは、ステップS17に進み、前記ステップS13の結果がYESのときと同様に補間処理を行う。
【0013】
前記ステップS13の判定結果がNOのとき(すなわち、−Hd≦H≦Hdのとき)、および前記ステップS15あるいはS16の判定結果がNOのときは、ステップS14に進み、サンプル番号iを(i+1)にする。また、前記ステップS17の補間処理が終了した後は、サンプル番号iを(i+L+1)とする。そして、前記ステップS14あるいはS18の後に、最後のサンプル(i=n)まで処理が終了したか否かを判定し、終了していないときは、前記ステップS12に戻り、次のサンプルについて、上述した処理を繰り返す。
【0014】
前記ステップS17のデータ補間処理では、前記ノイズ個所であると判定されたディジタルデータのデータサンプル(Di+1〜Di+L)の前後に位置するサンプルを用いて線形補間あるいは曲線補間を行い、ノイズ個所であるとされたサンプルを補間値で置き換える。例えば、線形補間を行なうものとすると、データサンプルDとDi+L+1とを結ぶ直線上に位置するようにサンプリングタイミング(i+1)〜(i+L)のサンプル値Di+1〜Di+Lを決定する。
【0015】
このように本発明においては、フィルタ定数をHd,Hn(Hd,Hn>0)とし、偏差Hが+Hdを超えるデータがあり、そのデータのHn点後以内に偏差Hが−Hdを下回るものが有った場合、もしくは、偏差Hが−Hdを下回るデータがあり、そのデータのHn点後以内に偏差Hが+Hdを超えるものがあった場合に、それに対応する区間のディジタルデータをノイズ個所と判断し、その区間の前後のディジタルデータを用いて直線補間、もしくは曲線補間を行うようにしている。
なお、このフィルタ定数Hd,Hnを適宜調整することにより、ノイズ除去フィルタの特性を変化させることができる。
【0016】
このような本発明のノイズ除去フィルタによれば、原信号を劣化させることなくインパルス性ノイズを除去することができる。
図5はこの様子を示す図であり、(a)は入力ディジタルデータ、(b)は従来のローパスフィルタを用いた場合の出力データ、(c)は本発明のノイズ除去フィルタによる出力データの一例を示している。この図に示すように、(c)に示す本発明によりノイズが除去されたディジタルデータは、原信号を劣化させることなくインパルス性ノイズが除去されていることが分かる。
【0017】
【発明の効果】
以上説明したように、本発明のノイズ除去方法及びノイズ除去フィルタによれば、原波形データを劣化させることなくインパルス性ノイズを除去することができる。
また、ディジタル信号の隣接するサンプル間の差分値に対して統計的な処理を行ったデータ、すなわち、各差分値とその平均値との差を差分値の標準偏差で除算した偏差のデータを閾値と比較することにより、ノイズ個所の判定を行うようにしているため、処理対象となるディジタルデータのレベルや大きさに応じて判定基準を変更する必要がなく、同一の基準でフィルタ処理を行うことが可能となる。
さらに、処理を複数回繰り返すことにより、前回の処理では検出できなかったノイズ成分を検出することが可能となり、より高精度な処理を行うことができる。
【図面の簡単な説明】
【図1】本発明のノイズ除去方法が実行されるノイズ除去フィルタの機能構成を示すブロック図である。
【図2】本発明のノイズ除去方法の処理の流れを示すフローチャートである。
【図3】本発明のノイズ除去方法における各信号の例を示す図であり、(a)はインパルス性ノイズを含む入力ディジタルデータ、(b)は差分値データ、(c)はインパルス性ノイズが除去された出力データを示す図である。
【図4】本発明のノイズ除去方法におけるフィルタ処理の流れを示すフローチャートである。
【図5】本発明のノイズ除去方法による効果を説明するための図であり、(a)はインパルス性ノイズを含む入力データの一例、(b)は従来用いられていたローパスフィルタなどによるノイズ除去処理結果の一例、(c)は本発明のノイズ除去方法による処理結果の一例を示す図である。
【符号の説明】
1 入力ディジタルデータ
2 差分計算部
3 偏差計算部
4 フィルタ処理部
5 出力ディジタルデータ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a noise removal method and a noise removal filter for removing impulse noise mixed therein from a digital signal.
[0002]
[Prior art]
Digital data obtained by A / D conversion of an analog output from a measuring instrument in a storage device or digital data stored in the storage device as digital data by the measuring device include disturbances such as vibration and electric noise during measurement. Impulse-like noise caused by the above.
When such data is processed by a computer, it is desirable to perform processing by removing noise components. Therefore, it is necessary to avoid deterioration of the original signal. Conventionally, a low-pass filter or a moving average filter using a digital filter has been used to remove such noise components. However, these methods cannot avoid the influence on the original signal.
[0003]
Therefore, a noise elimination method capable of avoiding such problems and removing impulse noise with high accuracy has been proposed (Japanese Patent No. 262951).
In this noise removal method, in removing noise superimposed on a measured signal waveform, the measured signal waveform is first-order differentiated, and when the absolute value of the first-order derivative value is equal to or larger than a set threshold, it is determined that there is noise. In addition to the determination, the noise occurrence position is specified by the position of the sign change point at which the sign of the primary differential value changes, and the average value of each measurement signal before and after the noise occurrence position is calculated as an interpolation value. The noise is removed by replacing a value with the noise signal.
[0004]
[Problems to be solved by the invention]
According to the above proposed noise removal method, noise can be removed with high accuracy without performing complicated arithmetic processing. However, when this noise removal method is applied to various measurement signals, the measurement target Since the level of the measurement signal varies depending on the scale and the scale, it is necessary to individually set a threshold value according to the level.
Therefore, an object of the present invention is to provide a noise elimination method and a noise elimination filter that can be applied with the same reference even when the level of a target digital signal changes variously.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, a noise removing method according to the present invention is a method for removing impulse noise mixed in a digital signal, wherein a first difference value between adjacent samples of the digital signal is calculated. A second step of obtaining an average value and a standard deviation of the difference values, and calculating a deviation obtained by dividing a difference between the average value and the standard deviation for each of the difference values; and setting the calculated deviation as a predetermined value. Compared with the threshold value, when the absolute value of the deviation exceeds the threshold value occurs continuously at intervals within a predetermined number of samples, it is determined that the corresponding sample of the digital signal is impulsive noise. A third step of determining, and placing the sample of the digital signal determined to be the impulsive noise on an interpolated value obtained from samples located before and after the digital signal. It is intended to include a fourth step of obtaining.
Further, the first to fourth steps are repeated a plurality of times.
[0006]
Further, the noise elimination filter of the present invention is a noise elimination filter for eliminating impulse noise mixed in the digital signal, wherein the means for calculating a difference value between adjacent samples of the digital signal, Means for calculating an average value and a standard deviation, calculating a deviation obtained by dividing the difference from the average value by the standard deviation for each difference value, comparing the calculated deviation with a preset threshold value, Means for determining that a corresponding sample of the digital signal is impulsive noise when absolute values exceeding the threshold value are continuously generated at intervals within a predetermined number of samples; and Means for replacing a sample of the digital signal determined to be present with an interpolated value obtained from samples located before and after the digital signal.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of a noise elimination method according to the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of a noise elimination device (noise elimination filter) for executing the noise elimination method of the present invention, and FIG. 2 is a flowchart showing a flow of processing of the noise elimination method of the present invention. The noise removal method of the present invention may be executed by a dedicated microcomputer or DSP, or may be executed by a general-purpose computer such as a personal computer.
In Figure 1, 1 is digital data D i to be processed (i = 1,2, ..., n + 1), 2 is the difference value between adjacent samples of the digital data D i δ i (= D i + 1 - D i) (i = 1,2, ..., a difference calculation unit for calculating a n), 3 is treated with a statistical method to said difference value [delta] i, the deviation H i of each difference value data [delta] i deviation calculation unit that calculates, 4 based on the deviation H i, said digital data by D i remove impulsive noise mixed in, is a filter processing unit that outputs the digital data D 'i (5) .
[0008]
In the flowchart of FIG. 2, first, it is assumed that digital data D i (i = 1, 2,..., N + 1) to be processed is stored in a storage device (step S1). The digital data Di is, for example, digital data obtained by A / D conversion of an analog output from a measuring instrument or digital data directly output from the measuring instrument.
Next, in step S2, the difference value δ i (δ i = D i + 1 -D i, i = 1,2, ..., n + 1) of the digital data obtained. Then, the process proceeds to step S3, and calculates an average value δbar and standard deviation S of the difference data [delta] i determined in Step S2, a deviation H i of each difference value.
(Equation 1)
Figure 2004020427
[0009]
As shown in the above equation, in the present invention, per each difference value [delta] i, and a deviation H i obtained by dividing the difference between the average value δbar the standard deviation S. Then, the filtering process of step S4, the deviation on the basis of the H i determined point of the impulsive noise in the digital data D i (step S4-1), the determined sample interpolation value as the said noise point (Step S4-2), and the digital data D' i from which noise has been removed is output. The details of the filtering process will be described later.
Here, the deviation H i are used to determine whether an impulse noise point in the present invention is a value obtained by dividing the standard deviation S of the difference between the average value δbar for each difference value [delta] i, when the difference value [delta] i, for example, that the normal distribution, the higher 31.74% position among the difference values [delta] i of the deviations H i = 1 total difference value data, the differential value of H i = 2 the upper 4 .56%, the difference value of H i = 3 it can be seen that at the position of 0.26% higher. Impulse noise points, since the absolute value of the deviation H i is a large value, setting the filter value of the deviation as a reference, that is, to perform the determination of whether the noise point.
The value of the deviation H i, the level of the original digital signal D i does not change be k times. Therefore, by using the deviation H i, the digital data of various levels, it is possible to set the filter on the same criteria.
[0010]
When the above-described noise removal processing is repeatedly performed, the process returns to step S2 using the digital data D ′ i from which noise has been removed as processing target data, and calculates the difference value data δ ′ i. , The same processing as described above is repeated. As described above, by repeating the above-described processing with the digital data D ′ i from which noise has been removed as a processing target, the average value and the standard deviation value of the difference value data change from the case of the first processing. Therefore, it is possible to newly detect a noise portion that could not be detected in the previous process, and it is possible to obtain a more accurate processing result.
The number of repetition processes can be set to an arbitrary number of zero or more. For example, the repetition process may be terminated when a new noise portion is no longer detected.
[0011]
FIG. 3 is a diagram showing an example of the input digital data D i , the difference value data δ i, and the output digital data D ′ i from which noise has been removed.
As shown in FIG. 3A, the digital data Di contains impulsive noise. By the difference calculation section 2, the differential value data [delta] i shown in FIG. 3 (b) is obtained. As shown in this figure, the difference value data δ i has a large value in the positive and negative directions with respect to the impulse noise included in the digital data D i . For example, when there is a positive direction of the impulsive noise, the differential value data [delta] i, first, a large value in a positive direction, then a large value in the negative direction of after the duration of the impulsive noise. On the other hand, when there is an impulse noise in the negative direction, the difference value data first has a large value in the negative direction, and has a large value in the positive direction after the duration of the noise.
FIG. 3C shows an example of digital data D′ i from which noise has been removed by the filtering process.
[0012]
The filter processing (S4) will be described in detail with reference to the flowchart of FIG.
First, a variable (sample number) i for specifying a sample of deviations H i is set to an initial value 1 (step S11), and whether the value greater than the threshold value Hd of deviation H i is set in advance A determination is made (S12). If H i > Hd, the process proceeds to step S15, and it is determined whether a deviation sample whose size is smaller than −Hd exists within a preset number Hn of samples, and the sample H i + L ( When (1 ≦ L ≦ Hn) is the sample, it is determined that the digital data D i + 1 to Di + L corresponding to the sample (i + L) from the next sample after the sample i are impulsive noise locations, and the process proceeds to step S17. Then, data interpolation processing is performed.
On the other hand, when the judgment result of the step S12 is NO, the process proceeds to step S13, the deviation H i is equal to or smaller than or -Hd. If the determination result is YES, the process proceeds to step S16, and it is determined whether or not there is a sample whose deviation is larger than Hd within Hn samples from the sample. When the result is YES, the process proceeds to step S17, and the interpolation processing is performed in the same manner as when the result of step S13 is YES.
[0013]
If the judgment result of the step S13 is NO (i.e., -Hd ≦ H when i ≦ Hd) when, and judgment result of the step S15 or S16 is NO, the process proceeds to step S14, the sample number i (i + 1 ). After the completion of the interpolation processing in step S17, the sample number i is set to (i + L + 1). Then, after the step S14 or S18, it is determined whether or not the processing has been completed up to the last sample (i = n). If not, the process returns to the step S12 and the next sample is described above. Repeat the process.
[0014]
In the data interpolation process in step S17, linear interpolation or curve interpolation is performed using samples located before and after the data sample (D i + 1 to D i + L ) of the digital data determined to be the noise location, and the noise location is determined. Replace the identified sample with the interpolated value. For example, to determine when and to perform linear interpolation, sample values D i + 1 ~D i + L data samples D i and D i + L + 1 and so as to be located on the straight line connecting the sampling timing (i + 1) ~ (i + L).
[0015]
Thus, in the present invention, the filter constant Hd, Hn (Hd, Hn> 0) and there is data that deviations H i exceeds + Hd, deviations H i is below -Hd within after Hn point of the data If things there, or, there is data that deviations H i is below -Hd, if the less after Hn point data to the deviation H i there is in excess of + Hd, digital data of the section corresponding thereto Is determined to be a noise location, and linear or curve interpolation is performed using digital data before and after the section.
The characteristics of the noise removal filter can be changed by appropriately adjusting the filter constants Hd and Hn.
[0016]
According to such a noise removing filter of the present invention, impulse noise can be removed without deteriorating the original signal.
FIGS. 5A and 5B are diagrams showing this state. FIG. 5A shows an example of input digital data, FIG. 5B shows an example of output data when a conventional low-pass filter is used, and FIG. Is shown. As shown in this figure, it can be seen that the digital data from which noise has been removed by the present invention shown in (c) has impulse noise removed without deteriorating the original signal.
[0017]
【The invention's effect】
As described above, according to the noise removing method and the noise removing filter of the present invention, it is possible to remove impulse noise without deteriorating the original waveform data.
Further, data obtained by statistically processing the difference values between adjacent samples of the digital signal, that is, data of a deviation obtained by dividing the difference between each difference value and its average value by the standard deviation of the difference value is used as a threshold value. By comparing with, it is not necessary to change the criterion according to the level and size of the digital data to be processed, and the filtering process should be performed with the same criterion. Becomes possible.
Further, by repeating the process a plurality of times, it is possible to detect a noise component that could not be detected in the previous process, and it is possible to perform a more accurate process.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a functional configuration of a noise elimination filter in which a noise elimination method of the present invention is executed.
FIG. 2 is a flowchart showing a processing flow of a noise removal method of the present invention.
3A and 3B are diagrams showing examples of signals in the noise removal method of the present invention, wherein FIG. 3A shows input digital data including impulse noise, FIG. 3B shows difference value data, and FIG. It is a figure showing the output data which was removed.
FIG. 4 is a flowchart showing a flow of a filtering process in the noise removal method of the present invention.
5A and 5B are diagrams for explaining the effect of the noise elimination method of the present invention, wherein FIG. 5A is an example of input data including impulsive noise, and FIG. 5B is a diagram illustrating noise elimination by a conventionally used low-pass filter or the like; FIG. 3C is a diagram illustrating an example of a processing result according to the noise removal method of the present invention.
[Explanation of symbols]
1 input digital data 2 difference calculator 3 deviation calculator 4 filter processor 5 output digital data

Claims (3)

ディジタル信号に混入しているインパルス性ノイズを除去する方法であって、
前記ディジタル信号の隣接するサンプル間の差分値を算出する第1のステップと、
前記差分値の平均値と標準偏差を求め、各差分値について前記平均値との差を前記標準偏差で除算した偏差を算出する第2のステップと、
前記算出した偏差と予め設定された閾値とを比較し、前記偏差の絶対値が前記閾値を超えるものが所定のサンプル数以内の間隔で連続して発生したときに、前記ディジタル信号の対応するサンプルをインパルス性ノイズであると判定する第3のステップと、
該インパルス性ノイズであると判定された前記ディジタル信号のサンプルをその前後に位置するサンプルから求めた補間値に置き換える第4のステップと
を含むことを特徴とするノイズ除去方法。
A method for removing impulse noise mixed in a digital signal,
A first step of calculating a difference value between adjacent samples of the digital signal;
A second step of calculating an average value and a standard deviation of the difference values, and calculating a deviation obtained by dividing a difference between the average value and the standard value for each difference value;
Comparing the calculated deviation with a preset threshold value, and when the absolute value of the deviation exceeds the threshold value continuously occurs at intervals within a predetermined number of samples, the corresponding sample of the digital signal A third step of determining that is an impulsive noise;
Replacing the sample of the digital signal determined to be the impulse noise with an interpolated value obtained from the samples located before and after the digital signal.
前記第1のステップから前記第4のステップを複数回繰り返すことを特徴とする請求項1に記載のノイズ除去方法。The method according to claim 1, wherein the first to fourth steps are repeated a plurality of times. ディジタル信号に混入しているインパルス性ノイズを除去するノイズ除去フィルタであって、
前記ディジタル信号の隣接するサンプル間の差分値を算出する手段、
前記差分値の平均値及び標準偏差を算出し、各差分値について前記平均値との差を前記標準偏差で除算した偏差を算出する手段、
前記算出した偏差と予め設定された閾値とを比較し、前記偏差の絶対値が前記閾値を超えるものが所定のサンプル数以内の間隔で連続して発生したときに、前記ディジタル信号の対応するサンプルをインパルス性ノイズであると判定する手段、及び、
該インパルス性ノイズであると判定された前記ディジタル信号のサンプルをその前後に位置するサンプルから求めた補間値に置換する手段
を有することを特徴とするノイズ除去フィルタ。
A noise removal filter for removing impulse noise mixed in a digital signal,
Means for calculating a difference value between adjacent samples of the digital signal,
Means for calculating an average value and a standard deviation of the difference values, and calculating a deviation obtained by dividing a difference from the average value by the standard deviation for each difference value;
Comparing the calculated deviation with a preset threshold value, and when the absolute value of the deviation exceeds the threshold value continuously occurs at intervals within a predetermined number of samples, the corresponding sample of the digital signal Means to determine that is impulsive noise, and
A noise removing filter, comprising: means for replacing a sample of the digital signal determined to be the impulse noise with an interpolation value obtained from samples located before and after the digital signal.
JP2002177085A 2002-06-18 2002-06-18 Noise removal method and noise removal filter Expired - Fee Related JP4076797B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002177085A JP4076797B2 (en) 2002-06-18 2002-06-18 Noise removal method and noise removal filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002177085A JP4076797B2 (en) 2002-06-18 2002-06-18 Noise removal method and noise removal filter

Publications (2)

Publication Number Publication Date
JP2004020427A true JP2004020427A (en) 2004-01-22
JP4076797B2 JP4076797B2 (en) 2008-04-16

Family

ID=31175203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002177085A Expired - Fee Related JP4076797B2 (en) 2002-06-18 2002-06-18 Noise removal method and noise removal filter

Country Status (1)

Country Link
JP (1) JP4076797B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005043085A1 (en) * 2003-10-31 2005-05-12 Hitachi Chemical Co., Ltd. Spike noise elimination method using averaging repetition method and computer program
JP2006136480A (en) * 2004-11-11 2006-06-01 Ge Medical Systems Global Technology Co Llc Apparatus, method and program for digital filter processing
KR100732960B1 (en) 2006-03-14 2007-06-27 삼성에스디에스 주식회사 Method for noise reduction from signal and apparatus thereof
JP2013539886A (en) * 2010-10-11 2013-10-28 ゼネラル・エレクトリック・カンパニイ System, method and apparatus for detecting and eliminating sensor signal impulse disturbances
US8892430B2 (en) 2008-07-31 2014-11-18 Fujitsu Limited Noise detecting device and noise detecting method
US9151786B2 (en) 2010-10-11 2015-10-06 General Electric Company Systems, methods, and apparatus for detecting shifts in redundant sensor signals

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005043085A1 (en) * 2003-10-31 2005-05-12 Hitachi Chemical Co., Ltd. Spike noise elimination method using averaging repetition method and computer program
JPWO2005043085A1 (en) * 2003-10-31 2007-05-10 日立化成工業株式会社 Spike noise removal method using averaging iteration method and computer program
JP4566913B2 (en) * 2003-10-31 2010-10-20 日立化成工業株式会社 Spike noise removal method using averaging iteration method and computer program
JP2006136480A (en) * 2004-11-11 2006-06-01 Ge Medical Systems Global Technology Co Llc Apparatus, method and program for digital filter processing
JP4700951B2 (en) * 2004-11-11 2011-06-15 ジーイー・メディカル・システムズ・グローバル・テクノロジー・カンパニー・エルエルシー Digital filter processing apparatus, digital filter processing method, digital filter processing program, and MRI system
KR100732960B1 (en) 2006-03-14 2007-06-27 삼성에스디에스 주식회사 Method for noise reduction from signal and apparatus thereof
US8892430B2 (en) 2008-07-31 2014-11-18 Fujitsu Limited Noise detecting device and noise detecting method
JP2013539886A (en) * 2010-10-11 2013-10-28 ゼネラル・エレクトリック・カンパニイ System, method and apparatus for detecting and eliminating sensor signal impulse disturbances
US9151786B2 (en) 2010-10-11 2015-10-06 General Electric Company Systems, methods, and apparatus for detecting shifts in redundant sensor signals

Also Published As

Publication number Publication date
JP4076797B2 (en) 2008-04-16

Similar Documents

Publication Publication Date Title
CN108089938B (en) Abnormal data processing method and device
CN104880172B (en) Measuring flatness of road surface method and device based on Kalman filtering
CN103119848B (en) Data processing method and device
JP2865842B2 (en) Digital signal weighting processor
JP5509153B2 (en) Gait analysis method, gait analysis device and program thereof
WO2003016926A1 (en) Method and apparatus nbh reducing skew in a real-time centroid calculation
JP2004020427A (en) Method of removing noise, and filter for removing noise
JP5777102B2 (en) Frequency analyzer
US8559656B2 (en) System and method for automatic microphone volume setting
CN113225047A (en) TVLP-MF-based dynamic checkweigher rapid filtering method and system
DE50310632D1 (en) Objectification of (surface) test methods by image processing
JP5094937B2 (en) Frequency analyzer
JP2629511B2 (en) How to remove noise from signals
JP4572536B2 (en) Sampling type measuring device
JP4074556B2 (en) Method for improving response speed of analysis system and exhaust gas measurement system
JP2018025536A (en) Electrophoresis measurement method, data processing device and data processing program
JP3498706B2 (en) Nucleic acid base sequence determination method
CN115015627B (en) High-precision current measuring method and system, electronic equipment and storage medium
CN109711036B (en) Evaluation method of flight control system test result
CN107147373B (en) Composite filtering method and device
JPH08329046A (en) Signal analyzing device using wavelet conversion
JP2018063637A (en) Parameter identification device
JP6373765B2 (en) Filter device and filtering method
JP2010056688A (en) Method and program for processing synchronous operation of digital signal
CN115834440A (en) Method and system for generating flow baseline and computer storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080130

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4076797

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees