Flexible and clearly arranged model of a H-bridge, based on power balance.
Note that limitation of the output voltage as well as delay has to be provided externally.