+2 votes
211 views
in Modeling by Pablo Hidalgo (17 points)

Hi,

 

I am working on a Typhoon HIL simulation: it consists on a DAB converter in Open Loop: file attached to this message.

 

It was working properly in real time simulation as shown in the next pictures with Typhoon version 2024. Since there is a newer version 2025, real time simulation in version 2024 is not running anymore: only in virtual HIL and it continues working correctly.

 

When running the same simulation in real time but in version 2025, the pictures do not match with the proper DAB behavior as before, on version 2024. Only in virtual HIL it seems a more similar behavior and I do not understand why. I have compared Typhoon configuration parameters between versions in order to find any difference but it seems similar.

 

So I have two questions: is possible that simulation works different between versions? Is possible that simulation works different with real time or virtual HIL? 

2 Answers

+2 votes
ago by Dusan Kostic (377 points)
selected ago by Dimitrije Jelić
 
Best answer

Hi Pablo,

As you can check in the Typhoon HIL Control Center release notes, from the THCC version 2024.3, the individual IGBT component is expanded with the LC switch model. This option is now set as default, unlike in the previous versions where ideal switch model was the only one available. To match the behavior of previous versions, you should check "Use ideal switch model" option in Advanced tab.

However, as already indicated in other responses, using individual IGBT components for real-time simulation is suboptimal in terms of simulation accuracy and FPGA resource utilization. Specifically, if you use individual ideal IGBT components, the model will have a converter weight of 8, which exceeds the capacity of a single FPGA core.

To improve performance and efficiency, I suggest considering one of the following approaches:

1. Dedicated Dual Active Bridge component.
This component is especially recommended for applications with relatively high switching frequency (≥100 kHz). The limitation is that it is supported only in a few standard firmware configurations (e.g., for HIL404, it is C5). You can refer to the relevant example model in the THCC installation folder (..examples\models\general power electronics\dab dc-dc converter solver
).

2. 4xHalf Bridge components with Switch-level GDS oversampling option enabled 
This option provides lower fidelity at high switching frequency, but is supported on more firmware configurations (e.g., for HIL404, C3 and C5). 
The corresponding example model can be found here (..examples\models\general power electronics\dab standard).

3. 2xSingle Phase Inverter components 
Out of previous 2 option this one will give you the worse results, especially in combinations with high-switching frequency, non-zero dead time or small phase shift. The only advantage of this modeling approach is that it can be applied on any firmware configuration, so it may be suitable if you can't change firmware configuration for some reason.

Best regards,
Dusan

+2 votes
by Jovan Zelic (164 points)
Hi Pablo,

From what I see in the image, you used IGBT single switch components to build your converter. These should not be used for building of converters. Please refer to HIL Fundamentals course on HIL Academy (https://hil.academy/courses/hil-fundamentals/).

Other than that, I would advise you to take a look at the existing DAB examples in the example library, under "general power electronics" section.

Best,
Jovan
by Pablo Hidalgo (17 points)
Thanks for your answer.

IGBT switch is not the problem since was working fine at V2024.3 with this particular switch.


About the DAB example you are suggesting: If you are refering to use the DAB model, I think this is not an option since I am using HIL404.



Is it posible to continue using V2024.3 real time simulation? At least it was working in that version…

Thanks in advance.
by Jovan Zelic (164 points)
Converters should not be built using single switches. The only way for such a converter to operate properly is to operate it without any dead time. As soon as you have any dead time on any of the half bridges, there will be issues, unless you use nonideal LC switch model, which will cause issues on its own if you use high switching frequencies. This is why the enhanced resolution dual active bridge component was built.

You can use DAB model with the appropriate FW configuration of HIL404: Configuration 5 (https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/concepts/HIL404_device_configurations.html)

As a backup, you should still be able to use your HIL with the previous software version. You only need to sync your firmware to that version of software (https://www.typhoon-hil.com/documentation/typhoon-hil-software-manual/concepts/device_manager.html?hl=sync%2Cfirmware#doc__firmware_update:~:text=in%20hover%20text-,Syncing%20HIL%20Firmware%20in%20Device%20Manager,-Device%20Manager%20allows)
...