That's where Ryobi's neat "hybrid" tool line comes in, which keep going when your battery runs out. I love my Ryobi hybrid ...
Abstract: In this article, novel switching sequences and their combinations have been shown to reduce line current ripple and switching losses in the case of three-level neutral-point-clamped inverter ...