chapter 1_ basic concepts of digital filtering and types of digital filters
TRANSCRIPT
-
7/27/2019 Chapter 1_ Basic Concepts of Digital Filtering and Types of Digital Filters
1/2
9/22/13 Chapter 1: Basic concepts of digital fi ltering and types of digital fi lters - Digital Filter Design - mikroElektronika
www.mikroe.com/chapters/view/71/chapter-1-basic-concepts-of-digital-filtering-and-types-of-digital-filters/
TOC Chapter 1 Chapter 2 Chapter 3
Digital Filter Design
Chapter 1: Introduction
1.1. Basic concepts of digital filtering1.2. Types of digital filters
1.1 Basic concepts of digital filtering
Digital filtering has specific characteristics that you need to pay special attention to. The analog input signal mus t satisfy certain
requirements. Furthermore, on converting an output digital signal into analog form, it is necess ary to perform additional signal processing
in order to obtain the appropriate result.
Figure 1-1 shows the block diagram of digital filtering process.
Figure 1-1. Digital filtering
The process of converting an analog s ignal into digital form is performed by sampling with a finite sam pling frequency fs. If an input signal
contains frequency components higher than half the sampling frequency (fs/2), it will cause distortion to the original spectrum. This is the
reason why it is first necessary to perform filtering of an input signal us ing a low-pas s filter that eliminates high-frequency components
from input frequency spectrum. This filter is called anti-aliasing filter as it prevents aliasi ng.
After the process of filtering and sampl ing, a digital s ignal is ready for further process ing which, in this case, is filtering using the
appropriate digital filter. The output signal is also a digital s ignal which, in som e cases , needs to be converted back into analog form. After
digital-to-analog conversion, signal contains som e frequency components higherthan fs/2 that mus t be eliminated. Again, it is neces sary
to use a low-pass filter with the sampling frequency fs/2. The specific characteristics of conversion affecting the signal a re beyond the
scope of this book.
Digital filter attenuation is usually expressed in terms of the logarithmic decibel scale (dB). The attenuation measured in decibels can be
found using the following expression:
a = 20 * log(H(f))
Cut-off frequencies are us ed for filter specification, which will be discussed later. The cut-off frequency of the passband is a frequency at
which the transition of the passband to the transition region occurs. The cut-off frequency of the s topband is a frequency at which the
transition of the transition region to the stopband occurs. These two frequencies are equivalent only for the ideal filter which is not poss ible
to realize in practice. In other words, they are always different.
1.2.Types of digital filters
Filters can be class ified in several different groups, depending on what criteria are used for class ification. The two major types o f digital
filters are finite impuls e respons e digital filters (FIR filters) and infinite impulse respons e digital filters (IIR).
Both types have some advantages and disadvantages that should be carefully considered when designing a filter. Besides, it is necess ary
to take into account all fundamental characteristics of a s ignal to be filtered as these are very important when deciding which filter to use. In
mos t cases, it is only one characteristic that really matters and it is whether it is necess ary that filter has linear phase characteristic or not.
Speech signal, for example, can be processed in the systems with non-linear phase characteristic. The phase characteristic of a speech
signal is not of the ess ence and as s uch can be neglected, which results in the poss ibility to use much wider range of systems for its
prosessing.
There are also signa ls for which the phase characteristic is of the essence. A typical example are s ignals obtained from various sensors
in indus try. Therefore, it is neces sary that a filter has linear phase characteristic to prevent loosing important information.
When a s ignal to be filtered is analysed in this way, it is easy to decide which type of digital filter is bes t to use. Accordingly, if the phas e
characteristic is of the essence, FIR filters s hould be us ed as they have linear phase characteristic. Such filters are of higher order and
more com plex, therefore. Otherwise, when it is only frequency respons e that matters, it is preferable to use IIR digital filters which have far
lower order, i.e. are less complex, and thus much eas ier to realize.
The basic characteristics of Finite Impulse Response (FIR) filters are:
linear phase characteristic;
high filter order (more complex circuits); and
stability.
The basic characteristics of Infinite Impulse Respons e (IIR) are:
Featured Development Tools
dsPICPRO4 Development
System
The dsPICPRO4 supports the latest 64-
and 80-pin dsPIC30F microcontrollers
from Microchip. It comes w ith a
dsPIC30F6014A. The system includes an
USB 2.0 programmer, mikroICD (In-Circuit
Debugger), touch panel c ontroller, CAN,
RS485, DAC and RTC. [more info]
EasydsPIC4A Development
System
EasydsPIC4A is a full-featured
development sys tem that supports the
latest 18-, 28- and 40-pin dsPIC30F
MCUs. It comes w ith the dsPIC30F4013
microcontroller. The board features a
USB 2.0 programmer, mikroICD (In-Circuit
Debugger), touch panel controller etc.
[more info]
Login | Cart (0)
Products Solutions Store Distributors Libstock Contact Us search here
http://www.mikroe.com/products/view/313/easydspic4a-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/268/digital-filter-design/http://www.mikroe.com/chapters/view/71/chapter-1-basic-concepts-of-digital-filtering-and-types-of-digital-filters/http://www.mikroe.com/chapters/view/72/chapter-2-fir-filters/http://www.mikroe.com/distributors/http://www.libstock.com/http://www.mikroe.com/visitor_contacts/http://www.libstock.com/http://www.mikroe.com/distributors/http://www.mikroe.com/store/http://www.mikroe.com/http://www.mikroe.com/carts/mini/http://www.mikroe.com/users/login/http://www.mikroe.com/products/view/313/easydspic4a-development-system/http://www.mikroe.com/products/view/313/easydspic4a-development-system/http://www.mikroe.com/products/view/313/easydspic4a-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/products/view/40/dspicpro4-development-system/http://www.mikroe.com/chapters/view/73/chapter-3-iir-filters/http://www.mikroe.com/chapters/view/72/chapter-2-fir-filters/http://www.mikroe.com/chapters/view/71/chapter-1-basic-concepts-of-digital-filtering-and-types-of-digital-filters/http://www.mikroe.com/products/view/268/digital-filter-design/ -
7/27/2019 Chapter 1_ Basic Concepts of Digital Filtering and Types of Digital Filters
2/2
9/22/13 Chapter 1: Basic concepts of digital fi ltering and types of digital fi lters - Digital Filter Design - mikroElektronika
www.mikroe.com/chapters/view/71/chapter-1-basic-concepts-of-digital-filtering-and-types-of-digital-filters/
table of contents | next chapter
non-linear phase characteristic;
low filter order (less complex circuits); and
resulting digital filter has the potential to become unstable.
Copyright 1998 - 2013. MikroElektronika. All rights reserved. All trade and/or services marks mentioned are the property of their respective owners.
MikroElektronika Embedded Solutions Follow us on
PIC Solution
PIC Development Boards
PIC Compilers
PIC Programmers/Debuggers
PIC Kits
PIC Books
AVR Solution
AVR Development Boards
AVR Compilers
AVR Programmers/Debuggers
AVR Kits
dsPIC Solution
dsPIC Development Boards
dsPIC Compilers
dsPIC Programmers/Debuggers
dsPIC Kits
dsPIC Books
ARM Solution
ARM Development Boards
ARM Compilers
ARM Programmers/Debuggers
ARM Kits
PIC32 Solution
PIC32 Development Boards
PIC32 Compilers
PIC32 Programmers/Debuggers
PIC32 Kits
8051 Solution
8051 Development Boards
8051 Compilers
8051 Programme rs/Debuggers
8051 Books
8051 Kits
Add-on boards
Click Boards
mikromedia shields
Communication boards
Storage boards
Real Time Clock boards
Display boards
Measurement boards
Audio & Voice boards
Power Supply boards
GPS boards
GSM/GPRS boards
Additional Software
Visual TFT
Visual GLCD
Package Manager
GLCD Font Creator
Support Forum mikroBUS Lets make Press Legal Information Product Archive About Us
http://www.mikroe.com/about/http://www.mikroe.com/categories/view/46/product-archive/http://www.mikroe.com/legal/http://www.mikroe.com/about/press/http://www.mikroe.com/make_projects/http://www.mikroe.com/mikrobus/http://www.mikroe.com/forum/http://www.mikroe.com/support/http://www.mikroe.com/glcd-font-creator/http://www.mikroe.com/package-manager/http://www.mikroe.com/visualglcd/http://www.mikroe.com/visualtft/http://www.mikroe.com/additional-software/http://www.mikroe.com/add-on-boards/gsm-gprs/http://www.mikroe.com/add-on-boards/gps/http://www.mikroe.com/add-on-boards/power-supply/http://www.mikroe.com/add-on-boards/audio-voice/http://www.mikroe.com/add-on-boards/measurement/http://www.mikroe.com/add-on-boards/display/http://www.mikroe.com/add-on-boards/rtc/http://www.mikroe.com/add-on-boards/storage/http://www.mikroe.com/add-on-boards/communication/http://www.mikroe.com/mikromedia/shields/http://www.mikroe.com/click/http://www.mikroe.com/add-on-boards/http://www.mikroe.com/8051/kits/http://www.mikroe.com/8051/books/http://www.mikroe.com/8051/programmers-debuggers/http://www.mikroe.com/8051/compilers/http://www.mikroe.com/8051/development-boards/http://www.mikroe.com/8051/http://www.mikroe.com/pic32/kits/http://www.mikroe.com/pic32/programmers-debuggers/http://www.mikroe.com/pic32/compilers/http://www.mikroe.com/pic32/development-boards/http://www.mikroe.com/pic32/http://www.mikroe.com/arm/kits/http://www.mikroe.com/arm/programmers-debuggers/http://www.mikroe.com/arm/compilers/http://www.mikroe.com/arm/development-boards/http://www.mikroe.com/arm/http://www.mikroe.com/dspic/books/http://www.mikroe.com/dspic/kits/http://www.mikroe.com/dspic/programmers-debuggers/http://www.mikroe.com/dspic/compilers/http://www.mikroe.com/dspic/development-boards/http://www.mikroe.com/dspic/http://www.mikroe.com/avr/kits/http://www.mikroe.com/avr/programmers-debuggers/http://www.mikroe.com/avr/compilers/http://www.mikroe.com/avr/development-boards/http://www.mikroe.com/avr/http://www.mikroe.com/pic/books/http://www.mikroe.com/pic/kits/http://www.mikroe.com/pic/programmers-debuggers/http://www.mikroe.com/pic/compilers/http://www.mikroe.com/pic/development-boards/http://www.mikroe.com/pic/http://www.mikroe.com/chapters/view/72/chapter-2-fir-filters/http://www.mikroe.com/products/view/268/digital-filter-design/