Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Hi, how do I adjust the FPGA prescaler for the variable PWM block?

0 votes
148 views
asked Oct 10, 2023 by Battur Batkhishig (14 points)

1 Answer

0 votes
Could you elaborate on the question? I might be able to provide additional guidance if you can tell me what you are trying to achieve.

There is no direct access to any pre-scaler or internal FPGA settings for the RT Box, but the frequency output can be manipulated through the f' input into the PWM Out (Variable) component.
answered Oct 11, 2023 by Bryan Lieblick (1,941 points)

Hi Bryan Lieblcik

Please find the conditions from the screenshot below: We use 4e-6sec as the simulation step. 

Basically, I want to maintain the switching frequency at 10kHz and sampling frequency at 250kHz without disabling the PWM synchronization with model steps.

Thank you,

Battur  

...