Tuning parameter(Switching frequency) in PWM Generator (three-phase, two-level)

19 views (last 30 days)
Hi, I am currently studying the effects of varying switching frequency towards the inverter and motor system efficiency. I am using the three-phase converter which the gate signal is sent by a PWM generator. Inside the PWM generator block, there is switching frequency parameter. Therefore, is it possible if I can tune the value of switching frequency by making it as input and receving the signal in Matlab Simulink similar with Vabc and Vdc instead of tuning from Matlab code?
Hope to receive any comment or suggestion. Thank you.
  1 Comment
Putri Aida Natasya
Putri Aida Natasya on 10 Mar 2024
hi, your project is quite similar to me. if you don’t mind to share, may i know, where you learned to do this simulation or you did it by yourself?

Sign in to comment.

Answers (1)

Sabin
Sabin on 6 Mar 2023
In theory should work by defining the fsw as input rather than parameter but extra care should be taken to ensure the frequency is not changed too often and there are enough samples (at least 10 samples for a switching period, ideally around 100 samples). However, if the plan is to check the efficiency as a function of switching frequency may be better to use fast restart and run same scenario at different switching frequency. I hope this helps.
  1 Comment
Jia Sheng Ong
Jia Sheng Ong on 6 Mar 2023
I see...thanks for replying. May I know how to define the fsw as input in Simulink without making it as variable in .m file? Can I use "look under the mask" function and add an extra input port as fsw?

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!