Design of numerical control system for small magnetic abrasive finishing machine
-
摘要: 磁力研磨作为一种新兴的表面光整技术,在细长管内壁研磨方面有着独特的优势,但目前市场上磁力研磨专用的数控机床设备较少。针对传统数控系统在小型机床上应用的缺陷,基于STM32+FreeRTOS实时操作系统设计了数控机床的嵌入式软硬件,建立了三层拓扑结构的软件系统。对主轴转速伺服控制进行了研究,通过系统辨识建立主轴数学模型,基于Ziegler-Nichols方法整定PID参数。以活检针为例进行了实际的磨削实验,试验结果表明,该机床磨削过程稳定、加工精度高。
-
关键词:
- 磁力研磨 /
- 小型机床 /
- 嵌入式 /
- PID控制 /
- Ziegler-Nichols
Abstract: Magnetic abrasive finishing, as a new surface finishing technology, has unique advantages in lapping the inner wall of slender tubes, but there are few CNC machine tools for magnetic lapping in the market. Aiming at the defects of traditional numerical control system applied to small machine tools, this paper designs the embedded software and hardware of numerical control machine tools based on STM32+FreeRTOS real-time operating system, and establishes a three-layer topological software system. The spindle speed servo control was studied, the spindle mathematical model was established through system identification, and PID parameters were set based on Ziegler-Nichols method. Taking biopsy needle as an example, a practical grinding experiment was carried out. The experimental results show that the grinding process of the machine is stable and the machining accuracy is high.-
Key words:
- magnetic abrasive finishing /
- embedded CNC /
- small machine tool /
- PID control /
- Ziegler-Nichols
-
图 3 磁力研磨示意图[7]
表 1 粗糙度测量结果
编号 1 2 3 4 5 均值 A组 2.637 2.762 2.793 2.702 2.745 2.728 B组 0.711 0.807 0.756 0.825 0.736 0.767 -
[1] 刘文浩, 陈燕, 李文龙, 等. 磁粒研磨加工技术的研究进展[J]. 表面技术, 2021, 50(1): 47-61. https://www.cnki.com.cn/Article/CJFDTOTAL-BMJS202101004.htm [2] 夏昂. 新型电磁永磁振动研磨机理研究与应用[D]. 上海: 上海交通大学, 2018. [3] 胡玉刚. 复合运动磁针磁力抛光机的设计与实验研究[D]. 鞍山: 辽宁科技大学, 2020. [4] 宋珂炜, 田海林, 方辉, 等. 基于STM32+FPGA的微型车床嵌入式数控系统研究与设计[J]. 制造技术与机床, 2019(3): 67-73, 77. https://www.cnki.com.cn/Article/CJFDTOTAL-ZJYC201903023.htm [5] 文杰棱, 韩震宇, 王咏麒, 等. 基于双STM32+FPGA的桌面数控车床控制系统设计[J]. 制造技术与机床, 2021(6): 117-120. https://www.cnki.com.cn/Article/CJFDTOTAL-ZJYC202106027.htm [6] 杨文锦, 王传兵. 数控系统中GUI软件平台设计和实现[J]. 制造技术与机床, 2017(9): 174-176. https://www.cnki.com.cn/Article/CJFDTOTAL-ZJYC201709043.htm [7] Yin S H, Shinmura T. Vertical vibration-assisted magnetic abrasive finishing and deburring for magnesium alloy[J]. International Journal of Machine Tools and Manufacture, 2004, 44(12): 1297-1303. http://www.sciencedirect.com/science?_ob=ShoppingCartURL&_method=add&_eid=1-s2.0-S0890695504001105&originContentFamily=serial&_origin=article&_ts=1467314593&md5=bd8aafbd769133a7cebe22e6e14aba63 [8] 赵杨, 陈燕, 程淼, 等. 电磁场作用下球形磁极辅助研磨弯管内表面研究[J]. 电镀与精饰, 2020, 42(1): 22-26. doi: 10.3969/j.issn.1001-3849.2020.01.005 [9] 王晓晶, 孙宇微, 刘美珍, 等. 连续回转电液伺服马达Pol-Ind摩擦模型辨识[J]. 华中科技大学学报: 自然科学版, 2019, 47(10): 28-33. https://www.cnki.com.cn/Article/CJFDTOTAL-HZLG201910006.htm [10] 丁启程, 王伟, 姜忠, 等. 五轴机床RTCP检测的轨迹生成与性能比较[J]. 机械工程学报, 2019, 55(20): 116-127. https://www.cnki.com.cn/Article/CJFDTOTAL-JXXB201920013.htm [11] 代月明, 张丽娜, 朱习军. 基于Ziegler-Nichols频域PID的水轮机自适应调速系统设计[J]. 徐州工程学院学报: 自然科学版, 2018, 33(3): 47-51. https://www.cnki.com.cn/Article/CJFDTOTAL-OXZG201803009.htm [12] 郭新军, 陈素霞. 面向直流电机模型时变参数的在线辨识方法[J]. 计算机仿真, 2014, 31(8): 250-253, 376. https://www.cnki.com.cn/Article/CJFDTOTAL-JSJZ201408055.htm [13] 于国强, 刘克天, 胡尊民, 等. 基于Ziegler-Nichols优化算法的火电机组负荷频率PID控制研究[J]. 热力发电, 2021, 50(9): 137-144. https://www.cnki.com.cn/Article/CJFDTOTAL-RLFD202109020.htm