Simulate in-a-rush prototypes with real world results.

In today’s competitive world, time is the new currency. PSIM’s, Processor in the loop,  PIL Module is a straightforward, reliable solution that lets you advance your prototype development and simulation – with no limits on power stage complexity.

PSIM’s PIL module will enable you to easily verify the operation of your digital control algorithm on a Texas Instruments DSP or MCU.

In a regular PSIM simulation, the PSIM engine simulates the power stage and the control algorithm. In the PSIM PIL simulation the power stage is simulated by the PSIM engine, while the control algorithm is executed by the target DSP. The DSP communicates with PSIM via a USB/JTAG link.

Texas Instruments InstaSPIN is now fully supported in PSIM, both in simulation only and in SimCoder with code generation. For more details on this exciting new PIL feature, click here.

Shift Control & The PIL Block

Simulate while shifting control

Shifting the control to the DSP while the power stage stays in simulation gives you the flexibility to iterate the power stage design without needing to build a prototype, test the effects of changing operating conditions of the power stage and easily set up intermediate DSP watch variables to aid with troubleshooting.

Setting up a PSIM PIL simulation is easy. After a few minor edits to the code you simply need to connect the DSP with a JTAG emulator to your PC and then PSIM handles the rest.

Power Stage Simulation & Auto Code Generation

Once the simulation begins, the power stage simulates and passes information to the DSP which then executes the relevant code before passing it back to PSIM to allow the power stage to simulate further. The code on the DSP does not run in real time, this allows users to have a very complex PSIM power stage.

While the PSIM PIL simulation is running, you can use the runtime graph windows to watch the simulation progress. When the simulation is finished the results are automatically loaded in SimView for post simulation analysis.

The PIL Block

Potential input signals:

  • Feedback signals
  • Digital control signals
  • Control variables for troubleshooting

Potential output signals:

  • PWM control waveforms
  • Intermediate variables for troubleshooting
  • Digital control signals
  • Analog control signals

PIL Simulation on Computer with DSP Board

Well suited for rapid prototype development
Well suited for rapid prototype development
No limitation on power stage complexity
No limitation on power stage complexity
Algorithm executes as it would controlling the real power stage
Algorithm executes as it would controlling the real power stage
Rapidly iterate and verify the control code
Rapidly iterate and verify the control code
Texas Instruments InstaSPIN is now fully supported in PSIM
Texas Instruments InstaSPIN is now fully supported in PSIM

"“Great product! I have been using PSIM for many years to perform power electronics systems and circuit-level design. The ease of circuit entry, the speed of processing circuits, and the flexibility to…" Read More ›

T. Lesster
Fellow, RCT Systems, Inc., MD, U.S.A.

Accelerate innovation.

Simulate power electronics with fast and accurate software, as well as deep technical support.  Get reliable results and move your innovations forward.