diff --git a/SC24/MCB.json b/SC24/MCB.json index 29f78c5..8181822 100644 --- a/SC24/MCB.json +++ b/SC24/MCB.json @@ -1,5 +1,5 @@ { - "version": "_", + "version": "0.2", "nodes": { "BMS_LV": { "description": "Battery-Management-System Low-Voltage ECU." @@ -1548,6 +1548,30 @@ } } }, + "DSPACE__signals": { + "message-id_dec": 73, + "id": 1175, + "length": 1, + "sender": "DSPACE", + "cycle_time": 100, + "send_type": "Cyclic", + "signals": { + "HVBAT_soc": { + "description": "HV Battery State Of Charge percentage", + "start_bit": 0, + "size": 8, + "endianness": "little", + "signed": false, + "unit": "%", + "receivers": [ + "DASH", + "SCANNER" + ], + "max": 0, + "min": 100 + } + } + }, "DSPACE__fsmStates": { "message-id_dec": 74, "id": 1191, @@ -3400,6 +3424,24 @@ "max": 4294970000 } } + }, + "IRTS_placeholderMessage": { + "message-id_dec": 112, + "id": 1800, + "length": 8, + "sender": "EXTRA_NODE", + "description": "IRTS message placeholder TODO: update this message when you have the specification", + "signals": { + "IRTS_signalPlaceholder": { + "start_bit": 0, + "size": 64, + "endianness": "little", + "scale": 1, + "offset": 0, + "min": 0, + "max": 65535 + } + } } } -} +} \ No newline at end of file diff --git a/SC24/MCB_og.json b/SC24/MCB_og.json deleted file mode 100644 index 18230a7..0000000 --- a/SC24/MCB_og.json +++ /dev/null @@ -1,1673 +0,0 @@ -{ - "version": "0.1", - "nodes": { - "bms_lv": { - "description": "battery-management-system low-voltage" - }, - "dash": { - "description": "dashboard ECU" - }, - "dspace": { - "description": "automotive ECU" - }, - "sens_front": { - "description": "sensorboard front ECU" - }, - "sens_rear": { - "description": "sensorboard rear ECU" - }, - "tlb_bat": { - "description": "tsal-latch-board battery ECU" - } - }, - "general_attributes": {}, - "node_attributes": {}, - "message_attributes": { - "MsgPeriodMS": { - "int": { - "default": 0, - "from": 0, - "to": 65535 - } - } - }, - "signal_attributes": { - "GenSigStartValue": { - "float": { - "default": 0, - "from": 0, - "to": 100000000000 - } - } - }, - "messages": { - "BMSLV_Helo": { - "id": 20, - "length": 8, - "sender": "bms_lv", - "period_ms" : 0, - "signals": { - "time": { - "start_bit": 0, - "size": 64, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 18446744073709551615, - "receivers": ["dspace"] - } - } - }, - "BMSLV_BatteryPackGeneral": { - "id": 258, - "length": 6, - "sender": "bms_lv", - "period_ms" : 100, - "signals": { - "Current_Sensor_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 0.076, - "offset": 0, - "min": 0, - "max": 4980.66, - "receivers": [ "dspace" ] - }, - "LV_Total_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 0.267, - "offset": 14000, - "min": 0, - "max": 17497.845, - "receivers": [ "dspace" ] - }, - "LV_Total_Voltage_Sum_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 0.267, - "offset": 14000, - "min": 0, - "max": 17497.845, - "receivers": [ "dspace" ] - } - } - }, - "BMSLV_RelayOverride": { - "id": 255, - "length": 2, - "sender": "dspace", - "period_ms" : 0, - "signals": { - "password": { - "start_bit": 0, - "size": 15, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": ["bms_lv"] - }, - "close_relay": { - "start_bit": 15, - "size": 1, - "signed": false, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": ["bms_lv"] - } - } - }, - "BMSLV_CellVoltage1": { - "id": 256, - "length": 8, - "sender": "bms_lv", - "period_ms" : 100, - "signals": { - "Cell_1_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - }, - "Cell_2_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - }, - "Cell_3_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - }, - "Cell_4_Voltage_mV": { - "start_bit": 48, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - } - } - }, - "BMSLV_CellVoltage2": { - "id": 257, - "length": 6, - "sender": "bms_lv", - "period_ms" : 100, - "signals": { - "Cell_5_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - }, - "Cell_6_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - }, - "Cell_7_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 0.038, - "offset": 2000, - "min": 0, - "max": 2490.33, - "receivers": [ "dspace" ] - } - } - }, - "BMSLV_Status": { - "id": 259, - "length": 4, - "sender": "bms_lv", - "period_ms" : 100, - "signals": { - "isRelayOpen": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell1_OV": { - "start_bit": 1, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell2_OV": { - "start_bit": 2, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell3_OV": { - "start_bit": 3, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell4_OV": { - "start_bit": 4, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell5_OV": { - "start_bit": 5, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell6_OV": { - "start_bit": 6, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell7_OV": { - "start_bit": 7, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell1_UV": { - "start_bit": 8, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell2_UV": { - "start_bit": 9, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell3_UV": { - "start_bit": 10, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell4_UV": { - "start_bit": 11, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell5_UV": { - "start_bit": 12, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell6_UV": { - "start_bit": 13, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "cell7_UV": { - "start_bit": 14, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp1_OT": { - "start_bit": 15, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp2_OT": { - "start_bit": 16, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp3_OT": { - "start_bit": 17, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp4_OT": { - "start_bit": 18, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp5_OT": { - "start_bit": 19, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp6_OT": { - "start_bit": 20, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp7_OT": { - "start_bit": 21, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp8_OT": { - "start_bit": 22, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp9_OT": { - "start_bit": 23, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp10_OT": { - "start_bit": 24, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp11_OT": { - "start_bit": 25, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "temp12_OT": { - "start_bit": 26, - "size": 1, - "endianness": "little", - "signed": false, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - } - } - }, - "BMSLV_Temp1": { - "id": 260, - "length": 8, - "sender": "bms_lv", - "period_ms" : 2000, - "signals": { - "NTC1_Resistance": { - "start_bit": 1, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC2_Resistance": { - "start_bit": 11, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC3_Resistance": { - "start_bit": 21, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC4_Resistance": { - "start_bit": 31, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC5_Resistance": { - "start_bit": 41, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC6_Resistance": { - "start_bit": 54, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - } - } - }, - "BMSLV_Temp2": { - "id": 261, - "length": 8, - "sender": "bms_lv", - "period_ms" : 2000, - "signals": { - "NTC1_Resistance": { - "start_bit": 1, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC2_Resistance": { - "start_bit": 11, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC3_Resistance": { - "start_bit": 21, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC4_Resistance": { - "start_bit": 31, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC5_Resistance": { - "start_bit": 41, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC6_Resistance": { - "start_bit": 54, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - } - } - }, - "Sens_Front_Helo": { - "id": 21, - "length": 8, - "sender": "bms_lv", - "period_ms" : 0, - "signals": { - "time": { - "start_bit": 0, - "size": 64, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 18446744073709551615, - "receivers": ["dspace"] - } - } - }, - "Sens_Front_1": { - "id": 5, - "length": 8, - "sender": "sens_front", - "period_ms" : 10, - "signals": { - "Brake_Straingauge_Voltage_mV": { - "start_bit": 48, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Steering_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Throttle_0_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Throttle_1_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Front_2": { - "id": 16, - "length": 6, - "sender": "sens_front", - "period_ms" : 10, - "signals": { - "BrakePressure_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Pot_FL_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Pot_FR_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Front_3": { - "id": 288, - "length": 8, - "sender": "sens_front", - "period_ms" : 10, - "signals": { - "Straingauge_PushFL_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Straingauge_PushFR_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Straingauge_TieFL_Voltage_mV": { - "start_bit": 48, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Straingauge_TieFR_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Front_NTC": { - "id": 1024, - "length": 8, - "sender": "sens_front", - "period_ms" : 10, - "signals": { - "NTC_1_Resistance": { - "start_bit": 0, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_2_Resistance": { - "start_bit": 10, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_3_Resistance": { - "start_bit": 20, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_4_Resistance": { - "start_bit": 30, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_Spare1_Resistance": { - "start_bit": 40, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_Spare2_Resistance": { - "start_bit": 50, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - } - } - }, - "Sens_Front_ShutdownStatus": { - "id": 49, - "length": 1, - "sender": "sens_front", - "period_ms" : 10, - "signals": { - "isShutClosed_postBOTS": { - "start_bit": 2, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postCockpit": { - "start_bit": 3, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postInertia": { - "start_bit": 1, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_preInertia": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Rear_Helo": { - "id": 22, - "length": 8, - "sender": "bms_lv", - "period_ms" : 10, - "signals": { - "time": { - "start_bit": 0, - "size": 64, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 18446744073709551615, - "receivers": ["dspace"] - } - } - }, - "Sens_Rear_1": { - "id": 17, - "length": 6, - "sender": "sens_rear", - "period_ms" : 10, - "signals": { - "BrakePressure_Rear_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Pot_RL_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Pot_RR_Voltage_RR": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Rear_2": { - "id": 1026, - "length": 4, - "sender": "sens_rear", - "period_ms" : 10, - "signals": { - "CoolingPressure_DX_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "CoolingPressure_SX_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Rear_3": { - "id": 289, - "length": 8, - "sender": "sens_rear", - "period_ms" : 10, - "signals": { - "Straingauge_PushRL_Voltage_mV": { - "start_bit": 32, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Straingauge_PushRR_Voltage_mV": { - "start_bit": 0, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Straingauge_TieRL_Voltage_mV": { - "start_bit": 48, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - }, - "Straingauge_TieRR_Voltage_mV": { - "start_bit": 16, - "size": 16, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 65535, - "receivers": [ "dspace" ] - } - } - }, - "Sens_Rear_NTC": { - "id": 1025, - "length": 8, - "sender": "sens_rear", - "period_ms" : 10, - "signals": { - "NTC_1_Resistance": { - "start_bit": 0, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_2_Resistance": { - "start_bit": 10, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_3_Resistance": { - "start_bit": 20, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_4_Resistance": { - "start_bit": 30, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_5_Resistance": { - "start_bit": 40, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - }, - "NTC_6_Resistance": { - "start_bit": 50, - "size": 10, - "endianness": "little", - "scale": 31.25, - "offset": 1000, - "min": 0, - "max": 31968.75, - "unit" : "Ohm", - "receivers": [ "dspace" ] - } - } - }, - "Sens_Rear_ShutdownStatus": { - "id": 48, - "length": 1, - "sender": "sens_rear", - "period_ms" : 10, - "signals": { - "isBSPDinError": { - "start_bit": 4, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postBSPD": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postInvFR": { - "start_bit": 3, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postInvMono": { - "start_bit": 2, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_preFunghi": { - "start_bit": 1, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - } - } - }, - "Steering_Helo": { - "id": 23, - "length": 8, - "sender": "bms_lv", - "period_ms" : 0, - "signals": { - "time": { - "start_bit": 0, - "size": 64, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 18446744073709551615, - "receivers": ["dspace"] - } - } - }, - "Steering_MotorControl_Debug": { - "id": 1280, - "length": 1, - "sender": "dash", - "signals": { - "FrontLeft_ON": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "FrontRight_ON": { - "start_bit": 1, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "RearLeft_ON": { - "start_bit": 2, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "RearRight_ON": { - "start_bit": 3, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - } - } - }, - "Steering_RTD": { - "id": 38, - "length": 1, - "sender": "dash", - "period_ms": 500, - "signals": { - "RTD_CMD": { - "start_bit": 0, - "size": 8, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 255, - "receivers": [ "dspace" ] - } - } - }, - "TLB_Battery_Helo": { - "id": 24, - "length": 8, - "sender": "bms_lv", - "period_ms" : 0, - "signals": { - "time": { - "start_bit": 0, - "size": 64, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 18446744073709551615, - "receivers": ["dspace"] - } - } - }, - "TLB_Battery_ShutStatus": { - "id": 18, - "length": 3, - "sender": "tlb_bat", - "period_ms" : 100, - "signals": { - "ShutdownADC_AIRsOpeningDelayCaps": { - "start_bit": 16, - "size": 8, - "endianness": "little", - "unit": "V", - "scale": 0.117, - "offset": 0, - "min": 0, - "max": 255, - "receivers": [ "dspace" ] - }, - "ShutdownADC_postSDPrechargeRelay": { - "start_bit": 8, - "size": 8, - "endianness": "little", - "unit": "V", - "scale": 0.117, - "offset": 0, - "min": 0, - "max": 255, - "receivers": [ "dspace" ] - }, - "isAMSErrorLatched": { - "start_bit": 4, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isIMDErrorLatched": { - "start_bit": 5, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isSdPrchRlyClosed": { - "start_bit": 6, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postAMSLatch": { - "start_bit": 1, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_postIMDLatch": { - "start_bit": 2, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutClosed_preAMS_IMD_Latch": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "isShutdownClosed_preTLBBattFinal": { - "start_bit": 3, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - } - } - }, - "TLB_Battery_TSALStatus": { - "id": 19, - "length": 3, - "sender": "tlb_bat", - "period_ms" : 100, - "signals": { - "Imp_isAIRNegImp_Present": { - "start_bit": 13, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "Imp_isAIRPosImp_Present": { - "start_bit": 12, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "Imp_isAnyImp_Latched": { - "start_bit": 16, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "Imp_isAnyImp_Present": { - "start_bit": 11, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "Imp_isDCBusVoltageImp_Present": { - "start_bit": 15, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "Imp_isRelayPrechargeImp_Present": { - "start_bit": 14, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "IntentionalState_AIRNeg": { - "start_bit": 6, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "IntentionalState_AIRPos": { - "start_bit": 5, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "IntentionalState_RelayPrecharge": { - "start_bit": 7, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "SCS_Short2GND_AirNeg": { - "start_bit": 9, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "SCS_Short2GND_AirPos": { - "start_bit": 8, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "SCS_isAnyShort2GND_Present": { - "start_bit": 10, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "TSAL_IsAIRNegClosed": { - "start_bit": 2, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "TSAL_IsRelayPrechargeClosed": { - "start_bit": 3, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "TSAL_isAIRPosClosed": { - "start_bit": 1, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "TSAL_isDCBusOver60V": { - "start_bit": 4, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - }, - "TSAL_isGreenON": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dspace" ] - } - } - }, - "dSpaxe_Helo": { - "id": 25, - "length": 8, - "sender": "bms_lv", - "period_ms" : 0, - "signals": { - "time": { - "start_bit": 0, - "size": 64, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 18446744073709551615, - "receivers": ["dspace"] - } - } - }, - "dSpace_PeripheralsCTRL": { - "id": 512, - "length": 3, - "sender": "dspace", - "signals": { - "BattHVFan_CTRL": { - "start_bit": 16, - "size": 8, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 255, - "receivers": [ "dash" ] - }, - "BrakeLightON_CTRL": { - "start_bit": 0, - "size": 1, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": 0, - "max": 1, - "receivers": [ "dash" ] - }, - "RadFAN_PWM_CTRL": { - "start_bit": 8, - "size": 8, - "endianness": "little", - "scale": 1, - "offset": 0, - "min": 0, - "max": 255, - "receivers": [ "dash" ] - } - } - }, - "dSpace_RTD_ACK": { - "id": 37, - "length": 1, - "sender": "dspace", - "signals": { - "RTD_FSM_STATE": { - "start_bit": 0, - "size": 8, - "endianness": "little", - "signed": true, - "scale": 1, - "offset": 0, - "min": -1, - "max": 6, - "receivers": [ "dash" ] - } - } - } - } -} diff --git a/SC24/infos.md b/SC24/infos.md index 7028502..541dffb 100644 --- a/SC24/infos.md +++ b/SC24/infos.md @@ -1,6 +1,24 @@ # INFOS +## ECU-IDS +The list of ECUs and their ids: +- TLB_BAT: 1 +- SB_FRONT: 2 +- SB_REAR: 3 +- BMS_LV: 4 +- DASH: 5 +- DIAG_TOOL: 6 +- DSPACE: 7 +- EXTRA_NODE: 8 `DON'T CHANGE THIS ECU-ID: KEEP IT AT 8 !` +Some ECUs have non modifiable can-ids because programmed at fabbrication/delivery, we put those here +- SCANNER: 9 +- TPMS: 10 +- IMU: 11 ## Criteria For Message-Id assignment Below values are in base 10 +### Blacklisted Message-ids (using ecu-id encoding) +- EXTRA-NODES, ECU-ID 8 (0x8) + - Message-id: 112 (0x70): IRTS sensors + ### High Priority high speed (1-50ms) ``` - Message IDs: 0-19 [20] @@ -32,6 +50,7 @@ Below values are in base 10 ``` - Message IDs: 70-99 [30] - 70: [all-ecus]_xcpTx + - 73: DSPACE_signals - 74: DSPACE_fsmStates - 75: BMS_LV-cellsStatus - 76: BMS_LV-status @@ -42,7 +61,7 @@ Below values are in base 10 ``` ### Low Priority ``` -- Message IDs: 100-127 [27] +- Message IDs: 100-127 [27] (exclude 112) - 100: [all-ecus]_hello - 101-102: BMS_LV_ntcResistance0/1 - 103: SB_FRONT-ntcResistance @@ -50,4 +69,5 @@ Below values are in base 10 - 105: DASH-appsRangeLimits - 106: DASH-carCommands - 107-108 : DSPACE-ledColors -``` \ No newline at end of file + - 112: BALCKLISTED see above +```