Generate a PWM in FPGA using a customised carrier.

조회 수: 21 (최근 30일)
WAJDI ELSHARIF
WAJDI ELSHARIF 2023년 10월 27일
댓글: Madhusudan 2024년 8월 21일
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

답변 (1개)

Kiran Kintali
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
WAJDI ELSHARIF
WAJDI ELSHARIF 2023년 10월 27일
Hi Kiran
thanks for your email .
I am working on designing a NEW PWM strategy to run 2 and 3 level convertors. This strategy must be run on real time using speedgoat . This technique should use a customised counter or triangle or sawtooth wave . However the PWM blocks provided by Speegoat can not be modified and can not change the carrier shape. Therefore we are trying to build our PWM using HDLand simulink blocks.
Now , I have an issue and I hope you can help. I am trying to generate PWM pulses using the Speedgoat model IO334 FPGA. I have to customise an up-down counter to compare with a reference signal in order to obtain our PWM signals to drive a converter. This counter must be HDL supported.
I will appreciate it if you can help.
best regards
Madhusudan
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by