JPS6269120A - Signal processing system - Google Patents

Signal processing system

Info

Publication number
JPS6269120A
JPS6269120A JP60207790A JP20779085A JPS6269120A JP S6269120 A JPS6269120 A JP S6269120A JP 60207790 A JP60207790 A JP 60207790A JP 20779085 A JP20779085 A JP 20779085A JP S6269120 A JPS6269120 A JP S6269120A
Authority
JP
Japan
Prior art keywords
sampling
average value
value
signal
value data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60207790A
Other languages
Japanese (ja)
Inventor
Shinichi Akano
赤野 信一
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP60207790A priority Critical patent/JPS6269120A/en
Publication of JPS6269120A publication Critical patent/JPS6269120A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate exactly a noise, etc., and to correct a sampling value by sampling a signal continuously and successively by a prescribed time interval, and deriving successively an average value data based on this sampling value. CONSTITUTION:Sampling of an input signal Si is executed in an A/D converter by a supply of a time pulse, etc., a sampling value which has been obtained thereby is stored successively in a RAM, and an average value data is derived by using the sampling value of the number corresponding to a desired response speed. Said each average value data is set as the first - the third sampling values, whether an average value of the first and the third sampling values coincides roughly with the second sampling value or not is discriminated, also whether the first and the third sampling values coincide roughly with the second sampling value or not id discriminated as to each piece, and when all of said each discrimination does not coincide, the second sampling value is replaced with the average value. In this case, an instruction in a ROM is executed by a CPU, and a signal processing and a converting operation are executed by bringing a prescribed data to access to the RAM.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、6禎の信号中へ混入したパルス性雑音等の突
発的な影#を除去する信号処理方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a signal processing method for removing sudden shadows such as pulse noise mixed into a signal of 600 m.

〔従来の技術〕[Conventional technology]

例えば、電磁流敏計、差圧発信器等の検出出力は、一般
に電源系または周囲の電力機器等からの雑音成分を含ん
でおり、これを除去するためには、検出出力をサンプリ
ングしてサンプリング値の移動平均値を逐次求め、また
は、1次遅れ処理によシ検出出力の急激な変化全円滑化
する手段が一般的に用いられている。
For example, the detection output of electromagnetic current meters, differential pressure transmitters, etc. generally contains noise components from the power supply system or surrounding power equipment, etc., and in order to remove this, it is necessary to sample the detection output. Generally, means are used to sequentially obtain a moving average value of the values or to smooth out sudden changes in the detection output by first-order delay processing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、従来の手段においては、いずれの場合も積分作
用を呈し、円滑化処理後の値が検出出力の変化に即応で
きず、検出出力の変化に対し計測出力の変化が遅延する
欠点を生じている。
However, in any case, the conventional means exhibits an integral action, and the value after the smoothing process cannot immediately respond to changes in the detection output, resulting in the disadvantage that changes in the measurement output are delayed in response to changes in the detection output. There is.

〔問題点全解決するための手段〕[Means to solve all problems]

前述の問題を解決するため1本発明はりぎの手段により
m成するものとなっている。
In order to solve the above-mentioned problems, the present invention is accomplished by several means.

すなわち、信号を一定の時間間隔によp連続かつ順次に
サンプリングし、所望の応答速度と対応する数のサンプ
リング値に基づく平均値データを逐次求め、これらの各
平均値データを第1乃至第3のサンプリング値とし、第
1および第3のサンプリング値の平均値と第2のサンプ
リング値とがほぼ一致するか否かを判断し、かつ、第1
および第3のサンプリング値と第2のサンプリング値と
がほぼ一致するか否かを各個に判断し、これら各判断の
いずれもが不一致のときに第2のサンプリング値を平均
値により置換するものとしている。
That is, the signal is continuously and sequentially sampled at regular time intervals, average value data based on the number of sampling values corresponding to the desired response speed is sequentially obtained, and each of these average value data is , and determine whether the average value of the first and third sampling values almost matches the second sampling value, and
Then, it is assumed that each individual determines whether or not the third sampling value and the second sampling value almost match, and if any of these judgments does not match, the second sampling value is replaced by the average value. There is.

〔作用〕[Effect]

したがって、平均値データを求める際、所望の応答速度
と対応する数のサンプリング値が用いられ、過剰な応答
速度の低下を生じないと共に、これによっても残留した
突発的な変化は、第1乃至第3のサンプリング値として
処理される際に、第2のサンプリング値が突発的な変化
を呈すれば。
Therefore, when calculating the average value data, a number of sampling values corresponding to the desired response speed are used, so that an excessive decrease in response speed does not occur, and any sudden changes that remain due to this are If the second sampled value exhibits an abrupt change when processed as the third sampled value.

これが無視されて第1および第3のサンプリング値の平
均値が代りに用いられるため、完全に除去される。
This is ignored and the average value of the first and third sampled values is used instead, so that it is completely removed.

し実施例J 以下、実施例金示す図によって本発明の詳細な説明する
EXAMPLE J Hereinafter, the present invention will be explained in detail with reference to the drawings shown in Example J.

第2図は、6徨計測器の変換部を例に取って示すブロッ
ク図であり、マイクロプロセッサ等のプロセッサCPU
1中心とし、固定メモリROM 、町変メモリRAM 
、インターフェイスI/F+ 、I/F2を周辺に配し
、これらを母線により接続してお9.固定メモリROM
中の命令をプロセッサCPUが実行し、所定のデータを
町変メモリRAMへアクセスしながら信号処理および変
換動作を行なうものとなっている。
FIG. 2 is a block diagram illustrating the conversion section of a six-dimensional measuring instrument as an example, and includes a processor such as a microprocessor, CPU
1 center, fixed memory ROM, town change memory RAM
, interface I/F+, and I/F2 are arranged around the periphery, and these are connected by a bus bar.9. Fixed memory ROM
The processor CPU executes the instructions therein, and performs signal processing and conversion operations while accessing predetermined data to the memory RAM.

また、インターフェイスI/FIKは、アナログ・ディ
ジタル変換器(以下、ADC)L/′Dが接続され、電
磁流量計の検出部、または、差圧発信器の検出部等から
の入力信号Siは、ADC−A/Dにおいて順次かつ連
続的に一定の時間間隔にょ9サンプリングされたうえ、
サンプリンゲイ直がディジタル信号へ変換されてから送
出されるものとなっており、これに応じてプロセッサ(
J)Uが雑音除去のg号処理および変換演算を行ない、
この結末をインターフェイスI/Fz ’c介してディ
ジタル−アナログ変換器(以−ド、DAC)D/’A 
へ送出するため。
In addition, an analog-to-digital converter (hereinafter referred to as ADC) L/'D is connected to the interface I/FIK, and the input signal Si from the detection section of the electromagnetic flowmeter or the detection section of the differential pressure transmitter, etc. In addition to being sampled sequentially and continuously at regular time intervals in the ADC-A/D,
The sampling gain signal is converted to a digital signal and then sent out, and the processor (
J) U performs noise removal g processing and conversion operation,
This result is connected to a digital-to-analog converter (DAC) D/'A via an interface I/Fz'c.
To send to.

DAC−D/A  によりアナログ信号へ変換された計
測出力にしたがい、送信回路SSが例えば4〜20mA
の範囲において変化する出力(S号S。fc送出するも
のとなっている。
According to the measurement output converted to an analog signal by the DAC-D/A, the transmitter circuit SS outputs, for example, 4 to 20 mA.
The output (S.fc) changes within the range of .

第1図は、プロセッサCPUによる処理状況の総合的な
フローチャートであり、タイミングパルスの供給等によ
りADC−A/Dにおいて入力信号Siの“サンプリン
グ001を行ない、これによって得たサンプリング値り
を順次に町変メモリRAMへ格納し、所望の応答速度と
対応する数nのサンプリング値D+”Dn  k用い、
“平均値データ演算”002を次式により行ない、平均
値データDaを求める。
FIG. 1 is a general flowchart of the processing situation by the processor CPU, in which "sampling 001" of the input signal Si is performed in the ADC-A/D by supplying timing pulses, etc., and the sampling values obtained by this are sequentially Store it in the town memory RAM and use the sampling value D+”Dn k of the number n corresponding to the desired response speed,
"Average value data calculation" 002 is performed using the following equation to obtain average value data Da.

ついで、この平均値データDよを用い、後述の“平均値
置換処理“Qllに行なってから、ステップ001以降
を一定時間間隔により反復する。
Next, using this average value data D, a later-described "average value replacement process" Qll is performed, and then steps 001 and subsequent steps are repeated at regular time intervals.

第3図および第4図は、平均値置換処理の原理金子す図
であり、平均1直データDaを求める際に、サンプリン
グの時間間[^が十分短くピークを3まないものとすれ
ば、予想される平均値データD。
Figures 3 and 4 are Kaneko diagrams of the principle of average value replacement processing, and when obtaining the average one-shift data Da, if the sampling time [^ is sufficiently short and there are no peaks, then Expected average value data D.

の推移は第3図に示すものとなる。The transition of is shown in Figure 3.

すなわち、時間間隔Tにより順次に時点t1〜t3にシ
いて平均値演算を行ない、これによって得た平均値デー
タ全この処理におけるサンプリング値d、−d3とすれ
ば、囚の無変化、(B)の直線状増加、(C)の直線状
減少、(ロ)の増加および無変化。
That is, if the average value calculation is performed sequentially at time points t1 to t3 according to the time interval T, and all the average value data obtained by this are the sampling values d and -d3 in this process, there is no change in the prisoner, (B) A linear increase in (C), a linear decrease in (B), and an increase in (B) and no change.

(匂の減少および無変化、 (F’)の無変化および増
加。
(Decrease and no change in odor, no change and increase in (F').

(G)の無変化および減少1等の各パターンに分XAさ
れ、サンプリングIIαd、ふ・よびd3に注目すれば
、両者の値が互に等しく、または、いずれか一方が他方
より多いの2粂件に要約される。
(G) is divided into no change and decrease 1 etc. patterns, and if we pay attention to sampling IIαd, f・y and d3, we can see that both values are equal to each other, or that one of them is larger than the other. It is summarized in the following.

このため、サンプリング値d、が雑音等により突発的に
増減する場合金力えれば第4図のとおりとなり、第1J
?よび第3のサンプリング値d1 。
Therefore, if the sampling value d suddenly increases or decreases due to noise, etc., it will be as shown in Figure 4, and the 1J
? and the third sampling value d1.

d3の平均値d、金求めると、これが第3図(4)。The average value d of d3 is found in Figure 3 (4).

(B) 、 (C)に示す第2のサンプリング値d2に
等しく。
(B) is equal to the second sampling value d2 shown in (C).

または、はぼ等価なものとなる。Or it will be equivalent.

また、第3図(6)〜(G)においては、dlとdt 
’またはdaとが等しくなっており、daとdl とが
不一致であっても、dlまたはdaとdlとがほぼ一致
すれば、この場合は雑音を含まないものと判断すること
ができる。
In addition, in FIG. 3 (6) to (G), dl and dt
' or da are equal, and even if da and dl do not match, if dl or da and dl almost match, then it can be determined that no noise is included.

したがって、aaとdl、d、およびdaとdlとの各
々とがほぼ一致するか否かを各個に判断し、いずれもが
不一致のときは、第4図のdlを含む場合であり、dl
をtiaへ置換して出力信号S。
Therefore, it is determined individually whether aa, dl, d, and da and dl almost match each other, and if they do not match, it means that dl in FIG. 4 is included, and dl
is replaced with tia to output signal S.

に用いるものとすれば、突発的な異常値を示すdlの影
響を排除することができる。
If used for this purpose, it is possible to eliminate the influence of dl that suddenly shows an abnormal value.

第5図は、ステップ011の詳aを示すフローチャート
であシ、ステップ002により求めた平均値データDa
を“d3←Da” 101によシサンプリング値d3と
し、これを可変メモ!J RAMへ格納のうえ、同様に
格納されている前々回のステップ101によるdlを用
いて平均値”d a =(d l tia )/2”1
υ2の演算を何なってから、まづ、可変メモリR周へ格
納されている前回のステップ101によるdlとMaa
キdz’?111のf’J yfrf行ない。
FIG. 5 is a flowchart showing details a of step 011, and the average value data Da obtained in step 002.
Let “d3←Da” be the sampling value d3 of 101, and use this as a variable memo! After storing it in the J RAM, the average value "d a = (d l tia ) / 2" 1 is calculated using the dl from step 101 from the time before the previous time that is stored in the same way.
After calculating υ2, first, dl and Maa from the previous step 101 stored in the variable memory R
Kidz'? 111 f'J yfrf action.

これがN(No)であれば、つぎに″d1キdt?”1
12を14」断し、これのNに応じては“d3キd2?
”113を判断し、これもNのときはすべてが不一致の
ため、” dz・da ” 121 v(よ!Jdzk
daによつ1−換し、”d2送出処理”122において
5r測出力への変換′6JT34およびDAC@D/A
への送出を行ない、@d1←d2・d2←d3”123
によυd2+d3の格納アドレスを変更し、今までのd
z?i−次回のdlとし、かつ、今までのdlを次回の
dlとしてから、ステップ101以降を反ぺする。
If this is N (No), then "d1kidt?"1
Cut 12 to 14, and depending on the N of this, ``d3 kid d2?''
“113 is judged, and when it is N, everything is inconsistent, so “dz・da” 121 v (Yo! Jdzk
Convert da to 1 and convert it to 5r measured output in "d2 sending process" 122 '6JT34 and DAC@D/A
@d1←d2・d2←d3”123
By changing the storage address of υd2+d3, the previous d
Z? After setting i--the next dl and setting the previous dl to the next dl, repeat steps 101 and subsequent steps.

ただし、ステップ111がNであっても、ステップ11
2または113がY(YES)となれば、ステップ12
1が省略され、dlがdaによりは換されないため、不
必要な15正がなされず、入力信号Siの変化に対する
出力信号Soの応答性全低下させることが阻止できる。
However, even if step 111 is N, step 11
If 2 or 113 is Y (YES), step 12
Since 1 is omitted and dl is not replaced by da, unnecessary addition of 15 is not performed, and a complete decrease in the responsiveness of the output signal So to changes in the input signal Si can be prevented.

なお、ステップ111〜113にンいて、はぼ一致と認
める許容範囲は、入力信号Slの変化状況2よびサンプ
リングの時間間隔Tに応じて谷々を定めればよい。
Incidentally, in steps 111 to 113, the allowable range in which a close match is recognized may be defined as a trough depending on the change state 2 of the input signal Sl and the sampling time interval T.

第6図は、サンプリング値dと出力信号Soとの関係を
示す図であシ、出力信号Soはアナログ信号であるが便
宜上直線的に画いである。
FIG. 6 is a diagram showing the relationship between the sampling value d and the output signal So. Although the output signal So is an analog signal, it is drawn linearly for convenience.

これから明かなとおシ、サンプリング値d4の突発的変
化は、第5図の処理によシサンプリングの時間間隔Tの
後に出力信号Soへ全く影響を与えないものになると共
に、d4が出力信号804の値として修正されるため、
本来のサンプリング値とほぼ同様のSO4が得られる。
It is clear from this that the sudden change in the sampling value d4 has no effect on the output signal So after the sampling time interval T by the process shown in FIG. Since it is modified as a value,
SO4 that is almost the same as the original sampling value is obtained.

第7図は、入力信号Slと平均値データDaおよび出力
信号S。との関係を示し、slに正方向または負方向の
スパイク状ピークを生じても、(1)式による平均値デ
ータ演算によシ、D&のとおりまずピークが抑圧される
と共に過−jな応答性の遅延を生ぜず、更に、第5図の
平均値置換処理によシ、ピークの影響が完全に除去され
る。
FIG. 7 shows the input signal Sl, average value data Da, and output signal S. Even if a spike-like peak in the positive or negative direction occurs in sl, by calculating the average value data using equation (1), the peak is first suppressed and an over-j response is generated as shown in D&. Moreover, the influence of peaks is completely removed by the mean value replacement process shown in FIG.

したがって、時間間隔Tによって示されるサンプリング
周期の1周期後には雑音の影響が全く排除されるため、
計測出力の高応答速度が得られると共に、理想的に雑音
波形の修正がなされる。
Therefore, after one sampling period indicated by the time interval T, the influence of noise is completely eliminated;
A high response speed of the measurement output can be obtained, and the noise waveform can be ideally corrected.

なお、(1)式のnは、応答速度に比例するため、許容
される範囲内において極力大とすれば、入力信号Stの
雑音による変化を抑圧するうえにおいて有効である。
Note that n in equation (1) is proportional to the response speed, so if it is made as large as possible within an allowable range, it is effective in suppressing changes in the input signal St due to noise.

ただし、第2図の構成は、各種計測器の変換部のみなら
ず、各種信号のサンプリング回路、および、第1図に示
す処理を行なう回路を有するものであればよく、条件に
応じた選定が任意であり、信号の受信回路、中継回路等
にも適用できると共に、第5図のステップ122は、状
況にしたがって内容を定めればよい等、種々の変形が自
在である。
However, the configuration shown in Figure 2 may be one that includes not only the conversion section of various measuring instruments but also sampling circuits for various signals and circuits that perform the processing shown in Figure 1, and can be selected according to the conditions. It is arbitrary and can be applied to signal receiving circuits, relay circuits, etc., and step 122 in FIG. 5 can be modified in various ways, such as by determining the contents according to the situation.

〔発明の効果〕〔Effect of the invention〕

以上の説明により明らかなとお9本発明によれば、高応
答性により確実に雑音等の除去およびサンプリング値の
修正ができるため、雑音成分を含む%槓イ百号の処理上
顕著な効果が得られる。
As is clear from the above explanation, according to the present invention, noise etc. can be reliably removed and sampling values can be corrected due to high responsiveness, so that a remarkable effect can be obtained in processing % 100 including noise components. It will be done.

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

図は本発明の実施例を示し、第1図は処理状況のフロー
チャート、第2図はブロック図、第3図は平均値データ
の推移を示す図、第4図は雑音を含む場合の第3図と同
様の図、NfJ5図は平均値置換処理のフローチャート
、第6図は平均値データと出力信号との関係を示す図、
第7図は入力信号。 平均値データ、および出力信号の関係を示す図である。 Si ・・・・入力信号、So・・・・出力信号、A/
D  ・・−IIADC(アナログ番ディジタル変換器
)、CPU・・・・プロセッサ、ROM・・・・固定メ
モリ、RAM・・・・9変メモリ、d+”d3・・・・
サンプリンゲイ直、T・・・・時間間隔、Da・・・・
平均値データ、cia・・・・平均値。
The figures show an embodiment of the present invention, in which Fig. 1 is a flowchart of the processing situation, Fig. 2 is a block diagram, Fig. 3 is a diagram showing the transition of average value data, and Fig. 4 is a flowchart of the processing situation. The NfJ5 diagram is a flow chart of average value replacement processing, and Figure 6 is a diagram showing the relationship between average value data and output signal.
Figure 7 shows the input signal. It is a figure which shows the relationship between average value data and an output signal. Si...Input signal, So...Output signal, A/
D...-IIADC (analog number digital converter), CPU...processor, ROM...fixed memory, RAM...9-variable memory, d+"d3...
Sampling gain direct, T... time interval, Da...
Average value data, cia...average value.

Claims (1)

【特許請求の範囲】[Claims] 信号を一定の時間間隔により連続かつ順次にサンプリン
グし、所望の応答速度と対応する数のサンプリング値に
基づく平均値データを逐次求め、これらの各平均値デー
タを第1乃至第3のサンプリング値とし、前記第1およ
び第3のサンプリング値の平均値と第2のサンプリング
値とがほぼ一致するか否かを判断し、かつ、前記第1お
よび第3のサンプリング値と第2のサンプリング値とが
ほぼ一致するか否かを各個に判断し、これら各判断のい
ずれもが不一致のときに前記第2のサンプリング値を前
記平均値により置換することを特徴とした信号処理方式
The signal is sampled continuously and sequentially at fixed time intervals, and the average value data based on the number of sampling values corresponding to the desired response speed is sequentially obtained, and each of these average value data is used as the first to third sampling values. , determining whether the average value of the first and third sampling values and the second sampling value substantially match, and determining whether the first and third sampling values and the second sampling value are substantially equal to each other; A signal processing method characterized in that it is determined individually whether or not they substantially match, and when any of these determinations shows that they do not match, the second sampled value is replaced by the average value.
JP60207790A 1985-09-21 1985-09-21 Signal processing system Pending JPS6269120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60207790A JPS6269120A (en) 1985-09-21 1985-09-21 Signal processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60207790A JPS6269120A (en) 1985-09-21 1985-09-21 Signal processing system

Publications (1)

Publication Number Publication Date
JPS6269120A true JPS6269120A (en) 1987-03-30

Family

ID=16545538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60207790A Pending JPS6269120A (en) 1985-09-21 1985-09-21 Signal processing system

Country Status (1)

Country Link
JP (1) JPS6269120A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05502813A (en) * 1989-12-28 1993-05-20 サイムド・ライフ・システムズ・インコーポレーテッド Expansion balloon catheter and its manufacturing method
JP2010237149A (en) * 2009-03-31 2010-10-21 Terumo Corp Electronic clinical thermometer and operation control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05502813A (en) * 1989-12-28 1993-05-20 サイムド・ライフ・システムズ・インコーポレーテッド Expansion balloon catheter and its manufacturing method
JP2010237149A (en) * 2009-03-31 2010-10-21 Terumo Corp Electronic clinical thermometer and operation control method

Similar Documents

Publication Publication Date Title
US5296856A (en) Window tracking ADC
JPH06188838A (en) Sampling rate converter
US6023199A (en) Pulse width modulation circuit and method
JPS6269120A (en) Signal processing system
US4334281A (en) Command generation system for generating a smooth command signal
JPS6184107A (en) Signal processing system
RU1835604C (en) Multiple-channel analog-to-digital converter
JP3995578B2 (en) Storage battery internal impedance measuring device and storage battery internal impedance measuring method
JPS6331224A (en) Accuracy improving system for a/d conversion sample value
JP2749004B2 (en) Power system simulator
JPH08114632A (en) Noise filter
JP3036759B2 (en) A / D converter
SU1111182A1 (en) Device for automatic tuning of gain factor of random signal
SU1285598A1 (en) Device for measuring amplitude of a.c.voltage
JPS61100826A (en) Signal processing device
JPS6131504B2 (en)
SU1184093A1 (en) Voltage-to-number converter
SU984038A1 (en) Frequency-to-code converter
JPH05308224A (en) Method for generating frequency modulation signal and frequency modulation signal generator
JPH0718179Y2 (en) Automatic gain adjustment circuit
SU1179371A1 (en) Device for measuring distribution function of instantaneous frequency of random process
SU640307A1 (en) Statistic analyzer
JPS62221212A (en) Digital signal processor
JPH09135134A (en) Gain setting method
JPH03102265A (en) Maximum value detecting circuit