Simulink Control Design™ - MathWorks
In the spec1 document, in the navigation tree, select the type of specification that you want to add. For this example, you want ...
Since the model does not have any root-level output ports or defined trim outputs constraints, the operating point specification ...
Click Add Signal(s). The software adds this signal to spec1 as an output specification. To view and edit the specification, in t ...
Specify a known speed value. In the spec1 document, in the Known column, select the corresponding row, and in the Value column s ...
The software trims the model and generates an operating point search report. The report, report1, is added to the Data Browser, ...
For this example, you use default trimming options. To specify different options, such as the optimization method or a custom co ...
The optimization status shows that the optimization algorithm terminated successfully, finding an operating point that meets the ...
In the specification table, known values are highlighted in gray, and constraint violations are highlighted in red. For this exa ...
The Actual dx column shows the rates of change of the state values at the operating point. Since these values are near zero, the ...
The software adds spec2 to the Data Browser. To open the specification document for editing, double-click this new specification ...
In the spec2 document, click Outputs. Then, in the specification table: In the Value column, specify an initial guess for the v ...
As shown in the Actual Value column, the trimmed output value is within the specified bounds. Extract Operating Point from Repor ...
The software extracts the trimmed operating point, op1, from the report, adding it to the Data Browser, in the Operating Points ...
For more information on setting your model initial conditions and simulating your model at a specific operating point, see “Simu ...
Compute Operating Points from Specifications Using Linear Analysis Tool You can compute a steady-state operating point of a Simu ...
To open the Linear Analysis Tool, in the Simulink model window, select Analysis > Control Design > Linear Analysis. 1 Stea ...
Define Operating Point Specifications In the Linear Analysis Tool, on the Linear Analysis tab, in the Operating Point drop- down ...
By default, on the States tab, the software specifies both model states to be at equilibrium, as shown by the check marks in the ...
You can also specify bounds for model states during trimming. For this example, constrain the first state to be between 0.5 and ...
Trim Model To compute the operating point that meets these specifications, click Start trimming. The software uses an optimizati ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf