The invention relates to an alternating current/direct current sensor. The alternating current/direct current sensor comprises a high-permeability transformer unit, an excitation signal generation unit, a direct current signal detection unit, a restoring circuit unit, an alternating current signal processing unit and a power amplification unit. The high-permeability transformer unit comprises a first magnetic core, a second magnetic core, a first magnet exciting coil, a second magnet exciting coil, a third magnetic core, a primary coil, a secondary coil and an auxiliary coil, wherein the first magnetic core and the second magnetic core are independent of each other; the first magnet exciting coil and the second magnet exciting coil are wound around the first magnetic core and the second magnetic core respectively; the third magnetic core, the first magnetic core and the second magnetic core are overlapped so as to form an integrated magnetic core; the primary coil, the secondary coil and the auxiliary coil are wound around the integrated magnetic core. The performance of the alternating current/direct current sensor is improved remarkably. The alternating current/direct current sensor has the advantages of being low in power dissipation, high in magnetic disturbance resistance capacity, simple in structure, light, high in response speed, high in flexibility, good in interchangeability, convenient to install, calibrate, adjust and maintain, and the like.