节点文献
面向对象技术应用于嵌入式控制系统的可行性及实现研究
Study on the Feasibility and Realization of OOT’s Application in Embedded Control System
【摘要】 针对控制系统开发工程师普遍认为采用面向对象语言开发的代码效率低、不稳定的观点,论述了在面向对象编程中,在掌握编程语言的基础上同样能开发经济高效的代码,并通过试验比较目前最常用的C++和C语言开发出的代码的执行效率证实了这一点。抽象出了控制系统中常用的类,并以硬件类为例进行了详细说明。运用面向对象技术开发了高产梳棉机控制软件,软件运行可靠,证明在嵌入式控制系统中应用面向对象技术是可行的。
【Abstract】 It is believed by many control system developers that the code developed in object-oriented language is inefficient and unstable,the efficient code can be generated in object-oriented language when good use of the compiler’s character is made,which is approved by comparing the efficiency of code written in the wide-used C++ and C language.The commonly used class in control system is abstracted and the hardware class is discussed in detail as an example.The object-oriented technology is applied to a carding machine’s control software and the control system is proved to be reliable.
【Key words】 object-oriented; embedded control system; program efficiency; control class;
- 【文献出处】 化工自动化及仪表 ,Control and Instruments in Chemical Industry , 编辑部邮箱 ,2006年05期
- 【分类号】TP273.5;TP311.52
- 【下载频次】87