The application relates to the technical field of
motor control, and particularly discloses a
resolver software decoding method based on an MCU and a device thereof, the decoding device comprising an MCU, an amplification circuit, two conditioning circuits, two multipliers and two low-pass filters; the MCU comprises a
timer, a DAC module, a first ADC module and a second ADC module; the DAC module is connected with a primary side winding of a
resolver, a first input end of a first multiplier and a first input end of a second multiplier through the amplification circuit; two
secondary side windings of the
resolver are connected with a second input end of the first multiplier and a second input end of the second multiplier; and an output end of the first multiplier is connected with the first ADC module through a first filter and a first conditioning circuit, and an output end of the second multiplier is connected with the second ADC module through a second filter and a second conditioning circuit. The application can reduce the cost of a resolver shaft angle calculation
system and realize high-precision shaft angle calculation.