# Difference between revisions of "Discrete Filter"

From T-VEC Wiki

Line 27: | Line 27: | ||

<br>NOTE: these 2 specifications are equivalent, one form is used by control engineers and the other is used by filter designers. <br> | <br>NOTE: these 2 specifications are equivalent, one form is used by control engineers and the other is used by filter designers. <br> | ||

The output function definition is the same regardless.<br> | The output function definition is the same regardless.<br> | ||

− | |||

</div> | </div> | ||

+ | </table> | ||

==Approach== | ==Approach== | ||

To represent this in TTM it is necessary to state the semantics in terms of a function of current cycle input values and a previous cycle computed state variable (or multiple previous cycle state variables, in the case of z-equations of orders greater than 1). This requires the equation to be in a form similar to the expressions used to perform such a filter computation, computing the primary output and also computing a state variable output that you would also reference as an input (from the previous cycle's output computation). | To represent this in TTM it is necessary to state the semantics in terms of a function of current cycle input values and a previous cycle computed state variable (or multiple previous cycle state variables, in the case of z-equations of orders greater than 1). This requires the equation to be in a form similar to the expressions used to perform such a filter computation, computing the primary output and also computing a state variable output that you would also reference as an input (from the previous cycle's output computation). |