Clear Filters
Clear Filters

Inverter Switching Frequency,

8 views (last 30 days)
Rolando Aguilera
Rolando Aguilera on 13 Apr 2016
Answered: Joel Van Sickel on 5 Jan 2024
Hello Everyone, I'm working with Hysteresis Current Control, How can I measure the variable switching frequency against time? Any thoughts?
Thanks
Rolando

Answers (1)

Joel Van Sickel
Joel Van Sickel on 5 Jan 2024
I realize this answer is far to late to be of use for when you asked the question, but this question is still getting many views so I am going ot go ahead and answer it. There are two primary ways to measure time in Simulink. If you are using digital control, you can use a resetable counter, https://www.mathworks.com/help/simulink/slref/counterlimited.html?searchHighlight=counter&s_tid=srchtitle_support_results_7_counter
or, you can use a continuous time integrator with a reset/enable state turned on. This lets you use it to measure the time between events and you can control it with rising/falling edges.

Community Treasure Hunt

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

Start Hunting!