节点文献

基于MC9S12DP256B和μC/OS-Ⅱ的直列泵ECU开发研究

The Research on Development of Inline Pump ECU Based on MC9S12DP256B and μC/OS-Ⅱ

【作者】 李俊

【导师】 苏铁熊; 王孝;

【作者基本信息】 中北大学 , 动力机械及工程, 2010, 硕士

【摘要】 本文针对直列泵柴油机,综合考虑ECU的速度、处理能力和开发成本,提出了一种新型的直列泵ECU的研究方案。本方案首次选用性价比较好的Freescale公司的16位微控制器MC9S12DP256B为直列泵柴油机ECU的主控制器,以具有多任务进程管理机制功能的μC/OS-Ⅱ嵌入式实时操作系统作为软件开发平台,完成了一套基于MC9S12DP256B和μC/OS-Ⅱ的直列泵ECU的开发。通过调试试验对转速、精确性和实时性等进行了测量,并对控制参数作了标定。本文结合研究课题的需求,提出了直列泵的控制策略,包括主要控制功能和关键控制环节的确定、子功能块划分、PID控制算法等,实现了对执行器的精确控制。针对控制策略的要求,完成了以MC9S12DP256B微控制器为核心的硬件电路原理图和PCB设计,分析了各部分原理图的组成及其所涉及的芯片的特性。考虑到柴油机电控系统多任务、实时性等特点,采用实时操作系统μC/OS-ΙΙ搭建软件控制平台。并在该平台中设计了时钟节拍和任务同步方式,对任务优先级进行了合理划分,实现了对传感器、ECU及执行器整个系统的有序控制和管理。本ECU还具有升级的功能,使得整个系统更利于维护和更新,延长了整个系统的使用周期。调试试验证明,本文研究开发的软硬件系统在精确性和实时性方面均满足设计要求,具有良好的控制功能。

【Abstract】 This paper is aimed at the diesel engine with inline pump. During design ,thourgh the overall considering of operating speed, processing ability and development cost,a new research scheme of diesel ECU was put forward. The system proposes a new way to design the ECU which combines the 16 bits embedded MCU(MC9S12DP256B) and the real-time operating system(μC/OS-Ⅱ) . By substituting traditional single task mechanism with multi-task mechanism ofμC/OS-Ⅱ. Through debugging test of the software and hardware, speed, accuracy and real-time had been measured and the control parameters had been calibrated.Combining with the requirement of the research, the control strategy of the electronically controlled inline pump diesel engine and the design method of ECU ,which includes determining control function, defining key of control links and control scheme, compartmentalizing the sub-functions and PID control algorithm etc. have been put forward and accomplished the accurate control to the execution.The MC9S12DP256B is adopted to meet the function requirements of ECU. The schematic diagram and PCB is designed as well as the consist of schematic diagrams and the detailed introductions of the chips used in that part are analyzed. The characteristics of electronic control diesel engine are multi-tasks and real-time accuracy, so the control software has been developed by using the imbedded systemμC/OS-Ⅱ. In the same time ,the clock ticks and synchronization of tasks have been designed and the priority of task has been divided reasonablely, because of these,the controling and management of engine and the operating system have been accomplished. Furthermore, the implemented upgrade mechanism which makes it easy to maintain and update the system, prolongs its life-cycle at the same time.The debugging test indicated that the software and hardware systems,studied and developed in this paper,not only meet the demands, but also has excellent control function.

  • 【网络出版投稿人】 中北大学
  • 【网络出版年期】2011年 05期
节点文献中: