Regarding frequency issues with PWM generation using simulink and deploying onto arduino
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Respuestas (1)
Comunidades de usuarios
Más respuestas en Power Electronics Control
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!