correction table is added in case o/p is less and deducted in case the o/p is more fore each pulse
In my design I sample the output voltage (a dc average) pass it through a PI routine to derive error. The error is basically and inverse of my sinewave modulating quotient. Which gets multiplied with the look up table. To save instruction cycles during table interrupts the entire lookup table is recalculated during zero cross for a cycle and kept in an array. This does not result in a highly pure sine but THD measured was between 2.5% and 4%. Thus waves are corrected only every 10mS. In fact 20mS was the original design to avoid flux imbalance. Now the routine uses flux reset by just switching on the Lower MOSFETs every zero cross. This gives me enough time for housekeeping etc. Like battery capacity measurement, display, communication, discharge profile log and possible econo-mode change during long power outage hours based on previous history.
All done on a 18F4520 @ 40MHz.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?