
Generate a PWM in FPGA using a customised carrier.
15 ビュー (過去 30 日間)
古いコメントを表示
Hi Kiran
Hope you doing well. I have seen your helpful answers for everyone. However , i have an issue and wish if you can help. I am trying to generate a PWM pulses using Speedgoat model IO334 FPGA. I have to customise an up-down counter ( as a carrier) to compare with a reference signal in order to obtain our PWM signals to drive a convertor. This counter must be HDL supported.
Keywords : Clock cycle of the speed goat is 10 nanos . Resulation can be 2^32-1.
I will appreciate if you can help
0 件のコメント
回答 (1 件)
Kiran Kintali
2023 年 10 月 27 日
編集済み: Kiran Kintali
2023 年 10 月 27 日
There are several pulse generator blocks in the Simulink library that are on the HDL Coder roadmap for automatic code generation. Please reach out to tech support with your requirements.

% Simulink / Discontinuities / PWM --> Generates gate pulses depending on the input duty cycle
% Simulink / Sources / Pulse Generator --> Generates square pulses at regular intervals
% Simscape / Electrical / Control / Pusle Width Modulation --> Generates pulses to control switching behavior for a three-phase, two-level power converter
In the mean time you may find useful the attached two PWM generator models using math blocks and counters that are fully HDL Coder compatible.
2 件のコメント
Madhusudan
2024 年 8 月 21 日
Hello kiran
i am using 2022b version i am also Stuck in PWM generation , So can i get above models that can support 2022b and HDL.
Thank you
-Madhusudan Reddy
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!