Simulink Control Design™ - MathWorks

(Tuis.) #1

Online Estimation Using Plant Modeled in Simulink


When you have a plant modeled in Simulink, you can perform frequency response
estimation using Linear Analysis Tool on page 5-7 or the frestimate command without
changing the model. The Frequency Response Estimator block is an alternative that lets
you incorporate the estimation experiment directly into your model and perform
estimation while the model is running. This approach is especially useful when you plan to
deploy the block for online estimation of a physical plant. Testing the estimation
algorithm and experiment parameters against a Simulink model of the plant before
deployment can help ensure that online estimation is safe for your plant.

Workflow for Online Estimation in Simulink


The following steps provide a general overview of the workflow for online frequency
response estimation of a plant modeled in Simulink.

(^1) Incorporate the Frequency Response Estimator block on page 6-6 into your model.
(^2) Configure the start/stop signal on page 6-8 that controls when the estimation
experiment begins and ends.
(^3) Configure experiment parameters on page 6-9 such as the frequencies at which
you want to perform estimation.
(^4) Run the model on page 6-9. Use the start/stop signal to initiate the estimation
experiment. When you start the experiment, the block injects test signals and
measures the response of the plant. When you end the experiment, you can examine
the estimated frequency response.
Step 1. Incorporate Frequency Response Estimator into Model
The following illustration shows one way to incorporate a Frequency Response Estimator
block into a closed-loop control system. In this configuration, you insert the block
between the controller and the plant.
6 Online Frequency Response Estimation

Free download pdf