Switching frequency-determining
古いコメントを表示
how i can determin the switching freqency for the inverter coltage output as it show in the scope ,
is there any features in matlab help in this

5 件のコメント
Mathieu NOE
2020 年 10 月 15 日
hi
you mean, you would like to measure the time interval between spikes for positive and negative wave form ?
Ahmad Badran
2020 年 10 月 19 日
Mathieu NOE
2020 年 10 月 19 日
hi
if you want to do it directlty in the simulink model , you need to create a counter which is triggered and reset by the pulses. the output of the counter gives you the period between pulses.
The solver must hav fixed sampling frequency
if you can save your simulink data and post process it inside matlab, I can share the example in the attachement.
of course , the frequency resolution depends of your simulink sampling frequency.
in the code , you just have to select a non zero threshold value (positive for the positive peaks detection and negative for .... you have understood !)
hope it helps
Ahmad Badran
2020 年 10 月 20 日
Mathieu NOE
2020 年 10 月 20 日
see example attached (R2015a)
the output of the last bloc gives you the period measured between two rising pulses (generated by the hit bloc)
the sampling frequency is 1000 Hz (dt = 1e-3)
回答 (1 件)
Rhea Chandy
2020 年 11 月 6 日
0 投票
Hello Ahmad,
A built-in block that determines the switching frequency of a signal is not available in the Simulink library. This previously answered question may help you get some insight on this.
カテゴリ
ヘルプ センター および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
