基于单片机的智能充电器—-毕业论文设计 联系客服

发布时间 : 星期三 文章基于单片机的智能充电器—-毕业论文设计更新完毕开始阅读6efec29305a1b0717fd5360cba1aa81144318fd1

基于单片机的锂电池充电器设计

摘 要

电子技术的快速发展使得各种各样的电子产品都朝着便携式和小型轻量化的方向发展,也使得更多的电气化产品采用基于电池的供电系统。目前,较多使用的电池有镍镉、镍氢、铅蓄电池和锂电池。它们的各自特点决定了它们将在相当长的时期内共存发展。由于不同类型电池的充电特性不同,通常对不同类型,甚至不同电压、容量等级的电池使用不同的充电器,但这在实际使用中有诸多不便。

本课题设计是一种基于单片机的锂离子电池充电器,在设计上,选择了简洁、高效的硬件,设计稳定可靠的软件,详细说明了系统的硬件组成,包括单片机电路、充电控制电路、电压转换及光耦隔离电路,并对本充电器的核心器件—MAX1898充电芯片、AT89C2051单片机进行了较详细的介绍。阐述了系统的软硬件设计。以C语言为开发工具,进行了详细设计和编码。实现了系统的可靠性、稳定性、安全性和经济性。

该智能充电器具有检测锂离子电池的状态;自动切换充电模式以满足充电电池的充电需要;充电器短路保护功能;充电状态显示的功能。在生活中更好的维护了充电电池,延长了它的使用寿命。

关键词:充电器;单片机;锂电池;MAX1898

Lithium Battery Charger Design Based On Single Chip

Abstract

Electronic technology's fast development causes various electronic products develops toward portable and the small lightweight direction, It also causes the more electrification products to use based on battery's power supply system. At present, the many use's batteries have the nickel cadmium, the nickel hydrogen, the lead accumulator and the lithium battery. Their respective characteristic had decided they will coexist in a long time develop. Because the different type battery's charge characteristic is different, usually to different type, even different voltage, capacity rank battery use different battery charger, but this has many inconveniences in the actual use.

This topic design is one kind lithium ion battery charger which is based on Single Chip, in the design, it has chosen succinctly, the highly effective hardware, the design stable reliable software, explained in detail system's hardware composition, including the monolithic integrated circuit electric circuit, the charge control electric circuit, the voltage transformation and the light pair isolating circuit, and to this battery charger's core component - MAX1898 charge chip, at89C2051 monolithic integrated circuit has carried on the detailed introduction. Elaborated system's software and hardware design. Take the C language as the development kit, has carried on the detailed design and the code. Has realized system's reliability, the stability, the security and the efficiency.

The intelligence battery charger has the examination lithium ion battery's condition; The automatic cut over charge pattern meets when rechargeable battery's charge needs; Battery charger has short circuit protection function; The charge condition demonstration's function. The battery charger has made the better maintenance rechargeable battery in the life,and lengthened the rechargeable battery’s service life.

Key words:Charger; SCM; Lithium battery; MAX1898

目 录

引 言 .................................................................................................................................... 1 第1章 绪论 .............................................................................................................................. 2 1.1 课题研究的背景 .................................................................................................................. 2 1.2 课题研究的主要工作 .......................................................................................................... 3 第2章 电池的充电方法与充电控制技术 .............................................................................. 5 2.1 电池的充电方法和充电器 .................................................................................................. 5

2.1.1 电池的充电方法 ....................................................................................................... 5 2.1.2 充电器的要求和结构 ............................................................................................... 9 2.1.3 单片机控制的充电器的优点 .................................................................................. 10 2.2 充电控制技术 .................................................................................................................... 10

2.2.1 快速充电器介绍 ..................................................................................................... 10 2.2.2 快速充电终止控制方法 ......................................................................................... 11 第3章 锂电池充电器硬件设计 ............................................................................................ 14 3.1 单片机电路 ........................................................................................................................ 14 3.2 电压转换及光耦隔离电路 ................................................................................................ 17 3.3 电源电路 ............................................................................................................................ 18 3.4 充电控制电路 .................................................................................................................... 20

3.4.1 MAX1898充电芯片 .............................................................................................. 20 3.4.2 充电控制电路的实现 ............................................................................................ 24 第4章 锂电池充电器软件设计 ............................................................................................ 26 4.1程序功能 ............................................................................................................................ 26 4.2 主要变量说明 .................................................................................................................... 26 4.3 程序流程图 ........................................................................................................................ 26 结论与展望 .............................................................................................................................. 29 致 谢 .................................................................................................................................. 30 参考文献 .................................................................................................................................. 31 附录A 电路原理图 ................................................................................................................ 32 附录B 外文文献及其译文 .................................................................................................... 33 附录C 主要参考文献的题录及摘要 .................................................................................... 40 附录D 主要源程序 ................................................................................................................ 42

插图清单

图2-1 恒流电源充电电路 .................................................................................................... 5 图2-2 准恒流充电电路 ........................................................................................................ 5 图2-3 恒压充电电路 ............................................................................................................ 6 图2-4 浮充方式充电电路 .................................................................................................... 6 图2-5 涓流方式的简单示意图 ............................................................................................ 6 图2-6 分阶段充电的简单示意图 ........................................................................................ 7 图2-7 -△V控制系统框图 ................................................................................................ 7 图2-8 充电电池、电池电压和充电时间的关系 ................................................................ 8 图2-9 电池温度检测简图 .................................................................................................... 8 图2-10 电池温度和充电时间的关系 .................................................................................... 9 图2-11 充电器结构框图 ...................................................................................................... 10 图2-12 锂电池的充电特性 .................................................................................................. 11 图2-13 快速充电器原理框图 .............................................................................................. 12 图3-1 6N137光耦合器 ...................................................................................................... 18 图3-2 lm7805样品 ............................................................................................................. 18 图3-3 LM7805内部结构框图 ........................................................................................... 19 图3-4 LM7805功能框图 ................................................................................................... 20 图3-5 MAX1898的引脚 ................................................................................................... 21 图3-6 MAX1898的典型充电电路 ................................................................................... 22 图3-7 基于MAX1989的智能充电器的原理图 .............................................................. 23 图3-8 锂离子电池充电电路 .............................................................................................. 25 图4-1(a) 等待外部信号输入 ................................................................................................. 27 图4-1(b) 外部中断程序 ......................................................................................................... 27 图4-1(c) 定时器程序 ............................................................................................................. 28 图4-1 智能充电器的程序流程图 ...................................................................................... 28