Path: Math/FDIR
% Triggers a failure at time tFail. Sets the failed parameter to pFail. -------------------------------------------------------------------------- Form: [c, d] = DCMotorFailures( failure, t, dT, c, d, tFail, pFail ) -------------------------------------------------------------------------- ------ Inputs ------ failure (1,:) Failure type t (1,1) Time dT (1,1) Time step (sec) c (5,4) State output matrix d (1,1) Motor structure .beta (2,1) Rate feedback .alpha (2,1) Input voltage scaling tFail (1,1) Time of failure pFail (1,1) Set the failed parameter to this value ------- Outputs ------- c (5,4) State output matrix d (1,1) Motor structure --------------------------------------------------------------------------
Back to the Math Module page