www.gusucode.com > control 案例程序 matlab源码代码 > control/PassivityRequirementExample.m
%% Passivity Requirement % Create a requirement that ensures passivity in the response from an input % or analysis point |'u'| to an output or analysis point |'y'| in a control % system. %% TG = TuningGoal.Passivity('u','y'); %% % Use <docid:control_ref.btkqtv5-1> to visualize the tuning goal. viewSpec(TG) %% % The requirement is satisfied when the relative passivity index _R_ < 1 at % all frequencies. The shaded area represents the region where the % requirement is violated. When you use this requirement to tune a control system |CL|, % |viewSpec(TG,CL)| shows _R_ for the specified inputs and outputs on this % plot, enabling you to identify frequency ranges in which the passivity % requirement is violated. %%