Build ramp in Simulink for DSP implementation
1 view (last 30 days)
Show older comments
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 Comment
Jag
on 9 Dec 2020
Hi Marzieh,
What is the number of bits by which you shift the signal coming into the Shift Arithmetic block?
Thanks!
Jag
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!