DSP IC WordLength
DSP IC WordLength
DSP IC WordLength
■ Round-off errors
Rounding or truncation of products must be done in recursive loops so that
the word length does not increase for each iteration.
The errors that occur under normal operating conditions can be modeled
as white noise, but both rounding and truncation are nonlinear operations
that may cause parasitic oscillations.
Floating-point addition also causes errors because of the denormalization
and normalization of the numbers involved.
■ Coefficient errors
Coefficients can only be represented with finite precision.
This results in a static deviation from the ideal frequency response for a
digital filter.
Zero-Input Oscillations
x(n) y(n)
T
b1
Q
T
b2
Q
Input x(n)
1
Zero input
0 n
Output y(n)
50Q
0 n
Parasitic oscillation
Output y(n)
50Q
0 n
x(n)
y(n)
b1 T
T
b2
xQ xQ
1–Q 1–Q
x x
–2 –1 1 2 –2 –1 1 2
–1 –1
Input x(n)
1
Zero input
0 n
0 n
Output y(n)
1
Saturation arithmetic
0 n
1 Input x(n)
Disturbance
1 Output y(n)
T T T
b3 a 3 b4 a 4 … bN aN
G3 G4 GN b2
a1
G1 Adaptor Network G2
b1 a2
N
p ( n ) =∆ ∑ Gk [ ak ( n ) 2 – bk ( n ) 2 ]
k=1