How to Implement High-Speed SPWM Switching Using Simulink
4 views (last 30 days)
Show older comments
We are developing a 100KHz high speed SPWM. As we developed it, there were some things that we couldn't solve.
1. For 100kHz, Duty needs to be updated in units of 10us.
-> Power GUI Sample Time was implemented in units of 1us in simulink.
Q. I want to update Duty Cycles in units of 1us, but I don't know how to measure Duty Cycle. How do I measure Duty Cycle in PWM?
0 Comments
Accepted Answer
Angelo Yeo
on 25 Jan 2024
I understand that you're looking to determine the duty cycle from a PWM signal. The following link offers a function designed to calculate the duty cycle from signals using the Signal Processing Toolbox. Incorporating this function into the model should allow us to achieve the desired outcome. However, please note that this technique requires signal logging.
Additionally, the demonstration provided in the link below illustrates how to calculate the duty cycle by analyzing the on-off switching signal within a Simulink environment. This could serve as a useful reference for your application.
Hope this helps.
0 Comments
More Answers (0)
See Also
Categories
Find more on Simscape Electrical 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!