problem with PID tuning / Estimating frequency response of simulink model

3 ビュー (過去 30 日間)
rohit chandan
rohit chandan 2013 年 3 月 13 日
コメント済み: Abdelhedi Riadh 2015 年 1 月 5 日
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
>> open_system(mdl);
>> sim(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
- Signal Name: speed (wm)
>> linsys = linearize(mdl,io)
d =
<Rotor speed
<Rotor speed 1
Static gain.
>> 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

採用された回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2013 年 3 月 18 日
編集済み: Arkadiy Turevskiy 2013 年 3 月 18 日
It is hard to troubleshoot without seeing the model. The fact that you are using SimPowerSystems makes it possible that you have high frequency switching, like in PWM block. Your simulation step of 1e-6 is very small, so such a small step and high frequency switching may result in long simulation times.
If you have a valid license, you can contact technical support for help by clicking here.
Otherwise, take a look at some of the examples below, maybe one of them will help you figure out a solution for your problem.
HTH.
Arkadiy
  1 件のコメント
Abdelhedi Riadh
Abdelhedi Riadh 2015 年 1 月 5 日
Hi,
i have the same problem in Simulation Time >> in = frest.Sinestream('Frequency',logspace(-1,1,50),'Amplitude',1e-3); Please i need Help i wana to tuning Pid pramaters for Boost converter :/

サインインしてコメントする。

その他の回答 (1 件)

Arkadiy Turevskiy
Arkadiy Turevskiy 2014 年 3 月 7 日
We just shipped new functionality in 14a to specifically address this scenario. Take a look here: PID Controller Tuning for a Model with Discontinuities .

カテゴリ

Help Center および File ExchangeTroubleshooting についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by