All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > Homework Help

Notices

Homework Help Stuck on a textbook question or coursework? Cramming for a test and need help understanding something? Post your questions and attempts here and let others help.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-21-2011, 04:02 PM
RRITESH KAKKAR's Avatar
RRITESH KAKKAR RRITESH KAKKAR is offline
Senior Member
 
Join Date: Jun 2010
Location: Earth
Posts: 1,351
Send a message via MSN to RRITESH KAKKAR
Default Working of Digital filters...

I was just thinking how Digital filters work in case of analog we just connected
RC to the signal input to amplifiers, etc
but in case of Digital filter....what happen??

Thanks
Reply With Quote
  #2  
Old 10-21-2011, 09:45 PM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
 
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 5,782
Default

In an FIR (Finite Impulse Response) filter the present output is a function of the current and previous inputs. If the input goes away then the output goes away. That is the 'F' in FIR.

In an IIR (Infinite Impulse Response) filter the present output is a function of the current and previous inputs AND the previous outputs. If the input goes away the out does not have to go away. That is the first 'I' in IIR.

Finite and Infinite Impusle Response refers to the output over time, NOT the amplitude of the response.
__________________
We never have time to do it right,
But we always have time to do it over.
Reply With Quote
The Following User Says Thank You to Papabravo For This Useful Post:
RRITESH KAKKAR (10-22-2011)
  #3  
Old 10-21-2011, 11:39 PM
crutschow's Avatar
crutschow crutschow is offline
Senior Member
 
Join Date: Mar 2008
Location: L.A. USA
Posts: 6,318
Blog Entries: 1
Default

For a digital filter you first convert the analog signal to digital format by sampling the signal at greater than the Nyquist sample-rate for the highest analog frequency using an A/D converter. A digital processor then takes these samples and performs a mathematical function of the values to generate the desired filter response for each sample. If desired the samples from the filter can be then converted back to analog with a D/A converter.
__________________
Zapper
Curmudgeon Elektroniker
Reply With Quote
The Following User Says Thank You to crutschow For This Useful Post:
RRITESH KAKKAR (10-22-2011)
  #4  
Old 10-22-2011, 03:25 AM
RRITESH KAKKAR's Avatar
RRITESH KAKKAR RRITESH KAKKAR is offline
Senior Member
 
Join Date: Jun 2010
Location: Earth
Posts: 1,351
Send a message via MSN to RRITESH KAKKAR
Default

In case of analog low pass filter with connect R and C by using cut of frq. F=1/(2*PI*R*C)....and analyzing by Bode plot.
But this how really work in digital filters??
The input isin form of 010101010 if i want low freq. output of digital signal then what to do??
Reply With Quote
  #5  
Old 10-22-2011, 03:22 PM
crutschow's Avatar
crutschow crutschow is offline
Senior Member
 
Join Date: Mar 2008
Location: L.A. USA
Posts: 6,318
Blog Entries: 1
Default

Quote:
Originally Posted by RRITESH KAKKAR View Post
In case of analog low pass filter with connect R and C by using cut of frq. F=1/(2*PI*R*C)....and analyzing by Bode plot.
But this how really work in digital filters??
The input isin form of 010101010 if i want low freq. output of digital signal then what to do??
The digital filter algorithm is what determines the filter function. A simple low pass function can be performed by generating a running average of the digital values. Thus you would take the difference between the running average and the next sample and add a percentage of the difference to the running average. The cut-off frequency is determined by the digital sample rate and the percent value you add to the running average. It's not as simple a function as the analog circuit.

For more info look at one of these Google references.
__________________
Zapper
Curmudgeon Elektroniker
Reply With Quote
The Following User Says Thank You to crutschow For This Useful Post:
RRITESH KAKKAR (10-23-2011)
  #6  
Old 10-22-2011, 03:27 PM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
 
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 5,782
Default

It works the same way except there is no R and no C. What you do have control of is the sample rate and the coefficients of the impulse response. If you know the coefficients of the impulse response you can compute the output via convolution.

http://www.dspguide.com/

I think Prof. Smith's book is still a free download by chapters in PDF format
__________________
We never have time to do it right,
But we always have time to do it over.
Reply With Quote
The Following User Says Thank You to Papabravo For This Useful Post:
RRITESH KAKKAR (10-23-2011)
  #7  
Old 10-22-2011, 05:25 PM
RRITESH KAKKAR's Avatar
RRITESH KAKKAR RRITESH KAKKAR is offline
Senior Member
 
Join Date: Jun 2010
Location: Earth
Posts: 1,351
Send a message via MSN to RRITESH KAKKAR
Default

Guys can you just give an block example for better understanding of digital filters..??
Reply With Quote
  #8  
Old 10-22-2011, 08:54 PM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
 
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 5,782
Default

Quote:
Originally Posted by RRITESH KAKKAR View Post
Guys can you just give an block example for better understanding of digital filters..??
Your best bet is to go to the free resources like Steve Smith's DSP book.

Here is another one

http://en.wikipedia.org/wiki/Finite_impulse_response

Boxcar filters have a low-pass characteristic similar to the multi-pole RC filter.

When you do some reading it will lead to more specific questions.
__________________
We never have time to do it right,
But we always have time to do it over.

Last edited by Papabravo; 10-22-2011 at 09:00 PM.
Reply With Quote
The Following User Says Thank You to Papabravo For This Useful Post:
RRITESH KAKKAR (10-23-2011)
  #9  
Old 10-23-2011, 01:09 PM
RRITESH KAKKAR's Avatar
RRITESH KAKKAR RRITESH KAKKAR is offline
Senior Member
 
Join Date: Jun 2010
Location: Earth
Posts: 1,351
Send a message via MSN to RRITESH KAKKAR
Default

I think i am know getting how digital filters work as first we convert analog to Digital then uC/uP do calculation like FFT,etc then output is converted analog.......

But if we talk about convolution theorem it say multiply in freq. domain, vice versa...but what the use and how does it happen in CPU itself??
Reply With Quote
  #10  
Old 10-23-2011, 03:06 PM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
 
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 5,782
Default

A digital filter is implemented in a CPU by a succession of multiply and accumulate (add) operations. In some processors there is even an instruction that does exactly that operation called "Multiply and Accumulate". A processor can also keep track of previous inputs and previous outputs which may also be used in the filter calculations. Was that what you were looking for?
__________________
We never have time to do it right,
But we always have time to do it over.
Reply With Quote
The Following User Says Thank You to Papabravo For This Useful Post:
RRITESH KAKKAR (10-25-2011)
Reply   Post New Thread

Tags
, ,


Related Site Pages
Section Title
Textbook Delta-Sigma ( ) ADC : Digital-analog Conversion


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital and Analog TV - Receiver help! Dalaran The Projects Forum 7 01-20-2011 04:16 PM
digital multi meter syed abdullah General Electronics Chat 2 04-14-2010 01:00 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:42 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin
Copyright ©2000 - 2014, vBulletin Solutions, Inc.