数码智能电动车仪表的设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
学号:
常州大学
毕业设计(论文)
(2012届)
题目
学生
学院专业班级
校内指导教师专业技术职务
校外指导老师专业技术职务
二○一二年六月
数码智能电动车仪表的设计
摘要:
随着电子技术的广泛应用,传统电动车仪表逐渐被微处理器为核心的电子控制数字仪表取代已成为必然趋势。
基于单片机技术可靠性高、便于扩展、控制功能强、实用性好的特点。本设计以单片机作为控制核心,设计了数码智能电动车仪表的各个部分内容,设计了单片机及其外围电路,实现了电动车仪表基本显示功能。系统的硬件部分包括速度显示、电源电压和欠压显示,左右转向以及前大灯照明显示、三档动力转换等八个部分。速度显示由传感器、信号处理和稳压等部分组成。三档动力转换由ADC0809计数器模块实现。刹车时伴随刹车灯的闪现。系统还具有一定的自检功能。该仪表系统有显示功能多,显示直观准确、灵敏度高、使用寿命长、灵巧美观、成本低等优点,接线简单,目前在电动车行业使用比较多。
关键词:单片机;车速测量;数码显示;A/D转换
I
The design of digital intelligent electric meter
Abstract:
With the wide application of electronic technology, the traditional electric vehicle instrument gradually by the microprocessor as the core of electronic control instrument to replace has become an inevitable trend.
Single chip technology is based on high reliability, easy expansion, strong control function, practical characteristics. The designs is based on SCM as the control core, design the digital intelligent electric instrument parts, design the SCM and its peripheral circuit, realizes the electric vehicle instrument basic display function. The hardware of the system includes speed, power supply voltage, under-voltage, and the headlights around to lighting, power conversion third gear, such as eight parts. Speed-showing sensors are composed of signal processing, regulators, and other components. Third gear power conversion from ADC0809 counter module to achieve. It’s turning up with the brake lamp's flashing when the brake lights came. The system also has a self-inspection function. The instrument system displays , intuitive display accurate, high sensitivity, long life, smart appearance, and low cost advantages, simple wiring, the electric vehicle industry to use more.
Key words: Single chip microcomputer;Speed measurement;Digital display ;
A/D conversion
II
目录
摘要..................................................................I Abstract.........................................................................II 1.绪论..................................................................1 1.1电动车技术的发展....................................................1 1.2 电动车仪表的研究现状和发展趋势.....................................1
1.3本设计所研究的内容和目标............................................2
2.系统的总体设计........................................................3 2.1系统设计方案的讨论..................................................3 2.1.1车速测量方式.......................................................3
2.1.2 显示电路方案的选择.................................................3
3.系统的硬件电路设计....................................................6 3.1单片机介绍...........................................................6 3.2 AT89S52单片机介绍...................................................6 3.3单片机最小系统设计..................................................8 3.3.1晶振电路...........................................................8 3.3.2 复位及复位电路.....................................................8 3.4 车速测量电路的设计.................................................10 3.
4.1转速测量原理......................................................10 3.4.2光电码盘刻度误差分析..............................................12 3.4.3车速测量电路图....................................................12 3.5电量及欠压显示和动力测量电路设计...................................13 3.
5.1电压测量电路......................................................13 3.5.2电流测量电路......................................................14 3.5.3A/D转换电路的设计................................................15 3.6 数码管显示电路的设计...............................................17
3.7报警电路和指示电路的设计...........................................19
4.系统的软件部分设计...................................................20 4.1Keil C51简介.......................................................20 4.2系统的软件总体流程.................................................21 4.3 单片机定时/计数器的编程............................................23
4.4 A/D转换芯片的编程..................................................25
5.组装与调试...................................................................27
5.1仪表故障检测............................................................ (28)
6.结论与展望...................................................................29 致谢.................................................................30参考文献...............................................................31附录A.................................................................32附录B................................................................ (33)
III