LeadLag
Implementation of a first-order phase correction element.
The documentation of the corresponding PLC function block can be found here: FB_FTR_LeadLag.
The documentation of the TwinCAT 3 Filter PLC library can be found here: Overview
Configuration parameters
- SamplingRate: sampling rate fs in Hz (greater than zero).
- T1: time constant T1 in seconds (greater than zero).
- T2: time constant T2 in seconds (greater than zero).
- Low Pass Frequency (optional): low-pass frequency in Hz (greater than 0 and less than SamplingRate/2).
- High Pass Frequency (optional): high-pass frequency in Hz (greater than 0 and less than SamplingRate/2).
- Initial Values (optional): initial values define the internal state of the filter.