CN100499370C - Filter of accurate realizing signal differentiation, and method for implementing signal differentiation - Google Patents

Filter of accurate realizing signal differentiation, and method for implementing signal differentiation Download PDF

Info

Publication number
CN100499370C
CN100499370C CNB2003101182668A CN200310118266A CN100499370C CN 100499370 C CN100499370 C CN 100499370C CN B2003101182668 A CNB2003101182668 A CN B2003101182668A CN 200310118266 A CN200310118266 A CN 200310118266A CN 100499370 C CN100499370 C CN 100499370C
Authority
CN
China
Prior art keywords
signal
filter
sample point
delay cell
multiplication unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2003101182668A
Other languages
Chinese (zh)
Other versions
CN1627639A (en
Inventor
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2003101182668A priority Critical patent/CN100499370C/en
Publication of CN1627639A publication Critical patent/CN1627639A/en
Application granted granted Critical
Publication of CN100499370C publication Critical patent/CN100499370C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Filters That Use Time-Delay Elements (AREA)

Abstract

The disclosed filter includes multiple delay cells, multiple multiplication units and one addition unit. Number of multiplication units is one more than number of delay cells. Result of multiplying input signal and output signal, which is a delayed input signal by a delay cell, by a coefficient through a multiplication unit is output to the said addition unit. The addition unit outputs signal differential of input signal. The method uses FIR filter to carry out differential operation, providing higher computational accuracy, no accumulative error, equivalent precision between differential in high order and differential in first order, no problem of such that differential in higher order has larger error.

Description

Accurately realize the filter of signal differentiation and use it to realize the method for signal differentiation
Technical field
The present invention asks for the filter of input differential signal and uses this kind filter accurately to realize the method for signal differentiation relevant for a kind of.
Background technology
In signal processing, signal is carried out the processing method that differential is a kind of frequent use.Usually ask the differential of signal generally to be converted into the computing of asking difference at numeric field.This method has many shortcomings, and not only precision is not high, and has the accumulation of error when asking high subdifferential, can't use so that error is very big.As shown in Figure 1, difference mainly realizes that by a delay cell 101 and a subtrator signal x (n) input delay unit 101 obtains the signal x (n-1) that postpones a sampling period, signal x (n-1) and signal x (n) are input to subtrator 102, output differential signal Y (n).
Ask high subdifferential if desired, just above-mentioned differential scheme cascade is used.
More than use the scheme that difference method differentiates following shortcoming arranged:
1, difference method is differentiated, owing to be directly to use former and later two sample values to subtract each other, can exist than mistake, and error increases with the increase of sampling period.
2, use difference method and ask high subdifferential, can be owing to the accumulation of error cause resultant error very big, differentiating stage is inferior high more, and error is big more, makes the application difference method ask high subdifferential in fact not have the use meaning.
The result is that difference method is differentiated and used relatively difficulty, only is applied in occasions such as not high subdifferential of required precision or low subdifferential.
Summary of the invention
The invention provides and a kind ofly ask for the filter of input differential signal and use the method that this kind filter is realized signal differentiation, can effectively improve computational accuracy and can not produce the accumulation of error with the raising of differential exponent number.
The invention provides a kind of filter of accurate realization signal differentiation, comprise m delay cell, a m+1 multiplication unit and an adder unit, wherein m is the exponent number of filter, and m is more than or equal to the exponent number n that is differentiated; The sampled signal that will obtain after will sampling to input signal is imported the 1st multiplication unit and the 1st delay cell, and other each delay cell except that the 1st delay cell receives the signal of previous delay cell output respectively; After handling the signal that receives, described m delay units delay output signal to the 2nd respectively to m+1 multiplication unit, a described m+1 multiplication unit will output signal to described adder unit behind the coefficient of signal times with the filter of correspondence that receive respectively, and described adder unit carries out addition to the signal that receives and handles the differential signal that obtains described input signal; Wherein, the coefficient of the filter of described m+1 multiplication unit correspondence be respectively n! H -1(n) a m+1 factor, H -1(n) be matrix H -1The capable coefficient of n+1, described matrix H is by 0,1,2 of the m+1 that input signal is sampled pairing each sampling time of sample point, 3... form to m power, pairing each sampling time of described each sample point is the integral multiple of continuous sampling period, and in the described matrix H, and first is 1 in the capable capable vector of p, second is 1 of p the pairing sampling time of sample point to the m+1 item, 2,3... is to m power, wherein p=1,2......m+1; The 1st classifies the column vector that m+1 1 forms as, q classify as each sample point q-1 power of each self-corresponding sampling time, q=2,3......m+1.
The invention provides a kind of method of using described filter accurately to realize signal differentiation, comprise the following steps:
1) input signal is sampled;
2) sampled signal is input to the 1st multiplication unit and the 1st delay cell of described filter, other each delay cell except that the 1st delay cell receives the signal of previous delay cell output respectively, after handling the signal that receives, described m delay units delay output signal to the 2nd respectively to m+1 multiplication unit, a described m+1 multiplication unit will output signal to described adder unit behind the coefficient of signal times with the filter of correspondence that receive respectively, and described adder unit carries out addition to the signal that receives and handles the differential signal that obtains described input signal; Wherein, the coefficient of the filter of m+1 multiplication unit correspondence be respectively n! H -1(n) a m+1 factor, H -1(n) be matrix H -1The capable coefficient of n+1, described matrix H is 0,1,2 of m+1 pairing each sampling time of sample point that input signal is sampled, 3... the determinant of forming to m power, pairing each sampling time of described each sample point is the integral multiple of continuous sampling period, and in the described matrix H, and first is 1 in the capable capable vector of p, second is 1 of p the pairing sampling time of sample point to the m+1 item, 2,3... is to m power, wherein p=1,2......m+1; The 1st classifies the column vector that m+1 1 forms as, q classify as each sample point q-1 power of each self-corresponding sampling time, q=2,3......m+1;
3) read the signal that described filter is exported.
Described each sample point is chosen for the center symmetry with t=0.
The sampling frequency of described each sample point is at least the twice of input signal highest frequency.
The present invention uses the FIR filter and differentiates, and computational accuracy is higher, and precision is relevant with the exponent number of FIR filter, and the exponent number of FIR filter is big more, and the precision of being differentiated is high more.
The error free accumulation of method of the present invention asks the precision of a high subdifferential and a subdifferential suitable, can not exist the differential order high more, the problem that error is big more.
Description of drawings
Fig. 1 is for asking the realization block diagram of signal differentiation with difference method in the prior art.
Fig. 2 asks the process schematic diagram of signal differentiation with the FIR filter for the present invention.
Fig. 3 is the present invention's FIR filter construction block diagram.
Embodiment
The method schematic diagram that the present invention asks signal differentiation with the FIR filter as shown in Figure 2, the sampled signal x (kT) of x (t) is input to the FIR filter, output signal is exactly the n subdifferential signal X of x (t) (n)(t) sampling X (n)(kT).
The detailed block diagram of the FIR filter that realization is differentiated to input signal as shown in Figure 3.M is the exponent number of FIR filter among Fig. 3, and n is the exponent number of being differentiated, and m is more than or equal to n.The FIR filter comprises m delay cell and m+1 multiplication unit and an adder unit.The output signal process multiplication unit of input signal and delay cell multiply by the coefficient h (k) of corresponding filter respectively, k=0, and 1 ..., m.Each signal with multiplication unit output carries out sum operation through adder unit then, and the output signal of this adder unit is the n rank differential signal of input signal.
The exponent number m of filter is big more, and the differential precision of being asked is high more, and amount of calculation is big more simultaneously, and filter is complicated more.
The coefficient h of filter (k) changes with the change of the exponent number m of exponent number n that is differentiated and filter, and the acquiring method of the coefficient h of filter (k) is as follows:
Ask for the differential of a certain moment signal, constantly as initial point, signal can be expressed as a multinomial with this:
x(t)=a 0+a 1t+a 2t 2+a 3t 3+a 4t 4+...+a nt n+a n+1t n+1+...
Then
dx ( t ) dt = x ′ ( t ) = a 1 + 2 a 2 t + 3 a 3 t 2 + . . . + n a n t n + 1 + . . .
d 2 x ( t ) dt 2 = x ′ ′ ( t ) = 2 a 2 + 3 × 2 a 3 t + . . . + n × ( n - 1 ) a n t n - 2 + . . .
d n x ( t ) dt n = x ( n ) ( t ) = n ! a n + ( n + 1 ) ! 1 a n + 1 t + . . . . . .
As seen t=0 n subdifferential constantly is:
d n x ( 0 ) dt n = n ! a n
That is to say, ask t=0 n subdifferential constantly only need obtain polynomial coefficient a nGet final product.
The polynomial expression formula of simplifying signal is the m+1 item, and m is more than or equal to n,
x(t)=a 0+a 1t+a 2t 2+...+a mt m
With near the value of constantly m+1 the sample point of t=0, the substitution following formula is formed m+1 item equation group, separates this equation group, just can obtain m+1 item coefficient.
With choose t=-kT ,-(k-1) T ..., 0 ... (k-1) T, kT m+1=2k+1 the sample value of putting constantly is example.Order
X = x ( - kT ) x ( - ( k - 1 ) T ) · · · x ( - T ) x ( 0 ) x ( T ) · · · x ( ( k - 1 ) T ) x ( kT )
A = a 0 a 1 · · · a k · · · a 2 k
H = 1 , ( - kT ) 1 , ( - kT ) 2 , . . . , ( - kT ) 2 k 1 , ( - ( k - 1 ) T ) 1 , ( - ( k - 1 ) T ) 2 , . . . , ( - ( k - 1 ) T ) 2 k · · · · · · · · · · · · · · · · · · 1 , ( - T ) 1 , ( - T ) 2 , . . . , ( - T ) 2 k 1,0,0 , . . . , 0 1 , T , T 2 , . . . , T 2 k · · · · · · · · · · · · · · · · · · 1 , ( kT ) , ( kT ) 2 , . . . . ( kT ) 2 k
Wherein T is sampling period, then
X=HA
Solve an equation and obtain:
A=H -1X
Make H -1The n+1 row coefficient be H -1(n), n is smaller or equal to 2k, and promptly n is smaller or equal to m, then
a n=H -1(n)X
Be that t=0 n subdifferential constantly is
d n y ( 0 ) dt n = n ! H - 1 ( n ) X
As seen with n! H -1(n) a 2k+1 factor is as the coefficient of FIR filter, constitutes filter, and signal x (k) is carried out filtering, and the output of filter is exactly the signal after the n subdifferential of signal x (k).
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.

Claims (4)

1, a kind of filter of accurate realization signal differentiation comprises m delay cell, a m+1 multiplication unit and an adder unit, and wherein m is the exponent number of filter, and m is more than or equal to the exponent number n that is differentiated:
The sampled signal that will obtain after will sampling to input signal is imported the 1st multiplication unit and the 1st delay cell, and other each delay cell except that the 1st delay cell receives the signal of previous delay cell output respectively;
After handling the signal that receives, described m delay units delay output signal to the 2nd respectively to m+1 multiplication unit;
A described m+1 multiplication unit will output signal to described adder unit behind the coefficient of signal times with the filter of correspondence that receive respectively;
Described adder unit carries out addition to the signal that receives and handles the differential signal that obtains described input signal;
Wherein, the coefficient of the filter of described m+1 multiplication unit correspondence be respectively n! H -1(n) a m+1 factor, H -1(n) be matrix H -1The capable coefficient of n+1, described matrix H is by 0,1,2 of the m+1 that input signal is sampled pairing each sampling time of sample point, 3... form to m power, pairing each sampling time of described each sample point is the integral multiple of continuous sampling period, and in the described matrix H, and first is 1 in the capable capable vector of p, second is 1 of p the pairing sampling time of sample point to the m+1 item, 2,3... is to m power, wherein p=1,2......m+1; The 1st classifies the column vector that m+1 1 forms as, q classify as each sample point q-1 power of each self-corresponding sampling time, q=2,3......m+1.
2, a kind of method of using the described filter of claim 1 accurately to realize signal differentiation is characterized in that, comprises the following steps:
1) input signal is sampled;
2) sampled signal is input to the 1st multiplication unit and the 1st delay cell of described filter, other each delay cell except that the 1st delay cell receives the signal of previous delay cell output respectively, after handling the signal that receives, described m delay units delay output signal to the 2nd respectively to m+1 multiplication unit, a described m+1 multiplication unit will output signal to described adder unit behind the coefficient of signal times with the filter of correspondence that receive respectively, and described adder unit carries out addition to the signal that receives and handles the differential signal that obtains described input signal; Wherein, the coefficient of the filter of m+1 multiplication unit correspondence be respectively n! H -1(n) a m+1 factor, H -1(n) be matrix H -1The capable coefficient of n+1, described matrix H is 0,1,2 of m+1 pairing each sampling time of sample point that input signal is sampled, 3... the determinant of forming to m power, pairing each sampling time of described each sample point is the integral multiple of continuous sampling period, and in the described matrix H, and first is 1 in the capable capable vector of p, second is 1 of p the pairing sampling time of sample point to the m+1 item, 2,3... is to m power, wherein p=1,2......m+1; The 1st classifies the column vector that m+1 1 forms as, q classify as each sample point q-1 power of each self-corresponding sampling time, q=2,3......m+1.
3) read the signal that described filter is exported.
3, the method for accurate realization signal differentiation as claimed in claim 2 is characterized in that, described each sample point is chosen for the center symmetry with t=0.
4, the method for accurate realization signal differentiation as claimed in claim 3 is characterized in that, the sampling frequency of described each sample point is at least the twice of input signal highest frequency.
CNB2003101182668A 2003-12-09 2003-12-09 Filter of accurate realizing signal differentiation, and method for implementing signal differentiation Expired - Fee Related CN100499370C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101182668A CN100499370C (en) 2003-12-09 2003-12-09 Filter of accurate realizing signal differentiation, and method for implementing signal differentiation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101182668A CN100499370C (en) 2003-12-09 2003-12-09 Filter of accurate realizing signal differentiation, and method for implementing signal differentiation

Publications (2)

Publication Number Publication Date
CN1627639A CN1627639A (en) 2005-06-15
CN100499370C true CN100499370C (en) 2009-06-10

Family

ID=34761111

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101182668A Expired - Fee Related CN100499370C (en) 2003-12-09 2003-12-09 Filter of accurate realizing signal differentiation, and method for implementing signal differentiation

Country Status (1)

Country Link
CN (1) CN100499370C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162895B (en) * 2006-10-11 2010-06-16 中兴通讯股份有限公司 High speed FIR filter realizing device
CN101848319B (en) * 2010-04-02 2012-06-06 蒲亦非 Fractional calculus filter of digital images of high-precision computation
CN101815164B (en) * 2010-04-14 2012-05-16 蒲亦非 High-precision digital image fractional order integrating filter based on Riemann-Liouville definition
CN102231624B (en) * 2011-07-28 2014-02-12 中国人民解放军国防科学技术大学 Vector processor-oriented floating point complex number block finite impulse response (FIR) vectorization realization method
CN105978521A (en) * 2016-06-22 2016-09-28 广东电网有限责任公司电力科学研究院 Extraction method and device for approximate differential signals of process signals
CN109525214B (en) * 2018-10-11 2022-10-14 上海辛格林纳新时达电机有限公司 Filtering method of FIR (finite Impulse response) filter, FIR filter and servo driver

Also Published As

Publication number Publication date
CN1627639A (en) 2005-06-15

Similar Documents

Publication Publication Date Title
US7142937B1 (en) Capacity management in a wafer fabrication plant
CN100499370C (en) Filter of accurate realizing signal differentiation, and method for implementing signal differentiation
JP2007527157A (en) Apparatus and method for separating noise effects contained in a signal
CN102412806B (en) The Farrow wave filters and its implementation of logic-based circuit
CN103236825A (en) Data correcting method for high-precision data acquiring system
CN1195823A (en) Interpolator using plurality of polynomial equations and associated methods
CN110365312A (en) The heterogeneous structure and its factor design method of two channel quadrature mirror filter groups
CN110781622A (en) Unified probability interval mixed uncertainty propagation analysis method
CN105066990A (en) High-precision digital filter applicable to strapdown inertial navigation
Wang et al. The distribution of discounted compound PH–renewal processes
CN102891662B (en) A kind of general rate down-conversion, up conversion device and method
Bistritz Testing stability of 2-D discrete systems by a set of real 1-D stability tests
CN110825346B (en) Low logic complexity unsigned approximation multiplier
JPH09325955A (en) Square root arithmetic circuit for sum of squares
CN117113054A (en) Multi-element time sequence prediction method based on graph neural network and transducer
CN109921764A (en) 4 times of interpolation Integrator-Comb cic filter parallel high-speed algorithms
CN102662917B (en) Design method of positive-definite Hermite matrix Cholesky decomposition high-speed systolic array
CN115062474B (en) Working condition simulation method and system of lithium battery, terminal device and storage medium
CN101162895B (en) High speed FIR filter realizing device
CN110620566A (en) FIR filtering system based on combination of random calculation and remainder system
EP2651033B1 (en) Filter system
CN109787585A (en) A kind of FIR filtering system based on nested type residue number system
CN115659880A (en) Hardware circuit and method of principal component analysis algorithm based on singular value decomposition
JPH06350399A (en) Method and digital filter architecture for filtering digital signal
CN101453486B (en) Parallel beam forming device based on multiple FPGA

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090610

Termination date: 20131209