# 13.4 Iir coefficient quantization analysis

 Page 1 / 1
Proper coefficient quantization is essential for IIR filters. Sensitivity analysis shows that second-order cascade-form implementations have much lower sensitivity than higher-order direct-form or transpose-form structures. The normal form is even less sensitive, but requires more computation.

Coefficient quantization is an important concern with IIR filters, since straigthforward quantization often yields poor results, and becausequantization can produce unstable filters.

## Sensitivity analysis

The performance and stability of an IIR filter depends on the pole locations, so it is important to know howquantization of the filter coefficients ${a}_{k}$ affects the pole locations ${p}_{j}$ . The denominator polynomial is $D(z)=1+\sum_{k=1}^{N} {a}_{k}z^{-k}=\prod_{i=1}^{N} 1-{p}_{i}z^{(-1)}$ We wish to know $\frac{\partial^{1}{p}_{i}()}{\partial {a}_{k}}$ , which, for small deviations, will tell us that a  change in ${a}_{k}$ yields an $=\frac{\partial^{1}{p}_{i}()}{\partial {a}_{k}}$ change in the pole location. $\frac{\partial^{1}{p}_{i}}{\partial {a}_{k}}$ is the sensitivity of the pole location to quantization of ${a}_{k}$ . We can find $\frac{\partial^{1}{p}_{i}}{\partial {a}_{k}}$ using the chain rule. $(z, , \frac{\partial^{1}A(z)}{\partial {a}_{k}})=(z, , \frac{\partial^{1}A(z)}{\partial z}\frac{\partial^{1}z}{\partial {a}_{k}})$  $\frac{\partial^{1}{p}_{i}}{\partial {a}_{k}}=\frac{(z, , \frac{\partial^{1}A({z}_{i})}{\partial {a}_{k}})}{(z, , \frac{\partial^{1}A({z}_{i})}{\partial z})}$ which is

$\frac{\partial^{1}{p}_{i}}{\partial {a}_{k}}=(z, , \frac{z^{-k}}{-(z^{(-1)}\prod_{j\neq i1}^{N} 1-{p}_{j}z^{(-1)})})=\frac{-{p}_{i}^{(N-k)}}{\prod_{j\neq i1}^{N} {p}_{j}-{p}_{i}}$
Note that as the poles get closer together, the sensitivity increases greatly. So as the filter order increases and more polesget stuffed closer together inside the unit circle, the error introduced by coefficient quantization in the pole locationsgrows rapidly.

How can we reduce this high sensitivity to IIR filter coefficient quantization?

## Solution

Cascade or parallel form implementations! The numerator and denominator polynomials can be factored off-line at very high precision and grouped intosecond-order sections, which are then quantized section by section. The sensitivity of the quantization is thus thatof second-order, rather than $N$ -th order, polynomials. This yields major improvements in the frequency response of theoverall filter, and is almost always done in practice.

Note that the numerator polynomial faces the same sensitivity issues; the cascade form also improves the sensitivity of the zeros, because they arealso factored into second-order terms. However, in the parallel form, the zeros are globally distributed across the sections, so they suffer fromquantization of all the blocks. Thus the cascade form preserves zero locations much better than the parallel form, which typically meansthat the stopband behavior is better in the cascade form, so it is most often used in practice.

On the basis of the preceding analysis, it would seem important to use cascade structures in FIR filterimplementations. However, most FIR filters are linear-phase and thus symmetric or anti-symmetric. As long as the quantization isimplemented such that the filter coefficients retain symmetry, the filter retains linear phase. Furthermore, since allzeros off the unit circle must appear in groups of four for symmetric linear-phase filters, zeropairs can leave the unit circle only by joining with another pair. This requires relatively severe quantizations (enough tocompletely remove or change the sign of a ripple in the amplitude response). This "reluctance" of pole pairs to leave theunit circle tends to keep quantization from damaging the frequency response as much as might be expected, enough sothat cascade structures are rarely used for FIR filters.

What is the worst-case pole pair in an IIR digital filter?

The pole pair closest to the real axis in the z-plane, since the complex-conjugate poles will be closest together and thus have thehighest sensitivity to quantization.

## Quantized pole locations

In a direct-form or transpose-form implementation of a second-order section, the filter coefficients are quantized versions of the polynomial coefficients. $D(z)=z^{2}+{a}_{1}z+{a}_{2}=(z-p)(z-\overline{p})$ $p=\frac{(-{a}_{1}, \sqrt{{a}_{1}^{2}-4{a}_{2}})}{2}$ $p=re^{i}$ $D(z)=z^{2}-2r\cos +r^{2}$ So ${a}_{1}=-(2r\cos )$ ${a}_{2}=r^{2}$ Thus the quantization of ${a}_{1}$ and ${a}_{2}$ to $B$ bits restricts the radius $r$ to $r=\sqrt{k{}_{B}}$ , and ${a}_{1}=-(2\Re (p))=k{}_{B}$ The following figure shows all stable pole locations after four-bit two's-complement quantization.

Note the nonuniform distribution of possible polelocations. This might be good for poles near $r=1$ , $=\frac{\pi }{2}$ , but not so good for poles near the origin or the Nyquist frequency.

In the "normal-form" structures, a state-variable based realization, the poles are uniformly spaced.

This can only be accomplished if the coefficients to bequantized equal the real and imaginary parts of the pole location; that is, ${}_{1}=r\cos =\Re (r)$ ${}_{2}=r\sin =\Im (p)$ This is the case for a 2nd-order system with the state matrix $A=\begin{pmatrix}{}_{1} & {}_{2}\\ -{}_{1} & {}_{1}\\ \end{pmatrix}$ : The denominator polynomial is
$\det (zI-A)=(z-{}_{1})^{2}+{}_{2}^{2}=z^{2}-2{}_{1}z+{}_{1}^{2}+{}_{2}^{2}=z^{2}-2r\cos z+r^{2}(\cos ^{2}+\sin ^{2})=z^{2}-2r\cos z+r^{2}$
Given any second-order filter coefficient set, we can write itas a state-space system , find a transformation matrix $T$ such that $\stackrel{^}{A}=T^{(-1)}AT$ is in normal form, and then implement the second-order section using a structure corresponding tothe state equations.

The normal form has a number of other advantages; both eigenvalues are equal, so it minimizes the norm of $Ax$ , which makes overflow less likely, and it minimizes the output variance due to quantization of the statevalues. It is sometimes used when minimization of finite-precision effects is critical.

What is the disadvantage of the normal form?

It requires more computation. The general state-variable equation requires nine multiplies, rather than the five used by the Direct-Form II or Transpose-Form structures.

what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
Do somebody tell me a best nano engineering book for beginners?
there is no specific books for beginners but there is book called principle of nanotechnology
NANO
what is fullerene does it is used to make bukky balls
are you nano engineer ?
s.
fullerene is a bucky ball aka Carbon 60 molecule. It was name by the architect Fuller. He design the geodesic dome. it resembles a soccer ball.
Tarell
what is the actual application of fullerenes nowadays?
Damian
That is a great question Damian. best way to answer that question is to Google it. there are hundreds of applications for buck minister fullerenes, from medical to aerospace. you can also find plenty of research papers that will give you great detail on the potential applications of fullerenes.
Tarell
what is the Synthesis, properties,and applications of carbon nano chemistry
Mostly, they use nano carbon for electronics and for materials to be strengthened.
Virgil
is Bucky paper clear?
CYNTHIA
carbon nanotubes has various application in fuel cells membrane, current research on cancer drug,and in electronics MEMS and NEMS etc
NANO
so some one know about replacing silicon atom with phosphorous in semiconductors device?
Yeah, it is a pain to say the least. You basically have to heat the substarte up to around 1000 degrees celcius then pass phosphene gas over top of it, which is explosive and toxic by the way, under very low pressure.
Harper
Do you know which machine is used to that process?
s.
how to fabricate graphene ink ?
for screen printed electrodes ?
SUYASH
What is lattice structure?
of graphene you mean?
Ebrahim
or in general
Ebrahim
in general
s.
Graphene has a hexagonal structure
tahir
On having this app for quite a bit time, Haven't realised there's a chat room in it.
Cied
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!