How to design LP filter in filterDesigner with unit gain
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am using the filter designer to create a low pass filter meeting specific specs like 30Hz cutoff frequency, passband frequency of 5Hz with sampling frequency of 1kHz. After trying out different architectures the IIR cheb type2 meets my spec best but when I use the filter designer to generate the HDL code the DC response of the filter is very very low.
I have tried different things like changing the gain from the pole-zero window, apply full precision both in the IO and the internal accumulator but nothing works as I would like in order to have unit gain in the output. I searched if there are filters that you can give as an input parameter the unit gain but nothing seems to be there in the filterDesigner.
Another thought was to scale my filter by a parameter which would be the sum of the coefficients but this is hard in the HDL as the different scale factors are calculated real time when the input is applied.
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su HDL Code Generation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!