智能電池操作說明_第1頁
智能電池操作說明_第2頁
智能電池操作說明_第3頁
智能電池操作說明_第4頁
智能電池操作說明_第5頁
全文預(yù)覽已結(jié)束

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

3~4串智能電池組一、接口說明SMBC—1,SMBD::M注意事項:使用時確保電池處于開機狀態(tài),且設(shè)備供電是由電池供電;二、SMBU數(shù)據(jù)讀取操作簡要說明智能電池:地址:0x16(7bit模式)最低位(bitO)0:寫1:讀讀數(shù)據(jù)格式:起始+地址(寫(0x16))+命令+重復(fù)起始+地址(讀0x17)+(讀參數(shù)2個)+PEC(1字節(jié))+End所有數(shù)據(jù)都為低字節(jié)在前如讀容量百分比,命令為OxOF,讀取數(shù)據(jù)長度為2字節(jié)起始+0x16(寫)+0x08+重復(fù)起始+0x17(寫)+DataL(讀)+DataH(讀)+PEC(1字節(jié)讀)+End協(xié)議格式如下圖:

171「811了11些—1S_SgpAddrEEEMr|AConur呂ndccxieA_S_sinveAdch?ES£RdA|p在亡呂ByteLowA_二81上□1【〕社日日勺飪Higkb”HC_]A|p1SMBU群細操作規(guī)范可以參考“smbus系統(tǒng)管理總線規(guī)范”SMBus通訊協(xié)議指令集見附表,通訊協(xié)議見附件;三、使用注意事項及建議1、建議SMBUS訊速率:50-100K;2、通信接口,不能和電池的B+,B-有短接現(xiàn)象;四、PEC表及校驗過程說明/**********************************************************************************PEC校驗表土業(yè)女女女業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)業(yè)個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個個*******************/ucharconstPectable[]=(*******************/0x00,0x07,0x0E,0x09,0x1C,0x1B,0x12,0x15,0x38,0x3F,0x36,0x31,0x24,0x23,0x2A,0x2D,0x70,0x77,0x7E,0x79,0x6C,0x6B,0x62,0x65,0x48,0x4F,0x46,0x41,0x54,0x53,0x5A,0x5D,0xE0,0xE7,0xEE,0xE9,0xFC,0xFB,0xF2,0xF5,0xD8,0xDF,0xD6,0xD1,0xC4,0xC3,0xCA,0xCD,0x90,0x97,0x9E,0x99,0x8C,0x8B,0x82,0x85,0xA8,0xAF,0xA6,0xA1,0xB4,0xB3,0xBA,0xBD,0xC7,0xC0,0xC9,0xCE,0xDB,0xDC,0xD5,0xD2,0xFF,0xF8,0xF1,0xF6,0xE3,0xE4,0xED,0xEA,0xB7,0xB0,0xB9,0xBE,0xAB,0xAC,0xA5,0xA2,0x8F,0x88,0x81,0x86,0x93,0x94,0x9D,0x9A,0x27,0x20,0x29,0x2E,0x3B,0x3C,0x35,0x32,0x1F,0x18,0x11,0x16,0x03,0x04,0x0D,0x0A,0x57,0x50,0x59,0x5E,0x4B,0x4C,0x45,0x42,0x6F,0x68,0x61,0x66,0x73,0x74,0x7D,0x7A,0x89,0x8E,0x87,0x80,0x95,0x92,0x9B,0x9C,0xB1,0xB6,0xBF,0xB8,0xAD,0xAA,0xA3,0xA4,0xF9,0xFE,0xF7,0xF0,0xE5,0xE2,0xEB,0xEC,0xC1,0xC6,0xCF,0xC8,0xDD,0xDA,0xD3,0xD4,0x69,0x6E,0x67,0x60,0x75,0x72,0x7B,0x7C,0x51,0x56,0x5F,0x58,0x4D,0x4A,0x43,0x44,0x19,0x1E,0x17,0x10,0x05,0x02,0x0B,0x0C,0x21,0x26,0x2F,0x28,0x3D,0x3A,0x33,0x34,0x4E,0x49,0x40,0x47,0x52,0x55,0x5C,0x5B,0x76,0x71,0x78,0x7F,0x6A,0x6D,0x64,0x63,0x3E,0x39,0x30,0x37,0x22,0x25,0x2C,0x2B,0x06,0x01,0x08,0x0F,0x1A,0x1D,0x14,0x13,0xAE,0xA9,0xA0,0xA7,0xB2,0xB5,0xBC,0xBB,0x96,0x91,0x98,0x9F,0x8A,0x8D,0x84,0x83,0xDE,0xD9,0xD0,0xD7,0xC2,0xC5,0xCC,0xCB,0xE6,0xE1,0xE8,0xEF,0xFA,0xFD,0xF4,0xF3};智能電池PEC校驗過程:從發(fā)送‘從機地址'開始計算知道數(shù)據(jù)數(shù)據(jù)讀取結(jié)束,最后一個字節(jié)數(shù)據(jù)為PEC校驗;例如:讀取剩余容量百分比讀取過程;PEC初值必須為0;PEC=0;發(fā)送從機地址:0x16PEC=Pectable[PEC八0x16];發(fā)送命令:0x0F//剩余容量PEC=Pectable[PEC八0x0F];發(fā)送重復(fù)起始及讀從機地址:0X17PEC=Pectable[PEC八0X17];讀取數(shù)據(jù):Data1PEC=Pectable[PEC八Data1];讀取數(shù)據(jù):Data2PEC=Pectable[PEC八Data2];讀取PEC設(shè)備反饋PEC通過CPU端計算的PEC和設(shè)備反饋的PEG?行比較,可以確認本次通信的數(shù)據(jù)是否準確無誤;確保獲取的數(shù)據(jù)準確性。附一:電池組數(shù)據(jù)指令集

AverageTimeToEmpty—平均放電時間0X12讀2根據(jù)平均電流預(yù)測剩余時間分鐘AverageTimeToFull充滿時間0X13根據(jù)平均電流預(yù)測剩余時間分鐘ChargingCurrent充電電流0X14充電電流mAChargingVoltage充電電壓0X15充電電壓mVCycleCount循環(huán)次數(shù)0X17周期整數(shù)DesignCapacity設(shè)計容量0X18

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論