The invention belongs to the technical field of electromagnetic control, and provides an electro permanent
magnet controller which comprises a main
control unit, a programmable magnetizing and demagnetizing drive circuit, a multi-channel state detection circuit and a cluster control interface. The cluster control interface receives a magnetizing instruction, a demagnetizing instruction, an unlocking
signal and control information containing target magnetic force parameters, and outputs a magnetizing completion
signal, a demagnetizing completion
signal and an
alarm signal; the main
control unit allows
magnetization and demagnetization after receiving the unlocking signal, and generates a driving
control signal according to the target magnetic force parameter; the programmable magnetizing and demagnetizing
driving circuit outputs a
pulse current waveform determined by a pre-stored magnetizing step sequence program or a demagnetizing step sequence program so as to adjust the magnetic force; the multi-channel state detection circuit samples loop current,
terminal voltage of the electro-permanent
magnet and on-off characteristics and feeds back the loop current, the
terminal voltage and the on-off characteristics to the main
control unit, and the main control unit judges whether preset completion conditions are met or not, stops output and gives an alarm when not met or abnormal. The problems that in the prior art, magnetic force cannot be adjusted or the adjusting capacity is insufficient, state feedback in the magnetizing and demagnetizing process is lacked, a fault
protection mechanism is imperfect, and integration and extension with an automatic
system are difficult are solved.