Creating a sinusoidal pwm using the hdl coder blocks
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello All,
I'm trying to create a sinusoidal pwm. I'm using a discrete sine wave and a triangular wave. I do get outputs when I run the simulation but not in my circuit implementation. Also just for confirmation my output frequency for the sine will be 60Hz. The system clock frequency is 50Mhz how do I determine the conversion factor for outputting the correct sine wave frequency.
댓글 수: 0
답변 (1개)
Zhao Wang
2017년 1월 9일
I understand that you want to generate code from your Simulink model using the HDL Coder. As long as the simulation result is satisfactory, you can go through the basic HDL code generation process with the Workflow Advisor in the following link:
You should be able to generate HDL code from your Simulink model if the blocks are supported by the HDL Coder. To find blocks and system objects supporting HDL code generation, please refer to the following page:
The blocks and objects that support HDL Coder are provided in the following links:
If you have any further question, you can contact MathWorks Technical Support for assistance.
댓글 수: 0
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!