フィルターのクリア

How to change the transfer function variable in simulink during simulation time

18 ビュー (過去 30 日間)
Swasthik Baje Shankarakrishna Bhat
Swasthik Baje Shankarakrishna Bhat 2022 年 9 月 7 日
コメント済み: Sam Chak 2022 年 9 月 19 日
Hi,
I have a Simulink model, where I need to change the transfer function coefficient during simulation run time. For example the TF is (1/1+sRC). Here R and C values need to change during run time. How to do that? Problem here is that the R value is calculated with the load current, that is (output voltage)/(load current). So I know the load current variation by calculating the R values. If anyone knows how to change the TF coefficient during runtime please help me. Thanks in advance.

回答 (1 件)

Paul
Paul 2022 年 9 月 7 日
Hi Swasthik,
If I understand correctly, the R and C values are changing dynamically. Just use blocks (integrators, subtraction, product, etc.) to implement the first order differential equation explicitly. The Transfer Function block is intended to be used with fixed parameters.
  4 件のコメント
Swasthik Baje Shankarakrishna Bhat
Swasthik Baje Shankarakrishna Bhat 2022 年 9 月 19 日
Thank you so much paul and sam. It worked. Sorry for the late reply. Regards, Swasthik
Sam Chak
Sam Chak 2022 年 9 月 19 日
You're welcome @Swasthik Baje Shankarakrishna Bhat. Don't forget to "click-Accept" @Paul's Answer.

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by