Why does the filter block not have an input port when it is created using FDA Toolbox 3.2 (R14SP2) with quantization parameters?

1 view (last 30 days)
I created the following quantized filter using the Filter design toolbox and also created a filter block using the "Realize Model" option in FDA Toolbox 3.2 (R14SP2).
The filter block thus created does not have an input port. This happens only in FDA Toolbox 3.2 (R14SP2) when FDATOOL generates filter blocks with quantized filter coefficients.
See the attached fwizdef.fda session file.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The missing input port is a consequence of the optimization for zero gains. If you notice, the first scale value is quantized to zero so you will not get anything useful out of this filter. So this is not a BUG in FDA Toolbox but a problem with the filter design specifications.
More so, there are fundamental problems with this filter design. The poles of the reference filter being very close to the unit circle, it is very challenging to implement the filter with only 8 bits of precision for the coefficients. In this case, the poles actually move right on the unit circle and the filter becomes unstable.
Reasonable results can be obtained by increasing the coefficients word length, for example to 16 bits of precision (See the fwizdef_16.fda session file).

More Answers (0)

Products


Release

R14SP2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!