# Analysis of analog and digital systems

 Page 1 / 1

In the previous labs, different mathematical transformation tools to represent analog and discrete signals were examined. This final lab builds on the knowledge gained in the previous labs to show how to use these tools to perform signal processing.

## Analog filtering

Analog filters are defined over a continuous range of frequencies. Four basic kinds of analog filters are lowpass, highpass, bandpass and bandstop. [link] shows the ideal characteristics of these filters. In the noise removal example of Lab 5 , an ideal lowpass filter was used to remove high-frequency noise. However, the ideal characteristics are not physically realizable and actual filters can only approximate the ideal characteristics. The RC series circuit analyzed in Lab 3 and Lab 4 is a simple example of an analog lowpass filter.

The voltage output for the circuit shown in [link] is given by [link] :

${V}_{\text{out}}=\frac{1/\left(\mathrm{j\omega C}\right)}{R+1/\left(\mathrm{j\omega C}\right)}{V}_{\text{in}}$

The magnitude and phase response can be easily found to be [link] :

$\mid H\left(\omega \right)\mid =\mid \frac{{V}_{\text{out}}}{{V}_{\text{in}}}\mid =\frac{1}{\sqrt{1+{\omega }^{2}{R}^{2}{C}^{2}}}$
$\angle H\left(\omega \right)=\text{arg}\left(\frac{{V}_{\text{out}}}{{V}_{\text{in}}}\right)=-{\text{tan}}^{-1}\left(\omega \text{RC}\right)$

If the positions of R and C are interchanged, a simple analog highpass filter is obtained as shown in [link] .

The voltage output for this circuit is given by

${V}_{\text{out}}=\frac{R}{R+1/\left(\mathrm{j\omega C}\right)}{V}_{\text{in}}$

The corresponding magnitude and phase responses are

$\mid H\left(\omega \right)\mid =\mid \frac{{V}_{\text{out}}}{{V}_{\text{in}}}\mid =\frac{1}{\sqrt{1+1/\left({\omega }^{2}{R}^{2}{C}^{2}\right)}}$
$\angle H\left(\omega \right)=\text{arg}\left(\frac{{V}_{\text{out}}}{{V}_{\text{in}}}\right)={\text{tan}}^{-1}\left(\frac{1}{\omega \text{RC}}\right)$

## Digital filtering

Digital signal filtering is a fundamental concept in digital signal processing. Two basic kinds of digital filters that are widely used are FIR and IIR:

FIR (finite impulse response) – filters having finite unit sample responses

IIR (infinite impulse response) – filters having infinite unit sample responses

Unit sample response denotes the output in response to a unit input signal. It is common to express digital filters in the form of difference equations. In this form, an FIR filter is expressed as

$y\left[n\right]=\sum _{k=0}^{N}{b}_{k}x\left[n-k\right]$

where $b$ ’s denote the filter coefficients andthe filter order. As described by this equation, an FIR filter uses a current input $x\left[n\right]$ and a number of previous inputs $x\left[n-k\right]$ to generate a current output $y\left[n\right]$ .

The difference equation of an IIR filter is given by

$y\left[n\right]=\sum _{k=0}^{N}{b}_{k}x\left[n-k\right]-\sum _{k=1}^{M}{a}_{k}y\left[n-k\right]$

where $b$ ’s and $a$ ’s denote the filter coefficients and $N$ and $M$ the number of zeros and poles, respectively. As indicated by Equation (8), an IIR filter uses a number of previous outputs $y\left[n-k\right]$ as well as a current and a number of previous inputs to generate a current output $y\left[n\right]$ .

In general, as compared to IIR filters, FIR filters require less precision and are computationally more stable. Table 1 lists some of the differences between FIR and IIR filters. For the theoretical details on these differences, refer to [link] .

 Attribute FIR filter IIR filter Stability Always stable Conditionally stable Computational complexity More operations Fewer operations Precision Less coefficient precision required Higher coefficient precision required

where $b$ ’s and $a$ ’s denote the filter coefficients andandthe number of zeros and poles, respectively. As indicated by Equation (8), an IIR filter uses a number of previous outputs $y\left[n-k\right]$ as well as a current and a number of previous inputs to generate a current output $y\left[n\right]$ .

$H\left(\omega \right)=\frac{{b}_{0}+{b}_{1}{e}^{-\mathrm{j\omega }}+\text{.}\text{.}\text{.}+{b}_{N}{e}^{-\text{jN}\omega }}{1+{a}_{1}{e}^{-\mathrm{j\omega }}+\text{.}\text{.}\text{.}+{a}_{M}{e}^{-\text{jM}\omega }}$

It is well-known that a direct-form implementation expressed by Equation (9) is sensitive, in terms of stability, to coefficient quantization errors. Noting that the second-order cascade form produces a more response that is more resistant to quantization noise [link] , the above transfer function is often written and implemented as follows:

$H\left(\omega \right)=\prod _{k=1}^{{N}_{s}}\frac{{b}_{0k}+{b}_{1k}{e}^{-\mathrm{j\omega }}+{b}_{2k}{e}^{-\mathrm{j2\omega }}}{1+{a}_{1k}{e}^{-\mathrm{j\omega }}+{a}_{2k}{e}^{-\mathrm{j2\omega }}}$

where ${N}_{s}=⌊N/2⌋$ and $⌊\text{.}⌋$ represents the largest integer less than or equal to the argument. This serial or cascaded structure is illustrated in [link] .

Each second-order filter is considered to be of direct-form II, shown in [link] , for its memory efficiency. One can implement each second-order filter in software. Normally, digital filters are implemented in software, but one can also implement them in hardware by using digital circuit adders and shifters.

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
Do somebody tell me a best nano engineering book for beginners?
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
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
what is biological synthesis of nanoparticles
what's the easiest and fastest way to the synthesize AgNP?
China
Cied
types of nano material
I start with an easy one. carbon nanotubes woven into a long filament like a string
Porter
many many of nanotubes
Porter
what is the k.e before it land
Yasmin
what is the function of carbon nanotubes?
Cesar
I'm interested in nanotube
Uday
what is nanomaterials​ and their applications of sensors.
what is nano technology
what is system testing?
preparation of nanomaterial
Yes, Nanotechnology has a very fast field of applications and their is always something new to do with it...
what is system testing
what is the application of nanotechnology?
Stotaw
In this morden time nanotechnology used in many field . 1-Electronics-manufacturad IC ,RAM,MRAM,solar panel etc 2-Helth and Medical-Nanomedicine,Drug Dilivery for cancer treatment etc 3- Atomobile -MEMS, Coating on car etc. and may other field for details you can check at Google
Azam
anybody can imagine what will be happen after 100 years from now in nano tech world
Prasenjit
after 100 year this will be not nanotechnology maybe this technology name will be change . maybe aftet 100 year . we work on electron lable practically about its properties and behaviour by the different instruments
Azam
name doesn't matter , whatever it will be change... I'm taking about effect on circumstances of the microscopic world
Prasenjit
how hard could it be to apply nanotechnology against viral infections such HIV or Ebola?
Damian
silver nanoparticles could handle the job?
Damian
not now but maybe in future only AgNP maybe any other nanomaterials
Azam
Hello
Uday
I'm interested in Nanotube
Uday
this technology will not going on for the long time , so I'm thinking about femtotechnology 10^-15
Prasenjit
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Berger describes sociologists as concerned with
Got questions? Join the online conversation and get instant answers!