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

조회 수: 6 (최근 30일)
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!

답변 (3개)

Bhanu Prakash Rachaputi
Bhanu Prakash Rachaputi 2019년 1월 18일
you can use 1/1000 (accepted form) instead of .001.

Arturo Sandoval
Arturo Sandoval 2019년 1월 18일
Let me try it and I'll tell you if I got what I wanted, thanks

Dombrovschi Andrei
Dombrovschi Andrei 2019년 1월 18일
0

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by