How can be computed the switching frequency?

Hello,

I’m working on modular multilevel converter and I want to compute the switching freuquency after changing some parameters in the modulation algorithm. I can know the gate impulses for instance for one cell, how can I translate and find the average switching frequency during the time?

Thank you.

hi you need to use in the control loop or measure for other purpose?

Hi,

I need it to check if the modulation works properly.

Thank you

try this one I have try to build a F-V converter, otherwise the best is a state machine block

freq_meas.plecs (12.6 KB)