Build ramp in Simulink for DSP implementation

1 view (last 30 days)
Marzieh Karami
Marzieh Karami on 17 Dec 2019
Commented: Jag on 9 Dec 2020
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
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!