JP2010056688A - Method and program for processing synchronous operation of digital signal - Google Patents

Method and program for processing synchronous operation of digital signal Download PDF

Info

Publication number
JP2010056688A
JP2010056688A JP2008217313A JP2008217313A JP2010056688A JP 2010056688 A JP2010056688 A JP 2010056688A JP 2008217313 A JP2008217313 A JP 2008217313A JP 2008217313 A JP2008217313 A JP 2008217313A JP 2010056688 A JP2010056688 A JP 2010056688A
Authority
JP
Japan
Prior art keywords
synchronous
digital signal
processing
synchronization
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.)
Pending
Application number
JP2008217313A
Other languages
Japanese (ja)
Inventor
Yoshiaki Tadokoro
嘉昭 田所
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.)
Toyohashi University of Technology NUC
Original Assignee
Toyohashi University of Technology NUC
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 Toyohashi University of Technology NUC filed Critical Toyohashi University of Technology NUC
Priority to JP2008217313A priority Critical patent/JP2010056688A/en
Publication of JP2010056688A publication Critical patent/JP2010056688A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and program for processing a synchronous operation of a digital signal, which reduce error without changing a given sample frequency even if the synchronous period, i.e. the ratio of the analog input signal frequency and the sampling frequency, is not an integer in the synchronous operation of the digital signal. <P>SOLUTION: With regard to the synchronous operation of the digital signal, the ratio of the analog input signal frequency and the sampling frequency, i.e. the synchronous period, is divided into an integer part and a fraction, and the numeric values of the integer part and fraction are used directly as weights in synchronous operation for sample values separated by the sampling period. A digital signal synchronous operation processing program performs digital signal synchronous operation continuously every sampling period on a computer. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、信号成分の抽出あるいは除去を行うディジタル信号処理とディジタル信号処理プログラムに関する。
The present invention relates to a digital signal processing and a digital signal processing program for extracting or removing signal components.

ディジタル信号処理の分野において、信号成分に同期した演算処理が望まれている。 In the field of digital signal processing, arithmetic processing synchronized with signal components is desired.

例えば、従来の同期加算処理では、同期信号である、インパルス信号に対応して、インパルス応答を発生させ、信号のSN比を増加させるために、前記インパルス応答を必要な回数だけ加算する処理が行われる(例えば、非特許文献1から3を参照)。   For example, in the conventional synchronous addition process, a process of adding the impulse response as many times as necessary is performed in order to generate an impulse response corresponding to the impulse signal, which is a synchronization signal, and to increase the signal-to-noise ratio of the signal. (For example, see Non-Patent Documents 1 to 3).

前記同期加算法を利用したものとして、心電図、心磁図を同期検出するために使用し、その具体的装置に関する技術がある(特許文献1)。   As a technique using the synchronous addition method, there is a technique relating to a specific device used for synchronous detection of an electrocardiogram and a magnetocardiogram (Patent Document 1).

また、同期減算法に関して、装置の信号処理として、同一の刺激を2回ずつ繰り返して加えて、続けた2回の刺激で同期減算して随意筋電のみを抽出するもので、考えは上記同期加算処理と同様な技術がある(特許文献2)。なお、同期減算処理については二つのサンプル値間の補間値を求める処理と等価である。   In addition, regarding the synchronous subtraction method, as the signal processing of the apparatus, the same stimulus is repeatedly added twice, and only the voluntary myoelectricity is extracted by performing synchronous subtraction with the subsequent two stimuli. There is a technique similar to the processing (Patent Document 2). The synchronous subtraction process is equivalent to a process for obtaining an interpolated value between two sample values.

前記同期演算処理では、いずれも同期演算処理をしたいアナログ信号周波数fとサンプリング周波数fの比(数1)が問題になる。 Wherein in the synchronization processing are both the ratio of the analog signal frequency f p and the sampling frequency f s to be the synchronization processing (number 1) is problematic.

Figure 2010056688
Figure 2010056688

前記の同期演算処理は、いずれもディジタル信号処理の同期周期Nが整数であるとみなした処理であり、同期周期Nが整数でない場合には同期演算処理に誤差を生ずる。 Synchronization processing of the are both process synchronization period N p of the digital signal processing is regarded as an integer, when the synchronization period N p is not an integer occurs an error in the synchronization processing.

前記の同期周期Nが大きい場合、すなわちサンプリング周波数が相対的に十分大きい場合には、同期周期Nの小数点以下を四捨五入で丸める影響は同期演算処理に対して小さいと見なせる場合がある。 If the synchronization period N p is larger, that is, when the sampling frequency is relatively large enough may be regarded as the influence of rounding by rounding off the decimal point of the synchronization period N p is small with respect to the synchronization processing.

一方、前記同期周期Nが小さい場合、すなわちサンプリング周波数が相対的に十分大きくない場合には、同期周期Nの小数点以下を四捨五入で丸める整数化の影響は同期演算処理に対して無視できなくなる。すなわち、同期周期Nを整数化することにより同期演算処理に誤差を生じる。 On the other hand, if the synchronization period N p is small, that is, when the sampling frequency is not relatively large enough, the effect of integer rounding rounding off after the decimal point of the synchronization period N p is not negligible with respect to the synchronization processing . That results in an error in the synchronization processing by rounding the synchronization period N p.

前記ディジタル信号の同期演算処理に誤差が生じる場合、従来技術では、サンプル値間を補間して見かけ上のサンプリング周波数を大きな値にして対処することが行われている。   In the case where an error occurs in the digital signal synchronization calculation processing, in the conventional technique, the apparent sampling frequency is increased by interpolating between sample values.

しかし、前記信号サンプリングに関する補間処理は複雑な計算を伴うので、高い周波数に対して実時間で処理することや、計算能力が低い装置では処理することが困難であるという課題がある。   However, since the interpolation processing related to the signal sampling involves complicated calculation, there is a problem that it is difficult to process in real time with respect to a high frequency or with a device having low calculation capability.

したがって、前記信号サンプリングに関する補間処理を用いずに、与えられたサンプル条件のみを使用して、ディジタル信号への同期演算処理の精度を高める技術が望まれている。

宮川洋他著、「ディジタル信号処理」、電子情報通信学会偏、1975 小澤慎治著、「ディジタル信号処理」、実教出版、1979 島村徹也、黒岩世進伸、“ピッチ同期加算処理を用いた雑音低減に基づくLPC分析、”信学論、Vol.J87−A、pp.458−469、2004 特公平7−67440号公報 特開2004−255104号公報
Therefore, there is a demand for a technique that uses only given sample conditions without using the interpolation processing related to the signal sampling, and improves the accuracy of the synchronous calculation processing for the digital signal.

Miyagawa Hiroshi et al., “Digital Signal Processing”, IEICE, 1975 Shinji Ozawa, "Digital Signal Processing", Jikkyo Publishing, 1979 Tetsuya Shimamura, Nobunobu Kuroiwa, “LPC analysis based on noise reduction using pitch-synchronized addition processing,” IEICE theory, Vol. J87-A, pp. 458-469, 2004 Japanese Examined Patent Publication No. 7-67440 JP 2004-255104 A

ディジタル信号の同期演算処理において、処理の対象とするアナログ信号周波数fとサンプリング周波数fの比、すなわち同期周期(前記数1)が整数でない場合であっても、与えられたサンプリング周波数を変えることなく、誤差の少ないディジタル信号の同期演算処理方法及び同期演算処理プログラムを提供することである。
In the digital signal synchronization calculation processing, the given sampling frequency is changed even when the ratio of the analog signal frequency f p to be processed and the sampling frequency f s , that is, the synchronization period (the above equation 1) is not an integer. It is another object of the present invention to provide a digital signal synchronous calculation processing method and a synchronous calculation processing program with little error.

本発明に係るディジタル信号の同期演算処理は、対象とするアナログ信号周波数とサンプリング周波数との比が整数にならないときであっても、サンプリング周波数を変えることなく、同期周期を(数2)に示すように整数部と小数部に分け、前記整数部と小数部の数値を重みとして用いて、直接サンプリング周期だけ離れたサンプル値に対する同期演算処理を行うことを特徴とする。 In the digital signal synchronization calculation processing according to the present invention, even when the ratio between the target analog signal frequency and the sampling frequency is not an integer, the synchronization period is expressed by (Expression 2) without changing the sampling frequency. In this way, it is divided into an integer part and a decimal part, and the synchronization calculation processing is performed on sample values separated by a direct sampling period by using the numerical values of the integer part and the decimal part as weights.

Figure 2010056688
Figure 2010056688

同期加算処理あるいは同期減算処理の場合には、任意の時刻にサンプリングされた二つのサンプル値x(N)とx(N+1)を小数部の数値Fにより適切な重みを付けて利用して、同期周期Nに関するサンプル値x(N)を求め、前記二つのディジタル信号に対し同期加算あるいは同期減算処理を行うことが特徴である。 In the case of the synchronous addition process or the synchronous subtraction process, two sample values x (N) and x (N + 1) sampled at an arbitrary time are used with appropriate weights added by the numerical value F of the decimal part, and the synchronization is performed. A feature is that a sample value x (N p ) relating to the period N p is obtained, and synchronous addition or synchronous subtraction processing is performed on the two digital signals.

また、累積加算処理あるいは累積減算処理の場合は、任意の時刻にサンプリングされたNまたはN+1だけ離れた2点間の対応するサンプル値を1周期にわたり同期加算あるいは同期減算する。その際、対応するサンプル値を小数部の数値Fにより調整し、平均としてN離れた2点間の累積同期加算あるいは累積同期減算を行うことが特徴である。 In the case of cumulative addition processing or cumulative subtraction processing, the corresponding sample values between two points separated by N or N + 1 sampled at an arbitrary time are synchronously added or synchronously subtracted over one period. At that time, the corresponding sample values adjusted by the numerical F of the fraction, it is a feature of performing cumulative synchronous addition or accumulation synchronization subtraction between two points spaced N p as average.

特に、累積同期加算については、補間値を求める処理では精度に限界がある。同期周期に相当する2点間を1周期にわたって同期加算し、平均的に同期周期が理論値の値にすることが特徴である。   In particular, with regard to cumulative synchronous addition, accuracy is limited in the process of obtaining an interpolation value. A feature is that two points corresponding to the synchronization period are synchronously added over one period, and the synchronization period is averaged to a theoretical value.

ディジタル信号同期演算処理プログラムは、計算機上で、サンプリング周期ごとに連続して前記ディジタル信号同期演算処理を行うことを特徴としている。
The digital signal synchronization calculation processing program is characterized in that the digital signal synchronization calculation processing is continuously performed on a computer every sampling period.

本発明により、与えられたサンプリング周波数のみを利用して、同期周期、すなわち(数1)、が非整数であることによる同期演算処理の精度に対する誤差を小さくすることができる。
According to the present invention, it is possible to reduce an error with respect to the accuracy of the synchronization calculation processing due to the fact that the synchronization period, that is, (Equation 1) is a non-integer, using only a given sampling frequency.

本発明を実施するための同期演算処理システムのブロック図を図1に示す。前記同期演算処理システムは、図2に示される計算機上で外部記憶装置に格納されたディジタル信号同期演算処理プログラムである。ただし、同期演算処理プログラムが動作する計算機であれば、図2の構成に限定されない。 A block diagram of a synchronous arithmetic processing system for carrying out the present invention is shown in FIG. The synchronous arithmetic processing system is a digital signal synchronous arithmetic processing program stored in an external storage device on the computer shown in FIG. However, the configuration is not limited to that shown in FIG. 2 as long as the computer operates the synchronous calculation processing program.

図1と図2を関連付けて説明する。同期演算処理プログラムは、予め外部記憶装置8に格納されている。動作時には計算機システムバス5を通じてメモリ7に読み込まれて計算機のインターフェイス6と演算装置9を活用して、本発明に係る同期演算処理を行う。   1 and 2 will be described in association with each other. The synchronous calculation processing program is stored in the external storage device 8 in advance. During operation, the computer 7 is read into the memory 7 through the computer system bus 5 and the computer interface 6 and the arithmetic unit 9 are used to perform the synchronous arithmetic processing according to the present invention.

入力部1は、時刻tにおける周波数fのアナログ信号x(t)を、インターフェイスを通じて外部記憶装置8やメモリ7の一部に一時蓄えたりして、前記同期演算処理プログラムの入力信号として使用する。また、演算処理の対象となるアナログ信号は、入力として予め外部記憶装置8に格納されていてもよい。 Input unit 1, the analog signal x (t) of frequency f p at time t, and or temporarily stored in a part of the external storage device 8 and the memory 7 via the interface, used as input signal of the synchronization processing program . Further, an analog signal to be subjected to arithmetic processing may be stored in advance in the external storage device 8 as an input.

サンプリング処理部2では、前記アナログ入力信号x(t)は、サンプリング周波数はfで、ディジタル信号x(n)にサンプリングされる。サンプリング後の信号x(n)は,外部記憶装置8の一部やメモリ7の一部に一時期的に格納される。 The sampling processing section 2, the analog input signal x (t), the sampling frequency is f s, is sampled into a digital signal x (n). The sampled signal x (n) is temporarily stored in a part of the external storage device 8 or a part of the memory 7.

同期処理部3は、前記サンプリングされたディジタル信号x(n)に対して、計算機の演算装置9とメモリ7や外部記憶装置8を活用して、対象とするアナログ信号周波数とサンプリング周波数との比である同期周期が整数にならないときであっても、サンプリング処理部2でのサンプリング周波数を変えてサンプリング処理を再実施することなく、サンプリング周波数1周期だけ離れた2点のサンプル値を整数部と小数部に分け、前記整数部と小数部の数値を直接重みとして用いることを特徴とする同期演算処理を行う。   The synchronization processing unit 3 uses a computer arithmetic unit 9 and a memory 7 or an external storage unit 8 for the sampled digital signal x (n) to obtain a ratio between a target analog signal frequency and a sampling frequency. Even when the synchronization period is not an integer, the sampling value in the sampling processing unit 2 is not changed and the sampling process is performed again. Synchronous calculation processing is performed, which is divided into decimal parts, and the numerical values of the integer part and the decimal part are directly used as weights.

同期加算あるいは同期減算の場合、小数部の数値を何桁で表現するかで精度がほぼ決まる。例えば、小数以下を2桁とした場合、x(N)は、以下で決定される。 In the case of synchronous addition or synchronous subtraction, the precision is almost determined by how many digits are used to express the numerical value of the decimal part. For example, when the number of decimal places is two digits, x (N p ) is determined as follows.

Figure 2010056688
Figure 2010056688

この処理は、2点x(N)とx(N+1)の補間値を求めることに相当する。また、累積同期加算あるいは累積同期減算の場合は、1周期離れた2点間のサンプル値x(n)とx(n+N)を1周期分お互いに対応するサンプル値を(100−F)周期分にわたり加減算し、F周期分は、対応する2点のサンプル値をx(n)とx(n+N+1)として加減算する。なお、(100−F)とFが可能な場合は約分し、上記の同期演算処理もできるだけ平均化されるように行い、平均として1周期がNになるようにする。例えば、約分した結果が9/2になった場合は、4周期と1周期、5周期と1周期というような処理を行う。 This process corresponds to obtaining an interpolation value of two points x (N) and x (N + 1). Further, in the case of cumulative synchronous addition or cumulative synchronous subtraction, sample values x (n) and x (n + N) between two points separated by one cycle are sampled corresponding to each other for one cycle (100-F) cycles. Addition / subtraction is performed over the F period, and the corresponding two sample values are added / subtracted as x (n) and x (n + N + 1). Incidentally, (100-F) and if F is possible lowest terms, is performed as much as possible averaged even above synchronization processing, one cycle average is set to be the N p. For example, when the reduced result is 9/2, processing such as 4 cycles, 1 cycle, 5 cycles, and 1 cycle is performed.

前記同期演算処理後の結果y(n)は、出力部4により外部記憶装置8に格納される。格納されるデータの形式は、単純に、あるnの値に対するy(n)の値を記述すればよい。
The result y (n) after the synchronous calculation process is stored in the external storage device 8 by the output unit 4. The format of the data to be stored simply describes the value of y (n) for a certain value of n.

第1の実施例として、図3にシステム関数が(数4)で示されるノッチ型くし形フィルタ10の同期減算処理を示す。 As a first embodiment, FIG. 3 shows the synchronous subtraction processing of the notch comb filter 10 whose system function is represented by (Equation 4).

Figure 2010056688
Figure 2010056688

が100Hz、fが1025Hzであったとすると、Nは10.25となり、(数1)により、Nは10であり、Fは25となる。まず、このとき同期減算処理を次の二式(数5)及び(数6)と(数7)すなわち(数8)および(数9)で実現した場合の特性を比較する。 Assuming that f p is 100 Hz and f s is 1025 Hz, N p is 10.25, N is 10 and F is 25 according to (Equation 1). First, at this time, the characteristics when the synchronous subtraction processing is realized by the following two equations (Equation 5) and (Equation 6) and (Equation 7), that is, (Equation 8) and (Equation 9) are compared.

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

(数5)は、N=10.25を整数化したN=10、すなわちN=10を使用して、x(N)の値を近似して、ノッチ型くし形フィルタ(数6)を実現している。 (Equation 5) is obtained by approximating the value of x (N p ) using N = 10 obtained by converting N p = 10.25 into an integer, that is, N p = 10, to obtain a notch comb filter (Equation 6 ) Is realized.

図5に本発明の実施例に係る同期演算処理プログラムに関するアルゴリズムのフローを示す。図5におけるフローでは、まず演算回数(S1)を設定する。変数nは、サンプル時点に関する離散時間の変数であり、演算回数Mは、アナログ入力信号を処理するために十分な値にする必要がある。同期周期の計算(S2)後、前記同期周期の整数部Nと小数部Fを求める(S3)。図5におけるフローでは、同時に同期減算処理(S4)乃至(S6)と累積同期加算処理(S7)乃至(S9)を行うものであるが、二つの処理(S4)乃至(S6)または(S7)乃至(S9)を単独で行うフローであってもよい。また、以下の実施例の演算精度は小数点以下2桁とするが、これに限らず小数点以下3桁以上であっても単純に拡張が可能である。   FIG. 5 shows a flow of an algorithm related to the synchronous arithmetic processing program according to the embodiment of the present invention. In the flow in FIG. 5, first, the number of calculations (S1) is set. The variable n is a discrete-time variable related to the sampling time, and the number of operations M needs to be a value sufficient to process the analog input signal. After calculation of the synchronization period (S2), an integer part N and a fractional part F of the synchronization period are obtained (S3). In the flow in FIG. 5, synchronous subtraction processing (S4) to (S6) and cumulative synchronous addition processing (S7) to (S9) are performed at the same time, but two processing (S4) to (S6) or (S7) are performed. Through (S9) may be a single flow. In addition, although the calculation accuracy of the following embodiments is two digits after the decimal point, the present invention is not limited to this and can be simply expanded even if it is three digits or more after the decimal point.

一方、(数8)では、図5に示される演算(S2)の結果(S3)において、整数部N=10の数値だけでなく、小数部の数値F=25を考慮する。図5(S5)では、x(n−10)の重みは3/4、x(n−11)の重みは1/4となり、x(N)の値を求めてノッチ型くし形フィルタ(数9)を実現する。 On the other hand, in (Expression 8), not only the numerical value of the integer part N = 10 but also the numerical value F = 25 of the decimal part is considered in the result (S3) of the calculation (S2) shown in FIG. In FIG. 5 (S5), the weight of x (n-10) is 3/4, the weight of x (n-11) is 1/4, and the value of x (N p ) is obtained to obtain a notch comb filter ( Equation 9) is realized.

図6に入力信号x(n)=sin{2π×(100/1025)n}(図6中実線)と前記(数6)と(数9)で示されるシステム関数を持つ、それぞれのくし形フィルタの出力信号を示す。前者のフィルタ出力は点線で、後者のフィルタ出力は破線で示されている。理想的にはノッチ型フィルタは、完全に同期して減算処理を行った場合、その出力はゼロになる。本発明に係る(数9)を利用するくし形フィルタ(図6中破線)が、よりゼロ出力に近い誤差の少ない値を得られている。
FIG. 6 shows an input signal x (n) = sin {2π × (100/1025) n} (solid line in FIG. 6) and each comb having the system functions represented by the above (Equation 6) and (Equation 9). The output signal of a filter is shown. The former filter output is indicated by a dotted line, and the latter filter output is indicated by a broken line. Ideally, when a notch filter performs subtraction processing in complete synchronization, its output becomes zero. In the comb filter (broken line in FIG. 6) using (Equation 9) according to the present invention, a value with a smaller error closer to zero output is obtained.

次に、第2の実施例として、図4にシステム関数が(数10)で示される共振型くし形フィルタ12の累積同期加算処理を示す。 Next, as a second embodiment, a cumulative synchronous addition process of the resonance type comb filter 12 whose system function is represented by (Equation 10) is shown in FIG.

Figure 2010056688
Figure 2010056688

累積同期加算処理として、前記実施例1と同様の条件、すなわちN=10.25をN=10で近似する、すなわちN=10を用いる処理(数11)及び(数12)と、小数部F=25を用いる処理(数13)及び(数14)を比較する。 As the cumulative synchronous addition processing, the same conditions as in the first embodiment, that is, N p = 10.25 is approximated by N = 10, that is, N p = 10 is used (Equation 11) and (Equation 12), and decimal The processes (Formula 13) and (Formula 14) using the part F = 25 are compared.

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

Figure 2010056688
Figure 2010056688

この場合、図5(S8)において、N=10に対応する処理が(100−F)=75周期である。それに対し、N=11に対応する処理がF=25周期となるので、N=10の処理(数13)を3周期分演算後、N=11の処理(数14)を1周期分として同期加算すればよい。 In this case, in FIG. 5 (S8), the processing corresponding to N p = 10 is (100−F) = 75 cycles. On the other hand, since the processing corresponding to N p = 11 is F = 25 cycles, the processing of N p = 10 (Equation 13) is calculated for three cycles, and then the processing of N p = 11 (Equation 14) is performed in one cycle. What is necessary is just to add synchronously as minutes.

前記同期加算処理を必要な周期だけ繰り返し計算することで累積同期加算処理の平均化を実現している。なお、(数13)及び(数14)では、1周期離れた対応する2点のサンプル値を1周期にわたって同期加算することが特徴である。   The cumulative synchronous addition process is averaged by repeatedly calculating the synchronous addition process for a necessary period. Note that (Equation 13) and (Equation 14) are characterized in that two corresponding sample values separated by one cycle are synchronously added over one cycle.

図7に入力信号x(n)=sin{2π×(100/1025)n}を示す。前記実施例1と同様に信号周波数fは100Hz、サンプリング周波数fは1025Hzの周期信号である。 FIG. 7 shows the input signal x (n) = sin {2π × (100/1025) n}. Example 1 in the same manner as in the signal frequency f p is 100 Hz, the sampling frequency f s is a periodic signal of 1025Hz.

図8は、N=10で近似した同期周期で累積同期加算処理を行う共振型くし形フィルタの出力信号である。一方、図9は、小数部F=25を用いて、前記同期加算を必要な周期だけ繰り返し計算する、本発明に係る累積同期加算処理を行う共振型くし形フィルタの出力信号である。   FIG. 8 shows an output signal of a resonant comb filter that performs cumulative synchronous addition processing with a synchronous period approximated by N = 10. On the other hand, FIG. 9 shows an output signal of a resonant comb filter that performs cumulative synchronous addition processing according to the present invention, in which the synchronous addition is repeatedly calculated for a necessary period using the fractional part F = 25.

以下、図8と図9を比較する。(数11)では、同期が少しずれているため累積値y(n)はビートを打つ特性になる。一方、(数13)及び(数14)では、y(n)は直線的に増加していく。理想的には、周期入力信号に対する累積加算の共振型くし形フィルタの出力は、完全に同期が取れている場合、信号振幅が直線的に増加することが分かっている。したがって、本発明に係る累積同期加算処理は、ほぼ完全に同期が取れているといえる。
Hereinafter, FIG. 8 and FIG. 9 will be compared. In (Equation 11), since the synchronization is slightly shifted, the accumulated value y (n) has a characteristic of hitting a beat. On the other hand, in (Equation 13) and (Equation 14), y (n) increases linearly. Ideally, it has been found that the output of the cumulative addition resonant comb filter for a periodic input signal increases linearly when the signal is perfectly synchronized. Therefore, it can be said that the cumulative synchronous addition processing according to the present invention is almost completely synchronized.

また、入力信号として一楽音信号を使用した場合の同期減算処理に関する実施例を示す。図10は、ピアノD6の基本周波数f=1174.65Hzとその倍音成分の入力信号である。前記入力信号をノッチ型くし形フィルタ(数4)で同期減算処理する出力信号を図11と図12に示す。サンプリング周波数は44.1kHzであるので、およそ同期周期N=37.5である。さらに、同期周期の値を整数として近似するとN=38である。図11の出力信号は、従来技術と同様に整数として近似した同期演算を行うノッチ型くし形フィルタの出力信号であり、図12の出力信号は、本発明に係る同期周期の小数部F=5を考慮した同期演算を行うノッチ型くし形フィルタの出力信号である。次に、得られた二つの同期方法による同期減算処理出力を比較する。 In addition, an embodiment relating to synchronous subtraction processing when a single tone signal is used as an input signal will be described. Figure 10 is an input signal of the fundamental frequency f p = 1174.65Hz and its harmonics piano D6. 11 and 12 show output signals obtained by subjecting the input signal to synchronous subtraction processing with a notch comb filter (Equation 4). Since the sampling frequency is 44.1 kHz, the synchronization period N p = 37.5. Further, when the value of the synchronization period is approximated as an integer, N = 38. The output signal of FIG. 11 is an output signal of a notch comb filter that performs a synchronization operation approximated as an integer as in the prior art, and the output signal of FIG. 12 is the fractional part F = 5 of the synchronization period according to the present invention. Is an output signal of a notch-type comb filter that performs a synchronous calculation considering the above. Next, the synchronization subtraction processing outputs obtained by the two synchronization methods are compared.

図13は、二つの方法による同期減算処理に関するフィルタ出力信号のパワーを比較している。同期周期に少数部F=5を用いる同期減算処理は、より少ないパワーであり、パワーが信号振幅の2乗に比例することを考えると、本発明に係る同期方法を利用するくし形フィルタの方が、よりゼロ出力に近い誤差の少ない信号が得られているといえる。
FIG. 13 compares the powers of the filter output signals related to the synchronous subtraction processing by the two methods. The synchronous subtraction process using the fractional part F = 5 in the synchronization period has a smaller power, and considering that the power is proportional to the square of the signal amplitude, the comb filter using the synchronization method according to the present invention is used. However, it can be said that a signal with a smaller error closer to zero output is obtained.

最後に、入力信号として一楽音信号を使用した場合の累積同期加算処理に関する実施例を示す。図14は、ピアノC8の基本周波数f=4185.98Hzとその倍音成分の入力信号である。前記入力信号に対する共振型くし形フィルタ(数10)を用いて累積同期加算を行う。サンプリング周波数は、f=44.1kHzである。したがって、同期周期は、およそN=10.3であり、整数として近似する同期周期N=10である。 Finally, an embodiment relating to cumulative synchronous addition processing when a single tone signal is used as an input signal will be described. Figure 14 is an input signal of the fundamental frequency f p = 4185.98Hz and its harmonics piano C8. Cumulative synchronous addition is performed using a resonant comb filter (Equation 10) for the input signal. The sampling frequency is f s = 44.1 kHz. Therefore, the synchronization period is approximately N p = 10.3, and the synchronization period N = 10 approximated as an integer.

図15は、N=10で近似した同期周期で累積同期加算処理を行う共振型くし形フィルタの出力信号である。一方、図16は、小数部F=3を用いて、前記同期加算を必要な周期だけ繰り返し計算する、本発明に係る累積同期加算処理を行う共振型くし形フィルタの出力信号である。   FIG. 15 shows an output signal of a resonant comb filter that performs cumulative synchronous addition processing in a synchronous cycle approximated by N = 10. On the other hand, FIG. 16 shows an output signal of a resonant comb filter that performs cumulative synchronous addition processing according to the present invention, in which the synchronous addition is repeatedly calculated for a necessary period using the fractional part F = 3.

以下、図15と図16を比較する。近似された同期周期を用いる同期演算では、同期が少しずれているため累積値はビートが顕著になる。一方、本発明に係る同期周期を用いる同期演算では、累積値はビートが少なく、ほぼ直線的に増加していく。理想的には、周期入力信号に対する累積加算の共振型くし形フィルタの出力は、完全に同期が取れている場合、入力信号が定常周期信号であれば、信号振幅が直線的に増加することが分かっている。したがって、本発明に係る累積同期加算処理は、ほぼ同期が取れているといえる。ただし、実施例4の入力信号(図14)は,周期的減衰信号であり、その累積値は最終的に飽和する。そのため、図16において、サンプル数が大きくなると次第に直線増加から外れている。   Hereinafter, FIG. 15 and FIG. 16 will be compared. In the synchronization calculation using the approximated synchronization cycle, since the synchronization is slightly shifted, the accumulated value has a significant beat. On the other hand, in the synchronization calculation using the synchronization period according to the present invention, the accumulated value has few beats and increases almost linearly. Ideally, the output of a cumulative addition resonant comb filter with respect to a periodic input signal may increase linearly if the input signal is a stationary periodic signal, if it is perfectly synchronized. I know it. Therefore, it can be said that the cumulative synchronous addition processing according to the present invention is almost synchronized. However, the input signal of the fourth embodiment (FIG. 14) is a periodic decay signal, and its accumulated value is finally saturated. Therefore, in FIG. 16, when the number of samples increases, it gradually deviates from the linear increase.

本発明により、サンプリング周波数を変えることなく、精度の良い同期加算および減算処理、または累積同期加算及び減算処理が行え、実音に対する特定周波数信号成分の抽出や除去に有効である。
According to the present invention, accurate synchronous addition and subtraction processing or cumulative synchronous addition and subtraction processing can be performed without changing the sampling frequency, which is effective for extracting or removing a specific frequency signal component from an actual sound.

本発明に係る同期演算処理システムのブロック図である。It is a block diagram of the synchronous arithmetic processing system which concerns on this invention. 同期演算処理システムを実施するための計算機の概要図である。It is a schematic diagram of the computer for implementing a synchronous arithmetic processing system. 本発明の実施例1に係る同期減算処理を行うノッチ型くし形フィルタの模式図である。It is a schematic diagram of the notch type | mold comb filter which performs the synchronous subtraction process which concerns on Example 1 of this invention. 本発明の実施例2に係る累積同期加算処理を行う共振型くし形フィルタの模式図である。It is a schematic diagram of the resonance type | mold comb filter which performs the accumulation synchronous addition process which concerns on Example 2 of this invention. 本発明の実施例1と実施例2に係る同期演算処理のアルゴリズムを表すフローである。It is a flow showing the algorithm of the synchronous calculation process which concerns on Example 1 and Example 2 of this invention. 本発明の実施例1に係る同期減算処理の入出力信号である。It is an input / output signal of synchronous subtraction processing according to Embodiment 1 of the present invention. 本発明の実施例2に係る累積同期加算処理の入力信号である。It is an input signal of the accumulation synchronous addition process which concerns on Example 2 of this invention. 本発明の実施例2に係る図7の入力信号に対する同期周期を近似した累積同期加算処理の出力信号である。FIG. 8 is an output signal of cumulative synchronization addition processing approximating the synchronization period for the input signal of FIG. 7 according to Embodiment 2 of the present invention. 本発明の実施例2に係る図7の入力信号に対する同期周期の小数部を考慮した累積同期加算処理の出力信号である。It is an output signal of the cumulative synchronous addition process in consideration of the decimal part of the synchronous period with respect to the input signal of FIG. 7 according to Embodiment 2 of the present invention. 本発明の実施例3に係る一楽音信号に対する同期減算処理の入力信号である。It is an input signal of the synchronous subtraction process with respect to the one tone signal which concerns on Example 3 of this invention. 本発明の実施例3に係る図10の入力信号に対する同期周期を近似した同期減算処理の出力信号である。FIG. 10 is an output signal of a synchronous subtraction process approximating a synchronous period for the input signal of FIG. 10 according to Embodiment 3 of the present invention. 本発明の実施例3に係る図10の入力信号に対する同期周期の小数部を考慮した同期減算処理の出力信号である。FIG. 10 is an output signal of a synchronous subtraction process in consideration of the decimal part of the synchronous period for the input signal of FIG. 10 according to Embodiment 3 of the present invention. 本発明の実施例3に係る一楽音信号に対する同期減算処理の二つの同期周期に対する出力信号のパワーである。It is the power of the output signal with respect to two synchronous periods of the synchronous subtraction process with respect to the one tone signal which concerns on Example 3 of this invention. 本発明の実施例4に係る一楽音信号に対する累積同期加算処理の入力信号である。It is an input signal of the accumulation synchronous addition process with respect to the one musical tone signal which concerns on Example 4 of this invention. 本発明の実施例4に係る図14の入力信号に対する同期周期を近似した累積同期加算処理の出力信号である。FIG. 15 is an output signal of cumulative synchronization addition processing approximating the synchronization period for the input signal of FIG. 14 according to Embodiment 4 of the present invention. FIG. 本発明の実施例4に係る図14の入力信号に対する同期周期の小数部を考慮した累積同期加算処理の出力信号である。FIG. 15 is an output signal of cumulative synchronous addition processing in consideration of the fractional part of the synchronous period with respect to the input signal of FIG. 14 according to Embodiment 4 of the present invention.

符号の説明Explanation of symbols

1 入力部
2 サンプリング処理部
3 同期処理部
4 出力部
5 計算機システムバス
6 インターフェイス
7 メモリ
8 外部記憶装置
9 演算装置
10 ノッチ型くし形フィルタ
11 縦列構成くし形フィルタシステム
12 共振型くし形フィルタ
13 並列構成くし形フィルタシステム
DESCRIPTION OF SYMBOLS 1 Input part 2 Sampling process part 3 Synchronization process part 4 Output part 5 Computer system bus 6 Interface 7 Memory 8 External storage device 9 Arithmetic apparatus 10 Notch type comb filter 11 Cascade type filter system 12 Resonance type comb filter 13 Parallel Comb filter system

Claims (4)

ディジタル信号の同期演算処理であって、対象とするアナログ信号周波数とサンプリング周波数との比が整数にならないとき、サンプリング周波数を変えることなく、前記アナログ信号周波数とサンプリング周波数との比の値を整数部と小数部に分け、前記整数部と小数部の数値を重みとして直接用いて、サンプリング周期だけ離れたサンプル値に対して直ちにディジタル信号同期演算処理行うことを特徴とするディジタル信号同期演算処理方法。 Synchronous calculation processing of a digital signal, and when the ratio between the target analog signal frequency and the sampling frequency is not an integer, the value of the ratio between the analog signal frequency and the sampling frequency is changed to an integer part without changing the sampling frequency. A digital signal synchronization calculation processing method, wherein the digital signal synchronization calculation processing is performed immediately on sample values separated by a sampling period by directly using the numerical values of the integer part and the decimal part as weights. 請求項1に記載のディジタル信号同期演算処理方法であって、任意の時刻にサンプリングされた二つのディジタル信号に対し同期加算あるいは同期減算処理を行うことを特徴とするディジタル信号同期演算処理方法。 2. The digital signal synchronous calculation processing method according to claim 1, wherein synchronous addition or synchronous subtraction processing is performed on two digital signals sampled at an arbitrary time. 請求項1に記載のディジタル信号同期演算処理方法であって、任意の時刻にサンプリングされたディジタル信号に対し累積同期加算あるいは累積同期減算を行うことを特徴とするディジタル信号同期演算処理方法。 2. The digital signal synchronization calculation processing method according to claim 1, wherein cumulative synchronization addition or accumulation synchronization subtraction is performed on a digital signal sampled at an arbitrary time. 請求項1乃至請求項3に記載のディジタル信号同期演算処理方法であって、サンプリング周期ごとに連続して前記ディジタル信号同期演算処理を行うことを特徴とするディジタル信号同期演算処理プログラム。
4. The digital signal synchronization calculation processing method according to claim 1, wherein the digital signal synchronization calculation processing is performed continuously for each sampling period.
JP2008217313A 2008-08-26 2008-08-26 Method and program for processing synchronous operation of digital signal Pending JP2010056688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008217313A JP2010056688A (en) 2008-08-26 2008-08-26 Method and program for processing synchronous operation of digital signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008217313A JP2010056688A (en) 2008-08-26 2008-08-26 Method and program for processing synchronous operation of digital signal

Publications (1)

Publication Number Publication Date
JP2010056688A true JP2010056688A (en) 2010-03-11

Family

ID=42072181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008217313A Pending JP2010056688A (en) 2008-08-26 2008-08-26 Method and program for processing synchronous operation of digital signal

Country Status (1)

Country Link
JP (1) JP2010056688A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217206A (en) * 2013-04-26 2014-11-17 ダイキン工業株式会社 Memory device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217206A (en) * 2013-04-26 2014-11-17 ダイキン工業株式会社 Memory device

Similar Documents

Publication Publication Date Title
JP5908472B2 (en) Method for analyzing signals and providing instantaneous frequency and short-time Fourier transform, and device for analyzing signals
JP2009042716A (en) Cyclic signal processing method, cyclic signal conversion method, cyclic signal processing apparatus, and cyclic signal analysis method
JP2865842B2 (en) Digital signal weighting processor
JPH0619956A (en) Fast arithmetic unit and method, signal analyzing system and measuring instrument and method
JP2010056688A (en) Method and program for processing synchronous operation of digital signal
CN109584902B (en) Music rhythm determining method, device, equipment and storage medium
CN107749301B (en) Tone sample reconstruction method and system, storage medium and terminal device
KR100817692B1 (en) A method for estimating phase angle of time series data by discrete Fourier transform
JPH0573093A (en) Extracting method for signal feature point
JP2003044077A (en) Method, device and program for extracting audio feature amount
CN112067927B (en) Medium-high frequency oscillation detection method and device
JP4760179B2 (en) Voice feature amount calculation apparatus and program
JP2011147009A (en) Digital filter and digital filtering method
KR100706217B1 (en) Wave detection device, method, and recording medium
JPS62203199A (en) Pitch cycle extraction system
JPH05127668A (en) Automatic transcription device
Dos’ ko et al. Spectral analysis in machine-tool diagnostics
JP7516802B2 (en) Tempo detection device, method, and program
JPH08328593A (en) Spectrum analysis method
US9268745B2 (en) Method for fast wavelet transform of a signal
David et al. Fast sequential LS estimation for sinusoidal modeling and decomposition of audio signals
JP2019074373A (en) Marine engine speed estimating device, marine engine speed estimation method, and marine engine speed estimating program
JP2888916B2 (en) Spectrum analysis method and apparatus
JPH10301919A (en) Data processor
Chen A method of long-short time Fourier transform for estimation of fundamental frequency