The application discloses a shaving razor
linear motor adaptive control method and
system, collects control input data and response data, analyzes envelope attenuation end section associated characteristics, and outputs early warning identification of drift; overshoot
phase difference detection is carried out on input and output data, combined with matching of sub-working condition spectrum
library to establish
error checking matrix;
gain rule groups are formed by implementing
early phase section priority
gain distribution on the
error checking matrix according to the early warning identification of drift, and abnormal characteristic points are positioned by multi-working condition
phase time difference analysis and deviation overrun judgment; an excitation sequence is obtained by activating the
gain rule groups, an amplitude
stability index is output by pseudo-convergent oscillation detection and cross-load reverse correlation strength evaluation; a control characteristic atlas is constructed by combining the amplitude
stability index and excitation sequence deviation interval characteristics,
adaptive control parameters are output by parameter deviation mapping to complete
linear motor control parameter configuration, and adaptive configuration of
control parameters of the
linear motor under variable working conditions is realized.