The invention discloses a motor smooth
linear acceleration and deceleration
system and a control method, which are applied to the fields of robots, industrial
automation,
machine tool
processing, transportation, metering detection,
aerospace, energy production, industrial manufacturing and elevators. The problems that an existing S-shaped acceleration and deceleration
algorithm cannot respond quickly, overshoot oscillation exists in a
linear control algorithm, and obvious grading echelon acceleration and deceleration are not smooth due to existing fixed grading grade acceleration and deceleration are solved. Fixed-period linear smooth acceleration and deceleration parameters are obtained through scanning period optimization calculation, a driver receives precise control pulse signals of a
control system in each scanning period, the driver drives a motor, the
control system precisely collects motor
encoder information and the motor through an
encoder, and according to set target speed data and target acceleration and
deceleration time data, the acceleration and deceleration parameters of the motor are calculated according to the set target speed data and target acceleration and
deceleration time data. Scanning cycles are collected, reliable scanning cycles are optimized, ideal graded acceleration and deceleration parameters based on reliable scanning cycle data are judged, and speed control of each scanning cycle is accurately achieved.