| With the progress of the fourth-generation industrial revolution,the transformation of China’s traditional industry to intelligent manufacturing is constantly advancing,and the scale of the industrial control market is of rapid expanding.However,due to the late start of China’s industrial automation control technology,many technologies are difficult to catch up with manufacturers in developed countries immediately,such as electronic cam control technology.The core algorithm of domestic electronic cam has a certain gap compared with that of foreign manufacturers.The application of soft PLC technology in China is also backward compared to foreign technology.At present,most of the equipment using electronic cam in China are from foreign manufacturers.Under this background,the key technology for electronic cams is studied in this thesis.The application results are shown in self-developed motion control card and embedded soft PLC controller as well.The formed cam modules are finally applied to a three-servo packaging machine tool.The work included in this thesis are as follows:(1)Research and analysis of some key technologies into electronic cam algorithms.Comprehensively study the key technologies such as the position mode relationship of the master-slave shaft of the electronic cam,the electronic cam table,periodic and aperiodic modes,the meshing mode and catch-up mode of the electronic cam,and the error compensation of the electronic cam.And this work provides sufficient support to development of the electronic cam algorithm.(2)The algorithm of electronic cam is transplanted to the motion control card and the embedded soft PLC motion controller respectively.Firstly,define the data structure of electronic cam’s algorithm,design the motion algorithm function needed by the electronic cam,transplant the electronic cam algorithm into the software framework of the motion control card in the form of function library,independently develop the host computer interface using the electronic cam function calling the motion control card,and conduct joint simulation test through the motion software of the motion control card,To debug and verify the function and operation performance of the electronic cam algorithm.After the function of the electronic cam algorithm is developed in the motion control card,the electronic cam algorithm is transplanted to the operation system of the soft PLC motion controller.Based on the IEC61131-3 standard,the motion control function block of the electronic cam used in the upper computer programming of the soft PLC is designed,and the interface between the motion control block of the electronic cam and the motion control algorithm of the electronic cam in the operation system is defined,The operation logic of the electronic cam algorithm library is designed,and the relevant resources used by the electronic cam are allocated to realize the function of the electronic cam algorithm in the embedded soft PLC motion controller.(3)The proposed electronic cam algorithms are demonstrated in a three-servo packaging machine tool.The whole system is composed of a three-servo packaging machine,and an embedded soft PLC motion controller.The machine tool is operated through the application software with a touch screen.The electronic cam curve corresponding to the cutter shaft is studied and designed in detail.Through the linkage between the color code tracking,PID error compensation and the electronic cam function,the accuracy and efficiency of the synchronous movement of the cutter shaft are effectively proved. |