OneStopGate.Com
OnestopGate   OnestopGate
   Monday, April 29, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


Home » GATE Study Material » Electrical Engineering » Time and Frequency » Digital Filters That Approximate Analog Filters.

Digital Filters That Approximate Analog Filters.

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **

Digital Filters That Approximate Analog Filters.

Digital Filters That Approximate Analog Filters.

What Do We Want To Do?

        We are going to assume that we have an analog filter that satisfies a first order differential equation like this differential equation.

t(dVout(t)/dt) + Vout(t) = Vin(t)

In this system, we have:

  • t= the time constant of the filter - measured in seconds.
  • Vout(t) = the output of the filter (often a voltage, but inside a computer it will be just a number!)

  • Vin(t) = the input voltage.

We assume that the problem we face is that we are taking data, and the data exists inside a computer - as digital numbers - not as voltages.  However, we want to filter the signal - which exists as a voltage outside the computer and as digital numbers inside the computer.  We have a choice.

  • Build an analog filter.

  • Simulate the analog filter inside the computer program we are using.

Since we already have the data inside whatever program we are using (something written in LabVIEW, C/C++, Visual Basic, etc.) we would not have to buy the hardware - which will involve components, circuit boards, maybe a power supply, etc. - if we could simulate the filter inside the computer program.  In this note we will examine just how you can do that, and try to determine now accurately you can do that.


Digitizing an Analog Filter

        The problem that we face is that we have a differential equation for the filter, and what we want to do (in the simplest statement of our problem) is to get a numerical solution for that differential equation as the data streams in (as it is acquired by the rest of our program).  For a first order system (the simplest system) we can use the Euler integration algorithm.  (That is the simplest algorithm.  There are more complex - and more accurate - algorithms, but this is - by far - the best place to start.)  The algorithm is pretty simple.

  • We will assume the following:

    • We take a new data point every T seconds.  T is called the sample interval.

    • We keep track of the data points using a running integer index k.

      • At the kth sample point the data measured will be denoted by Datak.

      • Similarly, at the kth sample point the filter output will be denoted by Outputk.

    • Referring back to the differential equation, the above means:

      • Datak = Vin(kT )

      • Outputk = Vout(kT )

Then, the filter output can be approximately calculated as:

Vout((k + 1)T) = Vout(kT) + T*[(dVout(kT)/dt)]

Vout((k + 1)T) = Vout(kT) + T*[Vin(kT) - Vout(kT)]/t

Notice the following points about this expression:

  • The expression is an approximation.  The first equation is just a power series expansion for the new value of the output voltage, Vout((k + 1)T) - and the power series only has the first derivative term.

  • The expression is incredibly messy, which justifies using the terms described above.

With a little bit of rearrangement, we have:

Vout((k + 1)T) = Vout(kT)[1 - T/t] + [Vin(kT)]*(T/t)

And, using the terms described above, we have:

Outputk+1 = Outputk[1 - T/t] + Datak[T/t]

So, to get the new computed value of the output (Outputk+1)we just need to remember the old value of the output (Outputk) and the new data (Datak).  And, we also need to know the sampling interval, T, and the time constant, t

.


NOTE:  In many cases we would use different terminology for this filter.

    • Outputk+1 = aOutputk + bDatak

    • Where:

      • a= [1 - T/t]b= [T/t]

        The only problem remaining is to figure out how to write program code that implements the difference equation we have as a result above.



Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari