This document discusses digital filters. It begins by defining digital filters as electronic circuits that perform signal processing functions by removing or enhancing certain frequency components of a sampled, discrete-time signal. It then outlines four basic types of ideal digital filters defined by their magnitude responses. The document also discusses different classifications of digital filters based on characteristics like linearity, time-invariance, and structure. It provides examples of common filter structures like direct form, cascade form, and parallel form. Finally, it briefly compares digital and analog filters, noting advantages and disadvantages of each.
This document provides an overview of digital filter design. It introduces finite impulse response (FIR) and infinite impulse response (IIR) filters. FIR filters are designed using window techniques like rectangular, Hamming, and Kaiser windows. IIR filters are designed using approximation methods like Butterworth, Chebyshev I, and Chebyshev II. MATLAB code is provided to design low pass, high pass, and other filters using different window and approximation techniques. Pros and cons of FIR and IIR filters are discussed along with references.
The document discusses the Fast Fourier Transform (FFT) algorithm. It begins by explaining how the Discrete Fourier Transform (DFT) and its inverse can be computed on a digital computer, but require O(N2) operations for an N-point sequence. The FFT was discovered to reduce this complexity to O(NlogN) operations by exploiting redundancy in the DFT calculation. It achieves this through a recursive decomposition of the DFT into smaller DFT problems. The FFT provides a significant speedup and enables practical spectral analysis of long signals.
The document discusses sampling theory and analog-to-digital conversion. It begins by explaining that most real-world signals are analog but must be converted to digital for processing. There are three steps: sampling, quantization, and coding. Sampling converts a continuous-time signal to a discrete-time signal by taking samples at regular intervals. The sampling theorem states that the sampling frequency must be at least twice the highest frequency of the sampled signal to avoid aliasing. Finally, it provides an example showing how to calculate the minimum sampling rate, or Nyquist rate, given the highest frequency of a signal.
The document discusses the Radix-2 discrete Fourier transform (DFT) algorithm. It explains that the Radix-2 DFT divides an N-point sequence into two N/2-point sequences, computes the DFT of each subsequence, and then combines the results to compute the N-point DFT. It involves decimating the sequence, computing smaller DFTs, and combining results over multiple stages. The Radix-2 algorithm reduces the computation from O(N^2) for the direct DFT to O(NlogN) operations.
Exercise testing is a noninvasive tool to evaluate the cardiovascular system's response to stress from exercise. During exercise, the body's metabolic rate and cardiac output increase substantially, placing high demands on the cardiopulmonary system. This makes exercise an effective way to assess cardiac function and perfusion. Various protocols exist for exercise testing using treadmills, bicycles, or other devices, with different protocols suited for evaluating patients with different cardiovascular conditions or exercise capacities. Careful analysis of electrocardiogram changes during and after exercise can provide information about myocardial ischemia.
Solar cells directly convert sunlight into electricity through the photovoltaic effect in semiconductor materials like silicon, with solar panels consisting of multiple interconnected solar cells to produce a usable amount of power. The document discusses the basic physics of how silicon is doped to create either holes or electrons that form pairs when struck by photons, as well as explaining the components and operation of single solar cells and larger solar panels.
Windowing techniques of fir filter designRohan Nagpal
Windowing techniques are used in FIR filter design to convert an infinite impulse response to a finite impulse response. The process involves choosing a desired frequency response, taking the inverse Fourier transform to get the impulse response, multiplying the impulse response by a window function, and realizing the filter. Common window functions include rectangular, Hanning, Hamming, and Blackman windows, which are selected based on the required stopband attenuation. The windowing technique allows designing FIR filters with a simple process but lacks flexibility compared to other design methods.
Salient Features:
The magnitude response is nearly constant(equal to 1) at lower frequencies
There are no ripples in passband and stop band
The maximum gain occurs at Ω=0 and it is H(Ω)=1
The magnitude response is monotonically decreasing
As the order of the filter ‘N’ increases, the response of the filter is more close to the ideal response
The presentation covers sampling theorem, ideal sampling, flat top sampling, natural sampling, reconstruction of signals from samples, aliasing effect, zero order hold, upsampling, downsampling, and discrete time processing of continuous time signals.
A filter is an electrical network that transmits signals within a specified frequency range called the pass band, and suppresses signals in the stop band, separated by the cut-off frequency. Digital filters are used to eliminate noise and extract signals of interest, implemented using software rather than RLC components. Digital filters are FIR (finite impulse response) or IIR (infinite impulse response) depending on the number of sample points used. An ideal filter would transmit signals in the pass band without attenuation and completely suppress the stop band, but ideal filters cannot be realized. IIR filter design first develops an analog IIR filter, then converts it to digital using methods like impulse invariant, approximation of derivatives, or bilinear transformation.
Filter- IIR - Digital signal processing(DSP)tamil arasan
1. The document discusses and compares analog and digital filters. Digital filters are described as processing digital data/signals using elements like adders and multipliers, while analog filters use electronic components.
2. It also summarizes different types of common digital filters like Butterworth and Chebyshev filters. Butterworth filters have a monotonic magnitude response while Chebyshev filters exhibit ripple in the passband or stopband.
3. The document outlines different methods to convert analog filters to digital filters, including bilinear transformation which maps the s-plane jΩ axis to the unit circle in the z-plane to avoid aliasing.
The document provides an overview of digital signal processing (DSP). It defines DSP as the analysis, interpretation, and manipulation of signals that have been digitized. The document discusses the need for signal processing to remove noise, and categorizes signal processing as either analog or digital. It highlights advantages of digital over analog processing, describes common filters and their applications. The document also outlines different DSP processor architectures, applications of DSP, and recommendations books and resources to learn more about DSP.
This presentation provides an overview of digital signal processing (DSP). It defines key terms like signal and signal processing and explains the basic principles and components of DSP systems. The presentation notes that DSP has advantages over analog processing like accuracy, flexibility, and ease of operation. It provides examples of DSP applications in areas like audio, communications, biomedicine, and more. In conclusion, the presentation emphasizes that DSP involves manipulating digital numbers using programmed instructions and is widely used in modern applications.
Fir filter design (windowing technique)Bin Biny Bino
The window design technique for FIR filters involves choosing an ideal frequency-selective filter with the desired passband and stopband characteristics, and then multiplying or "windowing" its infinite impulse response with an appropriate window function to make it causal and finite. This windowing in the time domain corresponds to convolution in the frequency domain. Common window functions are used to truncate the ideal filter response while maintaining desirable filtering properties. MATLAB code can be used to implement windowed FIR filters.
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignAmr E. Mohamed
This lecture discusses the design of finite impulse response (FIR) filters. It introduces the window method for FIR filter design, which involves truncating the ideal impulse response with a window function to obtain a causal FIR filter. Common window functions are presented such as rectangular, triangular, Hanning, Hamming, and Blackman windows. These windows trade off main lobe width and side lobe levels. The document provides an example design of a low-pass FIR filter using the Hamming window to meet given passband and stopband specifications.
The document discusses adaptive filters, which can automatically adjust their parameters to filter signals whose exact frequency response is unknown. It defines adaptive filters as having an input signal, filter structure, adjustable parameters, and adaptive algorithm. The goal of adaptive filtering is to minimize the error between the filter's output and a desired response. It describes common adaptive filtering problems and solutions like using gradient descent algorithms and the mean squared error cost function to adjust the filter parameters over time and minimize error.
The document discusses digital filters and their design. It begins with an introduction to filters and their uses in signal processing applications. It then covers linear time-invariant filters and their transfer functions. It discusses the differences between non-recursive (FIR) and recursive (IIR) filters. The document presents various filter structures for implementation, including direct form I and direct form II structures. It also discusses designing FIR and IIR filters as well as issues in their implementation.
This document discusses the design of IIR and FIR filters. IIR (Infinite Impulse Response) filters are analog filters that use feedback and have non-linear phase responses. Common IIR design methods are impulse invariant, bilinear transformation, and approximation of derivatives. FIR (Finite Impulse Response) filters are digital filters with no feedback and linear phase responses. FIR filters are designed using windowing methods like rectangular, Hamming, and Kaiser windows which concentrate the filter response around the desired frequencies. IIR filters require less computation but FIR filters are required where linear phase response is needed such as data transmission and speech processing.
This document discusses various types of pulse modulation techniques used in analog and digital communication systems. It begins by defining pulse amplitude modulation (PAM) and describing how the amplitude of pulses varies proportionally to the message signal. It then discusses different types of PAM based on the sampling technique used - ideal, natural, and flat-top sampling. Flat-top sampling uses sample-and-hold circuits and can introduce amplitude distortion known as the aperture effect. The document also covers pulse width modulation (PWM), pulse position modulation (PPM), pulse code modulation (PCM), delta modulation (DM), and their advantages. It explains the sampling theorem and proves it through Fourier analysis. Finally, it discusses bandwidth requirements, transmission, drawbacks
This document discusses the design of FIR filters using different windowing techniques. It begins with an introduction to FIR filters and then describes designing FIR filters using rectangular, Hamming, Hanning, Bartlett, and Kaiser windows. It also discusses designing FIR filters using frequency sampling techniques. The advantages of FIR filters are linear phase response, stability, and group delay. Disadvantages include requiring more coefficients and operations than IIR filters for some frequency responses.
This document summarizes a presentation on FIR and IIR filter design techniques. It introduces common IIR filter design methods like impulse invariance and bilinear transformation. It also discusses FIR filter design using window functions, frequency sampling, and minimizing mean squared error. Specific window functions are examined, including rectangular, triangular, Hanning, Hamming, Kaiser, and Blackman windows. The document provides an overview of digital filter design topics and serves as a reference for further exploration of FIR and IIR filter design methods.
Differential pulse code modulation (DPCM) is a technique that encodes analog signals digitally by sampling the signal, predicting the next sample value based on previous samples, quantizing the difference between the actual and predicted values, and transmitting the quantized difference. DPCM reduces the required transmission bandwidth compared to standard PCM by exploiting the fact that differences between successive samples are typically smaller than the sample amplitudes themselves. It works by quantizing and transmitting the differences between actual and predicted sample values rather than directly quantizing the sample amplitudes.
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignAmr E. Mohamed
The document discusses the design of discrete-time IIR filters from continuous-time filter specifications. It covers common IIR filter design techniques including the impulse invariance method, matched z-transform method, and bilinear transformation method. An example applies the bilinear transformation to design a first-order low-pass digital filter from a continuous analog prototype. Filter design procedures and steps are provided.
Why Fourier Transform
General Properties & Symmetry relations
Formula and steps
magnitude and phase spectra
Convergence Condition
mean-square convergence
Gibbs phenomenon
Direct Delta
Energy Density Spectrum
This document provides information about the course "ANALOG COMMUNICATION" including the course code, instructor details, course contents which are divided into 5 units covering topics like introduction to communication systems, amplitude modulation, angle modulation, transmitters and receivers, and noise in analog communication. It lists the textbooks recommended for different units. One of the units is about noise in analog communication which is further divided into two parts - part 1 covering topics like introduction to noise, sources of noise (external and internal), classification of noise, thermal noise calculations, signal to noise ratio, noise figure and cascaded amplifiers etc.
Filters selectively attenuate certain frequency ranges in a signal. They are used widely in electronics, telecommunications, audio/video, and other applications. Filters are classified as analog or digital depending on the signal type. Ideal filters have constant gain in the passband and zero gain in the stopband with linear phase, but practical filters have variable gain and non-zero/non-linear characteristics. Digital filters are further divided into finite impulse response (FIR) filters, which depend only on past inputs, and infinite impulse response (IIR) filters, which are recursive and depend on both past inputs and outputs. IIR filters are designed by first designing an analog filter prototype and transforming it to the digital domain using techniques like impulse invari
Lecture: Digital Signal Processing Batch 2009ubaidis
Here are the solutions to the questions:
(a) y[nT] = 3(−0.2)n u[n − 3], T = 2 ms
Energy: E = 9(0.2)3/(1−0.2) = 9
Power: P = 0 (since the signal decays to zero as n increases)
This is an energy signal.
(b) z[nT] = 4(1.1)n u[n + 1], T = 0.02 s
Energy: E = ∞ (since (1.1)n increases without bound)
Power: P = 4.4
This is a power signal.
(c
Windowing techniques of fir filter designRohan Nagpal
Windowing techniques are used in FIR filter design to convert an infinite impulse response to a finite impulse response. The process involves choosing a desired frequency response, taking the inverse Fourier transform to get the impulse response, multiplying the impulse response by a window function, and realizing the filter. Common window functions include rectangular, Hanning, Hamming, and Blackman windows, which are selected based on the required stopband attenuation. The windowing technique allows designing FIR filters with a simple process but lacks flexibility compared to other design methods.
Salient Features:
The magnitude response is nearly constant(equal to 1) at lower frequencies
There are no ripples in passband and stop band
The maximum gain occurs at Ω=0 and it is H(Ω)=1
The magnitude response is monotonically decreasing
As the order of the filter ‘N’ increases, the response of the filter is more close to the ideal response
The presentation covers sampling theorem, ideal sampling, flat top sampling, natural sampling, reconstruction of signals from samples, aliasing effect, zero order hold, upsampling, downsampling, and discrete time processing of continuous time signals.
A filter is an electrical network that transmits signals within a specified frequency range called the pass band, and suppresses signals in the stop band, separated by the cut-off frequency. Digital filters are used to eliminate noise and extract signals of interest, implemented using software rather than RLC components. Digital filters are FIR (finite impulse response) or IIR (infinite impulse response) depending on the number of sample points used. An ideal filter would transmit signals in the pass band without attenuation and completely suppress the stop band, but ideal filters cannot be realized. IIR filter design first develops an analog IIR filter, then converts it to digital using methods like impulse invariant, approximation of derivatives, or bilinear transformation.
Filter- IIR - Digital signal processing(DSP)tamil arasan
1. The document discusses and compares analog and digital filters. Digital filters are described as processing digital data/signals using elements like adders and multipliers, while analog filters use electronic components.
2. It also summarizes different types of common digital filters like Butterworth and Chebyshev filters. Butterworth filters have a monotonic magnitude response while Chebyshev filters exhibit ripple in the passband or stopband.
3. The document outlines different methods to convert analog filters to digital filters, including bilinear transformation which maps the s-plane jΩ axis to the unit circle in the z-plane to avoid aliasing.
The document provides an overview of digital signal processing (DSP). It defines DSP as the analysis, interpretation, and manipulation of signals that have been digitized. The document discusses the need for signal processing to remove noise, and categorizes signal processing as either analog or digital. It highlights advantages of digital over analog processing, describes common filters and their applications. The document also outlines different DSP processor architectures, applications of DSP, and recommendations books and resources to learn more about DSP.
This presentation provides an overview of digital signal processing (DSP). It defines key terms like signal and signal processing and explains the basic principles and components of DSP systems. The presentation notes that DSP has advantages over analog processing like accuracy, flexibility, and ease of operation. It provides examples of DSP applications in areas like audio, communications, biomedicine, and more. In conclusion, the presentation emphasizes that DSP involves manipulating digital numbers using programmed instructions and is widely used in modern applications.
Fir filter design (windowing technique)Bin Biny Bino
The window design technique for FIR filters involves choosing an ideal frequency-selective filter with the desired passband and stopband characteristics, and then multiplying or "windowing" its infinite impulse response with an appropriate window function to make it causal and finite. This windowing in the time domain corresponds to convolution in the frequency domain. Common window functions are used to truncate the ideal filter response while maintaining desirable filtering properties. MATLAB code can be used to implement windowed FIR filters.
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignAmr E. Mohamed
This lecture discusses the design of finite impulse response (FIR) filters. It introduces the window method for FIR filter design, which involves truncating the ideal impulse response with a window function to obtain a causal FIR filter. Common window functions are presented such as rectangular, triangular, Hanning, Hamming, and Blackman windows. These windows trade off main lobe width and side lobe levels. The document provides an example design of a low-pass FIR filter using the Hamming window to meet given passband and stopband specifications.
The document discusses adaptive filters, which can automatically adjust their parameters to filter signals whose exact frequency response is unknown. It defines adaptive filters as having an input signal, filter structure, adjustable parameters, and adaptive algorithm. The goal of adaptive filtering is to minimize the error between the filter's output and a desired response. It describes common adaptive filtering problems and solutions like using gradient descent algorithms and the mean squared error cost function to adjust the filter parameters over time and minimize error.
The document discusses digital filters and their design. It begins with an introduction to filters and their uses in signal processing applications. It then covers linear time-invariant filters and their transfer functions. It discusses the differences between non-recursive (FIR) and recursive (IIR) filters. The document presents various filter structures for implementation, including direct form I and direct form II structures. It also discusses designing FIR and IIR filters as well as issues in their implementation.
This document discusses the design of IIR and FIR filters. IIR (Infinite Impulse Response) filters are analog filters that use feedback and have non-linear phase responses. Common IIR design methods are impulse invariant, bilinear transformation, and approximation of derivatives. FIR (Finite Impulse Response) filters are digital filters with no feedback and linear phase responses. FIR filters are designed using windowing methods like rectangular, Hamming, and Kaiser windows which concentrate the filter response around the desired frequencies. IIR filters require less computation but FIR filters are required where linear phase response is needed such as data transmission and speech processing.
This document discusses various types of pulse modulation techniques used in analog and digital communication systems. It begins by defining pulse amplitude modulation (PAM) and describing how the amplitude of pulses varies proportionally to the message signal. It then discusses different types of PAM based on the sampling technique used - ideal, natural, and flat-top sampling. Flat-top sampling uses sample-and-hold circuits and can introduce amplitude distortion known as the aperture effect. The document also covers pulse width modulation (PWM), pulse position modulation (PPM), pulse code modulation (PCM), delta modulation (DM), and their advantages. It explains the sampling theorem and proves it through Fourier analysis. Finally, it discusses bandwidth requirements, transmission, drawbacks
This document discusses the design of FIR filters using different windowing techniques. It begins with an introduction to FIR filters and then describes designing FIR filters using rectangular, Hamming, Hanning, Bartlett, and Kaiser windows. It also discusses designing FIR filters using frequency sampling techniques. The advantages of FIR filters are linear phase response, stability, and group delay. Disadvantages include requiring more coefficients and operations than IIR filters for some frequency responses.
This document summarizes a presentation on FIR and IIR filter design techniques. It introduces common IIR filter design methods like impulse invariance and bilinear transformation. It also discusses FIR filter design using window functions, frequency sampling, and minimizing mean squared error. Specific window functions are examined, including rectangular, triangular, Hanning, Hamming, Kaiser, and Blackman windows. The document provides an overview of digital filter design topics and serves as a reference for further exploration of FIR and IIR filter design methods.
Differential pulse code modulation (DPCM) is a technique that encodes analog signals digitally by sampling the signal, predicting the next sample value based on previous samples, quantizing the difference between the actual and predicted values, and transmitting the quantized difference. DPCM reduces the required transmission bandwidth compared to standard PCM by exploiting the fact that differences between successive samples are typically smaller than the sample amplitudes themselves. It works by quantizing and transmitting the differences between actual and predicted sample values rather than directly quantizing the sample amplitudes.
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignAmr E. Mohamed
The document discusses the design of discrete-time IIR filters from continuous-time filter specifications. It covers common IIR filter design techniques including the impulse invariance method, matched z-transform method, and bilinear transformation method. An example applies the bilinear transformation to design a first-order low-pass digital filter from a continuous analog prototype. Filter design procedures and steps are provided.
Why Fourier Transform
General Properties & Symmetry relations
Formula and steps
magnitude and phase spectra
Convergence Condition
mean-square convergence
Gibbs phenomenon
Direct Delta
Energy Density Spectrum
This document provides information about the course "ANALOG COMMUNICATION" including the course code, instructor details, course contents which are divided into 5 units covering topics like introduction to communication systems, amplitude modulation, angle modulation, transmitters and receivers, and noise in analog communication. It lists the textbooks recommended for different units. One of the units is about noise in analog communication which is further divided into two parts - part 1 covering topics like introduction to noise, sources of noise (external and internal), classification of noise, thermal noise calculations, signal to noise ratio, noise figure and cascaded amplifiers etc.
Filters selectively attenuate certain frequency ranges in a signal. They are used widely in electronics, telecommunications, audio/video, and other applications. Filters are classified as analog or digital depending on the signal type. Ideal filters have constant gain in the passband and zero gain in the stopband with linear phase, but practical filters have variable gain and non-zero/non-linear characteristics. Digital filters are further divided into finite impulse response (FIR) filters, which depend only on past inputs, and infinite impulse response (IIR) filters, which are recursive and depend on both past inputs and outputs. IIR filters are designed by first designing an analog filter prototype and transforming it to the digital domain using techniques like impulse invari
Lecture: Digital Signal Processing Batch 2009ubaidis
Here are the solutions to the questions:
(a) y[nT] = 3(−0.2)n u[n − 3], T = 2 ms
Energy: E = 9(0.2)3/(1−0.2) = 9
Power: P = 0 (since the signal decays to zero as n increases)
This is an energy signal.
(b) z[nT] = 4(1.1)n u[n + 1], T = 0.02 s
Energy: E = ∞ (since (1.1)n increases without bound)
Power: P = 4.4
This is a power signal.
(c
Digital filters can remove unwanted noise from signals or extract useful frequency components. They operate by sampling an analog signal, processing the digital values, and converting back to analog. Finite impulse response (FIR) filters use weighted sums of past inputs for outputs and are inherently stable without feedback. Infinite impulse response (IIR) filters use feedback, with outputs and next states determined by inputs and past outputs. Common filters include moving average filters and filters that introduce gain, delay, or differences between signal values. Design involves selecting coefficients for desired frequency responses. Stability depends on pole locations within the unit circle. Digital filters find applications in communications, audio, imaging, and other areas.
This document discusses digital and analog filters. It provides details on FIR filters, including their characteristics such as being always stable and having an exactly linear phase response. It also discusses the computational complexity of FIR filters compared to IIR filters. Kaiser windows are mentioned as a way to design FIR filters. Ideal filters are described as being used to remove disturbances from signals and noise. Finally, the basics of a digital signal processing system are outlined.
Frequency division multiplexing (FDM) divides the available bandwidth into non-overlapping frequency bands, with each band carrying a separate signal. Time division multiplexing (TDM) divides signals into different time slots to share the same frequency channel. TDM samples voice frequency signals at 8 kHz and quantizes each sample to 8 bits, requiring 64 kbps per voice channel. A 32-channel PCM system using TDM requires 2 Mbps of bandwidth and can carry more voice channels than FDM with the same bandwidth.
This document provides an introduction to the topics covered in the Digital Signal Processing course BEG4103. It discusses discrete-time signals and systems, the Fourier transform of discrete-time signals, the discrete Fourier transform, the z-transform, and digital filters. It also provides examples of analogue and discrete-time signals and highlights both the advantages and disadvantages of digital signal processing.
Pulse code modulation (PCM) is a method of digitally representing sampled analog signals. In PCM, the instantaneous voltage of an analog signal is sampled regularly at uniform intervals, then quantized to a series of digital codes. This allows the analog signals to be transmitted over digital communication networks or stored in digital memory. Key aspects of PCM include sampling the analog signal, quantizing the samples to discrete levels, encoding the quantized levels into binary code words, and transmitting the encoded binary data as a serial bit stream. PCM provides advantages like noise immunity, easy processing and storage, and the ability to multiplex and transmit multiple signals over the same channel.
The document provides an introduction to adaptive filters, which are computational devices that model the relationship between input and output signals in real time to minimize the error between the actual and desired response. It describes the basic elements of adaptive filters including input/output signals, filter structure, coefficients, and adaptive algorithm. It also summarizes common adaptive filter structures like FIR, IIR, and linear combiners and applications such as system identification, inverse modeling, signal prediction, and interference cancellation.
This document discusses infinite impulse response (IIR) filters. It begins by introducing digital filters and their basic block diagram. There are two main types of digital filters: finite impulse response (FIR) filters and IIR filters. FIR filters have a finite duration impulse response, while IIR filters have an infinite duration impulse response and are recursive. The document then discusses different filter types (low pass, high pass, etc.), ideal filter characteristics, and common structures for implementing FIR and IIR filters like direct form and cascade form structures.
Laboratory Duct Active noise control using Adaptive Filters Rishikesh .
This document discusses using an adaptive filter for noise cancellation in a laboratory duct. It presents the goal of designing and implementing a laboratory duct noise cancellation system using an adaptive filter. It provides background on active noise control and describes how an adaptive filter works by adjusting its coefficients according to an optimization algorithm driven by an error signal to reduce noise. It then discusses approaches like feedforward topology for active noise cancellation and presents the experimental setup and future plans to implement this system for a laboratory duct with adaptive filtering.
Digital Filter definition and its types?
in signal processing, a digital filter is a system that performs mathematical operations on a sampled, discrete-time signal to reduce or enhance certain aspects of that signal.
This document discusses digital signal processing (DSP). It begins with an introduction to DSP and defines different types of signals like analog, discrete, causal and random signals. It then explains the basic concepts of DSP systems including filters. The document discusses analog and digital filters in detail. It describes the two main types of digital filters - FIR and IIR filters. Finally, it provides examples of using DSP techniques for applications like audio effects generation and image processing.
This document provides an introduction to digital signal processing. It discusses how signals can be represented digitally by sampling analog signals and converting them to sequences of numbers. This allows signals to be processed using digital processors. Some key benefits of digital signal processing include accuracy, repeatability, flexibility, and easy implementation of nonlinear and time-varying operations in software. The document covers topics such as sampling, analog-to-digital conversion, reconstruction, discrete-time signals and systems, linearity, time-invariance, and examples of basic sequences like sinusoidal, exponential, and geometric sequences.
This document discusses adaptive filters and band reject filters. It begins by defining an adaptive filter as a filter that can automatically design itself and detect system variations over time. It describes the key aspects of an adaptive filter including the signals being processed, its structure, adjustable parameters, and adaptive algorithm. The document then discusses practical adaptive filtering problems when the desired response is unknown and time-varying. It introduces common adaptive filtering algorithms like the gradient-based LMS algorithm and examines the mean-squared error cost function. Finally, it provides an overview of band reject filters and inverse and Wiener filtering techniques.
This document discusses using an adaptive filter for noise cancellation in a laboratory duct. It aims to design and implement an active noise control system using a feedforward topology with an adaptive filter. Active noise control introduces a secondary anti-noise source to destructively interfere with and cancel primary noise. Adaptive filters automatically adjust their filter coefficients using algorithms like the least mean squares algorithm to optimize noise cancellation in response to changing environments. The proposed approach would implement this active noise cancellation system using a laboratory duct model and an adaptive filtered-X algorithm.
This document discusses different types of filters, including RC filters, active filters, and higher order filters. It provides information on passive and active low-pass, high-pass, band-pass, and band-reject filters. Key points covered include the properties and design of different filter types, such as using capacitors and resistors to construct simple RC filters, and employing op-amps to create active filters that can amplify signals during the filtering process. Higher order filters are discussed as providing closer approximations to ideal filter characteristics. Design guidelines and examples are provided for low-pass and high-pass active filters.
The document discusses digital filters and their design process. It explains that the design process involves four main steps: approximation, realization, studying arithmetic errors, and implementation.
For approximation, direct and indirect methods are used to generate a transfer function that satisfies the filter specifications. Realization generates a filter network from the transfer function. Studying arithmetic errors examines how quantization affects filter performance. Implementation realizes the filter in either software or hardware.
The document also outlines the basic building blocks of digital filters, including adders, multipliers, and delay elements. It introduces linear time-invariant digital filters and explains their input-output relationship using difference equations and the z-transform.
Computer security involves managing malicious behavior involving information technology. It focuses on intentional rather than accidental threats from adversaries. Information security is important for organizations that rely on computer systems, including businesses, the military, healthcare, households, and society. The three main targets of information security are confidentiality, integrity, and availability of information and systems. Block ciphers like DES and AES are commonly used for encryption to provide these security properties.
The document discusses software development methodologies and processes. It describes the traditional waterfall model, which involves sequential phases of analysis, design, implementation, testing, and deployment. It also discusses traditional team roles like architect, project manager, lead programmer, programmer, and tester. The document notes that maintenance accounts for 80-90% of total software costs and the line between maintenance and development is blurring. Traditional tools like Gantt charts and PERT diagrams are also mentioned.
Databases allow storing and managing large amounts of data. Early databases had rigid hierarchical or navigational structures that required complex programming to query data. In 1970, Edgar Codd introduced the relational model which represented data in tables of rows and columns that could be easily queried using relational algebra and SQL. This model became the standard and is implemented in relational database management systems like MySQL, PostgreSQL, and Oracle which are widely used today.
Testing involves double checking software to find defects. There are many types of tests, including unit tests to test individual code modules, integration tests to test system components working together, and validation/verification tests to ensure requirements are met. Tests should check for resource exhaustion, errors, performance under different loads, and usability. Profiling and usability testing tools can help analyze software performance and user experience. Effective usability testing involves representative users and both quantitative and qualitative feedback.
This document discusses CORBA (Common Object Request Broker Architecture), which is a middleware standard defined by the Object Management Group (OMG) that enables communication between programs written in different languages and running on different operating systems. CORBA uses Interface Definition Language (IDL) to describe interfaces and maps them to different programming languages. It provides location transparency through a remote proxy mechanism that hides remote object references from client programs.
This document discusses CORBA (Common Object Request Broker Architecture), which is a middleware standard defined by the Object Management Group (OMG) that enables communication between programs written in different languages and running on different operating systems. CORBA uses Interface Definition Language (IDL) to describe interfaces and maps them to different programming languages. It provides location transparency through a remote proxy mechanism that hides remote object references from client programs.
This document provides a high-level overview of key concepts in distributed systems, including programming models, remote procedure calls, messaging, distributed data, peer-to-peer networks, distributed hash tables, cloud computing, and security. It discusses implicit and explicit programming models, synchronous and asynchronous communication, and distributed computing frameworks like MapReduce.
Lecture 7 Software Engineering and Design User Interface Design op205
3F6 Software Engineering and Design, February 2012, lecture slides 7, User Interface Design, Dr Elena Punskaya, Cambridge University Engineering Department
Lecture 6 Software Engineering and Design Good Design op205
Dieter Rams established principles of good design at Braun that emphasized simplicity, innovation, and user-centered design. His minimalist designs for products like the Braun T1000 radio and SK4 record player influenced later companies like Apple. Good design focuses on the user experience by providing intuitive conceptual models and avoiding errors. It aims to clarify product functions through thoughtful details rather than decorative elements.
Lecture 4 Software Engineering and Design Brief Introduction to Programmingop205
3F6 Software Engineering and Design, January 2012, lecture slides 4, Brief Introduction to Programming Languages, Dr Elena Punskaya, Cambridge University Engineering Department
Lecture 3 Software Engineering and Design Introduction to UMLop205
3F6 Software Engineering and Design, January 2012, lecture slides 3, Introduction to UML, Dr Elena Punskaya, Cambridge University Engineering Department
Lecture 2 Software Engineering and Design Object Oriented Programming, Design...op205
3F6 Software Engineering and Design, January 2012, lecture slides 2, Object Oriented Programming, Design and Analysis, Dr Elena Punskaya, Cambridge University Engineering Department
1. Basics of Digital Filters
Elena Punskaya
www-sigproc.eng.cam.ac.uk/~op205
Some material adapted from courses by
Prof. Simon Godsill, Dr. Arnaud Doucet,
Dr. Malcolm Macleod and Prof. Peter Rayner
1
2. What is a Digital Filter?
Digital Filter: numerical procedure or algorithm that
transforms a given sequence of numbers
into a second sequence that has some
more desirable properties.
Input sequence Output sequence
xn Digital Filter yn
2
3. Desired features
Desired features depend on the application, for example
Input Signal Output
generated by sensing having less noise or
device (microphone) interferences
speech with reduced
redundancy for more
efficient transmission
3
4. Examples of filtering operations
Noise suppression
• received radio signals
• signals received by image sensors (TV,
infrared imaging devices)
• electrical signals measured from human
body (brain heart, neurological signals)
• signals recorded on analog media such
as analog magnetic tapes
4
5. Examples of filtering operations
Enhancement of selected frequency ranges
• treble and bass control or graphic equalizers
increase sound level and high and low level frequencies
to compensate for the lower sensitivity of the ear at
those frequencies or for special sound effects
• enhancement of edges in images
improve recognition of object (by human or computer)
edge – a sharp transition in the image brightness, sharp
transitions in a signal (from Fourier theory) appear as
high-frequency components which can be amplified
5
6. Examples of filtering operations
Bandwidth limiting
• means of aliasing prevention in
sampling
• communication
radio or TV signal transmitted over
specific channel has to have a limited
bandwidth to prevent interference with
neighbouring channels
frequency components outside the
permitted band are attenuated below
a specific power level
6
7. Examples of filtering operations
Specific operations
• differentiation
• integration
• Hilbert transform
These operations can be
approximated by digital filters
operating on the sampled input
signal
7
8. Linear time-invariant (LTI) digital filters.
We limit ourselves to LTI digital filters only.
Time-invariant:
xn LTI yn xn-k LTI yn-k
Linear: defined by the principle of linear superposition
xn1 LTI yn1 xn2 LTI yn2 scaling &
additivity
properties
a1xn1+ a2xn2 LTI a1yn1+ a2yn2
If linear system's parameters are constant
it is Linear Time Invariant 8
9. Analysis
We analyse DSP algorithms by determining:
• their time-domain characteristics
– linear difference equations
– filter’s unit-sample (impulse) response
• their frequency-domain characteristics
– more general, Z-transform domain
• system transfer function
• poles and zeros diagram in the z-plane
– Fourier domain
• frequency response
• spectrum of the signal
9
10. First method in time domain: Linear difference equations
The linear time-invariant digital filter can then be
described by the linear difference equation:
where {ak} and {bk} real
The order of the filter is the larger of M or N
10
11. Elements of a Digital Filter – Adders and Multipliers
Adders:
x1n + yn=x1n+x2n
x2n
Multipliers:
a
xn yn=axn
x alternative for multiplier
Simple components implemented in the
arithmetic logic unit of the computer
11
12. Elements of a Digital Filter – Delays
Positive delay (“delay”): stores the current value
for one sample interval
xn Z-1 yn= xn-1
alternative for delay
Negative delay (“advance”): allows to look ahead,
e.g. image processing
xn Z yn= xn+1
Components that allow access to future and
past values in the sequence
12
13. Example: three-sample averager
Three-sample averager: yn=(xn+1+ xn + xn-1)/3
Z
1/3
xn + yn
Order: Z-1
number of second-order filter
delays &
advances
needed to Nonrecursive filter – output is a
function of only the input sequence
implement
13
14. Example: first-order recursive filter
First-order recursive filter: yn=ayn-1+ xn
xn + yn
Z-1
a
one delay
Example of feedback first-order
implemented in a
digital filter
Recursive filter – output is also a
function of the previous output
14
15. Full set of possible linear operations
The operations shown in the slides above are
the full set of possible linear operations:
• constant delays (by any number of
samples)
• addition or subtraction of signal paths
• multiplication (scaling) of signal paths by
constants - (including -1)
Any other operations make the system non-
linear.
15
16. Linear difference equations and digital filter structure
• Useful for implementing digital filter
structures
slightly alternative
representation
16
17. Second method in time domain: unit-sample response
• Input signal is resolved into a weighted sum of elementary
signal components, i.e. sum of unit samples or impulses
∞
xn= xk δn-k
k=- ∞
• The response of the system to the unit sample sequence
is determined
δn LTI hn
• Taking into account properties of the LTI system, the
response of the system to xn is the corresponding sum of
weighted outputs
∞ ∞
xn= xk δn-k LTI yn= xk hn-k
k=- ∞ k=- ∞ 17
18. Linear convolution
Linear convolution
∞
yn= xk hn-k
k=- ∞
gives the response of the LTI system as a
function of the input signal and the unit
sample (impulse) response
LTI is completely characterized by hn
18
19. Causal LTI system
Causal system: output at time n depends only on
present and past inputs but not on future
Impulse response:
hn = 0 for n <0
Thus
∞ ∞
Yn = xk hn-k = hk xn-k
k=- ∞ k=0
19
20. Essentials of the z-transform
For convenience we will use this
For a discrete time signal notation (x(n)) for discrete signal
as well as xn from now on
where is a complex variable
For causal signals is well defined for
20
21. Essentials of the z-transform - convolution
Convolution
admits a z-transform satisfying
where
Indeed,
21
22. Transfer function of LTI
Linear difference equation
Now, take z-transforms term by term
Rearranging, transfer function of the filter is
22
23. FIR and IIR filters
Transfer function of the filter is
Finite Impulse Response (FIR) Filters:
N = 0, no feedback
Infinite Impulse Response (IIR) Filters
23
24. Poles and Zeros
The roots of the numerator polynomial in H(z) are known as the zeros, and
the roots of the denominator polynomial as poles. In particular, factorize H(z)
top and bottom:
24
25. Linear Digital Filter in Matlab
Matlab has a filter command for implementation of linear digital filters.
Matlab transfer function:
The format is
y = filter( b, a, x);
where
b = [b0 b1 b2 ... bM ]; a = [ 1 a1 a2 a3 ... aN ];
So to compute the first P+1 samples of the filter’s impulse response,
y = filter( b, a, [1 zeros(1,P)]);
Or step response,
y = filter( b, a, [ones(1,P)]);
25
27. Frequency Response of LTI
LTI system with impulse response hk
∞
xn LTI yn= hk xn-k
k=0
Fourier Transform convolution
Fourier transform of hk
- frequency response of LTI
27
28. Frequency Response of LTI
Indeed, let us excite the system with the complex
exponential
where
The response of the system to complex exponential
Fourier transform of hk
is also in the form of complex exponential but altered by
the multiplicative factor 28
29. Example
Assume
where for
0 otherwise
Frequency response
2
29
30. Frequency Response of LTI
By knowing we can determine the response of the
system to any sinusoidal input signal, hence it specifies
the response of the system in the frequency domain
=
is called magnitude response of a system
is called phase response of a system
30
31. Frequency response of LTI
Transfer function:
Frequency response:
ω ω ω
ω
ω ω ω
ω
The complex modulus: ω
ω
ω
ω
and argument:
ω ω
ω ω
linear phase term sum of the angles from the zeros/poles to 31 circle
unit
32. Frequency response of LTI
Im(z)
Suppose we have a
system with 2 poles (o)
unit circle and 2 zeros (x)
X
We are going
around the unit
circle with
ω
O O
-1 1
X
32
33. Frequency response of LTI
Im(z)
Transfer function:
unit circle
X
D1
C2
ω
O O
-1 1
C1
D2 Frequency response:
X
C1C2
= D1D2
33
34. Frequency response of LTI
Im(z)
unit circle C1C2
X = D1D2
D1 The magnitude of the frequency
response is given by times
the product of the distances
C2
ω from the zeros to
O O divided by the product of the
-1 1 distances from the poles to
C1
D2
The phase response is given by
X the sum of the angles from the
zeros to minus the
sum of the angles from the
poles to plus a linear
phase term (M-N) ω
34
35. Frequency response of LTI
Im(z)
Thus when 'is
unit circle close to' a pole, the
magnitude of the response
X rises (resonance).
D1
When 'is close
C2 to' a zero, the magnitude
ω falls (a null).
O O
-1 1
C1
D2 The phase response –
more difficult to get
X “intuition”.
35
36. Frequency response of filter in Matlab
To evaluate the frequency response at n points equally spaced in
the normalised frequency range ω=0 to ω= π, Matlab's function
freqz is used:
freqz(b,a,n);
Peak close to pole frequency
b=[1 -0.1 -0.56];
a=[1 -0.9 0.81];
freqz(b,a)
Troughs at zero frequencies
36 36
37. Filtering example
Generate a Gaussian random noise sequence:
x=randn(100000,1);
figure(1), plot(x) freqz(b,a);
figure(2), plot(abs(fft(x)))
a = [1 -0.99 0.9801];
b = [1, -0.1, -0.56];
y=filter(b,a,x);
figure(3), plot(y)
Figure(4), plot(abs(fft(y)))
Selective amplification
of one frequency
Use soundsc(x,44100)
and soundsc(y,44100)
and hear the difference! 37 37
38. Filter specification
Before a filter is designed and implemented we need to
specify its performance requirements.
There are four basic filter types:
• Low-pass
• High-pass
• Band-pass
• Band-stop
Frequency band where signal is passed is passband
Frequency band where signal is removed is stopband
38
39. Ideal Low-pass Filter
• Low-pass: designed to pass low frequencies from zero
to a certain cut-off frequency and to block high
frequencies
Ideal Frequency Response
39
40. Ideal High-pass Filter
• High-pass: designed to pass high frequencies from a
certain cut-off frequency to π and to block low
frequencies
Ideal Frequency Response
40
41. Ideal Band-pass Filter
• Band-pass: designed to pass a certain frequency range
which does not include zero and to block other
frequencies
Ideal Frequency Response
41
42. Ideal Band-stop Filter
• Band-stop: designed to block a certain frequency range
which does not include zero and to pass other
frequencies
Ideal Frequency Response
42
43. Ideal Filters – Magnitude Response
Ideal Filters are usually such that they admit a gain of 1 in a
given passband (where signal is passed) and 0 in their
stopband (where signal is removed).
43
44. Ideal Filters – Phase Response
Another important characteristics is related to the phase
Ideal filter: admits a linear phase response
Indeed,
Fourier Transform of
delay
44
45. Ideal Filters – Linear Phase Response
Important property: all frequencies suffer from
the same delays
In some applications it is critical for this property
to hold (at least approximately)
45
47. Ideal Filters – Linear Phase Response
The derivative of the phase/signal respect with
respect to ω is known as group delay of the
filter - effectively time delay of the frequency
when the phase admits a linear phase response
group delay is constant
47
51. Frequency response of LTI
Remember? Im(z)
Thus when 'is
unit circle close to' a pole, the
magnitude of the response
X rises (resonance).
D1
When 'is close
C2 to' a zero, the magnitude
ω falls (a null).
O O
-1 1
C1
D2 The phase response –
more difficult to get
X “intuition”.
51
52. Approximate filter design – rough guidelines
A few rough guidelines to start with:
• One needs to put the poles within the unit circle to ensure stability
52
53. Approximate Low-pass filter
Rule 1: The closer to a pole, the higher the magnitude of the response
Rule 2: The closer to a zero, the lower the magnitude of the response
53
55. Approximate High-pass filter
one can simply reflect
We had for Low-pass the poles-zeros
locations of the
lowpass filter about
the imaginary axis
55
59. Resonator
This filter is actually more a digital resonator than an bandpass filter; see
its frequency response for r = 0.9 and ω0 = π/4 - it has a large magnitude
response around ω0
59
62. Notch Filter
a filter that
contains one or
several deeps/
notches in
its frequency
response
to eliminate ω0
Frequencies around the desired null are
also seriously attenuated
62
65. Inverse Filter
The zeros become
poles and the poles
become zeros
65
66. Digital Filter Design Considerations
Four steps:
1. Specification of the filter’s response (very important! -
senior engineers)
3. Design the transfer function of the filter (main goal:
meet spec with minimum complexity, often = minimum
order)
5. Verification of the filter’s performance
• analytic means
• simulations
• testing with real data if possible
4. Implementation by hardware / software (or both)
66