Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 25th June 2008, 05:54 AM   (permalink)
Default Analog To Digital Converters!!

I read in one of your replies that we need to connect a capacitor for the proper functioning of an analog to digital converter for a low pass filter..what does dat mean??
My friend GOOGLE says that rc low pass filter provides low frequency which prevents signal attentuation..I this the only use??
If yes why does this attentuation occur??

Last edited by patwari; 25th June 2008 at 06:08 AM.
patwari is offline  
Old 25th June 2008, 06:08 AM   (permalink)
Default

Um, who, what? It is typical to put a Low pass filter (LPF) on the input of a A/D so you do not sample frequencies beyond interest. The LPF acts as a high frequency attenuator above a set point. The response of the filter looks like a flat top with a sloping edge. Kinda like a house on a hill with the end of the yard sloping down to the ocean (Dream house). The house is like the frequency of interest, the ocean is ignored because it is so far down (Unless you surf) and is attenuated. In a nutshell, the LPF passes frequencies up to a point, anything beyond is attenuated and ignored. There are probably better explanations with better analogies, but thats all I got, I have a O chem exam to study for

Last edited by Mikebits; 25th June 2008 at 06:11 AM.
Mikebits is offline  
Old 25th June 2008, 06:20 AM   (permalink)
Default

thanks a lot...
Just one more doubt!!
Why do we give inputs to an ADC filtering it on frequency levels..I mean frequency greater than (say x) is not allowed and attentuated..but frequency less than (x) is allowed as input to an ADC..
Why do we do this?? If i plan to make a line follower How is it related to my bot functioning..??

Sorry for bodering..
patwari is offline  
Old 25th June 2008, 06:31 AM   (permalink)
Default

Because, frequency X will have multiples of itself, like a mini-me, or more commonly known as a harmonic. These are undesired components and should not be sampled or your bits coming out will be wrong.
Mikebits is offline  
Old 25th June 2008, 06:39 AM   (permalink)
Default

thanx a lot..

How do we get to know what frequency should X be set to??
What I mean to say is..how do calculate the value of a frequency above which I will attentuate my signal..??
is it equal to (1/rc)..??

Last edited by patwari; 25th June 2008 at 06:39 AM.
patwari is offline  
Old 25th June 2008, 06:50 AM   (permalink)
Default

You set X to maximum frequency you want to pass. For example; Audio 20Hz to 15KHz. You set your 3dB point for 15KHz, anything beyond this is attenuated. If your mini-me's need to be real small, you can use a multi pole filter for steeper edges, but this is getting beyond our scope I think. Pls do not ask me to design a filter for you, I have neither the time, nor the inclination to do so.
Mikebits is offline  
Old 25th June 2008, 07:24 AM   (permalink)
Default

Quote:
Originally Posted by patwari View Post
thanks a lot...
Just one more doubt!!
Why do we give inputs to an ADC filtering it on frequency levels..I mean frequency greater than (say x) is not allowed and attentuated..but frequency less than (x) is allowed as input to an ADC..
Why do we do this?? If i plan to make a line follower How is it related to my bot functioning..??

Sorry for bodering..
Hi,
The main reason of the LPF before ADC is to anti alias. Otherwise the aliased signal may fall into the passband and causes result to be affected which is known as noise.
__________________
Superman returns..
bananasiong is offline  
Old 25th June 2008, 07:30 AM   (permalink)
Default

Yep you all right

You could also calculate accurate readings by over sampling & adding a software hysteresis.But a design with both hardware & software will be too great.

But for a line follower it doesn't need much more sensitive readings.
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 25th June 2008, 07:36 AM   (permalink)
Default

Quote:
Originally Posted by patwari View Post
thanx a lot..

How do we get to know what frequency should X be set to??
What I mean to say is..how do calculate the value of a frequency above which I will attentuate my signal..??
is it equal to (1/rc)..??
hi,
What is the voltage/signal connected to the ADC input.??
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 25th June 2008 at 07:37 AM.
ericgibbs is online now  
Old 25th June 2008, 07:40 AM   (permalink)
Default

Quote:
Originally Posted by bananasiong View Post
Hi,
The main reason of the LPF before ADC is to anti alias. Otherwise the aliased signal may fall into the passband and causes result to be affected which is known as noise.
What! you did not like the mini-me filter? Sure, anti alias sounds better.

Last edited by Mikebits; 25th June 2008 at 07:40 AM.
Mikebits is offline  
Old 25th June 2008, 12:50 PM   (permalink)
Default

Patwari i thing this link is useful for you (need java).


Signal Sampling and Reconstruction
__________________
There are two major products that came out of Berkeley: LSD and BSD. We don't believe this to be a coincidence. —Jeremy S. Anderson
sniper007 is offline  
Old 25th June 2008, 03:04 PM   (permalink)
Default

Thanks a lot people..
patwari is offline  
Old 25th June 2008, 10:20 PM   (permalink)
Default

There are two reasons to filter an A/D input: reduce noise above the input frequencies of interest, and anti-alias.

Generally you want a filter to roll off the signal above the highest input frequency of interest to suppress noise above that frequency, which would otherwise add undesirable noise to the digitized signal.

At a minimum you want an anti-alias filter to suppress the input above 1/2 the A/D sample frequency, even if there are signal components above that. Any noise or signal frequencies above 1/2 the sample frequency are digitized and appear as low frequency (aliased) components in the digitized signal. This adds noise and difference signals to the digitized signal. For example, an input signal exactly equal to the sample frequency will appear as a dc shift in the digitized signal since the sample will always occur at the same point on the waveform.

If you took a 10KHz bandwidth music signal and fed it to a 10k sample/sec. A/D converter with no anti-alias filter, the digitized output would sound terrible when converted back to analog and played through a speaker. This is because all frequencies between 5kHz and 10kHz have been aliased back into the 0 to 5KHz band. (Nyquist's sample theory says the sample rate must be a least twice the highest frequency of interest. Thus a 10kHz sample rate can reproduce a maximum of 5KHz.)
__________________
Carl
crutschow is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
analog to digital?? shanky25 General Electronics Chat 14 9th February 2008 06:22 PM
Analog and digital sram General Electronics Chat 3 26th May 2006 04:38 PM
anologue to digital converters... chimpsimply Electronic Projects Design/Ideas/Reviews 5 8th January 2005 11:04 PM
Digital Thermometer using op-amps, A/D converters & disp Kaleen General Electronics Chat 2 3rd December 2003 11:02 PM
digital to analog - analog to digital converters for sale spencer General Electronics Chat 2 15th May 2003 08:17 AM



All times are GMT. The time now is 09:43 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker