用户名: 密码: 验证码:
控制系统基于模型的系统工程开发方法研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
航天领域控制系统要求必须具有极高的可靠性、可测试性和可重用性,对国内航天领域控制系统来说,还需要考虑国产化、开发人员习惯和开发周期短等问题。基于模型的系统工程是一种新兴的系统工程技术,它以模型贯穿了整个开发周期,可以有效地提高系统的可靠性和开发效率。
     本文针对航天领域的控制系统开发问题,采用基于模型的系统工程思想,对航天领域控制系统开发的全过程提供支持。本文的具体研究内容包括:
     1)提出了一种针对航天领域控制系统开发的方法论。该方法论包括了对建模、模型验证、自动代码生成、软件在环、硬件在环和远程调试等开发过程的支持,以及对这些过程中开发方法和支撑开发工具的支持。
     2)针对物理模型和控制器的开发,分别提出了基于控制流模型扩展的数据流图层次化建模方法和基于状态图加程序流程图的控制器模型建模方法。
     3)为验证2)中建模方法得到的模型实例是否满足给定的约束,给出了基于一阶逻辑的模型验证方法。
     4)针对2)中的模型,提出了各自的自动代码生成算法。特别地,针对程序流程图,提出了由标准流程图模型到结构化C代码的自动生成算法。
     5)在自动代码生成的基础上,给出了物理模型和控制器模型代码的软件在环测试和硬件在环测试方法。
     6)为了便于定位在环测试中发现的各种缺陷,提出了一种基于虚拟机的远程逆向调试方法。
     实验研究和工程应用充分表明,本文所提出的航天领域控制系统开发方法能有效提高系统的可靠性、可测试性、可重用性和开发效率,相应的开发工具满足了国产化的要求并且符合国内开发人员的习惯。本文相关成果已成功应用于某型洲际弹道导弹的研制中。
It is very important for Control systems in aerospace field to be with high reliability, testability and reusability. For a domestic aerospace control system, it is still a key issue for us to consider many problems, such as localization, habits of developers and reduced development cycle, and so on. Model-based system engineering is a new system engineering approach which runs through the entire development cycle through the original model. It can effectively improve the development efficiency and system reliability.
     In this paper, for the aerospace control system development problems, we proposed some supports for the whole process of the control system development in this field based on the idea of model-based system engineering. The specific research contents in this paper are described as follows.
     1) A development methodology for the aerospace control system is put forward. The methodology includes the support for development processes, the development method in the phases and supporting development tools. The development processes include modeling, model validation, automatic code generation, hardware in the loop, software in the loop and remote debugging.
     2) Modeling methods for plant models and controllers are presented respectively. For plant models, a hierarchical modeling method based on the data flow diagram extended on control flow model is proposed. For controllers, model modeling method based on state diagram and program flowchart diagram is proposed.
     3) To verity whether the model instanses modeled by the method presented in2) meet given constraints, a model verification method based on first-order logic is given.
     4) Automatic code generation algorithms for models presented in2) are proposed. In particular, for the program flowchart diagram, we put forward the automatic generation algorithm from standard flow chart model to structured C code.
     5) For the plant model and the controller model, oftware-in-loop testing approaches and hardware-in-loop testing approaches based on automatic code generation are given.
     6) To facilitate locating bugs found in loop testing, a remote reverse debugging approach based on virtual machine is put forward.
     Experimental results and industrial applications show that the development method of the aerospace control system put forward in this paper can improve the system reliability, testability, reusability and development efficiency, and the corresponding development tools meet the localization requirements and the habit of domestic developers. Research results of this paper have been applied in the development of one type of intercontinental ballistic missile.
引文
[1]http://baike.baidu.com/view/57978.htm.
    [2]John Reedy, Stephen Lunzman. Model Based Design Accelerates the Development of Mechanical Locomotive Controls. Off-Highway Engineering, 2011, vol.19(issue:2), pages:18-22.
    [3]M. Ahmadian, Z. Nazari, N. Nakhaee, etc. Model based design and SDR.In DSPenabledRadio. The 2nd IEE/EURASIP Conferenceon,2005, pages:8.
    [4]Ewen Denney. A Software Safety Certification Plug-in for Automated Code Generators:Feasibility Study and Preliminary Design.2006.
    [5]Math Works, Inc. General Motors Developed Two-Mode Hybrid Powertrain With Math Works Model-Based Design; Math Works Technical Paper, 2009.
    [6]Lennon, Tony. Model-based design for mechatronics systems. Electronics World.May 2008, vol.114(issue:1865), pages:23.
    [7]Gabriela Nicolescu, Pieter Mosterman. Model-Based Design for Embedded Systems. Computational Analysis, Synthesis, and Design of Dynamic Systems. CRC Press,2009.
    [8]D. Rhodes.Addressing systems engineering challenges through collaborative research.In SEARI-Systems Engineering Advancement Research InitiativeCambridge, MA:MIT Press,2008.
    [9]S.Mellor, A. Clark, T. Futagami.Model driven development. IEEE Software.Sep./Oct.2003, vol.20(issue:5), pages:14-18.
    [10]A.L.Ramos, J.V.Ferreira, J.Barcelo.Model-Based Systems Engineering:An Emerging Approach for Modern Systems.IEEE Transactions onSystems, Man, and Cybernetics, Part C:Applications and Reviews.Jan.2012, vol.42(issue:1) pages:101-111.
    [11]Jeff A. Estefan, Pasadena. Survey of Model-Based Systems Engineering (MBSE) Methodologies. Rev A, Incose MBSE Focus Group.May 2007.
    [12]J. Estefan.MBSE methodology survey. INSIGHT-INCOSE J.Apr.2009, vol.12, pages:16-18.
    [13]M. Rao, S. Ramakrishnan, C. Dagli.Modeling and simulation of net centric system of systems using systems modeling language and colored petri-nets:A demonstration using the global earth observation system of systems. Syst. Eng.Autumn 2008, vol.11, pages:203-220.
    [14]M. Butterfield, J. Pearlman, S. Vickroy.A system-of-systems engineering GEOSS:Architectural approach. IEEE Syst. J.Sep.2008, vol.2(no.3), pages: 321-332.
    [15]S. Mandutianu, M. Moshir, K. Donahue. Conceptual model for space mission systemsdesign.Presented at 19th Ann. Int. Symp.INCOSE, Singapore, 2009.
    [16]P. Simpkins, A. Kleinholz,J. Maley.A practical application of MBSE-The automated parking system.Presented at 3rd Asia-Pacific Conf. Syst. Eng., Singapore,2009.
    [17]A. Soyler, S.Diakanda. Amodel-based systems engineering approach to capturing disaster management systems. In Proc.4th Ann. IEEE Syst.Conf., San Diego, CA, Apr.2010, pages:283-287.
    [18]Stephen J.Mellor, Kendall Scott, Axel Uhl, etc. MDA Distilled:Principles of Model-Driven Architecture.New York:Addison-Wesley,2004, pages:176.
    [19]B.Selic. The pragmatics of model-driven development.IEEESoftware.Sept.-Oct.2003,vol.20(issue:5), pages:19-25.
    [20]D.Bernard, R.Doyle, E.Riedel, etc.Autonomy and software technology on NASA's Deep Space One.Intelligent Systems and their Applications, IEEE. May/Jun 1999, vol.14 (issue:3), pages:10-15.
    [21]P.J.Pingree, E.Mikk, G.J. Holzmann, M.H.Smith, etc. Validation of mission critical software design and implementation using model checking [spacecraft]. Proceedings of the 21st Digital Avionics Systems Conference. Oct.2002,vol.1, pages:6A4-1 -6A4-12.
    [22]Benowitz, E. Clark, K. Watney, G.Auto-coding UML statecharts for flight software. Proceedings of IEEE International Conference on Space Mission Challenges for Information Technology,2006, pages:413-417.
    [23]http://www.esterel-technologies.com/products/scade-suite/.
    [24]www.ibm.com/software/rational.
    [25]http://www.mathworks.com/products/simulink/.
    [26]http://www.gedae.com/products.php.
    [27]P. Farail, P. Gaufillet, A. Canals, etc. The TOPCASED project:a Toolkit in OPen source for Critical Aeronautic SystEms De.sign. In ERTS06,2006.
    [28]Martin Fowler, Kendall. UML Distilled:A Brief Guide to the Standard Object Modeling Language.Third edition. Object Technology Series. Addison-Wesley,2003.
    [29]Edward A. Lee, Thomas M. Parks.Dataflow process networks.Proc. IEEE.May 1995, vol.83, pages:1-63.See also http://ptolemy.eecs.berkeley.edu/papers/processNets.
    [30]Miro Samek.Practical UML Statecharts in C/C++.First edition.San Francisco:Ncwncs,2002.
    [31]Martin C.Carlisle, Terry A. Wilson, Jeffrey W.Humphries, etc.RAPTOR: Introducing Programming to Non-Majors with Flowcharts. Journal of Computing Sciences in Collegesarchive.April 2004, vol.19 (issue 4), pages: 52-60.
    [32]Kanis Charntaweekhun, Somkiat Wangsiripitak.Visual Programming using Flowchart.International Symposium onCommunications and Information Technologies.Oct.-Sept.2006, pages:1062-1065.
    [33]Tia Watts. The SFC editor a graphical tool for algorithm Development. Journal of Computing Sciences in Colleges archive.December 2004, vol.20(issue 2), pages 73-85.
    [34]J. Xu, H.Zhu.From Requirements Definition to Formal Functional Specification—an automatictransformational approach. Science in China.1995, vol.38, pages:28-43.
    [35]C. Nentwich, L. Capra, W. Emmerich, etc. Xlinkit:AConsistency Checking and Smart Link Generation Service. ACMTransactions on Internet Technology.May 2002, vol.2 (issue 2), pages:151-185.
    [36]C. Gryce, A. Finkelstein, C. Nentwich. Lightweight Checking for UMLBased Software Development. In Workshop on Consistency Problems inUML-based Software Development at 5th International Conference on UML. Springer,2002, pages:124-132.
    [37]A. F. Egyed.Heterogeneous View Integration and Its Automation.University of Southern California,2000.page:249.
    [38]A. Egyed. Fixing Inconsistencies in UML Design Models.In 29th International Conference on Software Engineering (ICSE 2007), IEEE Computer Society. May2007, pages:292-301.
    [39]A. Egyed. UML/Analyzer:A Tool for the Instant Consistency Checking ofUML Models. In 29th International Conference on Software Engineering (ICSE 2007), IEEE Computer Society. May,2007, pages:793-796.
    [40]A. Egyed. Instant Consistency Checking for the UML.In 28th InternationalConference on Software Engineering (ICSE 2006).May2006, pages: 381-390.
    [41]L. Shan, H. Zhu. CAMLE:A Caste-Centric Agent-Oriented ModellingLanguage and Environment. In Software Engineering for Multi-AgentSystems Iii. Springer-Verlag:Berlin,2005.pages:144-161.
    [42]W. Andreopoulos. Defining Formal Semantics for the Unified ModelingLanguage.In Technique Report of University of Toronto,2000.
    [43]K. Kaneiwa, K. Satoh. Consistency Checking Algorithms for RestrictedUML Class Diagrams.In 4th International Symposium on Foundations ofInformation and Knowledge Systems (FoIKS 2006), LNCS 3861.2006, pages: 219-239.
    [44]R. F. Paige, B. P. J.and J. S. Ostroff.Metamodel-based bodel conformance and multiview consistency checking.ACM Transactions onSoftware Engineering and Methodology.July 2007, vol.16 (issue 3), pages:1-49.
    [45]陈永春.从Matlab/Simulink模型到代码实现.北京:清华大学出版 社.2002.
    [46]T G Lewis. CASE:Computer Aided Software Engineering. Van Nostrand Reinhold,1991.
    [47]Singh R. The Software Life Cycle Processes Standard". Computer. Nov 1995, vol.28 (issue:11),pages:89-90.
    [48]ApvrilleLudovic. TURTLE:a real time UML profile supported by a Formal Validation Toolkit.IEEE Transactions onSoftware Engineering. July 2004, vol.30(issue:7), pages:473-487.
    [49]Hemlata Dakhore, Anjali Mahajan. Generation of C-Code Using XML Parser.Proceeding of ISCET 2010, pages:19-20.
    [50]Alan Ptak, Khalil Founday. Real-time spacecraft simulation and hardware-in-the-loop testing.Real-Time Technology and Applications Symposium,1998.Proceedings.Fourth IEEE.Jun 1998, pages:230-236.
    [51]Bin LU, Xin Wu, Hernan Figueroa, etc. A Low-Cost Real-Time Hardware-in-the-Loop Testing Approach of Power Electronics Controls.IEEE Transactions onIndustrial Electronics. April 2007, vol.54 (issue:2), pages:919-931.
    [52]Rahul Subramanian, Venhovens Paul and Barry P. Keane.Accelerated design and optimization of battery management systems using HIL simulation and Rapid Control Prototyping.IEEE International onElectric Vehicle Conference (IEVC).March 2012, pages:1-5.
    [53]Nguyen-Vu Truong, Duc-Lung Vu.Hardware-in-the-Loop approach to the development and validation of precision induction motor servo drive using xPC Targe. Computer Science and Software Engineering (JCSSE),2012 International Joint Conference. May.2012, pages:159-163.
    [54]Janarbek Matai, Pingfan Meng, Lingjuan Wu, etc. Designing a Hardware in the Loop Wireless Digital Channel Emulator for Software Denned Radio. IEEE,2012.
    [55]Seongsoo Lee, Takayasu Sakurai.Run-time power control scheme using software feedback loop for low-power real-time application. Asia and South Facific Design Automation Conference,2000, pages:381-386.
    [56]Milos N. Mladenovic, Montasir M. Abbas.Multi-scale integration of Petri Net modeling and Software-in-the-loop simulation for novel approach to assessment of operational capabilities in the advanced transportation controllers. Intelligent Transportation Systems (ITSC),2011 14th International IEEE Conference, Oct.5-7,2011, pages:1051-1056.
    [57]Stefan Resmerita, Wolfgang Pree. Verification of embedded control systems by simulation and program execution control. American Control Conference (ACC),2012, pages:3581-3586.
    [58]Alexander Schaub Matthias Hellerer, Tim Bodenmuller.Simulation of Artificial Intelligence Agents using Modelica and the DLR Visualization Library, http://elib.dlr.de/,2012.
    [59]http://www.rt-lab.com.
    [60]http://www.dspace.com.
    [61]http://www.techsat.com/products/software.html
    [62]http://www.antares-testing.com/Files/14.pdf
    [63]T. Akgul, V. J. Mooney. Instruction-level reverse execution for degugging. In Proceedings of Workshop on program Analysis for Software Tools and Engineering,2003.
    [64]T. Akgul, V. J. Mooney, S. Pande.A fast assembly level reverse execution method via dynamic slicing. In Proceedings of 26th International Conference Software Engineering, May,2004, pages:522-531.
    [65]S. Chen, W. K. Fuchs,J. Chung.Reversible debugging using program instrumentation. IEEE Transactions on Software Engineering, Aug.2001, vol.27 (issue:8),pages:715-727.
    [66]N. Nethercote, J. Seward. Valgrind:A framework for heavyweight dynamic binary instrumentation. Proceedings of PLDI, June 2007, pages:89-100.
    [67]S. T. King, G. W. Dunlap, P. M. Chen. Debugging operating systems with time-traveling virtual machines. Proceedings of USENIX 2005 Annual Technical Conference, April 10-15,2005.
    [68]T. Moher. Provide:A process visualization and debugging environment. IEEE Transactions on Software Engineering,1988,vol.14(issue:6), pages:849-857.
    [69]H. Lieberman, C. Fly. Bridging the gulf between code and behavior in programming. Proceedings of SIGCHI Conference on Human Factors in Computing Systems,1995,pages:480-486.
    [70]C. Demetrescu, I. Finocchi. A portable virtual machine for program debugging and directing. Proceedings of Symposium on Applied Computing, 2004, pages:1524-1530.
    [71]S. Viswanathan, J. C. Peters.Automating ui guidelines verification by leveraging pattern based ui and model based development. Proceedings of the 28th of the international conference extended abstracts on Human factors in computing systems, April 2010, pages:4733-4742.
    [72]J. Zhang, B. H. C. Cheng. Model-based development of dynamically adaptive software. Proceedings of the 28th international conference on Software engineering, May 2006, pages:371-380.
    [73]J. Kako, O. Naozumi, O. Akira. Efficient control system development using model based development. Proceedings of the 27th Chinese Control Conference, July 2008, pages:582-585.
    [74]H. Bagheri, K. Sullivan. Monarch. Model-based development of software architectures. Proceedingsof the 13th international conference on Model driven engineering languages and systems, October 2010, pages:376-390.
    [75]H. Woo, A. K. Mok, J. C. Browne.A hybrid framework for resource verification in executable model-based embedded system development. Special issue on the RTSS forum on deeply embedded real-time computing, vol.5 (issue:1), January 2008.
    [76]G. Vellis.Model-based development of synchronous collaborative user interfaces. Proceedings of the 1st ACM SIGCHI symposium on Engineering interactive computing systems, July 2009, pages:309-312.
    [77]C. Bunse, H.-G. Gross, C. Peper. Applying a model-based approach for embedded system development. Proceedings of the 33 rd EUROMICRO Conference on Software Engineering and Advanced Applications, August 2007, pages:121-128.
    [78]C. Amelunxen, E. Legros, A. Schrr, etc. Checking and Enforcement of Modeling Guidelines with Graph Transformations.Springer Berlin, Heidelberg, Germany,2008, pages:313-328.
    [79]B. Huber, R. Obermaisser. Model-based development of integrated computer systems:Modeling the execution platform.5088. Proceedings of the 5 th International Workshop on Intelligent Solutions in Embedded Systems, June 2007, pages:151-164.
    [80]D. Harel. Statecharts in the making:A personal account. Communications of the ACM, March 2009, vol.52(issue:3), pages:67-75.
    [81]Y. Liu, Y. Zhang, G. Xu, Y. Zhang.Rapid development of embedded software based on matlab. The International Conference on Embedded Software and Systems Symposia, July 2008, pages:132-135.
    [82]E. Benowitz, K. Clark, G. Watney. Auto-coding uml statecharts for flight software.Proceedings of the 2nd IEEE International Conference on Space Mission Challenges for Information Technology, July 2006, pages:413-417.
    [83]D. Lucanin, I. Fabek. A visual programming language for drawing and executing flowcharts. MIPRO,2011 Proceedings of the 34th International Convention,, May 2011, pages:1679-1684.
    [84]C. Kanis, W. Somkiat. Visual programming using flowchart. International Symposium on Communications and Information Technologies, October 2006, pages:1062-1065.
    [85]L. Apvrille, J.-P. Courtiat, C. Lohr, etc. Turtle:A real time uml profile supported by a formal validation toolkit. IEEE Trans. Software Eng., July 2004, vol.30(issue:7), pages:473-487.
    [86]Liming Wang, Guonv Wang, Wei Wang, etc. MBD-DSP:A model based design solution for DSP. Proceedings of the International Conference on Electrical and Control Engineering,2011, pages:4561-4564.
    [87]Liming Wang, Guonv Wang, Xiyang Liu, etc.SFModel:A modeling tool for embedded software. Proceedings of the International Conference on Automatic Control and Artificial Intelligence,2012, pages:606-610.
    [88]刘树山.基于ALOAF的构件库系统数据建模与系统设计.中南大学.2005.
    [89]Xu-Yu Xiang, Wei-Ming Zuo.Model with Asset Library Open Architecture Framework Base on Different Distribute. Journal of Hunan University of Arts and Science, Mar.2006.vol.18(issue:1).
    [90]王黎明,王帼钕,陈科,陈平。程序流程图到代码的自动生成算法研究与实现。西安电子科技大学学报。2012,39(6).
    [91]EdwardA. Lee. What's Ahead for Embedded Software.IEEE Computer, 2000, vol.33 (issue:9), pages:18-26.
    [92]Sanngwon Son, Chacdeok Ijm. Debugging Protocol for Remote Cross Development Environment.IEEE,2000.
    [93]连丽红.嵌入式调试技术的研究与实现.厦门大学,硕士学位论文,2009.
    [94]Liming Wang, Xiyang Liu, Ailong Song, etc. An Effective Reversible Debugger of Cross Platform Based on Virtualization.Proceedings of the International Conference on Embedded Software and Systems,2009, pages: 448-453.
    [95]C. Demetrescu, Ⅰ. Finocchi. A portable virtual machine for program debugging and directing.In Proceedings of Symposium on Applied Computing, 2004, pages:1524-1530.
    [96]T. Koju, S. Takada, N. Doi. An efficient and generic reversible debugger using the virtual machine based approach. In Proceedings of the 1st ACM/USENIX international conference on Virtual execution environments,2005, pages:79-88.
    [97]S. T. King, G. W. Dunlap, P. M. Chen.Debugging operating systems with time-traveling virtual machines.In Proceedings of USENIX2005 Annual Technical Conference,2005.
    [98]T. Akgul, V. J. Mooney. Instruction-level reverse execution for degugging. In Proceedings of Workshop on program Analysis for Software Tools and Engineering,2003, pages:18-25.
    [99]T. Akgul, V. J. Mooney, S. Pande. A fast assembly level reverse execution method via dynamic slicing. In Proceedings of 26th International Conference Software Engineering,2004, pages:522-531.
    [100]http://www.windriver.com/products/simics/
    [101]F. Bellard. Qemu, a fast and portable dynamic translator.In Proceedings of USENIX 2005 Annual Technical Conference,2005.
    [102]B. C. N. Kumar, M. Soffa.Low overhead program monitoring and profiling.In The 6th ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering table of contents,2005, pages:28-34.
    [103]S. T. King, G. W. Dunlap, P. M. Chen.Debugging operating systems with time-traveling virtual machines.In Proceedings of USENIX 2005 Annual Technical Conference,2005.
    [104]BYTE, a benchmark tool. It is designed to expose the capabilities of a system's CPU, FPU, and memory system.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700