# 3.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.

how can chip be made from sand
are nano particles real
yeah
Joseph
Hello, if I study Physics teacher in bachelor, can I study Nanotechnology in master?
no can't
Lohitha
where we get a research paper on Nano chemistry....?
nanopartical of organic/inorganic / physical chemistry , pdf / thesis / review
Ali
what are the products of Nano chemistry?
There are lots of products of nano chemistry... Like nano coatings.....carbon fiber.. And lots of others..
learn
Even nanotechnology is pretty much all about chemistry... Its the chemistry on quantum or atomic level
learn
da
no nanotechnology is also a part of physics and maths it requires angle formulas and some pressure regarding concepts
Bhagvanji
hey
Giriraj
Preparation and Applications of Nanomaterial for Drug Delivery
revolt
da
Application of nanotechnology in medicine
has a lot of application modern world
Kamaluddeen
yes
narayan
what is variations in raman spectra for nanomaterials
ya I also want to know the raman spectra
Bhagvanji
I only see partial conversation and what's the question here!
what about nanotechnology for water purification
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
yes that's correct
Professor
I think
Professor
Nasa has use it in the 60's, copper as water purification in the moon travel.
Alexandre
nanocopper obvius
Alexandre
what is the stm
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
if virus is killing to make ARTIFICIAL DNA OF GRAPHENE FOR KILLED THE VIRUS .THIS IS OUR ASSUMPTION
Anam
analytical skills graphene is prepared to kill any type viruses .
Anam
Any one who tell me about Preparation and application of Nanomaterial for drug Delivery
Hafiz
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
Got questions? Join the online conversation and get instant answers!