A controllably alternating buck mode DC-DC converter conducts cycle by
cycle analysis of the direction of inductor current flow to decide
whether to operate in synchronous buck mode or standard buck mode for the
next successive cycle. For each cycle of the PWM waveform controlling the
buck mode DC-DC converter, a mode control circuit examines and latches
data representative of the direction of inductor current flow relative to
the chargeable battery. If the inductor current flow is positive, a
decision is made to operate in synchronous buck mode for the next PWM
cycle, which allows positive current to charge the battery; if the
inductor current drops to zero, a decision is made to operate the
converter in standard buck mode for the next PWM cycle, so as to prevent
current from flowing out of the battery and boosting the system bus.