欢迎来到冰豆网! | 帮助中心 分享价值,成长自我!
冰豆网
全部分类
  • IT计算机>
  • 经管营销>
  • 医药卫生>
  • 自然科学>
  • 农林牧渔>
  • 人文社科>
  • 工程科技>
  • PPT模板>
  • 求职职场>
  • 解决方案>
  • 总结汇报>
  • 党团工作>
  • ImageVerifierCode 换一换
    首页 冰豆网 > 资源分类 > DOCX文档下载
    分享到微信 分享到微博 分享到QQ空间

    LTC具温度电压和电流测量功能的多节电池电量测量芯片.docx

    • 资源ID:1361310       资源大小:77.83KB        全文页数:31页
    • 资源格式: DOCX        下载积分:12金币
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    三方登录下载: 微信开放平台登录 QQ登录
    二维码
    微信扫一扫登录
    下载资源需要12金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP,免费下载
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    LTC具温度电压和电流测量功能的多节电池电量测量芯片.docx

    1、LTC具温度电压和电流测量功能的多节电池电量测量芯片LTC-具温度、电压和电流测量功能的多节电池电量测量芯片 作者: 日期: LTC2943 - 具温度、电压和电流测量功能的多节电池电量测量芯片特点 可测量累积的电池充电和放电电量 3.6V 至 20V 工作范围可适合多种电池应用 14 位 ADC 负责测量电池电压、电流和温度 1% 电压、电流和充电准确度 50mV 检测电压范围 高压侧检测 适合任何电池化学组成和容量的通用测量 I2C / SMBus 接口 可配置警报输出 / 充电完成输入 静态电流小于 120A 小外形 8 引脚 3mm x 3mm DFN 封装典型应用描述LTC2943可

    2、测量便携式产品应用中的电池充电状态、电池电压、电池电流及其自身温度。其具有宽输入电压范围,因而可与高达20V的多节电池配合使用。一个精准的库仑计量器负责对流经位于电池正端子和负载或充电器之间的一个检测电阻器电流进行积分运算。电池电压、电流和温度利用一个内部14位无延迟增量累加(No Latency TM) ADC来测量。测量结果被存储于可通过内置I2C / SMBus接口进行存取的内部寄存器中。LTC2943具有针对所有4种测量物理量的可编程高门限和低门限。如果超过了某个编程门限,则该器件将采用SMBus警报协议或通过在内部状态寄存器中设定一个标记来传送警报信号。LTC2943仅需采用单个低阻

    3、值检测电阻器以设定测量电流范围。应用 电动工具 电动自行车 便携式医疗设备 视频摄像机程序:#include #include #include Linduino.h#include LT_I2C.h#include UserInterface.h#include QuikEval_EEPROM.h#include LTC2943.h#include / Function Declarationvoid print_title(); / Print the title blockvoid print_prompt(); / Print the Promptvoid store_alert_se

    4、ttings(); / Store the alert settings to the EEPROMint8_t restore_alert_settings(); / Read the alert settings from EEPROM#define AUTOMATIC_MODE_DISPLAY_DELAY 1000 /! The delay between readings in automatic mode#define SCAN_MODE_DISPLAY_DELAY 10000 /! The delay between readings in scan modeconst float

    5、 resistor = .100; /! resistor value on demo board/ Error stringconst char ack_error = Error: No Acknowledge. Check I2C Address.; /! Error message/ Global variablesstatic int8_t demo_board_connected; /! Set to 1 if the board is connectedstatic uint8_t alert_code = 0; /! Value stored or read from ALER

    6、T register. Shared between loop() and restore_alert_settings()/! Initialize Linduinovoid setup() char demo_name = DC1812; /! Demo Board Name stored in QuikEval EEPROM quikeval_I2C_init(); /! Configure the EEPROM I2C port for 100kHz quikeval_I2C_connect(); /! Connects to main I2C port Serial.begin(11

    7、5200); /! Initialize the serial port to the PC print_title(); demo_board_connected = discover_demo_board(demo_name); if (demo_board_connected) print_prompt(); else demo_board_connected = true; Serial.println(Did not read ID String, attempting to proceed anyway.nPlease ensure I2C lines of Linduino ar

    8、e connected to the LTC device); /! Repeats Linduino loopvoid loop() int8_t ack = 0; /! I2C acknowledge indicator static uint8_t user_command; /! The user input command static uint8_t mAh_or_Coulombs = 0; static uint8_t celcius_or_kelvin = 0; static uint16_t prescalar_mode = LTC2943_PRESCALAR_M_4096;

    9、 static uint16_t prescalarValue = 4096; static uint16_t alcc_mode = LTC2943_ALERT_MODE; if (demo_board_connected) /! Do nothing if the demo board is not connected if (Serial.available() /! Do nothing if serial is not available user_command = read_int(); /! Read user input command if (user_command !=

    10、 m) Serial.println(user_command); Serial.println(); ack = 0; switch (user_command) /! Prints the appropriate submenu case 1: ack |= menu_1_automatic_mode(mAh_or_Coulombs, celcius_or_kelvin, prescalar_mode, prescalarValue, alcc_mode); /! Automatic Mode break; case 2: ack |= menu_2_scan_mode(mAh_or_Co

    11、ulombs, celcius_or_kelvin, prescalar_mode, prescalarValue, alcc_mode); /! Scan Mode break; case 3: ack |= menu_3_manual_mode(mAh_or_Coulombs, celcius_or_kelvin, prescalar_mode, prescalarValue, alcc_mode); /! Manual Mode break; case 4: ack |= menu_4_sleep_mode(mAh_or_Coulombs, prescalar_mode, prescal

    12、arValue, alcc_mode); /! Sleep Mode break; case 5: ack |= menu_5_shutdown_mode(); /! Shutdown Mode break; case 6: ack |= menu_6_settings(&mAh_or_Coulombs, &celcius_or_kelvin, &prescalar_mode, &prescalarValue, &alcc_mode); /! Settings Mode break; if (ack != 0) /! If ack is not recieved print an error.

    13、 Serial.println(ack_error); Serial.print(F(*); print_prompt(); / Function Definitions/! Print the title blockvoid print_title() Serial.println(F(n*); Serial.print(F(* DC1812A Demonstration Program *n); Serial.print(F(* *n); Serial.print(F(* This program communicates with the LTC2943 Multicell Coulom

    14、b *n); Serial.print(F(* Counter found on the DC1812A demo board. *n); Serial.print(F(* Set the baud rate to 115200 and select the newline terminator.*n); Serial.print(F(* *n); Serial.print(F(*n);/! Print the Promptvoid print_prompt() Serial.print(F(n1-Automatic Moden); Serial.print(F(2-Scan Moden); Serial.print(F(3-Manual Moden); Serial.print(F(4-Sleep Moden); Seri


    注意事项

    本文(LTC具温度电压和电流测量功能的多节电池电量测量芯片.docx)为本站会员主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2022 冰点文档网站版权所有

    经营许可证编号:鄂ICP备2022015515号-1

    收起
    展开