文档介绍:华中科技大学
硕士学位论文
基于Small RTOS51的油耗-转速智能测量系统的设计与实现
姓名:宋沈阳
申请学位级别:硕士
专业:动力机械及工程
指导教师:高世伦
20060508
摘要
内燃机的转速和油耗是内燃机生产与科研工作中不可缺少的参数,也是评价内燃
机经济性的两项重要指标,因此在内燃机试验研究的过程中,就需要有一种能准确而
又迅速的测量发动机转速和油耗的仪器。本文将嵌入式系统应用到内燃机转速油耗测
量系统设计中,主要内容如下:
综述了内燃机转速油耗测量系统的发展和现状,介绍了测量系统中常用的测量方
法和使用的传感器,并对其原理、使用方法和性能进行了分析。
在硬件方面,描述了本系统的硬件核心 P89V51RD2 微控制器的特性和使用要点。
分别阐述了以 P89V51RD2 为核心所构建的测量系统的硬件开发板的各组成部分,包
括信号采集、结果显示、串行通信等方面,并分析了各个部分的原理图的组成及其所
涉及的芯片的特性。
软件方面,在深入分析系统所采用的嵌入式实时操作系统 Small RTOS51 的软件
特性、文件结构和开发方法的基础上,利用 Keil C51 集成开发环境,将其移植到飞利
浦公司的 P89V51RD2 微控制器上,并进行系统软件的设计,以完成系统的测量任务;
还使用 C 语言,利用 Microsoft 公司提供的 m 控件,在 C++ Builder 集成开发
环境下,编制了计算机使用的用于与单片机串口通信接收数据的应用软件。
最后,本文还对系统的调试和在系统设计中影响系统的稳定性的因素以及所采取
的相应的措施作了简要地分析。
关键词:转速油耗 P89V51RD2 Small RTOS51
I
Abstract
Fuel consumption and speed of an are the indispensable parameters in the
production and research field of . They are also two significant indexes in
estimating the economical efficiency of an engine. So it need a device to measure the
engine’s speed and fuel consumption quickly and precisely in the research experiments.
This article introduces the way of designing a kind of intelligent test system of fuel
consumption and rotational speed using embedded system.
The paper summarized the development and status of speed and fuel consumption
measurement system for diesel engines, introduced the measuring methods and sensors
used in the measurement system, and also analyzed their principles, usage and properties.
To the hardware, the microcontroller P89V51RD2 used in this system is discussed, and
ponents including signal collection, result display and munication of
developing board, which is based on the microcontroller are carefully introduced. To each
part, the schematic diagrams and the detailed introductions of the chips used in that part are
given.
To the software, after getting to grasp the embedded system Small RTOS51’s software
character, anization