Table Of Contents

Filter Order Estimation (Inverse Chebyshev) (G Dataflow)

Last Modified: March 15, 2017

Estimates the Inverse Chebyshev filter order.

connector_pane_image
datatype_icon

filter type

The type of filter that this node estimates.

Name Description
Lowpass

Estimates a lowpass filter.

Highpass

Estimates a highpass filter.

Bandpass

Estimates a bandpass filter.

Bandstop

Estimates a bandstop filter.

Default: Lowpass

datatype_icon

frequency specifications

Band edge frequencies of the filter, in Hz.

datatype_icon

lower pass frequency

First passband edge frequency in Hz.

Default: 0.2

datatype_icon

lower stop frequency

First stopband edge frequency in Hz.

Default: 0.3

datatype_icon

higher pass frequency

Second passband edge frequency in Hz. The node ignores this input for lowpass and highpass filters.

Default: 0

datatype_icon

higher stop frequency

Second stopband edge frequency, in Hz. The node ignores this input for lowpass and highpass filters.

Default: 0

datatype_icon

ripple specifications

Ripple level in the passband and stopband of the filter.

datatype_icon

passband

Ripple level in the passband.

Default: 0.1

datatype_icon

stopband

Ripple level in the stopband.

Default: 60

datatype_icon

dB?

A Boolean value that specifies whether this node applies a decibel scale or a linear scale to the ripple levels.

True The node applies a decibel scale to the ripple level.
False The node applies a linear scale to the ripple level.

Default: True

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

sampling frequency

The sampling frequency in Hz.

This value must be greater than zero.

Default: 1.0 Hz, which is the normalized sampling frequency

datatype_icon

estimated order

Minimum order value that the filter requires to meet the specifications you set.

datatype_icon

low cutoff frequency

Low cutoff frequency. The cutoff frequency corresponds to the edge frequency of the stopband.

datatype_icon

high cutoff frequency

High cutoff frequency. The cutoff frequency corresponds to the edge frequency of the stopband.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.
datatype_icon

stopband attenuation

Stopband attenuation in decibels.

Algorithm for Inverse Chebyshev Order Estimation

This node uses the following equations to estimate the order of an Inverse Chebyshev filter:

N = acosh ( ε s / ε p ) acosh ( Ω s / Ω p )
ε p = 10 A p / 10 1
ε s = 10 A s / 10 1
where
  • N is the estimated order
  • Ap is the passband ripple in dB
  • As is the stopband ripple in dB
  • means Round Toward + Infinity

The following table lists the equations for calculating Ω p and Ω s for different types of filters:

Lowpass filter

Ω p = Ω p 1

Ω s = Ω s 1

Highpass filter

Ω p = 1 / Ω p 1

Ω s = 1 / Ω s 1

Bandpass filter

Ω p = Ω p 2 Ω p 1

Ω s = min ( | Ω s 1 Ω p 1 Ω p 2 Ω s 1 | , | Ω s 2 Ω p 1 Ω p 2 Ω s 2 | )

Bandstop filter

Ω p = max ( | 1 Ω p 1 Ω s 1 Ω s 2 Ω p 1 | , | 1 Ω p 2 Ω s 1 Ω s 2 Ω p 2 | )

Ω s = 1 Ω s 2 Ω s 1

where the various Ω values equal as follows:

Ω p 1 = tan ( π * lower pass frequency sampling frequency )
Ω p 2 = tan ( π * higher pass frequency sampling frequency )
Ω s 1 = tan ( π * lower stop frequency sampling frequency )
Ω s 2 = tan ( π * higher stop frequency sampling frequency )

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices


Recently Viewed Topics