Saludos
Estoy en un problema, no se como cuantificar los coeficientes que calcule para un filtro digital IIR que deseo implementar en un dsPIC
dsPIC FD ya saca normalizado los coeficientes con fixed - point asi:
===========================================
NO. OF QUANTIZED BITS 16 10h
QUANTIZATION TYPE - FRACTIONAL FIXED POINT
COEFFICIENTS SCALED FOR CASCADE FORM I
1 1 /* shift count for overall gain */
16384 4000 /* overall gain */
0 0 /* shift count for section 1 values */
2608 ___A30___!!!!!1estos valores son normalizados !!!!!!!!! /* section 1 coefficient B0 */
5217 1461 /* section 1 coefficient B1 */
2608 A30 /* section 1 coefficient B2 */
30038 7556 /* section 1 coefficient -A1*/
-7706 FFFFE1E6 /* section 1 coefficient -A2*/
1 1 /* shift count for section 2 values */
1681 691 /* section 2 coefficient B0 */
3362 D22 /* section 2 coefficient B1 */
1681 691 /* section 2 coefficient B2 */
19354 4B9A /* section 2 coefficient -A1*/
-9695 FFFFDA21 /* section 2 coefficient -A2*/
0.7958984375000000E-01 3FB4600000000000 0.79589844E-01 /* section 1 B0 */
0.1592102050781250E+00 3FC4610000000000 0.15921021E+00 /* section 1 B1 */
0.7958984375000000E-01 3FB4600000000000 0.79589844E-01 /* section 1 B2 */
0.9166870117187500E+00 BFED558000000000 0.91668701E+00 /* section 1 -A1*/
-.2351684570312500E+00 3FCE1A0000000000 -.23516846E+00 /* section 1 -A2*/
0.5130004882812500E-01 3FAA440000000000 0.10260010E+00 /* section 2 B0 */
0.1026000976562500E+00 3FBA440000000000 0.20520020E+00 /* section 2 B1 */
0.5130004882812500E-01 3FAA440000000000 0.10260010E+00 /* section 2 B2 */
0.5906372070312500E+00 BFE2E68000000000 0.11812744E+01 /* section 2 -A1*/
-.2958679199218750E+00 3FD2EF8000000000 -.59173584E+00 /* section 2 -A2*/
======================================================
alguien sabe alguna formula