Select Zero Gen3 logfile Converter




Click to download decoded file.

The contents of the entries in the logs are as follows:
Each entry in BMS log and MBB log has a 13 byte header:
BytesContentExample
10xB2178
1Length of entry125
1Type of entry251
4unix timestamp1770258390
4milliseconds354000
1Log entry counter74
1Always '1'1

For both BMS log and MMB log the first entry is of type 251 which is mostly text
(Batt serial, Board part num, Board serial, Firmware part num, Firmware build number, Firmware build hash, Firmware revision, VIN, model type)
BMS log and MMB log have text entries is of type 253
BMS log has binary entry types 75, 76 and 77 which are of length 52, 70 and 78 respectively.
Sometimes there are one or two extra bytes of value 0xFE which can be ignored (the entry length is higher then)
Byte sequences of 0x00F0FF00 are errors. Some values can be restored
(length of entry is number of bytes between 0xB2 bytes, time goes up steadily, log entry counter increments by 1, …)

Entry type 77 contains the same fields as 76 plus 8 additional bytes
Entry type 76 contains the same fields as 75 plus 18 additional bytes
Structure is as follows (after header)
BytesContentExample
4Flags (only for type 77)0
4Flags (only for type 76 and77)0
4Flags0
4Flags0
2Cell voltage MIN mV3750
2Cell OCV low mV3912
2Cell voltage MAX mV3771
1SOC67
4Current (mA)91638
1BMS state code11
1Constant 0x3351
11B Flag (0x00=normal, 0x0C=transitional)0
11B Load flag (0x78=idle, 0xFF=active)255
11B Bus engaged (0x01=load, 0x00=idle)1
44B Reserved/padding (mostly 0)0
44B Reserved/padding (mostly 0)0
11B Report mode (1=std, 3=min, 7=active)7
4Voltage105387
1Flag1
1Flag10
1? (only for type 76 and77)13
1? (only for type 76 and77)14
1? (only for type 76 and77)93
1? (only for type 76 and77)208
1? (only for type 76 and77)3
1? (only for type 76 and77)152
1? (only for type 76 and77)0
4(rising while RUN) (only for type 76 and77)134901
1? (only for type 76 and77)0
1? (only for type 76 and77)21
1? (only for type 76 and77)0
4(rising while RUN and CHARGE) (only for type 77)134830
MBB log has entry types 72, 73, 81, 82, 83, 84

Type 72 ocurs while charging every 640 seconds.
I get two entries: one for the standard charger and one for the rapid charger
BytesContentExample
132
154
1107
187
132
10
10
10
10
10
1128
10
4OUT mV,105450
1OUT A,24
10
155
10
18
1201
11
10
1CMD IN,12
110
1IN V,226
1IN A,11
10
1In Hz50
123
1CANid16
1Version200
10
4Serial Nr2314135
110
10
4113950
1CMD OUT,37
10
112
10
11
Type 73 ocurs while charging every 640 seconds between the type 72 entries.
BytesContentExample
4Max_Charge_Voltage mV117600
1?71
1?0
1Charge target?80
1?30
1?0
1?60
1?0
1?0
1?0
1?0
1?0
1?0
1?0
1?0
1?0
1?1
1?12
4Storage_Voltage mV106000
When the bike is turned off entries 81 and 84 appear approximately every hour. When the bike is in state "RUN" there are entries for every minute in the following order: 81 and 84, 82, 81 and 84, 83, … Type 83 (length 106 bytes) is type 82 plus 14 bytes. Type 83 is type 81 plus 17 bytes.
BytesContentExample
4Flags0
4Flags0
4Flags0
4Flags0
4DC_Bus_Voltage mV101000
4DC_Bus_Current mA20200
4n rpm2112
1SOC %45
4U (pack_voltage_mv)100845
4I mA15618
5StateRUN
40
4T_ambient °C * 100760
4Motor_Temp44
4Inverter_Temp18
4H temp (cell)14
4L temp (cell)12
412V_Battery microV13117160
2257
4ODO km * 10304552
4Speed (mm/h = km/h * 1 000 000)53268750
2Est. Range km * 1007889
10
40
40
20
Type 84:
4torque microNm22200000
4current A111
4counter67
4discharge power W104422