I want to generate a pulse with a frequency between 1KHz and 10KHz in order to move motors

5 vues (au cours des 30 derniers jours)
I am using the block "Pulse Generator" from the sources block of simulink, I would like to get 1KHz of frequency which is 0.001 of T(Period), but the period parameter doesn't accept decimal numbers but integers, so what would be the correct way to generate the PWM with that frequency, Im guessing that the sample time is involved here but I dont know how, thank you in advice!

Réponses (3)

Bhanu Prakash Rachaputi
Bhanu Prakash Rachaputi le 18 Jan 2019
you can use 1/1000 (accepted form) instead of .001.

Arturo Sandoval
Arturo Sandoval le 18 Jan 2019
Let me try it and I'll tell you if I got what I wanted, thanks

Dombrovschi Andrei
Dombrovschi Andrei le 18 Jan 2019
0

Communautés

Plus de réponses dans  Power Electronics Control

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by