I am trying to fix software written by a third party for auto locking resonance.
Using the power stage controller in ramp 1 mode the unit is configured for the following:
two outputs for igbt bridges
The cycle is defined as dead time on time A dead time on time B
1 input is used to capture the PSC count at the falling edge of the current
First in 1 RAMP mode my first question is the count captured a continuous count for the whole cycle this is what I believe from the docs but no definite language.
So then if it is I then compare the count from the capture to the dead time + On Time to determine the difference between the voltage and current falling edges to see if I need to adjust the frequency to move to resonance
The software is written so the count captured is compared to the on time only not taking in account if the count captured has the dead time in it.