Second-Order Low-Pass Filter (Discrete or Continuous)

Discrete-time or continuous-time second-order low-pass filter

  • Library:
  • Simscape / Electrical / Control / General Control

Description

The Second-Order Low-Pass Filter (Discrete or Continuous) block implements a second-order low pass filter in conformance with IEEE Std 421.5-2016[1]. In the standard, the filter is a single input, single output signal conditioner that is used in the Power System Stabilizer PSS1A.

In the PSS1A, the filter accounts for some of the low-frequency effects of high-frequency torsional filters. It can also help shape the gain and phase characteristics of the stabilizer.

To switch between continuous and discrete implementations of the Second-Order Low-Pass Filter (Discrete or Continuous) block, adjust the Sample time parameter value.

Ports

Input

expand all

Filter input.

Data Types: single | double

Output

expand all

Filtered output. The output has the same number of elements as the input.

Data Types: single | double

Parameters

expand all

A1, the signal conditioning frequency filter coefficient of s.

A2, the signal conditioning frequency filter coefficient of s2.

Time between consecutive block executions. During execution, the block produces outputs and, if appropriate, updates its internal state. For more information, see What Is Sample Time? (Simulink) and Specify Sample Time (Simulink).

For inherited discrete-time operation, specify -1. For discrete-time operation, specify a positive integer. For continuous-time operation, specify 0.

If this block is in a masked subsystem, or other variant subsystem that allows you to switch between continuous operation and discrete operation, promote the sample time parameter. Promoting the sample time parameter ensures correct switching between the continuous and discrete implementations of the block. For more information, see Promote Parameter to Mask (Simulink).

References

[1] IEEE Recommended Practice for Excitation System Models for Power System Stability Studies. IEEE Std 421.5-2016. Piscataway, NJ: IEEE-SA, 2016.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2018b