NEWS
emc2_2.2.7 Release
A fresh bugfix release (2.2.7) - (Changelog).
You can get it: as a source package from sourceforge , from CVS , or as a precompiled package which works on Ubuntu as described here.
 
Ubuntu 8.04&EMC2 Live CD
The EMC2 team now has a brand new custom Live-CD (EU mirror) based on Ubuntu 8.04 with emc 2.2.x included, that will let you try out EMC2 before installing, and it's also the easiest way to install Ubuntu and EMC2 together. (more)
 
emc2_2.2.6 Release
A fresh bugfix release (2.2.6) - (Changelog).
You can get it: as a source package from sourceforge , from CVS , or as a precompiled package which works on Ubuntu as described here.
 
Language
Site Search
Google
Web LinuxCNC
Polls
EMC Version you are using
 
What type of machine do you run with EMC? Vote once for each machine
 

BIQUAD

NAME
SYNOPSIS
DESCRIPTION
FUNCTIONS
PINS
PARAMETERS
LICENSE

NAME

biquad − Biquad IIR filter

SYNOPSIS

loadrt biquad [count=N]

DESCRIPTION

Biquad IIR filter. Implements the following transfer function: H(z) = (n0 + n1z-1 + n2z-2) / (1+ d1z-1 + d2z-2)

FUNCTIONS

biquad.N (uses floating-point)

PINS

biquad.N.in float in

Filter input.

biquad.N.out float out

Filter output.

biquad.N.enable bit in (default: 0)

Filter enable. When false, the in is passed to out without any filtering. A transition from false to true causes filter coefficients to be calculated according to parameters

biquad.N.valid bit out (default: 0)

When false, indicates an error occured when caclulating filter coefficients.

PARAMETERS

biquad.N.type u32 rw (default: 0)

Filter type determines the type of filter coefficients calculated. When 0, coefficients must be loaded directly. When 1, a low pass filter is created. When 2, a notch filter is created.

biquad.N.f0 float rw (default: 250.0)

The corner frequency of the filter.

biquad.N.Q float rw (default: 0.7071)

The Q of the filter.

biquad.N.d1 float rw (default: 0.0)

1st-delayed denominator coef

biquad.N.d2 float rw (default: 0.0)

2nd-delayed denominator coef

biquad.N.n0 float rw (default: 1.0)

non-delayed numerator coef

biquad.N.n1 float rw (default: 0.0)

1st-delayed numerator coef

biquad.N.n2 float rw (default: 0.0)

2nd-delayed numerator coef

biquad.N.s1 float rw (default: 0.0)

biquad.N.s2 float rw (default: 0.0)

LICENSE

GPL


© 2008 LinuxCNC.org
Joomla! is Free Software released under the GNU/GPL License.