| Electronic Components Datasheet Search |
|
AN2874 Datasheet(PDF) 4 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2874 Datasheet(HTML) 4 Page - STMicroelectronics |
|
4 / 6 page ![]() Filter coefficient formatting for STA309X AN2874 4/6 4 Filter coefficient formatting for STA309X The filter coefficients obtained using the design equations are not compatible with the format used by the STA309X GUI applications. The coefficients are in the form of signed fractional numbers, whereas the GUI requires the coefficients to be in a signed fixed-point integer format. STA309X biquad coefficients The STA309X uses the following equation for biquad filter processing: y[n] = x[n] + (b0 - 1).x[n] + 2 * (b1 / 2).x[n-1] + b2.x[n-2] - 2 * (a1 / 2).y[n-1] - a2.y[n-2] = b0.x[n] + b1.x[n-1] + b2.x[n-2] - a1.y[n-1] - a2.y[n-2]. The order and format in which the coefficients are to be provided is as follows: b2 b0 - 1 a2 a1 / 2 b1 / 2. The coefficients are constrained to be in a 24-bit signed fixed-point integer format. Hence the filter coefficients must be in the range [0x800000, 0x7FFFFF], which is equivalent to the fractional range [-1.0, 1.0]. In order to meet the afore mentioned criteria, the filter coefficients computed using the design equations are first processed as per the relations given above. This set of newly processed coefficients are quantized to 20-bit fixed-point numbers and then converted into hexadecimal format. Now, the coefficients are ready to be loaded into the STA309X design using its GUI. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |