数控系统可靠性预计及软件可靠性研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
数控加工是现代机械制造的关键技术。随着计算机和自动化技术的飞速发展,数控机床在工业生产中占据着越来越重要的地位,是衡量一个国家制造业发展水平的重要标志。数控系统作为数控机床的核心部位,对整个数控机床的性能起着至关重要的作用。国产数控系统与进口数控系统存在的主要差距就是在可靠性方面。因此,国家投入了大量的科研力量对数控系统的可靠性进行研究。本文结合国家科技重大专项“数控系统可靠性技术及重型机床运行可靠性研究(2009ZX04014-013)”,主要研究了数控系统可靠性预计和软件可靠性两方面内容。
     对数控系统的可靠性进行准确的预计能够为后续的使用和设计提供度量,作为今后改进设计的依据。本文通过现场试验采集某型号数控系统的故障数据,建立三层神经网络模型对该型号数控系统的可靠性进行了成功的预测。对于今后指导数控系统的研发、升级有着积极的作用。
     现代数控系统正逐步向高速高精高效化、多功能化、智能化的方向发展,软件作为数控系统的重要组成部分,其规模、计算量和功能都越来越强大,可靠性也就越来越难以保证。因此,提高软件部分的可靠性成为提高整个数控系统可靠性的关键问题。本文对某型号数控系统软件部分进行了FMECA分析,找出了该型号数控系统软件的薄弱环节、多发故障模式和主要故障原因,并有针对性的提出了有效的改进措施。
     从失效机理上来看,数控系统软件的故障可以描述为“软件错误→软件缺陷→软件故障”,即:程序设计人员在软件设计过程中由于设计等原因在软件内引入一些缺陷,当软件程序的执行路径经过某一个缺陷,并激活该缺陷时,就会导致软件发生故障。因此,当数控系统软件发生故障时,快速准确的定位故障、排除故障是减少损失的重要手段。本文提出了基于结点差异的相似路径的确定和基于模糊算法的语句怀疑率的计算方法,从代码层对数控系统软件的故障进行定位,并以NURBS曲线插补为例进行实验验证。实验结果表明,本文提出的故障定位方法是行之有效的,为今后数控系统软件故障定位技术的研究提供了新思路。
The CNC processing is the key technology of modern machinery manufacturing. Alongwith the development of the technology of computer and automation, CNC machine plays amore and more important role in the modern industry, and becomes a major mark for thelevel of a country’s manufacturing. The CNC system as the central part of CNC machineplays an important part in the function of the whole CNC machine. The main difference ofCNC system between domestic products and the import products is the reliability. So thenation inputs a great deal of research on the reliability of CNC system. This paper mainlydiscussed the reliability prediction of the CNC system and the reliability of CNC software,combining with the Major National Science and Technology Projects—“Research onreliability technology of CNC system and reliability on the operation of heavy machine(2009ZX04014-013)”.
     Predicting the reliability of CNC system accurately will provide a metric for thefollowing use and design, and be the foundation for improving the design in the future. Thispaper collected the fault datum of a certain type CNC system according to the field tests.Rebuilt a neural network model containing three tiers to predict the reliability of the certaintype CNC system, the results indicated that the model was effective for the reliabilityprediction. This will do great well for directing the upgrade, research and development ofthe CNC system.
     Nowadays, the modern CNC system is moving to the direction of high-speed,high-precision, high-efficiency, multi-functional and intelligent. Software is one of theimportant part of the CNC system. The scale, calculation and function of the software arebecoming so powerful that it is more and more difficult for ensuring the reliability of thesoftware. So how to improve the reliability of the software is the key to improve thereliability of the whole CNC system. This paper gave the FMECA to a certain type softwareof CNC system. Found out the weak parts, main mode and the major cause of faults. Andproposed effective countermeasures to improve the reliability of the CNC software.
     From the perspective of failure mechanism, the fault of the CNC software can bedescribed “software-error→software-defect→software-fault”, that is to say, the designersbrought in some defects during the processing of designing, when the execution trace wentthrough a defect, and activated it, the software would be failure. So locating the faultsquickly and accurately when the CNC system becomes failure is the most efficient way toreduce the loss. This paper proposed a new method to locate the fault of CNC software.This method contained tow parts—generating the similar execution traces set based on thedifference of nodes and calculating the suspiciousness of the statements executed by these traces based on the fuzzy algorithm. This could locate the fault of the CNC software into thecode layer. Finally, gave an experiment on the NURBS interpolation for fault location. Theresult showed that this method was very effective in fault location and it provided a newidea for the fault location of CNC software.
引文
[1]张吉堂,王爱玲,朱丽梅.现代数控原理及控制系统[M].北京:国防工业出版社,2009.
    [2]张建生,赵燕伟,郭建江等.数控系统应用及开发[M].北京:科学出版社,2009.
    [3]七丁.振兴国产数控机床装备国防工业[J].航空制造技术,2007(3):56~57.
    [4] Sun h. Current and future patterns of using advanced manufacturing technologies [J].Technovation,2000,20(11):631~641.
    [5]丁乃建.1994年我国数控产品的市场分析[J].制造技术与机床,1994(12):43~45.
    [6]任工昌,王党席,苗新强.基于灰色系统理论的数控机床可靠性预计研究[J].机械设计与制造,2010,5(5):191~193.
    [7]韩庆田,刘梦军,贺孝涛等.可靠性预计及其发展趋向[J].电子产品可靠性与环境试验,2001,10(5):14~18.
    [8]刘混举.机械可靠性设计[M].北京:国防工业出版社,2009.
    [9]于捷,朱志伟,贾亚洲等.可靠性预计在数控机床设计中的应用[J].机床与液压,2011,39(15):144~145.
    [10]余香梅,舒彤.基于神经网络的数控机床可靠性预计研究[J].九江学院学报,2007(6):40~43.
    [11]陶尚华.浅谈数控技术发展趋势[J].机械与电子,2009(19):83~84.
    [12]何国伟.软件可靠性的现状及展望[J].电子科技导报,1994(1):6~9.
    [13]Jelinski Z, Moranda P B. Software reliability research[J]. Statistical ComputerPerformance Evaluation,1972:465~484.
    [14]杨玉丽.软件可靠性研究现状与展望[J].电脑知识与技术,2010,6(1):128~129.
    [15]Belli F, Jedrzejowicz P. Fault-tolerant program and their reliability[J]. IEEE Trans.Relia,1990,39(2):184~192.
    [16]Downs T,Garrone P. Some new methods of software testing with performancecomparisons[J]. IEEE Trans. Relia.,1991,40(3):322~337.
    [17]Whittaker J A,Poore J,H Markov. Analysis of software specification[J]. ACM Trans.Software Engineering and Methodology,1993,2(2):93~103.
    [18]徐仁佐,谢旻,郑人杰.软件可靠性模型及应用[M].北京:清华大学出版社,1994.
    [19]黄锡滋.软件的可靠性与安全性[M].北京:科学出版社,1993.
    [20]刘纯生,文傅源.软件可靠性方法概述[J].北京航空学院学报,1987,3(3):65~76.
    [21]乔巍巍,贾亚洲,王桂萍等.数控系统软件故障可靠性分析[J].制造技术与机床,2006(10):45~46.
    [22]乔巍巍,贾亚洲.数控系统软件故障模式影响及危害度分析[J].制造技术与机床,2008(2):77~79.
    [23]姚一平.计算机控制系统硬、软件综合故障树分析法研究[C].第三届国际可靠性、维修性、安全性会议(ICRMS’96)论文集,广东省广州市,1996(11):478~483.
    [24]蔡开元.软件可靠性工程基础[M].北京:清华大学出版社,1995.
    [25]Haibo Z,Yazhou J,Guangwen Z. Time between failures model and failure analysis ofCNC system[J]. Journal of Harbin Institute of Technology (New Series),2007,14(2):197~201.
    [26]程晓民,崔玉国,贾亚洲.加工中心早期故障试验与故障数据库的建立[J].机械制造,2003,41(469):53~55.
    [27]贾志新,夏继强,贾亚洲.数控车床的电气系统故障模式分析[J].机床与液压,2000(1):75~76.
    [28]于捷,贾亚洲.数控车床故障模式影响与致命性分析[J].哈尔滨工业大学学报,2005,37(12):1725~1727.
    [29]张海波,黄胜全,贾亚洲.提高数控系统可靠性的措施[J].组合机床与自动化加工技术,2008(10):55~57.
    [30]苏铁军,孙琳玲,赵廷弟.基于RSMTL-CAD框架的FMECA软件设计[J].航空学报,2002,23(3):206~210.
    [31]石真真,刘更,吴立言.计算机辅助故障模式、影响及危害性分析研究[J].机械与电子,2011(6):11~15.
    [32]郑人杰.计算机软件测试技术[M].北京:清华大学出版社,1999.
    [33]黄锡滋.软件可靠性、安全性与质量保证[M].北京:电子工业出版社,2000.
    [34]Wong W E,Gokhale S S,Horgan J R, et al. Locating program features using executionslices [J]. Application-Specific Systems and Software Engineering and Technology,1999:194~203
    [35]Agrawal H, Horgan J R, Wong W E, et al. Fault localization using execution slices anddataflow tests[C]. Los Alamitos, USA: IEEE,1995:143~151.
    [36]Cleve H, Zeller A. Locating causes of program failures[C]. New York, USA: Instituteof Electrical and Electronics Engineers Computer Society,2005:342~351.
    [37]Jones J A,Harrold M J,Stasko J. Visualization of test information to assist faultlocalization[J]. Proceeding of International Conference on Software Engineering,2002(5):467-477.
    [38]Renieris M,Reiss S P. Fault localization with nearest neighbor queries[J]. Los Alamitos,USA: IEEE COMPUTER SOCIETY,2003:30~39.
    [39]Jones J A, Harrold M J. Empirical evaluation of the tarantula automatic faultlocalization technique[C]. New York, USA:Association for Computing Machinery,2005:273~282.
    [40]Wang T, Roychoudhury A. Automated path generation for software fault localization
    [C]. New York:Association for Computing Machinery,2005:347~351.
    [41]Guo L, Roychoudhury A, Wang T. Accurately choosing execution runs for softwarefault localization [J]. Lecture Notes in Computer Science,2006,3923LNCS (2006):80~95.
    [42]王毅刚,朱小冬,甘茂治.基于运行序列的软件故障诊断方法[J].微计算机信息,2002,22(7):178~180.
    [43]刘彦斌,朱小冬.基于双轨迹差异分析法的软件故障定位[J].计算机工程,2007,33(9):43~46.
    [44]贾晓霞,吴际,金茂忠.基于程序行为累积分析的软件故障定位方法[J].北京航空航天大学学报,2006,32(5):607~611.
    [45]易昭湘,慕晓冬,赵鹏.基于代码检测的软件故障定位方法[J].计算机工程,2007,33(12):82~84.
    [46]朱凯.一种基于相似路径集生成的程序故障定位方法[D].武汉:华中师范大学,2007.
    [47]雷志翔.一种改进的相似路径算法及其在故障定位中的应用[D].武汉:华中师范大学,2008.
    [48]王旭.人工神经元网络原理与应用[M].沈阳:东北大学出版社,2007.
    [49]高隽.人工神经网络原理及仿真实例[M].北京:机械工业出版社,2003.
    [50]葛哲学,孙志强.神经网络理论与MATLAB实现[M].北京:电子工业出版社,2008.
    [51]邵开丽.基于神经网络的软件可靠性预测研究与应用[D].南昌:南昌大学,2007.
    [52]张航军.加工中心的故障模式、影响及其危害性分析[J].机械制造,2007,519(45):64-66.
    [53]王斌,张伟,段见飞等.基于软件运行记录的测试方法[J].第三届全国软件测试会议与移动计算、栅格、智能化高级论坛论文集,2009(22):79-82.
    [54]刘普寅.模糊理论及其应用[M].长沙:国防科技大学出版社,1998.
    [55]张培晓.并混联研抛机床运动控制器的研究[D].长春:吉林大学,2007
    [56]刘晓刚.五坐标虚拟研抛机床开放式数控系统的研究[D].长春:吉林大学,2007