Support Resources Webinars The Link: Seamless Export Between PSIM and Typhoon HIL

The Link: Seamless Export Between PSIM and Typhoon HIL

Take your real-time control verification to the next level

This webinar covers the combined workflow of importing/exporting schematics for Typhoon HIL real-time simulation with PSIM.

Powersim and Typhoon HIL are both recognized as leaders in their respective fields. Powersim’s popular offline simulation and code generation tool PSIM and revolutionary simulation tool DSIM are known for reliability, speed, accuracy, and ease of use. Typhoon’s real-time Hardware in the Loop (HIL) systems are valued for their high fidelity real-time simulations and the ability to test the actual control hardware rather than simply the control algorithm.

As recognized technology leaders, a seamless workflow from PSIM to Typhoon’s Control Center and vice versa is a natural progression. This workflow will:

  • Speed up your design cycle
  • Reduce your time to market
  • Reduce failures in prototypes
  • Reduce development costs

To showcase the workflow, we cover two case studies that will include embedded code generation for the TI C2000 MCU family,

  • Phase-shifted full-bridge converter with peak current mode control (PCMC) and active secondary
  • Microgrid, 3 phase gird link converter with MPPT and solar panels.



Phase shift full-bridge converter case study

This case study pushes the limits of what can be achieved with a real-time HIL simulation and test the limits of embedded code generation from PSIM. PCMC of a phase shift full bridge requires a trip signal to be generated by comparing the peak current with a reference which then creates a phase-shifted 50% duty cycle waveform relative to the reference clock. The active secondary is also complex to implement as the duty cycle and position changes based on the phase shift of the primary switches. This example makes extensive use of PSIM deep support of the ePWM, X-Bar, comparator inputs, and PWM trip zones that are available with the new Delfino F2837x MCU.

The Power stage of the phase-shift full-bridge converter, working with 60kHz switching frequency, is being simulated in real-time on Typhoon HIL’s HIL602 device. Due to the high switching frequency and the crucial importance of small IO latency, this is an extremely challenging task for today’s HIL technology in the power electronics field. This example puts Typhoon’s high-speed sampling algorithm of digital input signals (6ns), high fidelity converter models, and ultra-low IO stage latency to the test.


Microgrid case study

This case study shows a 3 phase grid link converter with an MPPT control algorithm. We use PSIM to verify the control of the converter and the MPPT algorithm. The control code is being generated and verified in real-time with the Typhoon HIL simulation. Further testing and analysis of the control are being performed with the HIL.


We also demonstrate the link with a few other examples including:

  • A simple buck converter
  • A motor drive
  • A multi-level converter