A bidirectional active power conditioner includes a DC side, a
bidirectional DC/DC power converter, a DC/AC inverter and an AC side. The
DC side electrically connects with a DC source while the AC side
electrically connects with a load and an AC source. The bidirectional
DC/DC power converter is controlled via high-frequency pulse width
modulation (PWM) switching so as to generate a predetermined DC voltage
or DC current while the DC/AC inverter is controlled to convert the
predetermined DC voltage or DC current into a predetermined AC voltage or
AC current.