Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
Example FIR filter coefficients Below are shown two filter designs for testing FIR filters. The assumption is that data words going into the filter are 12-bit 2's complement numbers and that coefficients are also 12-bit 2's complement signed numbers. An online FIR filter design tool was used to create these designs and can be found at: http://t-filter.engineerjs.com No claim is make that these are optimal designs, simple examples that can be used for demonstrating basic operation of a FIR filter. While a 16 tap filter will demonstrate basic filter operation, a 32 or 64 tap filter will allow sharper filter slopes and greater stop-band attenuation. A 16 tap band-pass filter, 50Khz sample rate 0-1000Hz stopband -29 db attenuation, i.e. output voltage 0.035 x Vin 2500-5500Hz passband -12.5 db attenuation, i.e. output voltage 0.24 x Vin 7000-25000Hz stopband -29 db attenuation Note that filter is fairly broad and there is significant attenuation in the pass-band. Coefficients are shown on the next page. Coefficients for the 16 tap bandpass filter: Decimal 357 -1413 -1048 -860 -440 182 807 1197 1197 807 182 -440 -860 -1048 -1413 357 Hex (signed 12 bit 2's complement) 165 A76 BE8 CA4 E48 0B6 327 4AD 4AD 327 0B6 E48 CA4 BE8 A76 165 A 32 tap bandpass filter, 3500-5500Hz pass band, 50Khz sample rate About 35 db attenuation in the stop bands, i.e. Vout = 0.0178 x Vin About 5 db attenuation in the pass band, i.e. Vout = 0.56 x Vin Coefficients for the 32 tap bandpass filter: Decimal -212 -84 42 258 484 597 490 131 -400 -918 -1203 -1095 -575 207 978 1454 1454 978 207 -575 -1095 -1203 -918 -400 131 490 597 484 258 42 -84 -212 Hex (signed 12 bit 2's complement) F2C FAC 0 2A 102 1E4 255 1EA 083 E70 C6A B4B 706 DC1 0CF 3D2 5AE 5AE 3D2 0CF DC1 706 B4B C6A E70 083 1EA 255 1E4 102 02A FAC F2C