The invention discloses a
hybrid model predictive control method and
system for controlling a motor, and relates to the technical field of
machine learning, and the method comprises the following steps: S1, employing a
machine learning technology to construct a
hybrid dynamic model; s2, performing multi-time-domain
state prediction by using the
hybrid dynamic model; s3, performing real-
time cost quantification by using the prediction
state sequence; s4, performing control parameter solving by using the optimal state response path; and S5, performing model error compensation by using the execution parameter set. Multi-time-domain
state prediction constructed based on a
machine learning technology is set,
continuous variable evolution and discrete mode conversion of a
motor system are described in a unified
state space at the same time, the structure is based on a unified hybrid dynamic function, recursive prediction of continuous-discrete variables is achieved, and the reliability of the
motor system is improved. And a Kalman prediction correction technology is combined to carry out error updating on a continuous state, and a logic constraint is applied to a discrete state, so that the prediction precision and the dynamic response capability of a
machine learning system under a complex working condition are improved.