| The machining center is a generic term for all CNC that are loaded with a tool magazine.Machining center is full-featured and high efficiency,which usually can solve cutting,milling,drilling,tapping and other processes,and it also can process any surface,holes,threads and other shapes of objects.They are usually very large,mostly used for the mechanical processing enterprises.In order to make the processing center have a larger audience,this subject has designed a miniaturized machining center control system from both the hardware module and software module.This paper first introduces the research status and development trend of numerical control technology at home and abroad,and then analyzes the user’s demand and technology demand of miniaturized machining center,and adopts the following design: We let a industrial PC through the control software Linux CNC and a multi-axes motion control card to control the movement of machine.LinuxCNC is a very powerful control system software which based on Linux system development.Linux CNC mainly contains the control module and management module.The control module consists of task scheduling controller,motion controller and I/O controller,it is mainly responsible for the user input processing procedures related to kinematic processing,including processing code analysis,interpolation operations,tool compensation.This subject first searches the working mechanism of three sub-module from function and source code,and then modify the source code to achieve a new functional design.The management module consists of a configuration file and a graphical user interface(GUI).This module is responsible for receiving the user’s instructions and the instructions passed to the control module.It transfers the machine feedback error and status information to the user processing at the same time.The subject completed the configuration file settings and designed a more user-friendly interface to satisfied user’s need.In the design of hardware module,we select the PCI bus driver Hostmot2 and serial interface driver mb2 hal to drive the hardware interface based on HAL layer driver provide by some LinuxCNC,then designed a multi-axes motion control card,and finally complete the software’s control to the machine axis and spindles through the configuration system file.Finally,the subject introduces the construction of testing platform,then performs the overall functional test of the control system after testing the performance of each part of the system hardware and software.The test results show that the design of Mini Machining center have the actual processing capacity and good practical processing effect. |