Hi,
For a resonant converter I need to find the phase shift between voltage and current. The topology is a full bridge LLC.
The current is measured through shunt resistors, one per half bridge and the shunt position is in the low side mosfet source, so it is a low side measurement.
The voltage waveform is 0-48V squarewave, the current waveform is -30A to 42A periodic wave (depending on the conditions can be traingular wave, sinewave, some uglier things,...), the frequency of both is known and changing between 80kHz and 300kHz. So by knowing the time shift between both the phase shift can be calculated. The time shift is 300ns-1.5us.
I was considering using the ZCD + XOR to compute the time shift between both. The output of the XOR can be easily measured by a MCU.
The problem is that the current ZCD is not very simple given that the shunt I'm using is just 1mOhm for reducing the power dissipation. I have considered using an amplifier before the ZCD, to convert the shunt voltage in the mV range to something more usable but that will add a delay to the whole process as indicated in reference 1. I also considered using a comparator fed with the shunt voltage and compared to GND (carefully layout so the GND is not significantly contaminated) but even using an ideal OPAMP that would be problematic due to the noise in the signal, but comparators have the input offset voltage, which is a couple of mV thus causing a significant delay, specially for low currents.
Thus I'm now considering the amplification stage both in voltage and current expecting to have a similar delay in both cases and thus resulting in an accurate shift measurement, but I'm not sure whether there's a simpler or better way of solving this issue.
Please let me know if you have any suggestion to perform this measurement.
Regards
References:
1.
https://e2e.ti.com/support/amplifiers-group/amplifiers/f/amplifiers-forum/1048966/ina293-q1-current-sense-amplifier-rise-time-prop-delay-and-response-time-data