Lead-Lag Filter
Implement first-order lead-lag filter
Libraries:
      Simscape / 
      Electrical / 
      Specialized Power Systems / 
      Control / 
      Filters
   
Description
The Lead-Lag Filter block implements the following transfer function:
where
This type of filter is used mainly for implementing lead-lag compensation in control systems. The key characteristics of the Lead-Lag Filter block are:
- Input accepts a vectorized input of N signals, thus implementing N filters. This feature is particularly useful for designing controllers in three-phase systems (N=3). 
- The same block is used for continuous or discrete model. Changing the sample time Ts from 0 to a positive value automatically discretizes the filter, and vice versa. 
- Filter states can be initialized for specified DC inputs and outputs. 
Examples
The power_LeadLagFilter example shows two uses of a vectorized
        Lead-Lag Filter.
The model sample time is parameterized with variable Ts (default value Ts = 50e-6). To simulate continuous filters, specify Ts = 0 in the MATLAB® Command Window before simulating the model.
Characteristics
| Direct Feedthrough | Yes | 
| Sample Time | Specified in the Sample Time
                parameter Continuous if Sample Time = 0 | 
| Scalar Expansion | Yes, of the parameters | 
| States | One state per filter | 
| Dimensionalized | Yes | 
Ports
Input
Output
Parameters
Extended Capabilities
Version History
Introduced in R2013a
