<p>A device (250) includes a controllable switch (215) coupled between an AC network (205) and a DC network. The device further includes control circuitry (260) configured to modify a configuration of the switch (215) based on a detected difference between a reference signal (Nref) and an output signal (N2) at the DC network.</p>