Build ramp in Simulink for DSP implementation

2 次查看(过去 30 天)
I am using a counter limited block to make the angle signal for PWM generation. I use fixed point 32 bit signals, When I run the simulation in simulink the signal frequency is 60 Hz but when I run the DSP the signal output is 50 Hz. Do you know what I am missing here?
  1 个评论
Jag
Jag 2020-12-9
Hi Marzieh,
What is the number of bits by which you shift the signal coming into the Shift Arithmetic block?
Thanks!
Jag

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by