Regarding frequency issues with PWM generation using simulink and deploying onto arduino

1 次查看(过去 30 天)
Hi...I'm trying to generate 6 PWM signals by comparing a 50 HZ sine wave with a 50 HZ triangular wave using the relational operator , sine wave source and repeating sequence ( for triangular wave). Since my modulating signal is of 50 HZ, when I connect a scope, I'm getting pulses of 50 HZ frequency. When I deploy the same model onto Arduino Mega, the frequency is getting reduced to around 15 HZ instead of 50 HZ . How to fix this ?

回答(1 个)

younes akakba
younes akakba 2018-6-16
i have the same problem any solution ??

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by