. |
BiQuad Filter Mechaware API Documentation > Filter
OverviewOverviewThe BiQuad Filter block implements up to 16 second-order cascaded biquad blocks. Biquad coefficients are stored in a data file and loaded when the block is loaded. The firmware allows for up to 16 additional cascaded sections to be included in the data file, if desired.
The configuration values for this block are as follows:
Text files can be generated using one of the Matlab Utilities. Advanced users can manually write their text file if the coefficients are already known. Reading Text Files Text files can be read by loading with the mdl2mw utility. Single Stage Biquad Example Sample data file for a single stage filter.
Multistage Biquad Example A biquad filter is a second order computational element. The biquad section can be defined by specifying 5 coefficents B0, B1, B2, A1, A2, taken directly from the z-domain transfer function of the biquad. Cascaded Biquad Filters are specified by defining the the 5 coefficents for each of the sections. The mechaware data file contains the coefficents for each of the sections sequentially. Note that the xfer function coefficents A1 and A2 are negated before entering into the file. Matlab/Simulink
C++ API
|
BIQBlock& BIQ(); |
Required Header: mechaware.h |
Description
The BiQuad block implements up to 16 second-order cascaded biquad sections. Biquad coefficients are stored in a data file and loaded when the block is loaded. The firmware allows for up to 16 additional cascaded sections to be included in the data file, if desired.
Parameters
|
Methods
BiQuad Filter with Lookup Coefficients
| | Copyright © 2001-2012 Motion Engineering |