50/60Hz auto-sensing