Simulink Control Design™ - MathWorks

(Tuis.) #1

Soft vs Hard Requirements


So far we have treated all four requirements equally in the objective function.
Alternatively, you can use a mix of soft and hard constraints to differentiate between
must-have and nice-to-have requirements. For example, you could treat Requirements 3,4
as hard constraints and optimize the first two requirements subject to these constraints.
For best results, do this only after obtaining a reasonable design with all requirements
treated equally.


[ST2,fSoft,gHard] = systune(ST1,[Req1 Req2],[Req3 Req4]);


Final: Soft = 1.28, Hard = 0.99997, Iterations = 216


fSoft


Validating Results
Free download pdf