Summary: The Digital Filter Design Utility is software that allows you to interactively specify and design floating point digital filters. This utility was created with LabVIEW and the Digital Filter Design Toolkit and compiled into a stand-alone application for your use. The full Digital Filter Design Toolkit contains a complete set of filter design tools for designing a wide range of floating point and fixed point digital filters within an open environment, using an easy-to-learn interactive graphical programming language.
DSP Laboratory: IIR Filter Design
DSP Laboratory: IIR Notch Filter Design
DSP Laboratory: FIR Filter Design
The Interactive Digital Filter Design Utility is a compiled LabVIEW applicaiton that allows you to interactively specify and design floating point digital IIR filters and FIR filters online. This utility was created with LabVIEW 8 and the LabVIEW Digital Filter Design Toolkit to provide an interacive tool for digital filter design. Only a portion of the functionality available in the LabVIEW Digital Filter Design Toolkit is used in this utility. The full toolkit contains a complete set of filter design tools for designing a wide range of floating point and fixed point digital filters. Once the LabVIEW plug-in has been installed, the Interactive Digital Filter Design utility will run within the box below.
Download LabVIEW Source
Download the full source code for the LabVIEW Interactive Digital Filter Design Utility here. This allows you to run the same Interactive Digital Filter Design Utility from your Windows PC without being connected to the web.
The Digital Filter Design Utility can be run on Windows OS within this web page or downloaded for offline use. You will need to download and install the free LabVIEW Runtime Engine and enable the browser plug-in for local execution. Visit the following link for instructions on installing the LabVIEW Runtime Engine and configuring the browser plug-in to enable the Interactive Digital Filter Design Utility and other online web based LabVIEW applications.
The Digital Filter Design Utility provides two filter design tools for either classical design or design by pole-zero placement.
Classical design mode allows you to specify a FIR or IIR filter design by setting design parameters such as filter type, sampling frequency, passband/stopband edge frequencies, passband and stopband ripple levels, and stopband attenuation. You can select from design methods that include Butterworth, Chebyshev, Inverse Chebyshev, Elliptic, Kaiser Window, Dolph-Chebyshev, and Equi-Ripple. LabVIEW will then use the design parameters to suggest a filter meeting as many of those specifications as possible. You are then free to optimize the design to meet your needs.
The pole-zero placement interface allows you specify the location of multiple poles and zero either by entering the coordinate locations directly or graphically by clicking on the z-plane. The resulting filter is then displayed using the Bode Plot.
The resulting filter coefficients can then be saved to a text file to facilitate deploying your design on real hardware or for further analysis.
To start a design, you first choose from one of the two available interactive design tools by making a selection from the tree control on the left side of the interface. Select Classical Design to design a filter based on specifications such as passband / stopband edge frequencies, passband ripple, and stopband attenuation. Select Pole-Zero Placement to design a filter by specifying the locations of poles and zeros on the complex plane.
The following sections detail how to work with each alternative.
This tool allows you to design multiple digital filter types by adjusting the filter specifications manually or by interactively changing the passband and stopband cursors in the magnitude vs. frequency graph. As the cursors move, the pole/zero plot and the text based interface change dynamically to set the values for the desired filter.
| Digital Filter Design Utility |
|---|
The Pole-Zero Placement Option allows you to interactively place and move poles and zeros on the z-plane. To do so, you can enter complex value coordinates to specify exact values or click on a graph of the complex half plane to move or place them with the mouse. The magnitude response of the resulting filter updates immediately as you place or move poles / zeros.
| Digital Filter Design Utility |
|---|
To simplify working in LabVIEW with the filters that you design with the interactive utility on this page, we have posted several utility VIs for LabVIEW that allow you to import and export the designs that you save or load using the "Save Filter Spec" or "Load Filter Spec" buttons from the utility. You can download a zip file containing these utilities here.
LabVIEW is a graphical programming & mathematics environment for designing, prototyping, and deploying systems. The Interactive Digital Filter Design Utility included on this site was built using LabVIEW 8 and the LabVIEW Digital Filter Design Toolkit.
The LabVIEW Digital Filter Design Toolkit is a software add-on for LabVIEW that facilitates specification, design, analysis, and implementation of digital filters. Without prior knowledge about programming in LabVIEW, you can use the Digital Filter Design Toolkit Express VIs to interact graphically with filter specifications to design digital filters. For more information on the LabVIEW Digital Filter Design toolkit, view the online web event Designing Digital Filters with NI LabVIEW and the Digital Filter Design Toolkit.
The LabVIEW Digital Filter Design Toolkit provides VIs that you can use to design a digital IIR or FIR filter, analyze the characteristics of the digital filter, change the implementation structure of the digital filter, and process data with the digital filter. Besides the floating point support, the LabVIEW Digital Filter Design Toolkit provides a set of VIs that you can use to generate a fixed point digital filter model, analyze the characteristics of the fixed point digital filter, simulate the performance of the fixed point digital filter, and generate integer C or LabVIEW code for a specific fixed point target. In addition to tools that help you create conventional digital filters, the LabVIEW Digital Filter Design Toolkit includes tools for multirate digital filter design.
Visit ni.com for more information about the LabVIEW Digital Filter Design Toolkit and other NI products and resources.
"The Digital Filter Design Utility is software that allows you to interactively specify and design floating point digital filters. This utility was created with LabVIEW and the LabVIEW Digital […]"