Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

PM0014 Datenblatt(PDF) 43 Page - STMicroelectronics

Teilenummer PM0014
Bauteilbeschribung  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0014 Datenblatt(HTML) 43 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 38Page - STMicroelectronics PM0014 Datasheet HTML 39Page - STMicroelectronics PM0014 Datasheet HTML 40Page - STMicroelectronics PM0014 Datasheet HTML 41Page - STMicroelectronics PM0014 Datasheet HTML 42Page - STMicroelectronics PM0014 Datasheet HTML 43Page - STMicroelectronics PM0014 Datasheet HTML 44Page - STMicroelectronics PM0014 Datasheet HTML 45Page - STMicroelectronics PM0014 Datasheet HTML 46Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 43 / 46 page
background image
PM0014
Signal processing library functions
43/46
6.4.2
iirBiquad5_q15_q15_q15
iirBiquad5_q15_q15_q15 (struct Filter *IirPtr).
Description:
Real IIR filter of 16-bit fractional inputs, coefficients and outputs.
The filter implemented is an IIR cascaded biquad cells form.
Argument:
IirPtr
Filter pointer.
Algorithm:
with Q = filter order/2, the number of cells
Notes:
The filter order must be an even number. Each biquad cells is
implemented in the direct form II.
The delay line must be stored in DPRAM. Its size is 2*3*Q. Before
the first call to the function, the delay line must be initialized to 0.
The coefficient a0 is fixed to 1.
Library users must care about the a(i) coefficients. If they are too
big in modulus, the filter internal states w(i) can saturate. The
output samples are in this condition false. This problem is less
important in iirBiquad5_q15_q15_q15 than in iir2_q15_q15_q15
because there are less a(i) coefficients used to compute biquad
cells. There can be some error bits because of the internal
rounding.
There is a saturation to 1 (respectively -1) if the computed output
sample is greater than 1 (respectively lower than -1).
Example of the use for iirBiquad5_q15_q15_q15:
#define IirNumberCells NumberOfCells
#define NbOutput NumberOfOutput
iram short Delayline[IirNumberCells*3];
iram short Coeff[IirNumberCells*5];
void main()
{
// Data definition
short Input[NbOutput];
short Out[NbOutput];
// Here should be the coef[] and input[] initialization.
See the Test part...
// Declare a filter structure
struct Filter Filt;
//Filter initialisation
Filt.NumberCoeffs = IirNumberCoeffs;
Filt.NumberOutputSamples = NbOutput;
Filt.CoeffPtr = Coeff;
Filt.InputPtr = Input;
Filt.OutputPtr = Out;
Filt.DelayLinePtr = Delayline;
//Filter processing
iirBiquad5_q15_q15_q15(&Filt);
}
Hz
()
k0
=
Q1
=
b0k + b1k x z
-1 + b
2k x z
-2
1 - a1k x z
-1 - a
2k x z
-2



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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