{ "message_name": "CCUStateFbMsg", "protocol_id": "0x0041", "endianness": "little", "fields": [ { "name": "start1", "offset": 0, "length": 1, "type": "uint8", "value": "0x20", "description": "起始字节1" }, { "name": "start2", "offset": 1, "length": 1, "type": "uint8", "value": "0x20", "description": "起始字节2" }, { "name": "id", "offset": 2, "length": 2, "type": "uint16", "value": "0x0041", "description": "消息ID" }, { "name": "length", "offset": 4, "length": 2, "type": "uint16", "dynamic": true, "description": "数据长度(自动计算)" }, { "name": "currentWorkCondition", "offset": 6, "length": 1, "type": "uint8", "enum": {"0x00":"待机","0x01":"运行","0x02":"故障"}, "description": "当前工作状态" }, { "name": "fcuState", "offset": 7, "length": 1, "type": "uint8", "unit": "%", "description": "燃料电池状态" }, { "name": "fcuFaultLeve", "offset": 8, "length": 1, "type": "uint8", "description": "故障等级" }, { "name": "powerLimit", "offset": 9, "length": 4, "type": "float32", "unit": "kW", "description": "功率限制值" }, { "name": "totalPowerGeneration", "offset": 13, "length": 4, "type": "float32", "unit": "kWh", "description": "总发电量" }, { "name": "ch4o", "offset": 17, "length": 4, "type": "float32", "unit": "ppm", "description": "甲醇浓度" }, { "name": "o2", "offset": 21, "length": 4, "type": "float32", "unit": "%", "description": "氧气浓度" }, { "name": "fcuVoltage", "offset": 25, "length": 4, "type": "float32", "unit": "V", "description": "燃料电池电压" }, { "name": "fcuCurrent", "offset": 29, "length": 4, "type": "float32", "unit": "A", "description": "燃料电池电流" }, { "name": "o2Level", "offset": 33, "length": 4, "type": "float32", "unit": "%", "description": "氧气含量" }, { "name": "placeholder1", "offset": 37, "length": 4, "type": "float32", "description": "预留字段1" }, { "name": "exchangerTemperature", "offset": 41, "length": 4, "type": "float32", "unit": "°C", "description": "换热器温度" }, { "name": "fcuOutPower", "offset": 45, "length": 4, "type": "float32", "unit": "kW", "description": "燃料电池输出功率" }, { "name": "fcuOutIns", "offset": 49, "length": 4, "type": "float32", "unit": "kΩ", "description": "绝缘电阻" }, { "name": "fcuVoltageIns", "offset": 53, "length": 4, "type": "float32", "unit": "V", "description": "绝缘监测电压" }, { "name": "fcuVoltagePower", "offset": 57, "length": 4, "type": "float32", "unit": "V", "description": "功率电压" }, { "name": "fcuCurrentIns", "offset": 61, "length": 4, "type": "float32", "unit": "A", "description": "绝缘监测电流" }, { "name": "fcuCurrentPower", "offset": 65, "length": 4, "type": "float32", "unit": "A", "description": "功率电流" }, { "name": "h2Concentration1", "offset": 69, "length": 4, "type": "float32", "unit": "ppm", "description": "氢气浓度1" }, { "name": "h2Concentration2", "offset": 73, "length": 4, "type": "float32", "unit": "ppm", "description": "氢气浓度2" }, { "name": "o2Concentration1", "offset": 77, "length": 4, "type": "float32", "unit": "%", "description": "氧气浓度1" }, { "name": "o2Concentration2", "offset": 81, "length": 4, "type": "float32", "unit": "%", "description": "氧气浓度2" }, { "name": "ch4oConcentration1", "offset": 85, "length": 4, "type": "float32", "unit": "ppm", "description": "甲醇浓度1" }, { "name": "ch4oConcentration2", "offset": 89, "length": 4, "type": "float32", "unit": "ppm", "description": "甲醇浓度2" }, { "name": "backpressure1", "offset": 93, "length": 4, "type": "float32", "unit": "kPa", "description": "背压1" }, { "name": "backpressure2", "offset": 97, "length": 4, "type": "float32", "unit": "kPa", "description": "背压2" }, { "name": "flameDetection", "offset": 101, "length": 1, "type": "uint8", "description": "火焰检测状态" }, { "name": "fcuGZ_1L", "offset": 102, "length": 1, "type": "uint8", "description": "故障字1低字节" }, { "name": "fcuGZ_1H", "offset": 103, "length": 1, "type": "uint8", "description": "故障字1高字节" }, { "name": "fcuGZ_2L", "offset": 104, "length": 1, "type": "uint8", "description": "故障字2低字节" }, { "name": "fcuGZ_2H", "offset": 105, "length": 1, "type": "uint8", "description": "故障字2高字节" }, { "name": "fcuGZ_3L", "offset": 106, "length": 1, "type": "uint8", "description": "故障字3低字节" }, { "name": "fcuGZ_3H", "offset": 107, "length": 1, "type": "uint8", "description": "故障字3高字节" }, { "name": "insPosRelayState", "offset": 108, "length": 1, "type": "uint8", "description": "绝缘正极继电器状态" }, { "name": "insNegRelayState", "offset": 109, "length": 1, "type": "uint8", "description": "绝缘负极继电器状态" }, { "name": "powerPosRelayState", "offset": 110, "length": 1, "type": "uint8", "description": "功率正极继电器状态" }, { "name": "powerNegRelayState", "offset": 111, "length": 1, "type": "uint8", "description": "功率负极继电器状态" }, { "name": "insBatLimit", "offset": 112, "length": 2, "type": "uint16", "unit": "A", "description": "绝缘电池电流限制" }, { "name": "powerBatLimit", "offset": 114, "length": 2, "type": "uint16", "unit": "A", "description": "功率电池电流限制" }, { "name": "insBatSoc", "offset": 116, "length": 1, "type": "uint8", "unit": "%", "description": "绝缘电池SOC" }, { "name": "powerBatSoc", "offset": 117, "length": 1, "type": "uint8", "unit": "%", "description": "功率电池SOC" }, { "name": "insBatTotalElectricity", "offset": 118, "length": 2, "type": "uint16", "unit": "kWh", "description": "绝缘电池总电量" }, { "name": "powerBatTotalElectricity", "offset": 120, "length": 2, "type": "uint16", "unit": "kWh", "description": "功率电池总电量" }, { "name": "insBatCurrentElectricity", "offset": 122, "length": 2, "type": "uint16", "unit": "A", "description": "绝缘电池当前电流" }, { "name": "powerBatCurrentElectricity", "offset": 124, "length": 2, "type": "uint16", "unit": "A", "description": "功率电池当前电流" }, { "name": "insChargeState", "offset": 126, "length": 1, "type": "uint8", "description": "绝缘电池充电状态" }, { "name": "powerChargeState", "offset": 127, "length": 1, "type": "uint8", "description": "功率电池充电状态" }, { "name": "insLinkVoltage", "offset": 128, "length": 2, "type": "uint16", "unit": "V", "description": "绝缘链路电压" }, { "name": "insPackVoltage", "offset": 130, "length": 2, "type": "uint16", "unit": "V", "description": "绝缘电池组电压" }, { "name": "insCurrent", "offset": 132, "length": 2, "type": "uint16", "unit": "A", "description": "绝缘电流" }, { "name": "insPosInsulationResistance", "offset": 134, "length": 2, "type": "uint16", "unit": "kΩ", "description": "正极绝缘电阻" }, { "name": "insNegInsulationResistance", "offset": 136, "length": 2, "type": "uint16", "unit": "kΩ", "description": "负极绝缘电阻" }, { "name": "powerLinkVoltage", "offset": 138, "length": 2, "type": "uint16", "unit": "V", "description": "功率链路电压" }, { "name": "powerPackVoltage", "offset": 140, "length": 2, "type": "uint16", "unit": "V", "description": "功率电池组电压" }, { "name": "powerCurrent", "offset": 142, "length": 2, "type": "uint16", "unit": "A", "description": "功率电流" }, { "name": "powerPosInsulationResistance", "offset": 144, "length": 2, "type": "uint16", "unit": "kΩ", "description": "功率正极绝缘电阻" }, { "name": "powerNegInsulationResistance", "offset": 146, "length": 2, "type": "uint16", "unit": "kΩ", "description": "功率负极绝缘电阻" }, { "name": "insEmergencyStatusWord", "offset": 148, "length": 1, "type": "uint8", "description": "绝缘紧急状态字" }, { "name": "powerEmergencyStatusWord", "offset": 149, "length": 1, "type": "uint8", "description": "功率紧急状态字" }, { "name": "insAlarmIdentificationWord", "offset": 150, "length": 1, "type": "uint8", "description": "绝缘报警标识字" }, { "name": "powerAlarmIdentificationWord", "offset": 151, "length": 1, "type": "uint8", "description": "功率报警标识字" }, { "name": "insCurrentSocHold1", "offset": 152, "length": 1, "type": "uint8", "unit": "%", "description": "绝缘电流SOC保持1" }, { "name": "insCurrentSocHold2", "offset": 153, "length": 1, "type": "uint8", "unit": "%", "description": "绝缘电流SOC保持2" }, { "name": "insCurrentSocHold3", "offset": 154, "length": 1, "type": "uint8", "unit": "%", "description": "绝缘电流SOC保持3" }, { "name": "fcuCurrentToInsLimit1", "offset": 155, "length": 1, "type": "uint8", "unit": "A", "description": "FCU到绝缘限制1" }, { "name": "fcuCurrentToinsLimit2", "offset": 156, "length": 1, "type": "uint8", "unit": "A", "description": "FCU到绝缘限制2" }, { "name": "powerCurrentSocHold1", "offset": 157, "length": 1, "type": "uint8", "unit": "%", "description": "功率电流SOC保持1" }, { "name": "powerCurrentSocHold2", "offset": 158, "length": 1, "type": "uint8", "unit": "%", "description": "功率电流SOC保持2" }, { "name": "powerCurrentSocHold3", "offset": 159, "length": 1, "type": "uint8", "unit": "%", "description": "功率电流SOC保持3" }, { "name": "powerCurrentToInsLimit1", "offset": 160, "length": 1, "type": "uint8", "unit": "A", "description": "功率到绝缘限制1" }, { "name": "powerCurrentToinsLimit2", "offset": 161, "length": 1, "type": "uint8", "unit": "A", "description": "功率到绝缘限制2" }, { "name": "placeholder2", "offset": 162, "length": 4, "type": "float32", "description": "预留字段2" }, { "name": "placeholder3", "offset": 166, "length": 4, "type": "float32", "description": "预留字段3" }, { "name": "placeholder4", "offset": 170, "length": 4, "type": "float32", "description": "预留字段4" }, { "name": "placeholder5", "offset": 174, "length": 4, "type": "float32", "description": "预留字段5" }, { "name": "checkCode", "offset": 178, "length": 4, "type": "uint32", "description": "校验码(从start1到placeholder5的字节累加和)" } ], "metadata": { "total_length": 182, "data_section_start": 6, "data_section_end": 178, "checksum_range": "0-178", "float_precision": "IEEE-754单精度", "reserved_fields": [ "placeholder1", "placeholder2", "placeholder3", "placeholder4", "placeholder5" ] } }