<img height="1" width="1" src="https://www.facebook.com/tr?id=1101141206686180&amp;ev=PageView &amp;noscript=1">

Blog

Filtering Basics: Importance of Linear Phase

Publish Date 04 Aug 2022 Jason ThaiJason Thai

Linear phase and computation/memory complexity are important characteristics to consider when designing digital filters. When a filter has linear phase, all input frequency components are shifted in time by the same amount. This helps with preserving the waveform’s shape, which is an important aspect of mudpulse decoding.

Shown below is an example of two different filters with the similar magnitude response. Filter A has linear phase, while filter B has non-linear phase. From the frequency response, you can tell a filter has linear phase if the phase response has a constant slope.

Picture3-Jul-25-2022-03-31-54-23-PM

Picture4-Jul-25-2022-03-31-54-27-PM

Picture5-Jul-25-2022-03-31-54-31-PM

Although this is an extreme case, you can easily see that the waveform’s shape is highly distorted using filter B.

A linear phase, digital IIR filter cannot be realized due to the requirements for linear phase. Whereas, a linear phase, digital FIR filters can easily be generated. Specifically, the transfer function of a linear phase filter would need to satisfy . This suggests that an IIR filter must have poles outside the unit circle to have linear phase. However, this means the IIR filter would not be BIBO stable.

Linear phase is nice to have. However, if time delay or computation/memory complexity is important, we can always generate IIR filters with close to linear phase in the passband or frequency range of our desired signal. Shown below is a simple example of two different lowpass filters with a 1 Hz cutoff, one is a 1st order IIR filter, and the other is an 84 tap FIR filter. Both filters produce very similar outputs with the IIR filter having a lot less complexity and delay.

Picture6-Jul-25-2022-03-31-54-26-PM

Picture7-3

Picture8-3

This shows that an IIR filter can preserve the signal’s shape just as well as an FIR filter with fewer taps depending on the restrictions derived from our signal of interest.

 

 

 

 

Recent Posts:

Filtering Basics: Importance of Linear Phase
Publish Date 04 Aug 2022 Jason ThaiJason Thai

Linear phase and computation/memory complexity are important characteristics to [..]

Revisiting OAuth 2 in LabVIEW
Publish Date 04 Aug 2022 John AmstadtJohn Amstadt

Recap In my previous blog, we took a look at how to implement OAuth2 in LabVIEW. [..]

Engineering a Better 3D Print (Part 1)
Publish Date 04 Aug 2022 Michael MaloneyMichael Maloney

3D Printing and its widespread use has been a long time coming and seems to have [..]

NVCC – Intro to Utilizing GPU Power to Offload the CPU Part 3
Publish Date 04 Aug 2022 Jack BakerJack Baker

Assumptions: Machine has a Nvidia CUDA Core GPU (such as a GeForce) with installed [..]

How I Learn New Skills for Personal Growth
Publish Date 04 Aug 2022 Bryce UrestiBryce Uresti

Learning new skills can be quite the task especially when there's already so much [..]

Controlling the Supply Chain Dream
Publish Date 04 Aug 2022 Thomas MathewThomas Mathew

You are out with your friends, bird watching, and nothing could be more peaceful. [..]

Aligning Data in WAVE
Publish Date 04 Aug 2022 Rohama KhadijaRohama Khadija

When analyzing data from multiple sources, we often find that the time series data [..]