Text this: Uninterruptible power supply topology based on single-phase matrix converter with active power filter functionality