Hello all,
I am working on a power simulation project. For part of it, I need to see how the oversampling factor of the switch affects the simulation output. I noticed that you guys have a RT-box product that actually does HIL simulation, but I was wondering if I could replicate the same on the software side as a first-step validation before deciding to get the RT-box
Currently, I have set up a Half-bridge LLC in the simulation, as shown in the picture below.
The two pulse function are running at 100khz at 0.5 duty cycle, with one of it have a phase delay of (1/(100e3))*0.5 second to avoid possible of short circuit in the circuit.
In an effort try to simulate how the HIL model will look like at a oversampling factor of 20, which is 2MHz iteration, I have set the ode solver to be fixed step at 1/2MHz size, as shown in the picture.
My question is, with the setup of the discrete step ode solver,
does it correctly simulate how the RT-box simulates at oversampling of 20( iteration at 2MHz)? In other words, does it sample/read from the PWM signal for both switch at every 1/2Mhz second, and does the ode solver once for dt = 1/2MHz?
Or could it be the software under the hood does an adaptive time-step adjustment and does a multi-smaller step ode iteration in 1/2MHz time period for one step? Because if that is the case, this probably won’t reflect how the result will look on an actual RT-box
Many thanks for considering my questions!