Simulink Model Discretizer Demonstration
This interactive demonstration discretizes the Actuator Model in the F-14 Simulink model.
If you haven't already, open the Simulink F-14 model, f14.mdl.
Open the Model Discretizer by selecting the Tools -> Model discretizer... menu from the f14 model. This brings up the Model Discretizer GUI.
The Simulink model window and the Model Discretizer GUI are laid out in the screen for easy navigation.
Before discretizing the Actuator Model block, set the discretization parameters: transform method, sample time, critical frequency. Critical frequency has to be specified if the transform method 'tustin with prewarping' is selected.
After setting the discretization parameters, select the Discretize->Discretize current block menu in the Model Discretizer GUI. Or you can just click the s->z button icon in the tool bar. The discretized Actuator Model is highlighted in blue color in the model.
By default, the Actuator Model was replaced by a discrete block beneath a continuous block dialog, allowing you to
continue entering the Actuator Model parameters in the s-domain. Double
click the Actuator Model in the model window. Two new fields
'Sample time' and 'Method' were added to the block dialog window .
These parameters are used to automatically convert the continuous
parameters to equivalent discrete parameters.