MPIFilterPostFilterForm

Declaration

typedef enum{
      MPIFilterPostFilterFormINVALID = -1,

      MPIFilterPostFilterFormNONE,
      MPIFilterPostFilterFormIIR,
      MPIFilterPostFilterFormBIQUAD,
      MPIFilterPostFilterFormSS_BIQUAD,

      MPIFilterPostFilterFormEND,
      MPIFilterPostFilterFormFIRST = MPIFilterPostFilterFormINVALID + 1
} MPIFilterPostFilterForm;

 

Required Header: stdmpi.h

Change History: Modified in 04.00.

Description

MPIFilterPostFilterForm is an enumeration of the postfilter types available on the controller.

MPIFilterPostFilterformIIR Deprecated. Cascaded biquad sections offer better precision and better calculation performance.
MPIFilterPostFilterformBIQUAD Second Order digital filter form, for implementing low/high pass, notch, lead/lag and custom filters. The filter is a single precision floating point canonical form. The biquad filter is defined by the following discrete transfer function:

The XMP's representation of this filter is:

w0:

Intermediate result
u(k): filter input
a1, a2, b0, b1, and b2: discrete biquad coefficients
y(k):filter output
x1k and x2k: filter states

MPIFilterPostFilterformSS_BIQUAD Second order digital filter form, for implementing low/high pass, notch, lead/lag and custom filters. The filter is a single precision, floating point state space implementation. This filter applies input and output scaling to the canonical form.

The XMP's state space representation of this filter is:

u(k): filter input
d1, c1, c2, a2, a1,b1: discrete biquad coefficients
y(k):filter output
p1k and p2k: filter states

See Also

MPIFilterPostFilterSection