fbpx
Wikipedia

Causal filter

In signal processing, a causal filter is a linear and time-invariant causal system. The word causal indicates that the filter output depends only on past and present inputs. A filter whose output also depends on future inputs is non-causal, whereas a filter whose output depends only on future inputs is anti-causal. Systems (including filters) that are realizable (i.e. that operate in real time) must be causal because such systems cannot act on a future input. In effect that means the output sample that best represents the input at time comes out slightly later. A common design practice for digital filters is to create a realizable filter by shortening and/or time-shifting a non-causal impulse response. If shortening is necessary, it is often accomplished as the product of the impulse-response with a window function.

An example of an anti-causal filter is a maximum phase filter, which can be defined as a stable, anti-causal filter whose inverse is also stable and anti-causal.

Each component of the causal filter output begins when its stimulus begins. The outputs of the non-causal filter begin before the stimulus begins.

Example edit

The following definition is a sliding or moving average of input data  . A constant factor of 12 is omitted for simplicity:

 

where   could represent a spatial coordinate, as in image processing. But if   represents time  , then a moving average defined that way is non-causal (also called non-realizable), because   depends on future inputs, such as  . A realizable output is

 

which is a delayed version of the non-realizable output.

Any linear filter (such as a moving average) can be characterized by a function h(t) called its impulse response. Its output is the convolution

 

In those terms, causality requires

 

and general equality of these two expressions requires h(t) = 0 for all t < 0.

Characterization of causal filters in the frequency domain edit

Let h(t) be a causal filter with corresponding Fourier transform H(ω). Define the function

 

which is non-causal. On the other hand, g(t) is Hermitian and, consequently, its Fourier transform G(ω) is real-valued. We now have the following relation

 

where Θ(t) is the Heaviside unit step function.

This means that the Fourier transforms of h(t) and g(t) are related as follows

 

where   is a Hilbert transform done in the frequency domain (rather than the time domain). The sign of   may depend on the definition of the Fourier Transform.

Taking the Hilbert transform of the above equation yields this relation between "H" and its Hilbert transform:

 

References edit

  • Press, William H.; Teukolsky, Saul A.; Vetterling, William T.; Flannery, Brian P. (September 2007), Numerical Recipes (3rd ed.), Cambridge University Press, p. 767, ISBN 9780521880688
  • Rowell (January 2009), Determining a System’s Causality from its Frequency Response (PDF), MIT OpenCourseWare

causal, filter, signal, processing, causal, filter, linear, time, invariant, causal, system, word, causal, indicates, that, filter, output, depends, only, past, present, inputs, filter, whose, output, also, depends, future, inputs, causal, whereas, filter, who. In signal processing a causal filter is a linear and time invariant causal system The word causal indicates that the filter output depends only on past and present inputs A filter whose output also depends on future inputs is non causal whereas a filter whose output depends only on future inputs is anti causal Systems including filters that are realizable i e that operate in real time must be causal because such systems cannot act on a future input In effect that means the output sample that best represents the input at time t displaystyle t comes out slightly later A common design practice for digital filters is to create a realizable filter by shortening and or time shifting a non causal impulse response If shortening is necessary it is often accomplished as the product of the impulse response with a window function An example of an anti causal filter is a maximum phase filter which can be defined as a stable anti causal filter whose inverse is also stable and anti causal Each component of the causal filter output begins when its stimulus begins The outputs of the non causal filter begin before the stimulus begins Example editThe following definition is a sliding or moving average of input data s x displaystyle s x nbsp A constant factor of 1 2 is omitted for simplicity f x x 1 x 1 s t d t 1 1 s x t d t displaystyle f x int x 1 x 1 s tau d tau int 1 1 s x tau d tau nbsp where x displaystyle x nbsp could represent a spatial coordinate as in image processing But if x displaystyle x nbsp represents time t displaystyle t nbsp then a moving average defined that way is non causal also called non realizable because f t displaystyle f t nbsp depends on future inputs such as s t 1 displaystyle s t 1 nbsp A realizable output is f t 1 2 0 s t t d t 0 2 s t t d t displaystyle f t 1 int 2 0 s t tau d tau int 0 2 s t tau d tau nbsp which is a delayed version of the non realizable output Any linear filter such as a moving average can be characterized by a function h t called its impulse response Its output is the convolution f t h s t h t s t t d t displaystyle f t h s t int infty infty h tau s t tau d tau nbsp In those terms causality requires f t 0 h t s t t d t displaystyle f t int 0 infty h tau s t tau d tau nbsp and general equality of these two expressions requires h t 0 for all t lt 0 Characterization of causal filters in the frequency domain editLet h t be a causal filter with corresponding Fourier transform H w Define the function g t h t h t 2 displaystyle g t h t h t over 2 nbsp which is non causal On the other hand g t is Hermitian and consequently its Fourier transform G w is real valued We now have the following relation h t 2 8 t g t displaystyle h t 2 Theta t cdot g t nbsp where 8 t is the Heaviside unit step function This means that the Fourier transforms of h t and g t are related as follows H w d w i p w G w G w i G w displaystyle H omega left delta omega i over pi omega right G omega G omega i cdot widehat G omega nbsp where G w displaystyle widehat G omega nbsp is a Hilbert transform done in the frequency domain rather than the time domain The sign of G w displaystyle widehat G omega nbsp may depend on the definition of the Fourier Transform Taking the Hilbert transform of the above equation yields this relation between H and its Hilbert transform H w i H w displaystyle widehat H omega iH omega nbsp References editPress William H Teukolsky Saul A Vetterling William T Flannery Brian P September 2007 Numerical Recipes 3rd ed Cambridge University Press p 767 ISBN 9780521880688 Rowell January 2009 Determining a System s Causality from its Frequency Response PDF MIT OpenCourseWare Retrieved from https en wikipedia org w index php title Causal filter amp oldid 1154944426, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.