フィルターのクリア

Generate Simulink model using Matlab Script

3 ビュー (過去 30 日間)
Arpeet Sojitra
Arpeet Sojitra 2020 年 5 月 4 日
編集済み: Sai Sri Pathuri 2020 年 5 月 7 日
Questions:Using Matlab Script.
1) How to change the values in Transfer Function(Numerator and Denominator Coefficient)?
2) How to connect Negative Feedback?
3) How to Increase Ports in scope so I can connect also my input Signal?
4) How to Tune the PID Controller?

採用された回答

Sai Sri Pathuri
Sai Sri Pathuri 2020 年 5 月 7 日
編集済み: Sai Sri Pathuri 2020 年 5 月 7 日
You may try the following
1. Let the required transfer function be (1+s)/(1+2s^2). You may define this as
set_param('testmodel/Transfer Fcn','Numerator','[1 1]','Denominator','[2 0 1]')
2. Adding negative feedback
add_line('testmodel','Transfer Fcn/1','Sum/2','autorouting','smart')
3. Increase ports of scope
set_param('testmodel/Scope','NumInputPorts','2')
4. To tune PID contoller, you may use pidtune function

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePID Controller Tuning についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by