i am having problem in designing PID (4 PI controller) for simulation model (vector control of induction motor). with PID tuner, it say linearization is failed.then i tried for Estimated Frequency Response by.
>> mdl = 'vcim'; %% simulink model vcim.mdl
>> io = getlinio(mdl)
1x1 vector of Linearization IOs:
1. Linearization input-output located at the following signal:
- Block: vcim_d/Bus Selector1
- Port: 4
>> linsys = linearize(mdl,io)
<Rotor speed 1
>> in = frest.Sinestream('Frequency',logspace(-1,1,50),'Amplitude',1e-3);
>> sys= frestimate(mdl,io,in);
after writing 'frestimate(mdl,io,in)' it take *too long time* to evaluate , even i could not evaluate above command after waiting for *half an hour* . it is cumbersome to use this method on my laptop config(Processor: Intel(R) Pentium(R) CPU B960 @ 2.20GHz (2 CPUs), ~2.2GHz).
even my simulation of model takes long time with
variable step solver(max step size 1e-6)
solver ode23tb (stiff/TR-BDF2)
at simulation time .1 sec