Power supplies for industrial switches