论文部分内容阅读
AVR单片机是ATMEL公司生产的一款高速低功耗单片机,内部集成了各种功能模块,功能强大,集成化程度高,内部资源及外部I/O端口比较多,大大简化单片机的外围电路设计。它有多个子系列,产品种类、封装形式及型号繁多,但其指令系统是兼容的,软件升级及移植比较方便,极大的方便了设计者。其中,ATmega单片机是一款具有多个模拟通道的A/D数据转换高性能单片机,封装形式适用于工业、民用、军事等各种应用场合。在电力上蓄电池组一般由多节蓄电池串联构成,需要由多个I/O端口选中某节电池再进行数据采集(A/D转换),对采样精度的要求也比较高,通道校准时需要E2PROM存储参数,产品出厂时需要将校准参数固化到FALSH区(自编程功能),以防参数丢失,ATmega单片机可以满足技术要求。
AVR microcontroller is a high-speed low-power microcontroller produced by ATMEL company, integrates a variety of functional modules, powerful, highly integrated, more internal resources and external I / O ports, greatly simplifying the peripheral circuit design of the microcontroller. It has a number of sub-series, product range, package and model variety, but the command system is compatible, software upgrades and transplantation more convenient, great convenience to the designer. Among them, the ATmega MCU is a high-performance A / D data conversion microcontroller with multiple analog channels. The package is suitable for various applications such as industrial, civil and military applications. In the power of the battery pack is generally composed of multiple batteries in series, the need to select a battery from multiple I / O ports and then data acquisition (A / D conversion), the sampling accuracy requirements are relatively high, the channel calibration E2PROM Storage parameters, the product factory calibration parameters need to be cured to the FALSH area (self-programming function), to prevent parameter loss, ATmega microcontroller to meet the technical requirements.