In order to realize the online monitoring of the working state of the rail switch machine, a new power sensor device is designed. The device is based on the high-speed, assembly line structure MCU system, combined with the high-precision three-phase power special chip ATT7022 with DSP core, which constitutes the core part of the device. Considering the harsh working environment and large interference of the system, the necessary anti-interference design is carried out by the vegetable market power supply, signal acquisition channel and signal output channel, which realizes the characteristics of high precision, low power consumption and strong anti-interference ability.