Arduino and Simulink / change PWM frequency

6 views (last 30 days)
Alik on 21 Mar 2014
Answered: Junyu chen on 4 Apr 2019
i have a very big big problem with my project. I use Arduino Due and Simulink. I need for the regulation a proportioning valve. For the control i need a PWM signal with 3000 Hz - 5000 Hz but the Simulink support package (PWM) has only 490 Hz and i can change only the duty-cycle.
What can I do?
I would welcome your response
sajid javid
sajid javid on 6 Feb 2018
Have anyone found the way to generate different frequency of PWM at arduino using MATLAB

Sign in to comment.

Answers (2)

Ahmet yüksel
Ahmet yüksel on 28 Nov 2016
hello I have the same problem, Can you please tell me if you succeded to solve it.... Thank you for all

Junyu chen
Junyu chen on 4 Apr 2019
Do your guys find any solution? I am facing the same question


More Answers in the  Power Electronics Control


Find more on Electrical Block Libraries in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!