设计简介
摘 要
本文介绍的节能车竞赛车(HLJIT-3A型)电器系统设计分为节能车车速里程表的设计和对点火系统的改进两个部分。其中,里程表设计以单片机和霍尔开关传感器为核心,再利用Keill软件进行C语言编程。传感器将不同车速转变成的不同频率的脉冲信号输入到单片机进行控制与计算,再采用LCD模块进行显示,使得节能竞赛车的最大车度、平均车速、瞬时车速、里程、圈数、时间等辅助驾驶参数能直观的显示给驾驶员,能够更佳有效、可靠的帮助驾驶员完成比赛。对点火系统的改进则是将原来的CDI点火器(电容放电式点火器)改进成自动进角直流点火器。与原CDI点火器相比,自动进角直流点火器点火能量更大,更稳定,点火时刻更准确,增加了点燃冲程和排气冲程的点火触发次数,这样发动机混合气燃烧十分充分且更节能更节省燃料,不会出现燃烧不彻底、火花塞积碳不能正常工作等现象。并且该点火器接线简单,安装方便,性能稳定,少受外界温度与湿度的影响,有自动变角功能,变角曲线好,适应发动机转速工况等优点。
关键词:单片机;LCD显示屏;霍尔开关传感器;CDI;直流点火器
ABSTRACT
This article describes the energy-saving car race car (HLJIT-3A type) electrical system design into efficient car odometer ignition system design and improvement of two parts. Among them, the odometer designed to minimize the system microcontroller and Hall switch sensor at the core. Sensors into a different speed pulse signals of different frequencies to control the input to the microcontroller and calculation, and then used to display LCD module, making the race cars, the largest energy-saving vehicles, average speed, instantaneous speed, distance, laps, time and other auxiliary parameters can directly drive the display to the driver, to better and effective, and reliable help the driver to finish the game.Improvement of the ignition system sucked the original CDI ignition (capacitive discharge ignition) improved to automatically into the current ignition angle. Compared with the original CDI ignition, automatic ignition angle of the DC ignition energy larger, more stable, more accurate ignition timing, increasing the light stroke and exhaust stroke of the ignition trigger number, so that the mixture combustion engine and more energy is sufficient more fuel-efficient, complete combustion does not occur, carbon spark plug does not work and so on. And that the ignition wiring simple, easy installation, stable performance and less susceptible to external temperature and humidity, with automatic angle function, variable angle curve is good, adapt to engine speed condition and so on.
Key words: SCM;LCD display;Hall switch sensor;Keill;DC-CDI;
目 录
Abstract II
第1章 绪论 1
1.1 课题背景、目的及意义 1
1.2系统设计概述 1
1.3 各章节的安排 2
第2章 节能车车速里程表的硬件设计 3
2.1 车速里程表设计的总体概述 3
2.2 里程表系统设计总框图 3
2.3 车速传感器的选择 4
2.3.1 A3144E的特性 5
2.3.2 A3144E芯片的引脚及功能 5
2.3.3 A3144E的磁输入检测 6
2.3.4 A3144E的导通距离测量 6
2.3.5 硬件电路的设计 7
2.4 单片机最小系统 7
2.4.1 单片机最小系统的机构 8
2.4.2 单片机最小系统的性能 9
2.5 LCD液晶显示模块 10
2.5.1 主要技术参数和显示特性 10
2.5.2 显示模块引脚说明及连接 11
2.6 本章小结 12
第3章 节能车车速里程表的软件设计 13
3.1 软件编程的总体设计 13
3.2 软件流程图 13
3.3 数据处理 15
3.4 里程表各部分程序 15
3.4.1 主程序 15
3.4.2 串口中断服务程序 17
3.4.3 显示模块程序 18
3.4.4 测速系统程序 23
3.4.5 中断服务程序 26
3.4.6 屏幕切换与LOGO程序 27
3.5 本章小结 31
第4章 点火系的优化与改进 32
4.1 节能竞赛车点火系的现状分析 32
4.1.1 当前点火系(CDI)存在的问题分析 32
4.1.2 解决CDI点火器存在问题的基本思路 34
4.2 改进后的自动进角直流点火器 35
4.3改进后点火器的优点及安装方法 38
4.3.1 点火器改进后所具备的优点 38
4.3.2 点火器的安装方法 38
4.4 本章小结 38
结论 40
参考文献 41
致谢 42


