The invention discloses a
machine tool control method and
system based on mechatronics, and the method comprises the steps: outputting an optimal
cutting track sequence according to the three-dimensional model features and material attribute parameters of a machined workpiece; based on the optimal
cutting track sequence, motion interference among shafts of the
machine tool is eliminated through dynamic
weight distribution, and an anti-interference optimization
machining instruction is generated; constructing a
nonlinear vibration wave propagation model according to the
coupling relation between the spindle rotating speed and the feeding speed, and generating a steady speed regulation and
control signal; generating an energy efficiency optimal parameter set including
motor torque,
cooling power and lubricating frequency based on the
energy consumption efficiency constraint condition and the steady speed regulation and
control signal; and outputting a closed-
loop control signal and synchronously updating the three-dimensional
machining precision thermodynamic diagram according to the real-
time data in the
machining process and the predicted deviation of the digital twin model. According to the embodiment of the invention,
global optimization, dynamic
adaptation and efficient operation of the
machine tool can be realized, and
technical support is provided for intelligent upgrading of the modern manufacturing industry.