The invention discloses a self-adaptive configuration method for an electric accessory in an
integrated controller. The method comprises the following steps: after the
integrated controller is powered on, self-checking a matching state of the electric accessory and feeding back the matching state through a CAN (Controller
Area Network)
bus; after monitoring a fault, the monitoring host requests an electric accessory motor material number from an
information center, and starts a special CAN calibration process based on a UDS protocol; constructing a
motor model matrix and a 10-
bit array PNS, calibrating a flag bit through a material number configuration bit, calling a corresponding parameter after verifying the calibration completion flag bit, and executing a motor parameter updating state
machine to complete configuration; and aiming at the scene that the whole vehicle is not provided with a steering motor /
air compressor, the monitoring host sends a specific material number to ensure that the controller is not damaged and does not report a fault. According to the method, a self-defined electric accessory configuration
protocol stack, a'monitoring-requesting-calibrating-solidifying 'full-automatic closed-loop
adaptation scheme and
software full-life-cycle unified management are constructed, a single
software version is compatible with multi-electric accessory configuration, material management is simplified,
software maintenance, production and after-sales costs are reduced, and
system reliability is improved.