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.

SVPWM output, on the RT-Box

0 votes
Dear PLEXIM team

I have the same problem as already described in the "High frequency space vector PWM output, on the RT-Box" from 05.03.2019:


I am currently working with the RT-Box and trying to control a voltage source inverter from it. I have been using the PWM out block for the initial testing of the inverter, which have enabled me to run dead times of 100ns with 200khz switching frequency.

Now i am trying to do the same with the specevector PWM block, the problem lies in that to do so i need to use the digital out block and the blanking time block, but to get the same blanking time and switching frequency as in the initial testing the RT-Box step size must be 1e-7, which is not possible.

Is it simply not possible or am i looking at the problem in a wrong way?

Best regard

Tobias T. Strate"

Was it possible to extend the space vector modulation?

King regards,

Raphael Baumeler
asked Nov 13 by raphael.baumeler (12 points)

1 Answer

0 votes


There is not yet a ready-made library component for SVPWM on the RT Box that covers the range of customer use-cases.

However, it is possible to create one's own SVPWM for the RT Box. One example for a 3L-SVPWM modulator is shown in the ''SVPWM Control of a Grid-Connected Three-Level NPC Inverter" demo model included with the RT Box Target Support Package.  Another simple SVPWM approach would be to use common mode injection as shown in the "Three-Phase T-Type Inverter" model in the regular PLECS demo model library (dcm = (max(da,db,dc)+min(da,db,dc))/2).

As suggested in the previous ticket, if you have a more specific need for your application you can contact directly so we can see if we have a solution.



answered Nov 13 by Bryan Lieblick (326 points)
edited Nov 13 by Bryan Lieblick