论文部分内容阅读
由于工程机械控制器在整机中的重要性和硬件平台的多样性,其专用的操作系统在可靠性、实时性、低资源占用和可移植性等方面都有较高的要求。为了满足这些要求,该操作系统100%使用C语言开发,以非常精炼的代码实现了任务调度、消息机制和内存管理等基本功能。其中任务调度机制没有使用通常的任务抢占方式,而是采用以高可靠性著称的PLC(可编程逻辑控制器)系统的定时驱动、任务轮转的设计理念,简化了系统结构,提高了可靠性和可维护性,并且由于避免了支持任务抢占所必须的汇编代码,具有非常好的可移植性。精心设计的任务间消息机制可以有效增加应用软件的模块化程度,降低任务间的耦合度。用户可选的内存管理模块为较大的系统提供了动态内存管理功能。该操作系统经过在三一重工智能工程研究本院多种控制产品中的实际应用,证明具有较高的推广价值。
Because of the importance of construction machinery controller in the whole machine and the diversity of hardware platform, its special operating system has higher requirements in terms of reliability, real-time, low resource consumption and portability. To meet these requirements, the operating system was developed 100% using C and implemented basic functions such as task scheduling, message mechanism and memory management with very refined code. Which task scheduling mechanism does not use the usual task of preemption, but with high reliability known PLC (Programmable Logic Controller) system timing-driven, task rotation design philosophy, simplifying the system structure and improve reliability and Maintainability, and has very good portability due to the elimination of assembly code necessary to support task preemption. Well-designed message mechanism between tasks can effectively increase the modularization of application software and reduce the coupling between tasks. The user-selectable memory management module provides dynamic memory management for larger systems. The operating system through the Sany Heavy Industry Intelligent Engineering Research Hospital of a variety of control products in the practical application, that has a higher promotional value.