The invention discloses a double-motor controller with an electronic differential function. The double-motor controller comprises a main control chip integrated with an electronic differential module, two groups of drive motor control chips, two groups of rotary transformer decoding chips, two groups of power drive modules for controlling a motor to operate, a capacitor bank, an angle decoding and conditioning circuit, two permanent magnet motors with built-in rotary transformers, and an active force battery pack, wherein the main control chip is used for processing a received signal; and a left drive wheel control signal and a right drive wheel control signal are transmitted into the drive motor control chips corresponding to wheels respectively through the operation of an electronic differential operation module. The drive motor control chips receive information of position values, speed values and the like of the drive motor returned by corresponding rotary transformer decoding chips; information provided by the main control chip is combined so as to be processed comprehensively; and a waveform is output to a corresponding power drive module so as to operate the wheels through the drive motor. The double-motor controller with the electronic differential function has the advantages of high drive efficiency, small volume, convenience in arrangement and installation, and capability of active differential.