The invention discloses a flexibility
motion control IP (
Intellectual Property) core and an implementation method thereof, belonging to the field of
motion control. The IP core comprises a acceleration / deceleration module, an interpolation module, a
pulse counting module, a pulse generation module, a
bus controller and an RAM (
Random Access Memory) interface module. The flexibility
motion control IP core and the implementation method thereof aim to solve the problems that high speed and high precision cannot be achieved due to incapability of further reducing a
control period since a motion
control algorithm has a long running period in a general MCU (Micro Controller Unit) or DSP (
Digital Signal Processor). The IP core has the characteristics of short
control period and high output pulse precision, non-symmetrical
linear acceleration and deceleration can be achieved, non-symmetrical S-shaped curve acceleration and deceleration can be achieved, two-axis or three-axis linear interpolation with the linear or the S-shaped curve acceleration and deceleration can be achieved, and two-axis arc interpolation at an uniform speed also can be achieved. Through the adoption of the IP core, motion control relevant
algorithm is realized in a
Verilog hardware description language soft core mode, the motion control relevant
algorithm can be implemented in an FPGA (
Field Programmable Gate Array), can be implemented in an ASIC (
Application Specific Integrated Circuit) mode, and can be integrated into SoC (
System On
Chip), the typical working frequency is 100MHz, and feasibility is provided for building a flexibility motion
control system.