Why does my IIR filter become unstable when I change

Technical Source
2 min readDec 11, 2021

--

Why does my IIR filter become unstable when I change Filter arithmetic to Fixed-point using FDATOOL in Filter Design Toolbox 4.3 (R2008a)?

I noticed that my filter is stable for Double-precision floating-point and Single-precision floating-point but unstable for Fixed-point. I would like to know if I can stabilize the filter without changing the frequency properties.

The reproduction steps are provided below:

a) Start FDATOOL

b) Select Bandpass for Response Type, Elliptic in IIR for Design Method, Filter Order 20. Set Fs to 44100, Fpass1 to 20 and Fpass2 to 250.

c) Design Filter

d) In “Set quantization parameters” pane, for Filter Arithmetic as Double-precision floating-point and Single-precision floating-point, the filter will be stable (as seen in “Current Filter Information” panel) and unstable when it is Fixed-point.

NOTE:-

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

Converting an IIR filter from floating-point to fixed-point can be difficult, especially when the poles of the filter are close to the unit circle. The coefficients quantization error can make the filter unstable (as it is in this case). So it will not be possible to directly create a fixed-point filter with the same frequency preferences. However, depending on the application, one can use multirate/multistage FIR designs as they can be an efficient alternative to IIR designs for highly selective filters. FIR filters are much easier to convert to fixed-point.

Another alternative might be to use Wave Digital (also known as IIR polyphase) filters. A demo on this topic can be found by executing the following statement on the MATLAB command prompt (in R2008a):

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.