The invention provides a control method and
system for a
motor controller, and relates to the technical field of
motor control, and the method comprises the steps: collecting multi-dimensional parameters and environmental parameters, combining the parameters to obtain an operation
data stream, carrying out the
feature extraction to obtain spatial-temporal feature representation, learning state features, determining probability distribution, constructing a
state transition equation, and obtaining a cognitive mapping model; motor operation parameters are obtained, multi-
granularity feature representation is calculated, a state track is obtained through prediction of an autoregression model, multi-step decision solving is carried out, a
motor control strategy sequence is generated, the similarity between a current strategy and a reference strategy is determined, a mixed strategy evaluation mechanism is constructed and evaluated, and an
optimal control strategy is determined and
motor control is carried out. The method comprises the following steps: acquiring real-time operation data, calculating deviation data, performing
data analysis, constructing a multi-dimensional
evaluation system, determining abnormal points and abnormal intervals, generating an abnormal analysis report, updating a cognitive mapping model and a strategy evaluation model, and outputting an
optimal control strategy.