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.

RT Box interfacing (conceptual question)

0 votes
36 views
Hi there,

I am new to the RT box and I would like to understand if some operations are possible. I am planning to use my RT box to act as a physical h-bridge (single phase inverter), let's call this "RT box inverter".

I would like to interface the RT box inverter to an external micro-controller. The external microcontroller is supposed to send the PWM signals to the RT box inverter, and receive the measurements from the RT box inverter via the RT analog inputs digital inputs.

Question:

is it possible to have these two systems (1. RT box emulating a physical inverter and 2. microcontroller), operated independently? i.e. like in an actual system? I am in fact programming my micro-controller on a separate platform and not plecs.

Apologies for any imprecisions in my question as I am new to this topic.

Thank you
asked Jan 15 by Lello (14 points)

1 Answer

0 votes

Hi Lello,

Yes, this is certainly possible. RT Box can be emulated either as a physical inverter or plant (called hardware-in-the-loop simulation) or it can be emulated as a controller (called rapid control prototyping). These definitions are described on this page.

In your case, it looks like you are interested in performing a hardware-in-the-loop simulation, with the RT Box acting as a plant, and exchanging analog and digital signals with a real MCU target. 

An application example of this -- of an H-bridge Converter (emulated on the RT Box), interfaced with a real TI C2000 MCU is provided on this page. Checkout the example titled "Embedded Code Generation: H-Bridge Converter". I also attached the write-up to this post. 

Please note that to run this demo model, apart from installing the RT Box Software, you also need to download and install the TI C2000 Target Support Package.

To learn more about the RT Box, please go through these tutorials here.

Regards,
Manu

answered Jan 15 by Manu Parimi (281 points)
...