General linear time invariant systems...Use the argument given above to determine the frequency...

35
Generalization of concepts RC & y(t ) + y(t ) x (t ) = α 1 d dt y(t ) + α 0 y(t ) + β 0 x (t ) = 0 Rewrite the differential equation for the RC filter: General linear time invariant systems RC filter special case of Nth order LTI system α k d k dt y(t ) + k = 0 N β k d k dt x (t ) = k = 0 L 0 WHAT IS IT GOOD FOR????

Transcript of General linear time invariant systems...Use the argument given above to determine the frequency...

Page 1: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Generalization of concepts

RC&y(t) + y(t) − x(t) = α1

ddty(t) +α0y(t) + β0x(t) = 0

Rewrite the differential equation for the RC filter:

General linear time invariant systems

RC filter special case of Nth order LTI system

α kd k

dty(t) +

k=0

N

∑ βkd k

dtx(t) =

k=0

L

∑ 0WHAT IS IT GOOD FOR????

Page 2: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

• The inertia of the mass —

Seismometer

• The spring —

• The dashpot —

2nd order LTI !!

Page 3: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

3

Page 4: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

4

Page 5: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

5

Page 6: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

System with two poles. Consider three different cases: a) Put both poles at -1.2566, 0. b) Put one pole at location -1.2566, 0 and the other one at

1.2566, 0. c) Put both poles at 1.2566, 0.

Problem 3.1

For the input signal, use a spike at the center position of the window (for DST an internal sampling frequency of 100Hz and a window length of 2048 points works well). What types of impulse response functions do you expect in each case? Will the frequency response functions be different? What changes do you expect for the frequency response functions with respect to Problem 2.3 (single pole at –1.2566,0)?

Page 7: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Consequences of transition from single pole to general N-th order system

• No major change in concept• Zeros in addition to poles• Can be treated in very similar way

Page 8: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

jω − sp → vector

rρp (ω)

jω − s0 → vector rρ0 (ω)

T ( jω) = ρ0 (ω) ejΘ0 1

ρp (ω)e− jΘp

Graphical estimation of the frequency response function

Fig. 3.2 Complex s plane representation of a system with a single pole and zero. The pole and zero locations are marked by an X, and a 0, respectively.

 Transfer function: s0 and sp: position of the zero and the pole, respectively.

Frequency response function: (s = jω) T ( jω) = jω − s0

jω − sp

rρp (ω)

rρ0 (ω)

Θ0

σ

Θ p

X 0

Page 9: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Arbitrary LTI system

The amplitude part of the frequency response function of an arbitrary LTI system can be determined graphically by multiplying the lengths of the vectors from the zero locations in the S plane to the point j on the imaginary axis divided by the product of all lengths of vectors from pole locations to the point j on the imaginary axis. Likewise, to determine the phase part, the phase angles for the vectors from the zero locations in the S plane to the point j on the imaginary axis have to be added together. Then, the phase angles of all the vectors from pole locations to the point j on the imaginary axis have to be subtracted.

Page 10: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position 1.2566, 0?

Problem 3.2

Page 11: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Fig. 3.3 Complex s plane representation of two systems with a single pole and zero. In b) the zero is at the same distance from the origin as in a) The pole and zero locations are marked by an X, and a 0, respectively.

The phase properties of general LTI system

How do the phase properties differ?

How does the amplitude response differ?

rρp (ω)

rρ0 (ω)

Θ0

σ

Θ p

X 0

rρp (ω)

rρ0 (ω)

σ

Θ p

XΘ00

Page 12: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Minimum/maximum phase

A causal stable system (no poles in the right half plane) is minimum phase provided it has no zeroes in the right hand plane.

It is maximum phase if it has all its zeroes in the right hand plane.

minimum phase systems: nice properties !

Page 13: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

How can the following two statements be proven for a general LTI system? a) If a system is minimum phase it will always have a stable and causal inverse filter. b) Any mixed phase system can be seen as a convolution of a minimum phase system and an allpass filter, which only changes the phase response but leaves the amplitude response as is.

Problem 3.3

Page 14: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

How can we change the two-sided impulse response from Problem 3.1b (one pole at –1.2566,0 and another one at 1.2566,0) into a right-sided one without changing the amplitude response? Keyword: allpass filter.

Problem 3.4

Page 15: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

The interpretation of the frequency response function

A single pole in the transfer function causes the slope of the amplitude frequency response function to decrease by 20 dB/decade (6 dB/octave).

The transition in either case occurs at corner frequencies which are equal to the modulus of the pole/zero position.

A single zero causes an increase of the slope by the same amount .

How about a zero?

Page 16: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

General ruleEach pole in the transfer function causes the slope of the amplitude frequency response function to decrease by 20 dB/decade (6 dB/octave).

The transition in either case occurs at corner frequencies which are equal to the moduli of the pole/zero positions.

Each zero causes an increase of the slope by the same amount .

Page 17: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Consider a system with a pole and a zero on the real axis of the s plane. Let the pole position be (-6.28318, 0), and the zero position (.628318,0). What is the contribution of the zero to the frequency response function? An internal sampling frequency of 20 Hz is recommended in DST

Problem 3.5

Page 18: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

One more point...

• So far only singularities on the real axis. What happens for singularities away from real axis?

Yes, but: Real systems require conjugate complex singularities.

Are we allowed to do this?

Page 19: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Problem 3.6

Move the pole position of a double pole at (-1.2566,0) in steps of 15o (up to 75o and 85o) along the circle with the radius corresponding to the corner frequency of the poles. Calculate impulse response functions and the amplitude portions of the frequency response functions.

(ω p )

Page 20: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Fig. 3.5 Impulse responses for a system with a conjugate complex pole for the pole positions at different angles with the real axis of the s plane (15, 30, 45, 60, 75, 85°).

Fig. 3.6 Frequency response functions (amplitude) corresponding to Fig. 3.5.

Page 21: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Use the pole-zero approach to design a notch filter suppressing unwanted frequencies at 6.25 Hz. What kind of singularities do we need? How can we make use of the result of Problem 3.6?

Problem 3.7

Page 22: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

• The inertia of the mass —

Seismometer

• The spring —

• The dashpot —

Page 23: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Transfer function: T s( )Xr s( )Ug s( )-------------- s2–

s2 2εs ω02+ +

---------------------------------= =

Seismometer Transfer functionLaplace transform of x··r t( ) 2εx· r t( ) ω0

2xr t( )+ + u··g t( )–=

s2Xr s( ) 2εsXr s( ) ω02Xr s( )+ + s2Ug s( )–=

and s2 2εs ω02+ +( )Xr s( ) s2Ug s( )–=

x1,2 = −b2±

b2

4− c

Since a quadratic equation x2 + bx + c = 0 has the roots

Page 24: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

p1,2 = −ε ± ε 2 − ω02

= −hω0 ±ω0 h2 −1

= − h ± h2 −1( )ω0

p1,2 = − h ± j 1− h2( )ω0

For the underdamped case (h < 1) the pole position becomes

Therefore, the poles of an underdamped seismometer are located in the left half of the s plane in a distance of |ω0| from the the origin. The quantity h |ω0| gives the distance from the imaginary axis.

pole positions p1,2:

with the pole distance from the origin

p1,2 = h ± j 1− h2( ) ⋅ ω0 = h2 + (1− h2 ) ⋅ ω0 = ω0

Page 25: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Inverse and simulation filtering !

of digital seismograms

NEXT: From filter problem to the simulation problem - the conversion of digital (broad-band) records into those from different seismograph systems.

REASON: Signal amplitudes or onset time determination in a manner consistent with other observatories. Simulated systems will most commonly belong to the standard classes of instruments described by Willmore (1979) because there is no single, optimum class of instruments for the detection and analysis of different types of seismic waves.

Page 26: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Instrument classes

• High frequency teleseismic body waves: SP-instruments (class A)

• LP body waves and teleseismic surface waves: LP-instruments (class B)

• Regional body and surface waves: intermediate band (class C).

• Local magnitude: Wood-Anderson instrument.

Page 27: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

WWSSN-SPclass A

WWSSN-LPclass B

KIRNOSclass C

Wood-Anderson

Fig. 9.1 Shapes of the moduli of the displacement frequency response functions of commonly used standard seismograph systems.

Page 28: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Ysim z( )Tsyn z( )

Tact z( )------------------= Yact z( )! Tsim z( ) Yact z( )!=

= transfer function of actual recording system

= transfer function of the instrument to be synthesized

= z- transform of the recorded seismogram

= z- transform of the simulated seismogram

Simulation = Deconvolution + Filtering

Page 29: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

*

*

*

log f

log A

log f

log A

log f

log A

log f

log A

log f

log A

Recorded Seismogram Simulation Filter Simulated Seismogram

Inverse

FilterSynthesizing

Filter

Tsyn z( )

Tsim z( )

Tact1– z( )

Yact z( ) Ysim z( )!

Fig. 9.2 The simulation of digital seismographs. The simulation filter can be thought of as a combination of an inverse filter for the actual recording system and a synthesizing filter for the simulated recording system. Displayed are schematic sketches of the amplitude frequency response functions of the contributing subsystems.

The concept of instrument simulation

Page 30: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

log f log flog f

source spectrum recording system recorded spectrum

*

!*

!

Recovery of source spectrum:

log f log flog f

recorded spectrum inverse filter source spectrum

*

!*

!

Fig. 9.4 Recovering the source spectrum by inverse filtering in the noisefree case.

Fig. 9.3 Recording the displacement spectrum of an idealized earthquake source.

Noisefree situation

9.1 Stability problems

Page 31: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

log f log flog f

‘noisy’ spectrum inverse filter ‘noisy’ source spectrum!*

!

noise

*

noise amplification

valid frequencyband

Fig. 9.5 Noise amplification by inverse filtering. The solid line in the left

panel shows the signal plus noise while the noisefree signal is shown by

the dashed line.

Noisy situation

Consequence:•  The instrument response can only be deconvolved within a certain valid frequency band in the presence of noise. The valid frequency band depends on both the signal-to noise ratio and the slope of the frequency response function of the recording systems.

Problem:• Decrease of signal-to-noise ratio (SNR) outside the pass-band of the recording instrument

•  magnification of the inverse filter is largest where SNR is smallest. Thus, noise in this frequency band will be amplified (instability!).

Page 32: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

From the shape of the frequency response function in the figure determine the poles and zeroes of the corresponding transfer function.

Problem 3.8

Fig. 3.4 Frequency response function (amplitude) with an unknown pole - zero distribution.

Page 33: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

Solution 3.8 Within DST, the frequency response function of Problem 3.8 can be modeled by poles and zeros entered via the

Modify and Enter option of the Poles/ Zeros menu. First select problem3.8 from the Load Response to Fit option of the

Poles/Zeros menu to display the frequency response function shown in Fig. 3.4. Next, estimate the different slopes and

determine the number of poles and zeros which are needed to model them. One reasonable interpretation is sketched in Fig. A

3.15. Next, try to find the corner frequencies at which the changes in slope occur (here 0.05 Hz and 5 Hz).

3 zeros

2 poles7 poles

!3

"

(in origin)

!"

(corresp. to 0.05 Hz)(corresp. to 5 Hz)

!6–

"

Fig. A 3.15 Frequency response function (amplitude) with an ’unknown’ pole - zero distribution from Problem 3.8.

Page 34: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

(-0.2221, 0.2221)

(-0.2221, -0.2221)

(-28.473, 13.277)

(-28.473, -13.277)

(-20.194, 24.066)

(-20.194, -24.066)

(-8.131, 30.346)

(-8.131, -30.346)

(-31.416, 0)

This is displayed below (Fig. A 3.16).

Fig. A 3.16 Trial pole/zero position to match the amplitude frequency response function of Problem 3.8.

Page 35: General linear time invariant systems...Use the argument given above to determine the frequency response for a system with a single pole at –1.2566,0 if you add a zero at position

At the corner frequency of 5 Hz, the frequency response function of Problem 3.8 has slightly higher

amplitudes and shows a sharper change of slopes with respect to the trial frequency response

function. This difference can be reduced by shifting some of the poles of the trial response closer to

the imaginary axis to obtain a more "resonant" behaviour at that frequency.

The real distribution of poles and zeros for the frequency response function of Problem 3.8 is given

below. It describes the frequency response function of the GRF array in SE Germany.

Poles:

(-0.2221, 0.2221)

(-0.2221, -0.2221)

(-7.0058, 30.6248)

(-7.0058, -30.6248)

(-19.5721, 24.5742)

(-19.5721, -24.5742)

(-28.3058, 13.6288)

(-28.3058, -13.6288)

(-31.4159, 0.0)

Zeros:

(0.0, 0.0)

(0.0, 0.0)

(0.0, 0.0)

Scale factor:

2.49059e10

For the generation of Fig. A 3.15 - Fig. A 3.17 within DST, an internal sampling frequency of 20 Hz

and a window length of 2048 points was used.