Simulink Control Design™ - MathWorks

(Tuis.) #1

  • “Replace Data” on page 7-88 –– Replace data with a constant value, region initial
    value, region final value, or a line. You can use this functionality to replace outliers.


You can perform as many preprocessing operations on your data as are required for your
application. For instance, you can both filter the data and remove an offset.

Remove Offset


It is important for good results to remove data offsets. In the Remove Offset tab, you can
remove offset from all signals at once or select a particular signal using the Remove
offset from signal drop down list. Specify the value to remove using the Offset to
remove drop down list. The options are:


  • A constant value. Enter the value in the box. (Default: 0)

  • Mean of the data, to create zero-mean data.

  • Signal initial value.


As you change the offset value, the modified data is shown in preview in the plot.

After making choices, update the existing data with the preprocessed data by clicking

.

Scale Data


In the Scale Data tab, you can choose to scale all signals or specify a signal to scale.
Select the scaling value from the Scale to use drop-down list. The options are:


  • A constant value. Enter the value in the box. (Default: 1)

  • Signal maximum value.

  • Signal initial value.


As you change the scaling, the modified data is shown in preview in the plot.

After making choices, update the existing data with the preprocessed data by clicking

.

7 PID Controller Tuning

Free download pdf