Similar Items: Optimal Closed-Loop Control of Dual-Active Bridge Type DC-DC and Single-Stage DC-AC Converters With Multiple Degrees-of-Freedom