Key technology on PROFIBUS-DP master gateway
-
摘要: 针对标准PROFIBUS-DP从站产品难以集成到现有集散式控制系统的问题,提出了网关解决方案.在对现有网关实现方案进行比较后,选用软核方案,设计了具有热插拔功能且兼容两种实现方案的硬件平台.采用模块化设计思想进行软件架构,应用状态机法实现了"PROFIBUS-DP通信"子功能.从防错设计、纠错设计、故障恢复设计等方面对设计方案中软、硬件可靠性进行了详细分析.针对硬件特性,从调度策略的角度阐述了影响系统实时性的关键问题,并对自主设计主站的难点问题-组态设计进行了说明.该方案支持系统运行过程中动态地增加和删除从站,修改从站配置参数.分析并实验测试了网关的性能参数,网关最高支持3 Mbit/s的通信波特率.实验结果表明,系统性能优越,运行稳定.Abstract: To solve the problem that distribute control system is difficult to integrate standard PROFIBUS-DP slaves, gateway solution was proposed. After comparing several existing gateway solutions, soft core implementation was adopted. Hardware platform which was compatible with two solutions and supported hot plug operation was designed. Modular thought was applied to do software architecture designation. State-machine method was used to implement "PROFIBUS-DP communication" sub function. Solution reliability on both hardware and software was traversed from the view point of chip selection, fault-precaution, fault-rectify and failure-resume. Proper schedule strategy to enhance system-s real-time performance was expatiated according to hardware-s characteristics. Slave-s configuration method which is a difficult point when it comes to self-designed host was designed to support add and delete slave as well as edit slave configuration dynamically when system is running. Theoretical analysis and experimental test were done to identify gateway-s capability parameters. The gateway can support up to 3 Mbit/s communication baud rate. Experimental results show that system performance is excellent and stabilized.
-
Key words:
- gateway /
- soft core /
- reliability /
- real-time performance /
- modular
-
[1] Chen Zaiping,Yao Xiaowei,Yin Xunlei.Research of schemes on integration of fieldbus system //IECON Proceedings (Industrial Electronics Conference).Piscataway,NJ:IEEE,2005:416-420 [2] Su Yushen,Huang Chinyu,Chen Yishin,et al.An artificial neural-network-based approach to software reliability assessment //IEEE Region 10 Annual International Conference,Proceedings/TENCON.Piscataway,NJ:IEEE,2005:1-6 [3] Zhang Xiaonan,Liu Anxin,Gao Yaming,et al.The prediction model of software reliability based on the modular //International Forum on Information Technology and Applications.Piscataway,NJ:IEEE,2009:315-318 [4] Lee Wangbong,Jung Boo Geum,Baik Jongmoon.Early reliability prediction:an approach to software reliability assessment in open software adoption stage //Proceedings-The 2nd IEEE International Conference on Secure System Integration and Reliability Improvement,SSIRI 2008.Piscataway,NJ:IEEE,2008:226-227 [5] Teng Xiaolin,Pham Hoang.A new methodology for predicting software reliability in the random field environments[J].IEEE Transactions on Reliability,2006,55(3):458-468 [6] Bo Yang,Xiang Li.A study on software reliability prediction based on support vector machines //2007 IEEE International Conference on Industrial Engineering and Engineering Management.Piscataway,NJ:IEEE,2007:1176-1180 [7] 黄宁,陈未如.基于架构风格的软件可靠性评估[J].计算机系统应用,2009,18(5):198 Huang Ning,Chen Weiru.Software reliability evaluation based on architectural styles[J].Computer Systems Aplications,2009,18(5):198(in Chinese) [8] 夏继强,梁超众,邢春香.工业通信用网关设计及其关键技术研究[J].电子技术应用,2010,36(2):118-125 Xia Jiqiang,Liang Chaozhong,Xing Chunxiang.Design of PROFIBUS-DP intelligent gateway[J].Application of Electronic Technique,2010,36(2):118-125(in Chinese) [9] 方彦军,胥军.集成以太网接口的PROFIBUS现场总线智能主站的开发[J].仪表技术与传感器,2005(8):37-38 Fang Yanjun,Xu Jun.Development on PROFIBUS intelligent master integrated with ethernet interface[J].Instrument Technique and Senseor,2005(8):37-38(in Chinese) [10] 胡伟平.基于FPGA和ARM的PROFIBUS-DP主站平台 .北京:北京航空航天大学机械工程及自动化学院,2009 Hu Weiping.PROFIBUS-DP master station platform based on FPGA and ARM .Beijing:School of Mechanical Engineering and Automation,Beijing University of Aeronautics and Astronautics,2009(in Chinese) [11] 吕跃刚,王晏晏,徐大平.PROFIBUS-DP主站通信卡的研发[J].计算机信息,2006,22(11-1):79-82 Lü Yuegang,Wang Yanyan,Xu Daping.Research and development of the PROFIBUS-DP card based on WinCE.net[J].Microcomputer Information,2006,22(11-1):79-82(in Chinese) [12] 陈德金.军用实时软件失效机理及可靠性提高途径初探[J].系统工程与电子技术,2000,22(4):91-93 Chen Dejin.A basic analyzation of the fault mechanism and the improvement of the realiability for military real-time softwares[J].System Engineering and Electronics,2000,22(4):91-93(in Chinese) [13] 曲辉,葛丽娟,张海军.提高嵌入式系统可靠性软件抗干扰措施[J].内蒙古农业大学学报:自然科学版,2009,30(1):229-232 Qu Hui,Ge Lijuan,Zhang Haijun.Software anti-interference measurement of enhancing the reliability of embeded system[J].Journal of Inner Mongolia Agricultural University,2009,30(1):229-232(in Chinese)
点击查看大图
计量
- 文章访问数: 3069
- HTML全文浏览量: 103
- PDF下载量: 1036
- 被引次数: 0