From dc554bfd7cde92426135518ac6747c34058f823e Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Wed, 10 Sep 2025 11:45:12 +0200 Subject: [PATCH 01/18] New socket json for auto generated code (testing needed) --- boards/VCU/VCU.json | 4 +++ boards/VCU/sockets.json | 55 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 boards/VCU/sockets.json diff --git a/boards/VCU/VCU.json b/boards/VCU/VCU.json index 86c75b8..58b8546 100644 --- a/boards/VCU/VCU.json +++ b/boards/VCU/VCU.json @@ -7,5 +7,9 @@ "packets": [ "orders.json", "packets.json" + ], + "sockets":[ + "sockets.json" ] + } \ No newline at end of file diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json new file mode 100644 index 0000000..c9ae043 --- /dev/null +++ b/boards/VCU/sockets.json @@ -0,0 +1,55 @@ +[ + { + "type": "ServerSocket", + "name": "control_station_tcp", + "port": 50500 + }, + + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip":"192.168.0.9", + "port": 50400 + }, + + { + "type": "Socket", + "name": "pcu_tcp", + "local_port": 50501, + "remote_ip": "192.168.1.5", + "remote_port": 50500 + + + }, + + { + "type": "DatagramSocket", + "name": "pcu_udp", + "remote_ip":"192.168.1.5", + "port": 50402 + }, + + + { + "type": "Socket", + "name": "hvscu_tcp", + "local_port": 50502, + "remote_ip": "192.168.1.7", + "remote_port": 50500 + + + }, + + { + "type": "DatagramSocket", + "name": "hvscu_udp", + "remote_ip":"192.168.1.7", + "port": 50403 + } + + + + + + +] From 2385f5a044102a5e1add89f331ab791e6cd3667d Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Wed, 10 Sep 2025 16:43:30 +0200 Subject: [PATCH 02/18] Added period and socket variables to packets.json on VCU --- boards/VCU/packets.json | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index f98bc4f..062db31 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -6,7 +6,9 @@ "general_state", "operational_state" ], - "id": 249 + "id": 249, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -18,7 +20,9 @@ "reed4", "all_reeds" ], - "id": 251 + "id": 251, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -27,7 +31,9 @@ "flow1", "flow2" ], - "id": 250 + "id": 250, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -36,7 +42,9 @@ "regulator_1_pressure", "regulator_2_pressure" ], - "id": 252 + "id": 252, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -47,7 +55,9 @@ "pressure_brakes", "pressure_capsule" ], - "id": 253 + "id": 253, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -56,7 +66,9 @@ "tape_enable_output", "emergency_tape" ], - "id": 254 + "id": 254, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -64,7 +76,9 @@ "variables": [ "SDC" ], - "id": 255 + "id": 255, + "period": 16.67, + "socket": "control_station_udp" }, { "type": "data", @@ -72,6 +86,8 @@ "variables": [ "state" ], - "id": 65 + "id": 65, + "period": 16.67, + "socket": "pcu_udp" } ] \ No newline at end of file From 76983184920d361374d8fb70e2482123cf1a78d2 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Wed, 10 Sep 2025 20:09:56 +0200 Subject: [PATCH 03/18] Changed period to period_ms --- boards/VCU/packets.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 062db31..a7f7fb2 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -7,7 +7,7 @@ "operational_state" ], "id": 249, - "period": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { @@ -21,7 +21,7 @@ "all_reeds" ], "id": 251, - "period": 16.67, + "period_ms_ms": 16.67, "socket": "control_station_udp" }, { @@ -32,7 +32,7 @@ "flow2" ], "id": 250, - "period": 16.67, + "period_ms_ms": 16.67, "socket": "control_station_udp" }, { @@ -43,7 +43,7 @@ "regulator_2_pressure" ], "id": 252, - "period": 16.67, + "period_ms_ms": 16.67, "socket": "control_station_udp" }, { @@ -56,7 +56,7 @@ "pressure_capsule" ], "id": 253, - "period": 16.67, + "period_ms_ms": 16.67, "socket": "control_station_udp" }, { @@ -67,7 +67,7 @@ "emergency_tape" ], "id": 254, - "period": 16.67, + "period_ms_ms": 16.67, "socket": "control_station_udp" }, { @@ -77,7 +77,7 @@ "SDC" ], "id": 255, - "period": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { @@ -87,7 +87,7 @@ "state" ], "id": 65, - "period": 16.67, + "period_ms": 16.67, "socket": "pcu_udp" } ] \ No newline at end of file From 3abbb547a8c82cb61f29a98b2441be8d36857747 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Wed, 10 Sep 2025 20:25:22 +0200 Subject: [PATCH 04/18] Testeo paquetes para la generacion de codigo automatico --- VCU_original/VCU.json | 15 ++ VCU_original/VCU_measurements.json | 260 +++++++++++++++++++++++++++++ VCU_original/orders.json | 129 ++++++++++++++ VCU_original/packets.json | 93 +++++++++++ VCU_original/sockets.json | 55 ++++++ boards/VCU/VCU_measurements.json | 9 + boards/VCU/packets.json | 85 +--------- boards/VCU/sockets.json | 38 ----- 8 files changed, 564 insertions(+), 120 deletions(-) create mode 100644 VCU_original/VCU.json create mode 100644 VCU_original/VCU_measurements.json create mode 100644 VCU_original/orders.json create mode 100644 VCU_original/packets.json create mode 100644 VCU_original/sockets.json diff --git a/VCU_original/VCU.json b/VCU_original/VCU.json new file mode 100644 index 0000000..58b8546 --- /dev/null +++ b/VCU_original/VCU.json @@ -0,0 +1,15 @@ +{ + "board_id": 11, + "board_ip": "192.168.1.3", + "measurements": [ + "VCU_measurements.json" + ], + "packets": [ + "orders.json", + "packets.json" + ], + "sockets":[ + "sockets.json" + ] + +} \ No newline at end of file diff --git a/VCU_original/VCU_measurements.json b/VCU_original/VCU_measurements.json new file mode 100644 index 0000000..b8e78f1 --- /dev/null +++ b/VCU_original/VCU_measurements.json @@ -0,0 +1,260 @@ +[ + { + "id": "duty", + "name": "Duty", + "type": "uint32", + "podUnits": "Percentage", + "displayUnits": "Percentage" + }, + { + "id": "pump", + "name": "Pump", + "type": "enum", + "enumValues": [ + "UNIDADES", + "PLACAS" + ] + }, + { + "id": "general_state", + "name": "General State", + "type": "enum", + "enumValues": [ + "CONNECTING", + "OPERATIONAL", + "FAULT" + ] + }, + { + "id": "operational_state", + "name": "Operational State", + "type": "enum", + "enumValues": [ + "IDLE", + "END_OF_RUN", + "ENERGIZED", + "READY", + "DEMONSTRATION", + "RECOVERY" + ] + }, + { + "id": "regulator_pressure", + "name": "Regulator Pressure", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "regulator", + "name": "Regulator", + "type": "enum", + "enumValues": [ + "REGULATOR 1", + "REGULATOR 2" + ] + }, + { + "id": "reed1", + "name": "Reed 1", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed2", + "name": "Reed 2", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed3", + "name": "Reed 3", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed4", + "name": "Reed 4", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "all_reeds", + "name": "All Reeds", + "type": "bool", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "flow1", + "name": "Flow 1", + "type": "enum", + "enumValues": [ + "OFF", + "ON" + ] + }, + { + "id": "flow2", + "name": "Flow 2", + "type": "enum", + "enumValues": [ + "OFF", + "ON" + ] + }, + { + "id": "regulator_1_pressure", + "name": "Regulator 1", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "regulator_2_pressure", + "name": "Regulator 2", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_high", + "name": "Pressure High", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_regulator", + "name": "Pressure Regulator", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_brakes", + "name": "Pressure Brakes", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_capsule", + "name": "Pressure Capsule", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "tape_enable_output", + "name": "Tape Enable", + "type": "enum", + "enumValues": [ + "DISABLED", + "ENABLED" + ] + }, + { + "id": "emergency_tape", + "name": "Section Type", + "type": "enum", + "enumValues": [ + "EMERGENCY_SECTION", + "NORMAL_SECTION" + ] + }, + { + "id": "SDC", + "name": "SDC", + "type": "enum", + "enumValues": [ + "OFF", + "ON" + ] + }, + { + "id": "levitation_distance", + "name": "Levitation Distance (mm)", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "run_id", + "name": "Run ID", + "type": "enum", + "enumValues":[ + "LIM" + ] + }, + { + "id": "motor_direction", + "name": "Motor Direction", + "type": "enum", + "enumValues": [ + "FORWARD", + "BACKWARDS" + ] + }, + { + "id": "max_voltage", + "name": "Max Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "reference_voltage", + "name": "Reference Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "commutation_frequency", + "name": "Commutation Frequency", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "modulation_frequency", + "name": "Modulation Frequency", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "reference_current", + "name": "Reference Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "reference_speed", + "name": "Reference Speed", + "type": "float32", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "state", + "name": "Recovery State", + "type": "uint8", + "podUnits": "", + "displayUnits": "" + } +] diff --git a/VCU_original/orders.json b/VCU_original/orders.json new file mode 100644 index 0000000..d8945e8 --- /dev/null +++ b/VCU_original/orders.json @@ -0,0 +1,129 @@ +[ + { + "type": "order", + "name": "Brake", + "id": 43 + }, + { + "type": "order", + "name": "Unbrake", + "id": 52 + }, + { + "type": "order", + "name": "Potencia Refri", + "variables": [ + "duty", + "pump" + ], + "id": 33 + }, + { + "type": "order", + "name": "Set Regulator", + "variables": [ + "regulator_pressure", + "regulator" + ], + "id": 34 + }, + { + "type": "order", + "name": "Enable Tapes", + "id": 35 + }, + { + "type": "order", + "name": "Disbable Tapes", + "id": 36 + }, + { + "type": "order", + "name": "Close Contactors", + "id": 44 + }, + { + "type": "order", + "name": "Open Contactors", + "id": 53 + }, + { + "type": "order", + "name": "Levitation", + "variables" : [ + "levitation_distance" + ], + "id": 37 + }, + { + "type": "order", + "name": "Stop Levitation", + "id": 46 + }, + { + "type" : "order", + "name": "Emergency Stop", + "id": 55 + }, + { + "type": "order", + "name": "Propulsion", + "variables" : [ + "run_id" + ], + "id": 56 + }, + { + "type": "order", + "name": "SVPWM", + "variables" : [ + "modulation_frequency", + "commutation_frequency", + "max_voltage", + "reference_voltage", + "motor_direction" + ], + "id": 57 + }, + { + "type": "order", + "name": "Stop Motor", + "id": 58 + }, + { + "type": "order", + "name": "Current Control", + "variables" : [ + + "modulation_frequency", + "commutation_frequency", + "reference_current", + "max_voltage", + "motor_direction" + + + ], + "id": 59 + }, + { + "type": "order", + "name": "Speed Control", + "variables" : [ + "reference_speed", + "commutation_frequency", + "max_voltage", + "motor_direction" + ], + "id": 60 + }, + { + "type": "order", + "name": "Motor Brake", + "id": 61 + }, + { + "type": "order", + "name": "Recovery", + "id": 32 + } +] \ No newline at end of file diff --git a/VCU_original/packets.json b/VCU_original/packets.json new file mode 100644 index 0000000..a7f7fb2 --- /dev/null +++ b/VCU_original/packets.json @@ -0,0 +1,93 @@ +[ + { + "type": "data", + "name": "Current State", + "variables": [ + "general_state", + "operational_state" + ], + "id": 249, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Reeds", + "variables": [ + "reed1", + "reed2", + "reed3", + "reed4", + "all_reeds" + ], + "id": 251, + "period_ms_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Flow", + "variables": [ + "flow1", + "flow2" + ], + "id": 250, + "period_ms_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Regulator", + "variables": [ + "regulator_1_pressure", + "regulator_2_pressure" + ], + "id": 252, + "period_ms_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Pressure", + "variables": [ + "pressure_high", + "pressure_regulator", + "pressure_brakes", + "pressure_capsule" + ], + "id": 253, + "period_ms_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "tapes", + "variables": [ + "tape_enable_output", + "emergency_tape" + ], + "id": 254, + "period_ms_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "sdc", + "variables": [ + "SDC" + ], + "id": 255, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "recovery_state", + "variables": [ + "state" + ], + "id": 65, + "period_ms": 16.67, + "socket": "pcu_udp" + } +] \ No newline at end of file diff --git a/VCU_original/sockets.json b/VCU_original/sockets.json new file mode 100644 index 0000000..c9ae043 --- /dev/null +++ b/VCU_original/sockets.json @@ -0,0 +1,55 @@ +[ + { + "type": "ServerSocket", + "name": "control_station_tcp", + "port": 50500 + }, + + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip":"192.168.0.9", + "port": 50400 + }, + + { + "type": "Socket", + "name": "pcu_tcp", + "local_port": 50501, + "remote_ip": "192.168.1.5", + "remote_port": 50500 + + + }, + + { + "type": "DatagramSocket", + "name": "pcu_udp", + "remote_ip":"192.168.1.5", + "port": 50402 + }, + + + { + "type": "Socket", + "name": "hvscu_tcp", + "local_port": 50502, + "remote_ip": "192.168.1.7", + "remote_port": 50500 + + + }, + + { + "type": "DatagramSocket", + "name": "hvscu_udp", + "remote_ip":"192.168.1.7", + "port": 50403 + } + + + + + + +] diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json index b8e78f1..fe2fbd7 100644 --- a/boards/VCU/VCU_measurements.json +++ b/boards/VCU/VCU_measurements.json @@ -1,4 +1,13 @@ [ + { + "id": "state", + "name": "state", + "type": "enum", + "enumValues": [ + "ON", + "OFF" + ] + }, { "id": "duty", "name": "Duty", diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index a7f7fb2..6c122f8 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -1,93 +1,14 @@ [ - { - "type": "data", - "name": "Current State", - "variables": [ - "general_state", - "operational_state" - ], - "id": 249, - "period_ms": 16.67, - "socket": "control_station_udp" - }, + { "type": "data", "name": "Reeds", "variables": [ - "reed1", - "reed2", - "reed3", - "reed4", - "all_reeds" + "state" ], "id": 251, "period_ms_ms": 16.67, "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Flow", - "variables": [ - "flow1", - "flow2" - ], - "id": 250, - "period_ms_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Regulator", - "variables": [ - "regulator_1_pressure", - "regulator_2_pressure" - ], - "id": 252, - "period_ms_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Pressure", - "variables": [ - "pressure_high", - "pressure_regulator", - "pressure_brakes", - "pressure_capsule" - ], - "id": 253, - "period_ms_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "tapes", - "variables": [ - "tape_enable_output", - "emergency_tape" - ], - "id": 254, - "period_ms_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "sdc", - "variables": [ - "SDC" - ], - "id": 255, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "recovery_state", - "variables": [ - "state" - ], - "id": 65, - "period_ms": 16.67, - "socket": "pcu_udp" } + ] \ No newline at end of file diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json index c9ae043..3997497 100644 --- a/boards/VCU/sockets.json +++ b/boards/VCU/sockets.json @@ -10,46 +10,8 @@ "name": "control_station_udp", "remote_ip":"192.168.0.9", "port": 50400 - }, - - { - "type": "Socket", - "name": "pcu_tcp", - "local_port": 50501, - "remote_ip": "192.168.1.5", - "remote_port": 50500 - - - }, - - { - "type": "DatagramSocket", - "name": "pcu_udp", - "remote_ip":"192.168.1.5", - "port": 50402 - }, - - - { - "type": "Socket", - "name": "hvscu_tcp", - "local_port": 50502, - "remote_ip": "192.168.1.7", - "remote_port": 50500 - - - }, - - { - "type": "DatagramSocket", - "name": "hvscu_udp", - "remote_ip":"192.168.1.7", - "port": 50403 } - - - ] From 9f1bb5bae1a7a64e98f89d731885f9c5e6ae283d Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Wed, 10 Sep 2025 21:29:51 +0200 Subject: [PATCH 05/18] Oops forgor to delet doble ms --- VCU_original/packets.json | 10 +++++----- boards/VCU/packets.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/VCU_original/packets.json b/VCU_original/packets.json index a7f7fb2..b4d91e1 100644 --- a/VCU_original/packets.json +++ b/VCU_original/packets.json @@ -21,7 +21,7 @@ "all_reeds" ], "id": 251, - "period_ms_ms": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { @@ -32,7 +32,7 @@ "flow2" ], "id": 250, - "period_ms_ms": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { @@ -43,7 +43,7 @@ "regulator_2_pressure" ], "id": 252, - "period_ms_ms": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { @@ -56,7 +56,7 @@ "pressure_capsule" ], "id": 253, - "period_ms_ms": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { @@ -67,7 +67,7 @@ "emergency_tape" ], "id": 254, - "period_ms_ms": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" }, { diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 6c122f8..250bd7f 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -7,7 +7,7 @@ "state" ], "id": 251, - "period_ms_ms": 16.67, + "period_ms": 16.67, "socket": "control_station_udp" } From a2e834dd86fee7591cb74c437bc4eea5c809089b Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 11 Sep 2025 14:27:43 +0200 Subject: [PATCH 06/18] More testing ongoing --- boards/VCU/packets.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index 250bd7f..bc52bb7 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -4,6 +4,8 @@ "type": "data", "name": "Reeds", "variables": [ + "state", + "state", "state" ], "id": 251, From 9066382bfb1d954f5ddc02dd0ffd5ba4f2ac33b7 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 11 Sep 2025 14:47:30 +0200 Subject: [PATCH 07/18] Finished the testing --- boards/VCU/packets.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index bc52bb7..716df6a 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -4,9 +4,8 @@ "type": "data", "name": "Reeds", "variables": [ - "state", - "state", "state" + ], "id": 251, "period_ms": 16.67, From 53a41314010045929d623d0f059d9ace988cc643 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 11 Sep 2025 15:40:05 +0200 Subject: [PATCH 08/18] This commit will be deleted --- VCU_original/VCU.json | 15 - VCU_original/VCU_measurements.json | 260 --- VCU_original/orders.json | 129 -- VCU_original/packets.json | 93 - VCU_original/sockets.json | 55 - boards.json | 6 - boards/BCU/BCU.json | 14 - boards/BCU/hvscu_order_measurements.json | 34 - boards/BCU/hvscu_orders.json | 50 - boards/BCU/measurements.json | 467 ----- boards/BCU/order_measurements.json | 176 -- boards/BCU/orders.json | 81 - boards/BCU/packets.json | 118 -- boards/BMSL/BMSL.json | 11 - boards/BMSL/BMSL_measurements.json | 200 -- boards/BMSL/orders.json | 30 - boards/BMSL/packets.json | 50 - boards/HVSCU-Cabinet/HVSCU-Cabinet.json | 12 - boards/HVSCU-Cabinet/measurements.json | 94 - boards/HVSCU-Cabinet/packets.json | 37 - boards/HVSCU-Cabinet/state_machine.json | 67 - boards/HVSCU-Cabinet/supercaps_data.json | 215 -- .../HVSCU-Cabinet/supercaps_measurements.json | 1831 ----------------- boards/HVSCU/HVSCU.json | 11 - boards/HVSCU/HVSCU_measurements.json | 1504 -------------- boards/HVSCU/orders.json | 38 - boards/HVSCU/packets.json | 424 ---- boards/LCU/LCU.json | 11 - boards/LCU/LCU_measurements.json | 1138 ---------- boards/LCU/orders.json | 129 -- boards/LCU/packets.json | 113 - boards/PCU/PCU.json | 11 - boards/PCU/PCU_measurements.json | 446 ---- boards/PCU/orders.json | 103 - boards/PCU/packets.json | 117 -- 35 files changed, 8090 deletions(-) delete mode 100644 VCU_original/VCU.json delete mode 100644 VCU_original/VCU_measurements.json delete mode 100644 VCU_original/orders.json delete mode 100644 VCU_original/packets.json delete mode 100644 VCU_original/sockets.json delete mode 100644 boards/BCU/BCU.json delete mode 100644 boards/BCU/hvscu_order_measurements.json delete mode 100644 boards/BCU/hvscu_orders.json delete mode 100644 boards/BCU/measurements.json delete mode 100644 boards/BCU/order_measurements.json delete mode 100644 boards/BCU/orders.json delete mode 100644 boards/BCU/packets.json delete mode 100644 boards/BMSL/BMSL.json delete mode 100644 boards/BMSL/BMSL_measurements.json delete mode 100644 boards/BMSL/orders.json delete mode 100644 boards/BMSL/packets.json delete mode 100644 boards/HVSCU-Cabinet/HVSCU-Cabinet.json delete mode 100644 boards/HVSCU-Cabinet/measurements.json delete mode 100644 boards/HVSCU-Cabinet/packets.json delete mode 100644 boards/HVSCU-Cabinet/state_machine.json delete mode 100644 boards/HVSCU-Cabinet/supercaps_data.json delete mode 100644 boards/HVSCU-Cabinet/supercaps_measurements.json delete mode 100644 boards/HVSCU/HVSCU.json delete mode 100644 boards/HVSCU/HVSCU_measurements.json delete mode 100644 boards/HVSCU/orders.json delete mode 100644 boards/HVSCU/packets.json delete mode 100644 boards/LCU/LCU.json delete mode 100644 boards/LCU/LCU_measurements.json delete mode 100644 boards/LCU/orders.json delete mode 100644 boards/LCU/packets.json delete mode 100644 boards/PCU/PCU.json delete mode 100644 boards/PCU/PCU_measurements.json delete mode 100644 boards/PCU/orders.json delete mode 100644 boards/PCU/packets.json diff --git a/VCU_original/VCU.json b/VCU_original/VCU.json deleted file mode 100644 index 58b8546..0000000 --- a/VCU_original/VCU.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "board_id": 11, - "board_ip": "192.168.1.3", - "measurements": [ - "VCU_measurements.json" - ], - "packets": [ - "orders.json", - "packets.json" - ], - "sockets":[ - "sockets.json" - ] - -} \ No newline at end of file diff --git a/VCU_original/VCU_measurements.json b/VCU_original/VCU_measurements.json deleted file mode 100644 index b8e78f1..0000000 --- a/VCU_original/VCU_measurements.json +++ /dev/null @@ -1,260 +0,0 @@ -[ - { - "id": "duty", - "name": "Duty", - "type": "uint32", - "podUnits": "Percentage", - "displayUnits": "Percentage" - }, - { - "id": "pump", - "name": "Pump", - "type": "enum", - "enumValues": [ - "UNIDADES", - "PLACAS" - ] - }, - { - "id": "general_state", - "name": "General State", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "operational_state", - "name": "Operational State", - "type": "enum", - "enumValues": [ - "IDLE", - "END_OF_RUN", - "ENERGIZED", - "READY", - "DEMONSTRATION", - "RECOVERY" - ] - }, - { - "id": "regulator_pressure", - "name": "Regulator Pressure", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "regulator", - "name": "Regulator", - "type": "enum", - "enumValues": [ - "REGULATOR 1", - "REGULATOR 2" - ] - }, - { - "id": "reed1", - "name": "Reed 1", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed2", - "name": "Reed 2", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed3", - "name": "Reed 3", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed4", - "name": "Reed 4", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "all_reeds", - "name": "All Reeds", - "type": "bool", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "flow1", - "name": "Flow 1", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "flow2", - "name": "Flow 2", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "regulator_1_pressure", - "name": "Regulator 1", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "regulator_2_pressure", - "name": "Regulator 2", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_high", - "name": "Pressure High", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_regulator", - "name": "Pressure Regulator", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_brakes", - "name": "Pressure Brakes", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_capsule", - "name": "Pressure Capsule", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "tape_enable_output", - "name": "Tape Enable", - "type": "enum", - "enumValues": [ - "DISABLED", - "ENABLED" - ] - }, - { - "id": "emergency_tape", - "name": "Section Type", - "type": "enum", - "enumValues": [ - "EMERGENCY_SECTION", - "NORMAL_SECTION" - ] - }, - { - "id": "SDC", - "name": "SDC", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "levitation_distance", - "name": "Levitation Distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "run_id", - "name": "Run ID", - "type": "enum", - "enumValues":[ - "LIM" - ] - }, - { - "id": "motor_direction", - "name": "Motor Direction", - "type": "enum", - "enumValues": [ - "FORWARD", - "BACKWARDS" - ] - }, - { - "id": "max_voltage", - "name": "Max Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "reference_voltage", - "name": "Reference Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "commutation_frequency", - "name": "Commutation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "modulation_frequency", - "name": "Modulation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "reference_current", - "name": "Reference Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "reference_speed", - "name": "Reference Speed", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "state", - "name": "Recovery State", - "type": "uint8", - "podUnits": "", - "displayUnits": "" - } -] diff --git a/VCU_original/orders.json b/VCU_original/orders.json deleted file mode 100644 index d8945e8..0000000 --- a/VCU_original/orders.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "type": "order", - "name": "Brake", - "id": 43 - }, - { - "type": "order", - "name": "Unbrake", - "id": 52 - }, - { - "type": "order", - "name": "Potencia Refri", - "variables": [ - "duty", - "pump" - ], - "id": 33 - }, - { - "type": "order", - "name": "Set Regulator", - "variables": [ - "regulator_pressure", - "regulator" - ], - "id": 34 - }, - { - "type": "order", - "name": "Enable Tapes", - "id": 35 - }, - { - "type": "order", - "name": "Disbable Tapes", - "id": 36 - }, - { - "type": "order", - "name": "Close Contactors", - "id": 44 - }, - { - "type": "order", - "name": "Open Contactors", - "id": 53 - }, - { - "type": "order", - "name": "Levitation", - "variables" : [ - "levitation_distance" - ], - "id": 37 - }, - { - "type": "order", - "name": "Stop Levitation", - "id": 46 - }, - { - "type" : "order", - "name": "Emergency Stop", - "id": 55 - }, - { - "type": "order", - "name": "Propulsion", - "variables" : [ - "run_id" - ], - "id": 56 - }, - { - "type": "order", - "name": "SVPWM", - "variables" : [ - "modulation_frequency", - "commutation_frequency", - "max_voltage", - "reference_voltage", - "motor_direction" - ], - "id": 57 - }, - { - "type": "order", - "name": "Stop Motor", - "id": 58 - }, - { - "type": "order", - "name": "Current Control", - "variables" : [ - - "modulation_frequency", - "commutation_frequency", - "reference_current", - "max_voltage", - "motor_direction" - - - ], - "id": 59 - }, - { - "type": "order", - "name": "Speed Control", - "variables" : [ - "reference_speed", - "commutation_frequency", - "max_voltage", - "motor_direction" - ], - "id": 60 - }, - { - "type": "order", - "name": "Motor Brake", - "id": 61 - }, - { - "type": "order", - "name": "Recovery", - "id": 32 - } -] \ No newline at end of file diff --git a/VCU_original/packets.json b/VCU_original/packets.json deleted file mode 100644 index b4d91e1..0000000 --- a/VCU_original/packets.json +++ /dev/null @@ -1,93 +0,0 @@ -[ - { - "type": "data", - "name": "Current State", - "variables": [ - "general_state", - "operational_state" - ], - "id": 249, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Reeds", - "variables": [ - "reed1", - "reed2", - "reed3", - "reed4", - "all_reeds" - ], - "id": 251, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Flow", - "variables": [ - "flow1", - "flow2" - ], - "id": 250, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Regulator", - "variables": [ - "regulator_1_pressure", - "regulator_2_pressure" - ], - "id": 252, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "Pressure", - "variables": [ - "pressure_high", - "pressure_regulator", - "pressure_brakes", - "pressure_capsule" - ], - "id": 253, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "tapes", - "variables": [ - "tape_enable_output", - "emergency_tape" - ], - "id": 254, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "sdc", - "variables": [ - "SDC" - ], - "id": 255, - "period_ms": 16.67, - "socket": "control_station_udp" - }, - { - "type": "data", - "name": "recovery_state", - "variables": [ - "state" - ], - "id": 65, - "period_ms": 16.67, - "socket": "pcu_udp" - } -] \ No newline at end of file diff --git a/VCU_original/sockets.json b/VCU_original/sockets.json deleted file mode 100644 index c9ae043..0000000 --- a/VCU_original/sockets.json +++ /dev/null @@ -1,55 +0,0 @@ -[ - { - "type": "ServerSocket", - "name": "control_station_tcp", - "port": 50500 - }, - - { - "type": "DatagramSocket", - "name": "control_station_udp", - "remote_ip":"192.168.0.9", - "port": 50400 - }, - - { - "type": "Socket", - "name": "pcu_tcp", - "local_port": 50501, - "remote_ip": "192.168.1.5", - "remote_port": 50500 - - - }, - - { - "type": "DatagramSocket", - "name": "pcu_udp", - "remote_ip":"192.168.1.5", - "port": 50402 - }, - - - { - "type": "Socket", - "name": "hvscu_tcp", - "local_port": 50502, - "remote_ip": "192.168.1.7", - "remote_port": 50500 - - - }, - - { - "type": "DatagramSocket", - "name": "hvscu_udp", - "remote_ip":"192.168.1.7", - "port": 50403 - } - - - - - - -] diff --git a/boards.json b/boards.json index 8845dda..5976755 100644 --- a/boards.json +++ b/boards.json @@ -1,9 +1,3 @@ { - "HVSCU-Cabinet": "boards/HVSCU-Cabinet/HVSCU-Cabinet.json", - "BCU": "boards/BCU/BCU.json", - "PCU": "boards/PCU/PCU.json", - "LCU": "boards/LCU/LCU.json", - "HVSCU": "boards/HVSCU/HVSCU.json", - "BMSL": "boards/BMSL/BMSL.json", "VCU" : "boards/VCU/VCU.json" } diff --git a/boards/BCU/BCU.json b/boards/BCU/BCU.json deleted file mode 100644 index 235a0b1..0000000 --- a/boards/BCU/BCU.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "board_id": 217, - "board_ip": "192.168.2.17", - "packets": [ - "orders.json", - "hvscu_orders.json", - "packets.json" - ], - "measurements": [ - "order_measurements.json", - "hvscu_order_measurements.json", - "measurements.json" - ] -} \ No newline at end of file diff --git a/boards/BCU/hvscu_order_measurements.json b/boards/BCU/hvscu_order_measurements.json deleted file mode 100644 index 42d227a..0000000 --- a/boards/BCU/hvscu_order_measurements.json +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "id": "HVSCU-Cabinet_target_charge_voltage", - "name": "Target Charge Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "above": { - "warning": 100.0 - } - }, - { - "id": "HVSCU-Cabinet_imd_bypass", - "name": "Bypass IMD?", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Enable", - "Disable" - ] - }, - { - "id": "HVSCU-Cabinet_sdc_enable", - "name": "Enable SDC?", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Enable", - "Disable" - ] - } -] \ No newline at end of file diff --git a/boards/BCU/hvscu_orders.json b/boards/BCU/hvscu_orders.json deleted file mode 100644 index 9e7b179..0000000 --- a/boards/BCU/hvscu_orders.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "id": 1694, - "type": "order", - "name": "SDC Enable", - "variables": [ - "HVSCU-Cabinet_sdc_enable" - ] - }, - { - "id": 1695, - "type": "order", - "name": "IMD Bypass", - "variables": [ - "HVSCU-Cabinet_imd_bypass" - ] - }, - { - "id": 1696, - "type": "order", - "name": "Reset Supercaps", - "variables": [] - }, - { - "id": 1697, - "type": "order", - "name": "Charge Supercaps", - "variables": [ - "HVSCU-Cabinet_target_charge_voltage" - ] - }, - { - "id": 1698, - "type": "order", - "name": "Open Contactors", - "variables": [] - }, - { - "id": 1693, - "type": "order", - "name": "Hold Supercaps Charge", - "variables": [] - }, - { - "id": 1699, - "type": "order", - "name": "Close Contactors", - "variables": [] - } -] \ No newline at end of file diff --git a/boards/BCU/measurements.json b/boards/BCU/measurements.json deleted file mode 100644 index 4b5be1f..0000000 --- a/boards/BCU/measurements.json +++ /dev/null @@ -1,467 +0,0 @@ -[ - { - "id": "output_duty_cycle_u", - "name": "Duty Cycle U", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "output_duty_cycle_v", - "name": "Duty Cycle V", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "output_duty_cycle_w", - "name": "Duty Cycle W", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "output_commutation_frequency_hz", - "name": "Commutation Frequency", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "output_dead_time_ns", - "name": "Dead Time", - "type": "uint32", - "podUnits": "ns", - "displayUnits": "ns" - }, - { - "id": "bcu_general_state", - "name": "General State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Connecting", - "Operational", - "Fault" - ] - }, - { - "id": "bcu_operational_state", - "name": "Operational State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Idle", - "Charging", - "Charged", - "Precharge", - "Engaged" - ] - }, - { - "id": "bcu_nested_state", - "name": "Nested State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Idle", - "Testing", - "Ready", - "Boosting", - "Precharging" - ] - }, - { - "id": "control_state", - "name": "Control State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Idle", - "Test PWM", - "Space Vector", - "Current Control", - "Speed Control" - ] - }, - { - "id": "space_vector_time", - "name": "Space Vector Time", - "type": "float32", - "podUnits": "s", - "displayUnits": "s" - }, - { - "id": "output_modulation_index", - "name": "Output Modulation Index", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "output_modulation_frequency_hz", - "name": "Output Modulation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "dc_link_average_voltage", - "name": "DC Link Average Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "bcu_bus_voltage", - "name": "Bus Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "dc_link_a_voltage", - "name": "DC Link A Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "dc_link_b_voltage", - "name": "DC Link B Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "average_current_u", - "name": "Average Current U", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "average_current_v", - "name": "Average Current V", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "average_current_w", - "name": "Average Current W", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_u_motor_a", - "name": "Current U Motor A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_v_motor_a", - "name": "Current V Motor A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_w_motor_a", - "name": "Current W Motor A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_u_motor_b", - "name": "Current U Motor B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_v_motor_b", - "name": "Current V Motor B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "current_w_motor_b", - "name": "Current W Motor B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - -100.0, - 100.0 - ] - } - }, - { - "id": "position_speetec_1", - "name": "Position Speetec 1", - "type": "float64", - "podUnits": "m", - "displayUnits": "m", - "below": { - "safe": 3.0, - "warning": 4.0 - } - }, - { - "id": "speed_speetec_1", - "name": "Speed Speetec 1", - "type": "float64", - "podUnits": "m/s", - "displayUnits": "m/s", - "below": { - "safe": 10.0 - } - }, - { - "id": "acceleration_speetec_1", - "name": "Acceleration Speetec 1", - "type": "float64", - "podUnits": "m/s^2", - "displayUnits": "m/s^2", - "below": { - "safe": 30.0 - } - }, - { - "id": "direction_speetec_1", - "name": "Direction Speetec 1", - "type": "bool" - }, - { - "id": "position_speetec_2", - "name": "Position Speetec 2", - "type": "float64", - "podUnits": "m", - "displayUnits": "m" - }, - { - "id": "speed_speetec_2", - "name": "Speed Speetec 2", - "type": "float64", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "acceleration_speetec_2", - "name": "Acceleration Speetec 2", - "type": "float64", - "podUnits": "m/s^2", - "displayUnits": "m/s^2" - }, - { - "id": "direction_speetec_2", - "name": "Direction Speetec 2", - "type": "enum", - "enumValues": [ - "Forward", - "Backward" - ] - }, - { - "id": "position_speetec_3", - "name": "Position Speetec 3", - "type": "float64", - "podUnits": "m", - "displayUnits": "m" - }, - { - "id": "speed_speetec_3", - "name": "Speed Speetec 3", - "type": "float64", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "acceleration_speetec_3", - "name": "Acceleration Speetec 3", - "type": "float64", - "podUnits": "m/s^2", - "displayUnits": "m/s^2" - }, - { - "id": "direction_speetec_3", - "name": "Direction Speetec 3", - "type": "enum", - "enumValues": [ - "Forward", - "Backward" - ] - }, - { - "id": "d_current_reference", - "name": "D Current Reference", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "measured_d_current", - "name": "Measured D Current", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "d_current_error", - "name": "D Current Error", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "q_current_reference", - "name": "Q Current Reference", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "measured_q_current", - "name": "Measured Q Current", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "q_current_error", - "name": "Q Current Error", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "pi_id_output", - "name": "PI ID Output", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "pi_iq_output", - "name": "PI IQ Output", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "pi_iq_output", - "name": "PI IQ Output", - "type": "float64", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "target_u_voltage", - "name": "Target U Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "target_v_voltage", - "name": "Target V Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "target_w_voltage", - "name": "Target W Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "electrical_angle", - "name": "Electrical Angle", - "type": "float64", - "podUnits": "rad", - "displayUnits": "rad" - }, - { - "id": "target_linear_speed", - "name": "Target Linear Speed (m/s)", - "type": "float32", - "podUnits": "m/s", - "displayUnits": "m/s" - } -] \ No newline at end of file diff --git a/boards/BCU/order_measurements.json b/boards/BCU/order_measurements.json deleted file mode 100644 index e7ada97..0000000 --- a/boards/BCU/order_measurements.json +++ /dev/null @@ -1,176 +0,0 @@ -[ - { - "id": "duty_cycle_u", - "name": "Duty Cycle U (%)", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - }, - { - "id": "duty_cycle_v", - "name": "Duty Cycle V (%)", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - }, - { - "id": "duty_cycle_w", - "name": "Duty Cycle W (%)", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - }, - { - "id": "commutation_frequency_hz", - "name": "Commutation Frequency (Hz)", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz", - "below": { - "warning": 30000 - } - }, - { - "id": "dead_time_ns", - "name": "Dead Time (ns)", - "type": "uint32", - "podUnits": "ns", - "displayUnits": "ns", - "above": { - "warning": 100 - } - }, - { - "id": "modulation_index", - "name": "Modulation Index", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "out_of_range": { - "warning": [ - 0.0, - 1.1547 - ] - } - }, - { - "id": "modulation_frequency_hz", - "name": "Modulation Frequency (Hz)", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz", - "above": { - "warning": 0.0 - } - }, - { - "id": "requested_dc_link_voltage", - "name": "Requested DC Link Voltage (V)", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "warning": 446.4 - } - }, - { - "id": "requested_linear_speed", - "name": "Target Linear Speed (m/s)", - "type": "float32", - "podUnits": "m/s", - "displayUnits": "m/s", - "above": { - "warning": 0.0 - } - }, - { - "id": "requested_d_current_reference", - "name": "D Current Reference (A)", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - 0.0, - 80.0 - ] - } - }, - { - "id": "requested_q_current_reference", - "name": "Q Current Reference (A)", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - 0.0, - 80.0 - ] - } - }, - { - "id": "requested_d_current_reference_2", - "name": "D Current Reference(A)", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - 0.0, - 80.0 - ] - } - }, - { - "id": "requested_q_current_reference_2", - "name": "Q Current Reference (A)", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "warning": [ - 0.0, - 80.0 - ] - } - }, - { - "id": "requested_speetec_emulation_mode", - "name": "Emulation Mode", - "type": "enum", - "enumValues": [ - "position", - "speed", - "acceleration" - ] - }, - { - "id": "requested_speetec_emulation_value", - "name": "Value (m | m/s | m/s^2)", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "above": { - "warning": 0.0 - } - } -] \ No newline at end of file diff --git a/boards/BCU/orders.json b/boards/BCU/orders.json deleted file mode 100644 index dea7945..0000000 --- a/boards/BCU/orders.json +++ /dev/null @@ -1,81 +0,0 @@ -[ - { - "id": 1799, - "type": "order", - "name": "Stop Control", - "variables": [] - }, - { - "id": 1798, - "type": "order", - "name": "Start Test PWM", - "variables": [ - "duty_cycle_u", - "duty_cycle_v", - "duty_cycle_w" - ] - }, - { - "id": 1797, - "type": "order", - "name": "Configure Commutation Parameters", - "variables": [ - "commutation_frequency_hz", - "dead_time_ns" - ] - }, - { - "id": 1796, - "type": "order", - "name": "Start Space Vector", - "variables": [ - "modulation_index", - "modulation_frequency_hz" - ] - }, - { - "id": 1795, - "type": "order", - "name": "Fix DC Link Voltage", - "variables": [ - "requested_dc_link_voltage" - ] - }, - { - "id": 1794, - "type": "order", - "name": "Unfix DC Link Voltage", - "variables": [] - }, - { - "id": 1792, - "type": "order", - "name": "Start Current Control", - "variables": [ - "requested_d_current_reference_2", - "requested_q_current_reference_2" - ] - }, - { - "id": 1791, - "type": "order", - "name": "Start Speed Control", - "variables": [ - "requested_linear_speed" - ] - }, - { - "id": 1788, - "type": "order", - "name": "DC Poles Ready (BCU)" - }, - { - "id": 1787, - "type": "order", - "name": "Start Speetec emulation", - "variables": [ - "requested_speetec_emulation_mode", - "requested_speetec_emulation_value" - ] - } -] \ No newline at end of file diff --git a/boards/BCU/packets.json b/boards/BCU/packets.json deleted file mode 100644 index cc47be4..0000000 --- a/boards/BCU/packets.json +++ /dev/null @@ -1,118 +0,0 @@ -[ - { - "id": 1700, - "type": "data", - "name": "Motor Driver", - "variables": [ - "duty_cycle_u", - "duty_cycle_v", - "duty_cycle_w", - "commutation_frequency_hz", - "dead_time_ns" - ] - }, - { - "id": 1701, - "type": "data", - "name": "State", - "variables": [ - "bcu_general_state", - "bcu_operational_state", - "bcu_nested_state", - "control_state" - ] - }, - { - "id": 1702, - "type": "data", - "name": "Space Vector", - "variables": [ - "space_vector_time", - "output_modulation_index", - "output_modulation_frequency_hz" - ] - }, - { - "id": 1703, - "type": "data", - "name": "DC Link", - "variables": [ - "dc_link_average_voltage", - "dc_link_a_voltage", - "dc_link_b_voltage" - ] - }, - { - "id": 1704, - "type": "data", - "name": "Motor Currents", - "variables": [ - "average_current_u", - "average_current_v", - "average_current_w", - "current_u_motor_a", - "current_v_motor_a", - "current_w_motor_a", - "current_u_motor_b", - "current_v_motor_b", - "current_w_motor_b" - ] - }, - { - "id": 1705, - "type": "data", - "name": "SPEETEC 1", - "variables": [ - "position_speetec_1", - "direction_speetec_1", - "speed_speetec_1", - "acceleration_speetec_1" - ] - }, - { - "id": 1706, - "type": "data", - "name": "Current Control", - "variables": [ - "d_current_reference", - "measured_d_current", - "d_current_error", - "q_current_reference", - "measured_q_current", - "q_current_error", - "target_u_voltage", - "target_v_voltage", - "target_w_voltage", - "electrical_angle", - "pi_id_output", - "pi_iq_output" - ] - }, - { - "id": 1707, - "type": "data", - "name": "Speed Control", - "variables": [ - "requested_linear_speed", - "speed_speetec_1" - ] - }, - { - "id": 1790, - "type": "data", - "name": "Enable DC Poles (BCU)" - }, - { - "id": 1789, - "type": "data", - "name": "Disable DC Poles (BCU)" - }, - { - "id": 1692, - "type": "data", - "name": "BCU Bus Voltage", - "variables": [ - "bcu_bus_voltage" - ] - } -] \ No newline at end of file diff --git a/boards/BMSL/BMSL.json b/boards/BMSL/BMSL.json deleted file mode 100644 index c20082f..0000000 --- a/boards/BMSL/BMSL.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 2, - "board_ip": "192.168.1.254", - "measurements": [ - "BMSL_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/BMSL/BMSL_measurements.json b/boards/BMSL/BMSL_measurements.json deleted file mode 100644 index b5d470a..0000000 --- a/boards/BMSL/BMSL_measurements.json +++ /dev/null @@ -1,200 +0,0 @@ -[ - { - "id": "cell_1", - "name": "Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_2", - "name": "Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_3", - "name": "Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_4", - "name": "Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_5", - "name": "Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "cell_6", - "name": "Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "voltage_min", - "name": "Min Cell", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "voltage_max", - "name": "Max Cell", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "total_voltage", - "name": "Total Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "SOC", - "name": "SOC", - "type": "float32", - "podUnits": "Percentage", - "displayUnits": "Percentage" - }, - { - "id": "temperature_1", - "name": "Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temperature_2", - "name": "Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temperature_3", - "name": "Temperature 3", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temperature_4", - "name": "Temperature 4", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temp_min", - "name": "Min. Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temp_max", - "name": "Max. Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "current", - "name": "Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "state", - "name": "State", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "pfm_state", - "name": "PFM State", - "type": "enum", - "enumValues": [ - "INACTIVE", - "ACTIVE" - ] - }, - { - "id": "buffer_state", - "name": "BUFFER State", - "type": "enum", - "enumValues": [ - "HIGH", - "LOW" - ] - }, - { - "id": "reset_state", - "name": "RESET State", - "type": "enum", - "enumValues": [ - "LOW", - "HIGH" - ] - }, - { - "id": "frequency", - "name": "Frequency", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "dead_time", - "name": "Dead time", - "type": "uint32", - "podUnits": "ns", - "displayUnits": "ns" - }, - { - "id": "output_current", - "name": "Output Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "input_current", - "name": "Input Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "output_voltage", - "name": "Output Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "input_voltage", - "name": "Input Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - } -] \ No newline at end of file diff --git a/boards/BMSL/orders.json b/boards/BMSL/orders.json deleted file mode 100644 index f8cf846..0000000 --- a/boards/BMSL/orders.json +++ /dev/null @@ -1,30 +0,0 @@ -[ - { - "type": "order", - "name": "Turn on PFM", - "variables": [], - "id": 502 - }, - { - "type": "order", - "name": "Turn off PFM", - "variables": [], - "id": 503 - }, - { - "type": "order", - "name": "Set PFM Frequency", - "variables": [ - "frequency" - ], - "id": 504 - }, - { - "type": "order", - "name": "Set PFM Dead Time", - "variables": [ - "dead_time" - ], - "id": 505 - } -] \ No newline at end of file diff --git a/boards/BMSL/packets.json b/boards/BMSL/packets.json deleted file mode 100644 index 1b3aa85..0000000 --- a/boards/BMSL/packets.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "type": "data", - "name": "Battery Data", - "variables": [ - "cell_1", - "cell_2", - "cell_3", - "cell_4", - "cell_5", - "cell_6", - "voltage_min", - "voltage_max", - "total_voltage", - "SOC", - "temperature_1", - "temperature_2", - "temperature_3", - "temperature_4", - "temp_min", - "temp_max", - "current" - ], - "id": 777 - }, - { - "type": "data", - "name": "Current State", - "variables": [ - "state" - ], - "id": 778 - }, - { - "type": "data", - "name": "DCLV Data", - "variables": [ - "pfm_state", - "buffer_state", - "reset_state", - "frequency", - "dead_time", - "output_current", - "input_current", - "output_voltage", - "input_voltage" - ], - "id": 779 - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/HVSCU-Cabinet.json b/boards/HVSCU-Cabinet/HVSCU-Cabinet.json deleted file mode 100644 index 7ec4ab5..0000000 --- a/boards/HVSCU-Cabinet/HVSCU-Cabinet.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "board_id": 216, - "board_ip": "192.168.2.16", - "packets": [ - "supercaps_data.json", - "packets.json" - ], - "measurements": [ - "supercaps_measurements.json", - "measurements.json" - ] -} \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/measurements.json b/boards/HVSCU-Cabinet/measurements.json deleted file mode 100644 index be590b9..0000000 --- a/boards/HVSCU-Cabinet/measurements.json +++ /dev/null @@ -1,94 +0,0 @@ -[ - { - "id": "HVSCU-Cabinet_sdc_good", - "name": "SDC Good", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "False", - "True" - ] - }, - { - "id": "HVSCU-Cabinet_bus_voltage", - "name": "Bus Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "HVSCU-Cabinet_contactors_state", - "name": "Contactors State", - "type": "enum", - "podUnits": "", - "displayUnits": "", - "enumValues": [ - "Open", - "Charging", - "Charged", - "Precharge", - "Close" - ] - }, - { - "id": "HVSCU-Cabinet_output_current", - "name": "Output Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "out_of_range": { - "safe": [ - -10.0, - 70.0 - ], - "warning": [ - -20.0, - 100.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_imd_state", - "name": "IMD State", - "type": "enum", - "enumValues": [ - "SHORT CIRCUIT", - "OK", - "UNDERVOLTAGE", - "FAST START", - "EQUIPMENT FAULT", - "GROUNDING FAULT", - "UNKNOWN" - ] - }, - { - "id": "HVSCU-Cabinet_isolation_resistance", - "name": "IMD Isolation Resistance", - "type": "float32", - "below": { - "warning": 100000, - "safe": 200000 - } - }, - { - "id": "HVSCU-Cabinet_ok", - "name": "IMD OK", - "type": "bool" - }, - { - "id": "HVSCU-Cabinet_soc", - "name": "Supercaps SoC", - "type": "float32", - "out_of_range": { - "warning": [ - 0.0, - 100.0 - ] - } - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/packets.json b/boards/HVSCU-Cabinet/packets.json deleted file mode 100644 index 140b7f2..0000000 --- a/boards/HVSCU-Cabinet/packets.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "id": 1607, - "type": "data", - "name": "SDC State", - "variables": [ - "HVSCU-Cabinet_sdc_good" - ] - }, - { - "id": 1608, - "type": "data", - "name": "Contactors State", - "variables": [ - "HVSCU-Cabinet_bus_voltage", - "HVSCU-Cabinet_contactors_state" - ] - }, - { - "id": 1609, - "type": "data", - "name": "Current Sense", - "variables": [ - "HVSCU-Cabinet_output_current" - ] - }, - { - "id": 1610, - "type": "data", - "name": "Cabinet IMD", - "variables": [ - "HVSCU-Cabinet_imd_state", - "HVSCU-Cabinet_isolation_resistance", - "HVSCU-Cabinet_ok" - ] - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/state_machine.json b/boards/HVSCU-Cabinet/state_machine.json deleted file mode 100644 index 08b9eb7..0000000 --- a/boards/HVSCU-Cabinet/state_machine.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "states": [ - "calibration", - "connecting", - { - "name": "operational", - "sub-states": [ - "idle", - "precharge", - "charged", - "ready", - "boosting" - ] - }, - "discharge", - "fault" - ], - "transitions": [ - { - "from": "calibration", - "to": "connecting", - "description": "All sensors zeroing complete" - }, - { - "from": "connecting", - "to": "operational", - "description": "Connection with the VCU/control station established" - }, - - { - "from": "operational.idle", - "to": "operational.precharge", - "description": "Start precharging the DC link" - }, - { - "from": "operational.precharge", - "to": "operational.charged", - "description": "Precharge successfull" - }, - { - "from": "operational.charged", - "to": "operational.ready", - "description": "Run confirmed and parameters set" - }, - { - "from": "operational.ready", - "to": "operational.booster", - "description": "Vehicle passing through booster section" - }, - { - "from": "operational.boosting", - "to": "operational.idle", - "description": "Vehicle exited booster section" - }, - - { - "from": "operational", - "to": "discharge", - "description": "Manual discharge" - }, - { - "from": "discharge", - "to": "operational", - "description": "Manual discharge reset" - } - ] -} \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/supercaps_data.json b/boards/HVSCU-Cabinet/supercaps_data.json deleted file mode 100644 index 9ee7b58..0000000 --- a/boards/HVSCU-Cabinet/supercaps_data.json +++ /dev/null @@ -1,215 +0,0 @@ -[ - { - "id": 1600, - "type": "data", - "name": "Supercaps Voltage Overview", - "variables": [ - "HVSCU-Cabinet_total_supercaps_voltage", - "HVSCU-Cabinet_soc" - ] - }, - { - "id": 1601, - "type": "data", - "name": "Module 1 Overview", - "variables": [ - "HVSCU-Cabinet_module_1_voltage", - "HVSCU-Cabinet_module_1_max_cell", - "HVSCU-Cabinet_module_1_min_cell", - "HVSCU-Cabinet_module_1_average_cell", - "HVSCU-Cabinet_module_1_max_temp", - "HVSCU-Cabinet_module_1_min_temp" - ] - }, - { - "id": 1602, - "type": "data", - "name": "Module 2 Overview", - "variables": [ - "HVSCU-Cabinet_module_2_voltage", - "HVSCU-Cabinet_module_2_max_cell", - "HVSCU-Cabinet_module_2_min_cell", - "HVSCU-Cabinet_module_2_average_cell", - "HVSCU-Cabinet_module_2_max_temp", - "HVSCU-Cabinet_module_2_min_temp" - ] - }, - { - "id": 1603, - "type": "data", - "name": "Module 3 Overview", - "variables": [ - "HVSCU-Cabinet_module_3_voltage", - "HVSCU-Cabinet_module_3_max_cell", - "HVSCU-Cabinet_module_3_min_cell", - "HVSCU-Cabinet_module_3_average_cell", - "HVSCU-Cabinet_module_3_max_temp", - "HVSCU-Cabinet_module_3_min_temp" - ] - }, - { - "id": 1604, - "type": "data", - "name": "Moduel 1 Cell Votlages", - "variables": [ - "HVSCU-Cabinet_module_1_cell_1_voltage", - "HVSCU-Cabinet_module_1_cell_2_voltage", - "HVSCU-Cabinet_module_1_cell_3_voltage", - "HVSCU-Cabinet_module_1_cell_4_voltage", - "HVSCU-Cabinet_module_1_cell_5_voltage", - "HVSCU-Cabinet_module_1_cell_6_voltage", - "HVSCU-Cabinet_module_1_cell_7_voltage", - "HVSCU-Cabinet_module_1_cell_8_voltage", - "HVSCU-Cabinet_module_1_cell_9_voltage", - "HVSCU-Cabinet_module_1_cell_10_voltage", - "HVSCU-Cabinet_module_1_cell_11_voltage", - "HVSCU-Cabinet_module_1_cell_12_voltage", - "HVSCU-Cabinet_module_1_cell_13_voltage", - "HVSCU-Cabinet_module_1_cell_14_voltage", - "HVSCU-Cabinet_module_1_cell_15_voltage", - "HVSCU-Cabinet_module_1_cell_16_voltage", - "HVSCU-Cabinet_module_1_cell_17_voltage", - "HVSCU-Cabinet_module_1_cell_18_voltage", - "HVSCU-Cabinet_module_1_cell_19_voltage", - "HVSCU-Cabinet_module_1_cell_20_voltage", - "HVSCU-Cabinet_module_1_cell_21_voltage", - "HVSCU-Cabinet_module_1_cell_22_voltage", - "HVSCU-Cabinet_module_1_cell_23_voltage", - "HVSCU-Cabinet_module_1_cell_24_voltage", - "HVSCU-Cabinet_module_1_cell_25_voltage", - "HVSCU-Cabinet_module_1_cell_26_voltage", - "HVSCU-Cabinet_module_1_cell_27_voltage", - "HVSCU-Cabinet_module_1_cell_28_voltage", - "HVSCU-Cabinet_module_1_cell_29_voltage", - "HVSCU-Cabinet_module_1_cell_30_voltage", - "HVSCU-Cabinet_module_1_cell_31_voltage", - "HVSCU-Cabinet_module_1_cell_32_voltage", - "HVSCU-Cabinet_module_1_cell_33_voltage", - "HVSCU-Cabinet_module_1_cell_34_voltage", - "HVSCU-Cabinet_module_1_cell_35_voltage", - "HVSCU-Cabinet_module_1_cell_36_voltage", - "HVSCU-Cabinet_module_1_cell_37_voltage", - "HVSCU-Cabinet_module_1_cell_38_voltage", - "HVSCU-Cabinet_module_1_cell_39_voltage", - "HVSCU-Cabinet_module_1_cell_40_voltage", - "HVSCU-Cabinet_module_1_cell_41_voltage", - "HVSCU-Cabinet_module_1_cell_42_voltage", - "HVSCU-Cabinet_module_1_cell_43_voltage", - "HVSCU-Cabinet_module_1_cell_44_voltage", - "HVSCU-Cabinet_module_1_cell_45_voltage", - "HVSCU-Cabinet_module_1_cell_46_voltage", - "HVSCU-Cabinet_module_1_cell_47_voltage", - "HVSCU-Cabinet_module_1_cell_48_voltage" - ] - }, - { - "id": 1605, - "type": "data", - "name": "Module 2 Cell Voltages", - "variables": [ - "HVSCU-Cabinet_module_2_cell_1_voltage", - "HVSCU-Cabinet_module_2_cell_2_voltage", - "HVSCU-Cabinet_module_2_cell_3_voltage", - "HVSCU-Cabinet_module_2_cell_4_voltage", - "HVSCU-Cabinet_module_2_cell_5_voltage", - "HVSCU-Cabinet_module_2_cell_6_voltage", - "HVSCU-Cabinet_module_2_cell_7_voltage", - "HVSCU-Cabinet_module_2_cell_8_voltage", - "HVSCU-Cabinet_module_2_cell_9_voltage", - "HVSCU-Cabinet_module_2_cell_10_voltage", - "HVSCU-Cabinet_module_2_cell_11_voltage", - "HVSCU-Cabinet_module_2_cell_12_voltage", - "HVSCU-Cabinet_module_2_cell_13_voltage", - "HVSCU-Cabinet_module_2_cell_14_voltage", - "HVSCU-Cabinet_module_2_cell_15_voltage", - "HVSCU-Cabinet_module_2_cell_16_voltage", - "HVSCU-Cabinet_module_2_cell_17_voltage", - "HVSCU-Cabinet_module_2_cell_18_voltage", - "HVSCU-Cabinet_module_2_cell_19_voltage", - "HVSCU-Cabinet_module_2_cell_20_voltage", - "HVSCU-Cabinet_module_2_cell_21_voltage", - "HVSCU-Cabinet_module_2_cell_22_voltage", - "HVSCU-Cabinet_module_2_cell_23_voltage", - "HVSCU-Cabinet_module_2_cell_24_voltage", - "HVSCU-Cabinet_module_2_cell_25_voltage", - "HVSCU-Cabinet_module_2_cell_26_voltage", - "HVSCU-Cabinet_module_2_cell_27_voltage", - "HVSCU-Cabinet_module_2_cell_28_voltage", - "HVSCU-Cabinet_module_2_cell_29_voltage", - "HVSCU-Cabinet_module_2_cell_30_voltage", - "HVSCU-Cabinet_module_2_cell_31_voltage", - "HVSCU-Cabinet_module_2_cell_32_voltage", - "HVSCU-Cabinet_module_2_cell_33_voltage", - "HVSCU-Cabinet_module_2_cell_34_voltage", - "HVSCU-Cabinet_module_2_cell_35_voltage", - "HVSCU-Cabinet_module_2_cell_36_voltage", - "HVSCU-Cabinet_module_2_cell_37_voltage", - "HVSCU-Cabinet_module_2_cell_38_voltage", - "HVSCU-Cabinet_module_2_cell_39_voltage", - "HVSCU-Cabinet_module_2_cell_40_voltage", - "HVSCU-Cabinet_module_2_cell_41_voltage", - "HVSCU-Cabinet_module_2_cell_42_voltage", - "HVSCU-Cabinet_module_2_cell_43_voltage", - "HVSCU-Cabinet_module_2_cell_44_voltage", - "HVSCU-Cabinet_module_2_cell_45_voltage", - "HVSCU-Cabinet_module_2_cell_46_voltage", - "HVSCU-Cabinet_module_2_cell_47_voltage", - "HVSCU-Cabinet_module_2_cell_48_voltage" - ] - }, - { - "id": 1606, - "type": "data", - "name": "Module 3 Cell Voltages", - "variables": [ - "HVSCU-Cabinet_module_3_cell_1_voltage", - "HVSCU-Cabinet_module_3_cell_2_voltage", - "HVSCU-Cabinet_module_3_cell_3_voltage", - "HVSCU-Cabinet_module_3_cell_4_voltage", - "HVSCU-Cabinet_module_3_cell_5_voltage", - "HVSCU-Cabinet_module_3_cell_6_voltage", - "HVSCU-Cabinet_module_3_cell_7_voltage", - "HVSCU-Cabinet_module_3_cell_8_voltage", - "HVSCU-Cabinet_module_3_cell_9_voltage", - "HVSCU-Cabinet_module_3_cell_10_voltage", - "HVSCU-Cabinet_module_3_cell_11_voltage", - "HVSCU-Cabinet_module_3_cell_12_voltage", - "HVSCU-Cabinet_module_3_cell_13_voltage", - "HVSCU-Cabinet_module_3_cell_14_voltage", - "HVSCU-Cabinet_module_3_cell_15_voltage", - "HVSCU-Cabinet_module_3_cell_16_voltage", - "HVSCU-Cabinet_module_3_cell_17_voltage", - "HVSCU-Cabinet_module_3_cell_18_voltage", - "HVSCU-Cabinet_module_3_cell_19_voltage", - "HVSCU-Cabinet_module_3_cell_20_voltage", - "HVSCU-Cabinet_module_3_cell_21_voltage", - "HVSCU-Cabinet_module_3_cell_22_voltage", - "HVSCU-Cabinet_module_3_cell_23_voltage", - "HVSCU-Cabinet_module_3_cell_24_voltage", - "HVSCU-Cabinet_module_3_cell_25_voltage", - "HVSCU-Cabinet_module_3_cell_26_voltage", - "HVSCU-Cabinet_module_3_cell_27_voltage", - "HVSCU-Cabinet_module_3_cell_28_voltage", - "HVSCU-Cabinet_module_3_cell_29_voltage", - "HVSCU-Cabinet_module_3_cell_30_voltage", - "HVSCU-Cabinet_module_3_cell_31_voltage", - "HVSCU-Cabinet_module_3_cell_32_voltage", - "HVSCU-Cabinet_module_3_cell_33_voltage", - "HVSCU-Cabinet_module_3_cell_34_voltage", - "HVSCU-Cabinet_module_3_cell_35_voltage", - "HVSCU-Cabinet_module_3_cell_36_voltage", - "HVSCU-Cabinet_module_3_cell_37_voltage", - "HVSCU-Cabinet_module_3_cell_38_voltage", - "HVSCU-Cabinet_module_3_cell_39_voltage", - "HVSCU-Cabinet_module_3_cell_40_voltage", - "HVSCU-Cabinet_module_3_cell_41_voltage", - "HVSCU-Cabinet_module_3_cell_42_voltage", - "HVSCU-Cabinet_module_3_cell_43_voltage", - "HVSCU-Cabinet_module_3_cell_44_voltage", - "HVSCU-Cabinet_module_3_cell_45_voltage", - "HVSCU-Cabinet_module_3_cell_46_voltage", - "HVSCU-Cabinet_module_3_cell_47_voltage", - "HVSCU-Cabinet_module_3_cell_48_voltage" - ] - } -] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/supercaps_measurements.json b/boards/HVSCU-Cabinet/supercaps_measurements.json deleted file mode 100644 index 165c839..0000000 --- a/boards/HVSCU-Cabinet/supercaps_measurements.json +++ /dev/null @@ -1,1831 +0,0 @@ -[ - { - "id": "HVSCU-Cabinet_total_supercaps_voltage", - "name": "Total Supercaps Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 400.0, - "warning": 446.4 - } - }, - { - "id": "HVSCU-Cabinet_module_1_voltage", - "name": "Module 1 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 133.33, - "warning": 148.8 - } - }, - { - "id": "HVSCU-Cabinet_module_1_max_cell", - "name": "Module 1 Max Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_min_cell", - "name": "Module 1 Min Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_average_cell", - "name": "Module 1 Average Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_max_temp", - "name": "Module 1 Max Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_1_min_temp", - "name": "Module 1 Min Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_2_voltage", - "name": "Module 2 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 133.33, - "warning": 148.8 - } - }, - { - "id": "HVSCU-Cabinet_module_2_max_cell", - "name": "Module 2 Max Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_min_cell", - "name": "Module 2 Min Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_average_cell", - "name": "Module 2 Average Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_max_temp", - "name": "Module 2 Max Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_2_min_temp", - "name": "Module 2 Min Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_3_voltage", - "name": "Module 3 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "below": { - "safe": 133.33, - "warning": 148.8 - } - }, - { - "id": "HVSCU-Cabinet_module_3_max_cell", - "name": "Module 3 Max Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_min_cell", - "name": "Module 3 Min Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_average_cell", - "name": "Module 3 Average Cell Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_max_temp", - "name": "Module 3 Max Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_3_min_temp", - "name": "Module 3 Min Temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC", - "out_of_range": { - "safe": [ - 10.5, - 30.5 - ], - "warning": [ - 5.5, - 60.0 - ] - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_1_voltage", - "name": "Module 1 Cell 1 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_2_voltage", - "name": "Module 1 Cell 2 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_3_voltage", - "name": "Module 1 Cell 3 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_4_voltage", - "name": "Module 1 Cell 4 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_5_voltage", - "name": "Module 1 Cell 5 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_6_voltage", - "name": "Module 1 Cell 6 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_7_voltage", - "name": "Module 1 Cell 7 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_8_voltage", - "name": "Module 1 Cell 8 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_9_voltage", - "name": "Module 1 Cell 9 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_10_voltage", - "name": "Module 1 Cell 10 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_11_voltage", - "name": "Module 1 Cell 11 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_12_voltage", - "name": "Module 1 Cell 12 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_13_voltage", - "name": "Module 1 Cell 13 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_14_voltage", - "name": "Module 1 Cell 14 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_15_voltage", - "name": "Module 1 Cell 15 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_16_voltage", - "name": "Module 1 Cell 16 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_17_voltage", - "name": "Module 1 Cell 17 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_18_voltage", - "name": "Module 1 Cell 18 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_19_voltage", - "name": "Module 1 Cell 19 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_20_voltage", - "name": "Module 1 Cell 20 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_21_voltage", - "name": "Module 1 Cell 21 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_22_voltage", - "name": "Module 1 Cell 22 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_23_voltage", - "name": "Module 1 Cell 23 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_24_voltage", - "name": "Module 1 Cell 24 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_25_voltage", - "name": "Module 1 Cell 25 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_26_voltage", - "name": "Module 1 Cell 26 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_27_voltage", - "name": "Module 1 Cell 27 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_28_voltage", - "name": "Module 1 Cell 28 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_29_voltage", - "name": "Module 1 Cell 29 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_30_voltage", - "name": "Module 1 Cell 30 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_31_voltage", - "name": "Module 1 Cell 31 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_32_voltage", - "name": "Module 1 Cell 32 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_33_voltage", - "name": "Module 1 Cell 33 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_34_voltage", - "name": "Module 1 Cell 34 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_35_voltage", - "name": "Module 1 Cell 35 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_36_voltage", - "name": "Module 1 Cell 36 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_37_voltage", - "name": "Module 1 Cell 37 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_38_voltage", - "name": "Module 1 Cell 38 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_39_voltage", - "name": "Module 1 Cell 39 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_40_voltage", - "name": "Module 1 Cell 40 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_41_voltage", - "name": "Module 1 Cell 41 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_42_voltage", - "name": "Module 1 Cell 42 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_43_voltage", - "name": "Module 1 Cell 43 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_44_voltage", - "name": "Module 1 Cell 44 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_45_voltage", - "name": "Module 1 Cell 45 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_46_voltage", - "name": "Module 1 Cell 46 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_47_voltage", - "name": "Module 1 Cell 47 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_1_cell_48_voltage", - "name": "Module 1 Cell 48 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_1_voltage", - "name": "Module 2 Cell 1 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_2_voltage", - "name": "Module 2 Cell 2 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_3_voltage", - "name": "Module 2 Cell 3 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_4_voltage", - "name": "Module 2 Cell 4 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_5_voltage", - "name": "Module 2 Cell 5 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_6_voltage", - "name": "Module 2 Cell 6 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_7_voltage", - "name": "Module 2 Cell 7 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_8_voltage", - "name": "Module 2 Cell 8 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_9_voltage", - "name": "Module 2 Cell 9 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_10_voltage", - "name": "Module 2 Cell 10 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_11_voltage", - "name": "Module 2 Cell 11 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_12_voltage", - "name": "Module 2 Cell 12 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_13_voltage", - "name": "Module 2 Cell 13 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_14_voltage", - "name": "Module 2 Cell 14 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_15_voltage", - "name": "Module 2 Cell 15 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_16_voltage", - "name": "Module 2 Cell 16 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_17_voltage", - "name": "Module 2 Cell 17 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_18_voltage", - "name": "Module 2 Cell 18 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_19_voltage", - "name": "Module 2 Cell 19 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_20_voltage", - "name": "Module 2 Cell 20 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_21_voltage", - "name": "Module 2 Cell 21 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_22_voltage", - "name": "Module 2 Cell 22 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_23_voltage", - "name": "Module 2 Cell 23 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_24_voltage", - "name": "Module 2 Cell 24 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_25_voltage", - "name": "Module 2 Cell 25 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_26_voltage", - "name": "Module 2 Cell 26 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_27_voltage", - "name": "Module 2 Cell 27 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_28_voltage", - "name": "Module 2 Cell 28 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_29_voltage", - "name": "Module 2 Cell 29 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_30_voltage", - "name": "Module 2 Cell 30 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_31_voltage", - "name": "Module 2 Cell 31 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_32_voltage", - "name": "Module 2 Cell 32 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_33_voltage", - "name": "Module 2 Cell 33 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_34_voltage", - "name": "Module 2 Cell 34 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_35_voltage", - "name": "Module 2 Cell 35 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_36_voltage", - "name": "Module 2 Cell 36 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_37_voltage", - "name": "Module 2 Cell 37 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_38_voltage", - "name": "Module 2 Cell 38 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_39_voltage", - "name": "Module 2 Cell 39 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_40_voltage", - "name": "Module 2 Cell 40 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_41_voltage", - "name": "Module 2 Cell 41 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_42_voltage", - "name": "Module 2 Cell 42 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_43_voltage", - "name": "Module 2 Cell 43 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_44_voltage", - "name": "Module 2 Cell 44 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_45_voltage", - "name": "Module 2 Cell 45 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_46_voltage", - "name": "Module 2 Cell 46 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_47_voltage", - "name": "Module 2 Cell 47 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_2_cell_48_voltage", - "name": "Module 2 Cell 48 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_1_voltage", - "name": "Module 3 Cell 1 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_2_voltage", - "name": "Module 3 Cell 2 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_3_voltage", - "name": "Module 3 Cell 3 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_4_voltage", - "name": "Module 3 Cell 4 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_5_voltage", - "name": "Module 3 Cell 5 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_6_voltage", - "name": "Module 3 Cell 6 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_7_voltage", - "name": "Module 3 Cell 7 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_8_voltage", - "name": "Module 3 Cell 8 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_9_voltage", - "name": "Module 3 Cell 9 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_10_voltage", - "name": "Module 3 Cell 10 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_11_voltage", - "name": "Module 3 Cell 11 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_12_voltage", - "name": "Module 3 Cell 12 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_13_voltage", - "name": "Module 3 Cell 13 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_14_voltage", - "name": "Module 3 Cell 14 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_15_voltage", - "name": "Module 3 Cell 15 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_16_voltage", - "name": "Module 3 Cell 16 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_17_voltage", - "name": "Module 3 Cell 17 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_18_voltage", - "name": "Module 3 Cell 18 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_19_voltage", - "name": "Module 3 Cell 19 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_20_voltage", - "name": "Module 3 Cell 20 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_21_voltage", - "name": "Module 3 Cell 21 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_22_voltage", - "name": "Module 3 Cell 22 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_23_voltage", - "name": "Module 3 Cell 23 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_24_voltage", - "name": "Module 3 Cell 24 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_25_voltage", - "name": "Module 3 Cell 25 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_26_voltage", - "name": "Module 3 Cell 26 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_27_voltage", - "name": "Module 3 Cell 27 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_28_voltage", - "name": "Module 3 Cell 28 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_29_voltage", - "name": "Module 3 Cell 29 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_30_voltage", - "name": "Module 3 Cell 30 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_31_voltage", - "name": "Module 3 Cell 31 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_32_voltage", - "name": "Module 3 Cell 32 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_33_voltage", - "name": "Module 3 Cell 33 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_34_voltage", - "name": "Module 3 Cell 34 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_35_voltage", - "name": "Module 3 Cell 35 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_36_voltage", - "name": "Module 3 Cell 36 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_37_voltage", - "name": "Module 3 Cell 37 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_38_voltage", - "name": "Module 3 Cell 38 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_39_voltage", - "name": "Module 3 Cell 39 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_40_voltage", - "name": "Module 3 Cell 40 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_41_voltage", - "name": "Module 3 Cell 41 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_42_voltage", - "name": "Module 3 Cell 42 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_43_voltage", - "name": "Module 3 Cell 43 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_44_voltage", - "name": "Module 3 Cell 44 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_45_voltage", - "name": "Module 3 Cell 45 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_46_voltage", - "name": "Module 3 Cell 46 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_47_voltage", - "name": "Module 3 Cell 47 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - }, - { - "id": "HVSCU-Cabinet_module_3_cell_48_voltage", - "name": "Module 3 Cell 48 Voltage", - "type": "float32", - "podUnits": "mV", - "displayUnits": "V", - "below": { - "safe": 2.78, - "warning": 3.1 - } - } -] \ No newline at end of file diff --git a/boards/HVSCU/HVSCU.json b/boards/HVSCU/HVSCU.json deleted file mode 100644 index 344dd94..0000000 --- a/boards/HVSCU/HVSCU.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 1, - "board_ip": "192.168.1.7", - "measurements": [ - "HVSCU_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/HVSCU/HVSCU_measurements.json b/boards/HVSCU/HVSCU_measurements.json deleted file mode 100644 index a3c02c6..0000000 --- a/boards/HVSCU/HVSCU_measurements.json +++ /dev/null @@ -1,1504 +0,0 @@ -[ - { - "id": "battery1_SOC", - "name": "Battery 1 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery1_cell1", - "name": "Battery 1 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell2", - "name": "Battery 1 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell3", - "name": "Battery 1 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell4", - "name": "Battery 1 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell5", - "name": "Battery 1 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_cell6", - "name": "Battery 1 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_temperature1", - "name": "Battery 1 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery1_temperature2", - "name": "Battery 1 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery1_total_voltage", - "name": "Battery 1 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery1_conv_rate", - "name": "Battery 1 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery2_SOC", - "name": "Battery 2 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery2_cell1", - "name": "Battery 2 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell2", - "name": "Battery 2 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell3", - "name": "Battery 2 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell4", - "name": "Battery 2 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell5", - "name": "Battery 2 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_cell6", - "name": "Battery 2 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_temperature1", - "name": "Battery 2 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery2_temperature2", - "name": "Battery 2 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery2_total_voltage", - "name": "Battery 2 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery2_conv_rate", - "name": "Battery 2 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery3_SOC", - "name": "Battery 3 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery3_cell1", - "name": "Battery 3 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell2", - "name": "Battery 3 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell3", - "name": "Battery 3 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell4", - "name": "Battery 3 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell5", - "name": "Battery 3 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_cell6", - "name": "Battery 3 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_temperature1", - "name": "Battery 3 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery3_temperature2", - "name": "Battery 3 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery3_total_voltage", - "name": "Battery 3 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery3_conv_rate", - "name": "Battery 3 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery4_SOC", - "name": "Battery 4 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery4_cell1", - "name": "Battery 4 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell2", - "name": "Battery 4 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell3", - "name": "Battery 4 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell4", - "name": "Battery 4 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell5", - "name": "Battery 4 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_cell6", - "name": "Battery 4 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_temperature1", - "name": "Battery 4 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery4_temperature2", - "name": "Battery 4 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery4_total_voltage", - "name": "Battery 4 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery4_conv_rate", - "name": "Battery 4 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery5_SOC", - "name": "Battery 5 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery5_cell1", - "name": "Battery 5 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell2", - "name": "Battery 5 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell3", - "name": "Battery 5 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell4", - "name": "Battery 5 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell5", - "name": "Battery 5 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_cell6", - "name": "Battery 5 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_temperature1", - "name": "Battery 5 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery5_temperature2", - "name": "Battery 5 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery5_total_voltage", - "name": "Battery 5 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery5_conv_rate", - "name": "Battery 5 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery6_SOC", - "name": "Battery 6 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery6_cell1", - "name": "Battery 6 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell2", - "name": "Battery 6 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell3", - "name": "Battery 6 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell4", - "name": "Battery 6 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell5", - "name": "Battery 6 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_cell6", - "name": "Battery 6 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_temperature1", - "name": "Battery 6 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery6_temperature2", - "name": "Battery 6 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery6_total_voltage", - "name": "Battery 6 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery6_conv_rate", - "name": "Battery 6 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery7_SOC", - "name": "Battery 7 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery7_cell1", - "name": "Battery 7 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell2", - "name": "Battery 7 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell3", - "name": "Battery 7 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell4", - "name": "Battery 7 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell5", - "name": "Battery 7 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_cell6", - "name": "Battery 7 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_temperature1", - "name": "Battery 7 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery7_temperature2", - "name": "Battery 7 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery7_total_voltage", - "name": "Battery 7 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery7_conv_rate", - "name": "Battery 7 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery8_SOC", - "name": "Battery 8 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery8_cell1", - "name": "Battery 8 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell2", - "name": "Battery 8 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell3", - "name": "Battery 8 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell4", - "name": "Battery 8 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell5", - "name": "Battery 8 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_cell6", - "name": "Battery 8 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_temperature1", - "name": "Battery 8 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery8_temperature2", - "name": "Battery 8 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery8_total_voltage", - "name": "Battery 8 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery8_conv_rate", - "name": "Battery 8 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery9_SOC", - "name": "Battery 9 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery9_cell1", - "name": "Battery 9 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell2", - "name": "Battery 9 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell3", - "name": "Battery 9 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell4", - "name": "Battery 9 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell5", - "name": "Battery 9 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_cell6", - "name": "Battery 9 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_temperature1", - "name": "Battery 9 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery9_temperature2", - "name": "Battery 9 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery9_total_voltage", - "name": "Battery 9 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery9_conv_rate", - "name": "Battery 9 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery10_SOC", - "name": "Battery 10 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery10_cell1", - "name": "Battery 10 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell2", - "name": "Battery 10 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell3", - "name": "Battery 10 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell4", - "name": "Battery 10 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell5", - "name": "Battery 10 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_cell6", - "name": "Battery 10 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_temperature1", - "name": "Battery 10 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery10_temperature2", - "name": "Battery 10 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery10_total_voltage", - "name": "Battery 10 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery10_conv_rate", - "name": "Battery 10 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery11_SOC", - "name": "Battery 11 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery11_cell1", - "name": "Battery 11 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell2", - "name": "Battery 11 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell3", - "name": "Battery 11 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell4", - "name": "Battery 11 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell5", - "name": "Battery 11 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_cell6", - "name": "Battery 11 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_temperature1", - "name": "Battery 11 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery11_temperature2", - "name": "Battery 11 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery11_total_voltage", - "name": "Battery 11 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery11_conv_rate", - "name": "Battery 11 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery12_SOC", - "name": "Battery 12 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery12_cell1", - "name": "Battery 12 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell2", - "name": "Battery 12 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell3", - "name": "Battery 12 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell4", - "name": "Battery 12 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell5", - "name": "Battery 12 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_cell6", - "name": "Battery 12 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_temperature1", - "name": "Battery 12 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery12_temperature2", - "name": "Battery 12 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery12_total_voltage", - "name": "Battery 12 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery12_conv_rate", - "name": "Battery 12 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery13_SOC", - "name": "Battery 13 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery13_cell1", - "name": "Battery 13 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell2", - "name": "Battery 13 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell3", - "name": "Battery 13 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell4", - "name": "Battery 13 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell5", - "name": "Battery 13 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_cell6", - "name": "Battery 13 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_temperature1", - "name": "Battery 13 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery13_temperature2", - "name": "Battery 13 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery13_total_voltage", - "name": "Battery 13 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery13_conv_rate", - "name": "Battery 13 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery14_SOC", - "name": "Battery 14 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery14_cell1", - "name": "Battery 14 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell2", - "name": "Battery 14 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell3", - "name": "Battery 14 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell4", - "name": "Battery 14 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell5", - "name": "Battery 14 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_cell6", - "name": "Battery 14 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_temperature1", - "name": "Battery 14 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery14_temperature2", - "name": "Battery 14 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery14_total_voltage", - "name": "Battery 14 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery14_conv_rate", - "name": "Battery 14 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery15_SOC", - "name": "Battery 15 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery15_cell1", - "name": "Battery 15 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell2", - "name": "Battery 15 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell3", - "name": "Battery 15 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell4", - "name": "Battery 15 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell5", - "name": "Battery 15 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_cell6", - "name": "Battery 15 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_temperature1", - "name": "Battery 15 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery15_temperature2", - "name": "Battery 15 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery15_total_voltage", - "name": "Battery 15 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery15_conv_rate", - "name": "Battery 15 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery16_SOC", - "name": "Battery 16 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery16_cell1", - "name": "Battery 16 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell2", - "name": "Battery 16 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell3", - "name": "Battery 16 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell4", - "name": "Battery 16 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell5", - "name": "Battery 16 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_cell6", - "name": "Battery 16 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_temperature1", - "name": "Battery 16 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery16_temperature2", - "name": "Battery 16 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery16_total_voltage", - "name": "Battery 16 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery16_conv_rate", - "name": "Battery 16 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery17_SOC", - "name": "Battery 17 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery17_cell1", - "name": "Battery 17 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell2", - "name": "Battery 17 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell3", - "name": "Battery 17 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell4", - "name": "Battery 17 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell5", - "name": "Battery 17 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_cell6", - "name": "Battery 17 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_temperature1", - "name": "Battery 17 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery17_temperature2", - "name": "Battery 17 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery17_total_voltage", - "name": "Battery 17 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery17_conv_rate", - "name": "Battery 17 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "battery18_SOC", - "name": "Battery 18 SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "battery18_cell1", - "name": "Battery 18 Cell 1", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell2", - "name": "Battery 18 Cell 2", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell3", - "name": "Battery 18 Cell 3", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell4", - "name": "Battery 18 Cell 4", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell5", - "name": "Battery 18 Cell 5", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_cell6", - "name": "Battery 18 Cell 6", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_temperature1", - "name": "Battery 18 Temperature 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery18_temperature2", - "name": "Battery 18 Temperature 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "battery18_total_voltage", - "name": "Battery 18 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "battery18_conv_rate", - "name": "Battery 18 Conversion rate", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "batteries_voltage_reading", - "name": "Batteries voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "voltage_reading", - "name": "Voltage sensor", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "safeRange": [ - 0.0, - 430.0 - ] - }, - { - "id": "current_reading", - "name": "Current sensor", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -15.0, - 85.0 - ] - }, - { - "id": "general_state_machine_status", - "name": "General State Machine status", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "operational_state_machine_status", - "name": "Operational State Machine status", - "type": "enum", - "enumValues": [ - "HV OPEN", - "PRECHARGE", - "HV CLOSED", - "CHARGING" - ] - }, - { - "id": "driver_reading_period", - "name": "BMS reading period", - "type": "int32" - }, - { - "id": "imd_status", - "name": "IMD Status", - "type": "enum", - "enumValues": [ - "SHORTCIRCUIT", - "NORMAL", - "UNDERVOLTAGE", - "FAST_EVAL", - "EQUIPMENT_FAULT", - "GROUNDING_FAULT" - ] - }, - { - "id": "imd_resistance", - "name": "IMD Resistance", - "type": "float32", - "podUnits": "Ohm", - "displayUnits": "MOhm", - "warningRange": [ - 0.0, - 0.1 - ] - }, - { - "id": "imd_is_ok", - "name": "IMD OK", - "type": "bool" - }, - { - "id": "sdc_status", - "name": "SDC Status", - "type": "enum", - "enumValues": [ - "ENGAGED", - "DISENGAGED" - ] - }, - { - "id": "minimum_soc", - "name": "Minimum SOC", - "type": "float32", - "displayUnits": "%" - }, - { - "id": "bms_status", - "name": "BMS Status", - "type": "enum", - "enumValues": [ - "OK", - "FAULT" - ] - }, - { - "id": "voltage_min", - "name": "Minimum cell voltage", - "type": "float32", - "displayUnits": "V" - }, - { - "id": "voltage_max", - "name": "Maximum cell voltage", - "type": "float32", - "displayUnits": "V" - }, - { - "id": "temp_min", - "name": "Minimum temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "temp_max", - "name": "Maximum temperature", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - } -] \ No newline at end of file diff --git a/boards/HVSCU/orders.json b/boards/HVSCU/orders.json deleted file mode 100644 index f0918d4..0000000 --- a/boards/HVSCU/orders.json +++ /dev/null @@ -1,38 +0,0 @@ -[ - { - "type": "order", - "name": "FAULT", - "variables": [], - "id": 0 - }, - { - "type": "order", - "name": "close_contactors", - "variables": [], - "id": 900 - }, - { - "type": "order", - "name": "open_contactors", - "variables": [], - "id": 901 - }, - { - "type": "order", - "name": "sdc_obccu", - "variables": [], - "id": 902 - }, - { - "type": "order", - "name": "imd_bypass", - "variables": [], - "id": 903 - }, - { - "type": "order", - "name": "zeroing", - "variables": [], - "id": 904 - } -] \ No newline at end of file diff --git a/boards/HVSCU/packets.json b/boards/HVSCU/packets.json deleted file mode 100644 index 2ac6151..0000000 --- a/boards/HVSCU/packets.json +++ /dev/null @@ -1,424 +0,0 @@ -[ - { - "id": 0, - "type": "data", - "name": "FAULT" - }, - { - "id": 910, - "type": "data", - "name": "battery_1", - "variables": [ - "battery1_SOC", - "battery1_cell1", - "battery1_cell2", - "battery1_cell3", - "battery1_cell4", - "battery1_cell5", - "battery1_cell6", - "battery1_temperature1", - "battery1_temperature2", - "battery1_total_voltage", - "battery1_conv_rate" - ] - }, - { - "id": 911, - "type": "data", - "name": "battery_2", - "variables": [ - "battery2_SOC", - "battery2_cell1", - "battery2_cell2", - "battery2_cell3", - "battery2_cell4", - "battery2_cell5", - "battery2_cell6", - "battery2_temperature1", - "battery2_temperature2", - "battery2_total_voltage", - "battery2_conv_rate" - ] - }, - { - "id": 912, - "type": "data", - "name": "battery_3", - "variables": [ - "battery3_SOC", - "battery3_cell1", - "battery3_cell2", - "battery3_cell3", - "battery3_cell4", - "battery3_cell5", - "battery3_cell6", - "battery3_temperature1", - "battery3_temperature2", - "battery3_total_voltage", - "battery3_conv_rate" - ] - }, - { - "id": 913, - "type": "data", - "name": "battery_4", - "variables": [ - "battery4_SOC", - "battery4_cell1", - "battery4_cell2", - "battery4_cell3", - "battery4_cell4", - "battery4_cell5", - "battery4_cell6", - "battery4_temperature1", - "battery4_temperature2", - "battery4_total_voltage", - "battery4_conv_rate" - ] - }, - { - "id": 914, - "type": "data", - "name": "battery_5", - "variables": [ - "battery5_SOC", - "battery5_cell1", - "battery5_cell2", - "battery5_cell3", - "battery5_cell4", - "battery5_cell5", - "battery5_cell6", - "battery5_temperature1", - "battery5_temperature2", - "battery5_total_voltage", - "battery5_conv_rate" - ] - }, - { - "id": 915, - "type": "data", - "name": "battery_6", - "variables": [ - "battery6_SOC", - "battery6_cell1", - "battery6_cell2", - "battery6_cell3", - "battery6_cell4", - "battery6_cell5", - "battery6_cell6", - "battery6_temperature1", - "battery6_temperature2", - "battery6_total_voltage", - "battery6_conv_rate" - ] - }, - { - "id": 916, - "type": "data", - "name": "battery_7", - "variables": [ - "battery7_SOC", - "battery7_cell1", - "battery7_cell2", - "battery7_cell3", - "battery7_cell4", - "battery7_cell5", - "battery7_cell6", - "battery7_temperature1", - "battery7_temperature2", - "battery7_total_voltage", - "battery7_conv_rate" - ] - }, - { - "id": 917, - "type": "data", - "name": "battery_8", - "variables": [ - "battery8_SOC", - "battery8_cell1", - "battery8_cell2", - "battery8_cell3", - "battery8_cell4", - "battery8_cell5", - "battery8_cell6", - "battery8_temperature1", - "battery8_temperature2", - "battery8_total_voltage", - "battery8_conv_rate" - ] - }, - { - "id": 918, - "type": "data", - "name": "battery_9", - "variables": [ - "battery9_SOC", - "battery9_cell1", - "battery9_cell2", - "battery9_cell3", - "battery9_cell4", - "battery9_cell5", - "battery9_cell6", - "battery9_temperature1", - "battery9_temperature2", - "battery9_total_voltage", - "battery9_conv_rate" - ] - }, - { - "id": 919, - "type": "data", - "name": "battery_10", - "variables": [ - "battery10_SOC", - "battery10_cell1", - "battery10_cell2", - "battery10_cell3", - "battery10_cell4", - "battery10_cell5", - "battery10_cell6", - "battery10_temperature1", - "battery10_temperature2", - "battery10_total_voltage", - "battery10_conv_rate" - ] - }, - { - "id": 920, - "type": "data", - "name": "battery_11", - "variables": [ - "battery11_SOC", - "battery11_cell1", - "battery11_cell2", - "battery11_cell3", - "battery11_cell4", - "battery11_cell5", - "battery11_cell6", - "battery11_temperature1", - "battery11_temperature2", - "battery11_total_voltage", - "battery11_conv_rate" - ] - }, - { - "id": 921, - "type": "data", - "name": "battery_12", - "variables": [ - "battery12_SOC", - "battery12_cell1", - "battery12_cell2", - "battery12_cell3", - "battery12_cell4", - "battery12_cell5", - "battery12_cell6", - "battery12_temperature1", - "battery12_temperature2", - "battery12_total_voltage", - "battery12_conv_rate" - ] - }, - { - "id": 922, - "type": "data", - "name": "battery_13", - "variables": [ - "battery13_SOC", - "battery13_cell1", - "battery13_cell2", - "battery13_cell3", - "battery13_cell4", - "battery13_cell5", - "battery13_cell6", - "battery13_temperature1", - "battery13_temperature2", - "battery13_total_voltage", - "battery13_conv_rate" - ] - }, - { - "id": 923, - "type": "data", - "name": "battery_14", - "variables": [ - "battery14_SOC", - "battery14_cell1", - "battery14_cell2", - "battery14_cell3", - "battery14_cell4", - "battery14_cell5", - "battery14_cell6", - "battery14_temperature1", - "battery14_temperature2", - "battery14_total_voltage", - "battery14_conv_rate" - ] - }, - { - "id": 924, - "type": "data", - "name": "battery_15", - "variables": [ - "battery15_SOC", - "battery15_cell1", - "battery15_cell2", - "battery15_cell3", - "battery15_cell4", - "battery15_cell5", - "battery15_cell6", - "battery15_temperature1", - "battery15_temperature2", - "battery15_total_voltage", - "battery15_conv_rate" - ] - }, - { - "id": 925, - "type": "data", - "name": "battery_16", - "variables": [ - "battery16_SOC", - "battery16_cell1", - "battery16_cell2", - "battery16_cell3", - "battery16_cell4", - "battery16_cell5", - "battery16_cell6", - "battery16_temperature1", - "battery16_temperature2", - "battery16_total_voltage", - "battery16_conv_rate" - ] - }, - { - "id": 926, - "type": "data", - "name": "battery_17", - "variables": [ - "battery17_SOC", - "battery17_cell1", - "battery17_cell2", - "battery17_cell3", - "battery17_cell4", - "battery17_cell5", - "battery17_cell6", - "battery17_temperature1", - "battery17_temperature2", - "battery17_total_voltage", - "battery17_conv_rate" - ] - }, - { - "id": 927, - "type": "data", - "name": "battery_18", - "variables": [ - "battery18_SOC", - "battery18_cell1", - "battery18_cell2", - "battery18_cell3", - "battery18_cell4", - "battery18_cell5", - "battery18_cell6", - "battery18_temperature1", - "battery18_temperature2", - "battery18_total_voltage", - "battery18_conv_rate" - ] - }, - { - "id": 928, - "type": "data", - "name": "batteries_voltage", - "variables": [ - "batteries_voltage_reading" - ] - }, - { - "id": 930, - "type": "data", - "name": "voltage_sensor", - "variables": [ - "voltage_reading" - ] - }, - { - "id": 931, - "name": "current_sensor", - "type": "data", - "variables": [ - "current_reading" - ] - }, - { - "id": 940, - "name": "general_state_machine", - "type": "data", - "variables": [ - "general_state_machine_status" - ] - }, - { - "id": 941, - "name": "operational_state_machine", - "type": "data", - "variables": [ - "operational_state_machine_status" - ] - }, - { - "id": 942, - "name": "driver_diagnosis", - "type": "data", - "variables": [ - "driver_reading_period" - ] - }, - { - "id": 943, - "name": "imd", - "type": "data", - "variables": [ - "imd_status", - "imd_resistance", - "imd_is_ok" - ] - }, - { - "id": 944, - "name": "sdc", - "type": "data", - "variables": [ - "sdc_status" - ] - }, - { - "id": 945, - "name": "minimum_soc", - "type": "data", - "variables": [ - "minimum_soc" - ] - }, - { - "id": 946, - "name": "bms", - "type": "data", - "variables": [ - "bms_status" - ] - }, - { - "id": 947, - "name": "batteries_data", - "type": "data", - "variables": [ - "voltage_min", - "voltage_max", - "temp_min", - "temp_max" - ] - } -] \ No newline at end of file diff --git a/boards/LCU/LCU.json b/boards/LCU/LCU.json deleted file mode 100644 index c7332f8..0000000 --- a/boards/LCU/LCU.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 4, - "board_ip": "192.168.1.4", - "measurements": [ - "LCU_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/LCU/LCU_measurements.json b/boards/LCU/LCU_measurements.json deleted file mode 100644 index 1c797d9..0000000 --- a/boards/LCU/LCU_measurements.json +++ /dev/null @@ -1,1138 +0,0 @@ -[ - { - "id": "ldu_id", - "name": "LDU Id", - "type": "uint8" - }, - { - "id": "pwm_duty_cycle", - "name": "Duty Cycle", - "type": "float32", - "podUnits": "%", - "displayUnits": "%", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "lcu_battery_voltage", - "name": "Battery Voltage to set", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_desired_current", - "name": "Desired current to set", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -40.0, - 40.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "ldu_buffer_id", - "name": "LDU Buffer ID", - "type": "uint8" - }, - { - "id": "lcu_coil_temp_1", - "name": "Temperature on LDU 1 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_2", - "name": "Temperature on LDU 2 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_3", - "name": "Temperature on LDU 3 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_4", - "name": "Temperature on LDU 4 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_5", - "name": "Temperature on LDU 5 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_6", - "name": "Temperature on LDU 6 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_7", - "name": "Temperature on LDU 7 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_8", - "name": "Temperature on LDU 8 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_9", - "name": "Temperature on LDU 9 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_temp_10", - "name": "Temperature on LDU 10 coil", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_1", - "name": "Temperature on LPU 1", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_2", - "name": "Temperature on LPU 2", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_3", - "name": "Temperature on LPU 3", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_4", - "name": "Temperature on LPU 4", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_5", - "name": "Temperature on LPU 5", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_6", - "name": "Temperature on LPU 6", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_7", - "name": "Temperature on LPU 7", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_8", - "name": "Temperature on LPU 8", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_9", - "name": "Temperature on LPU 9", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_driver_temp_10", - "name": "Temperature on LPU 10", - "type": "float32", - "podUnits": "ºC", - "displayUnits": "ºC" - }, - { - "id": "lcu_coil_current_1", - "name": "Current on LDU 1 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_2", - "name": "Current on LDU 2 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_3", - "name": "Current on LDU 3 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_4", - "name": "Current on LDU 4 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_5", - "name": "Current on LDU 5 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_6", - "name": "Current on LDU 6 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_7", - "name": "Current on LDU 7 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_8", - "name": "Current on LDU 8 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_9", - "name": "Current on LDU 9 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "lcu_coil_current_10", - "name": "Current on LDU 10 coil", - "type": "float32", - "podUnits": "A", - "displayUnits": "A", - "safeRange": [ - -55.0, - 55.0 - ], - "warningRange": [ - -40.0, - 40.0 - ] - }, - { - "id": "fixed_vbat", - "name": "fixed_vbat_0", - "type": "float32", - "podUnits": "V", - "displayUnits": "V", - "safeRange": [ - 250.0, - 450.0 - ], - "warningRange": [ - 300.0, - 450.0 - ] - }, - { - "id": "lcu_vbat_1", - "name": "LPU 1 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_2", - "name": "LPU 2 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_3", - "name": "LPU 3 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_4", - "name": "LPU 4 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_5", - "name": "LPU 5 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_6", - "name": "LPU 6 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_7", - "name": "LPU 7 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_8", - "name": "LPU 8 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_9", - "name": "LPU 9 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_vbat_10", - "name": "LPU 10 Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "lcu_airgap_1", - "name": "Airgap 1", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_2", - "name": "Airgap 2", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_3", - "name": "Airgap 3", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_4", - "name": "Airgap 4", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_5", - "name": "Airgap 5", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_6", - "name": "Airgap 6", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_7", - "name": "Airgap 7", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_airgap_8", - "name": "Airgap 8", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_control_y", - "name": "Dist_Control_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_control_z", - "name": "Dist_Control_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_control_x", - "name": "Rot_Control_x", - "type": "float32", - "podUnits": "degrees", - "displayUnits": "degrees" - }, - { - "id": "rot_control_y", - "name": "Rot_Control_y", - "type": "float32", - "podUnits": "degrees", - "displayUnits": "degrees" - }, - { - "id": "rot_control_z", - "name": "Rot_Control_z", - "type": "float32", - "podUnits": "degrees", - "displayUnits": "degrees" - }, - { - "id": "test_gui__1", - "name": "Airgap BUENO 1", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui__2", - "name": "Airgap BUENO 2", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui_3_", - "name": "Airgap BUENO 3", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui_4_", - "name": "Airgap BUENO 4", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui_5_", - "name": "Airgap BUENO 5", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui_6_", - "name": "Airgap BUENO 6", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui_7_", - "name": "Airgap BUENO 7", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "test_gui_8_", - "name": "Airgap BUENO 8", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "lcu_desired_distance", - "name": "desired distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "pos_y", - "name": "Y pos meters", - "type": "float32", - "podUnits": "m", - "displayUnits": "mm" - }, - { - "id": "pos_z", - "name": "Z pos meters", - "type": "float32", - "podUnits": "m", - "displayUnits": "mm" - }, - { - "id": "pos_rot_x", - "name": "X rotation radians", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_rot_y", - "name": "Y rotation radians", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_rot_z", - "name": "Z rotation radians", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_y_d", - "name": "Y pos derivative", - "type": "float32", - "podUnits": "m", - "displayUnits": "mm" - }, - { - "id": "pos_z_d", - "name": "Z pos derivative", - "type": "float32", - "podUnits": "m", - "displayUnits": "mm" - }, - { - "id": "pos_rot_x_d", - "name": "X rotation derivative", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_rot_y_d", - "name": "Y rotation derivative", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_rot_z_d", - "name": "Z rotation derivative", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_y_i", - "name": "Y pos integral", - "type": "float32", - "podUnits": "m", - "displayUnits": "mm" - }, - { - "id": "pos_z_i", - "name": "Z pos integral", - "type": "float32", - "podUnits": "m", - "displayUnits": "mm" - }, - { - "id": "pos_rot_x_i", - "name": "X rotation integral", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_rot_y_i", - "name": "Y rotation integral", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "pos_rot_z_i", - "name": "Z rotation integral", - "type": "float32", - "podUnits": "rad", - "displayUnits": "mrad" - }, - { - "id": "current_control_frequency", - "name": "current control frequency", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "levitation_control_frequency", - "name": "levitation control frequency", - "type": "uint32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "general_state", - "name": "master state", - "type": "enum", - "enumValues": [ - "DEFINING", - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "vertical_state", - "name": "vertical state", - "type": "enum", - "enumValues": [ - "IDLE", - "CONTROL_CURRENT", - "CONTROL_1DOF", - "CONTROL_3DOF", - "STICK_DOWN" - ] - }, - { - "id": "horizontal_state", - "name": "horizontal state", - "type": "enum", - "enumValues": [ - "NORMAL", - "BOOSTER" - ] - }, - { - "id": "lcu_coil_current_ref_1", - "name": "Ref on LDU 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_2", - "name": "Ref on LDU 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_3", - "name": "Ref on LDU 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_4", - "name": "Ref on LDU 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_5", - "name": "Ref on LDU 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_6", - "name": "Ref on LDU 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_7", - "name": "Ref on LDU 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_8", - "name": "Ref on LDU 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_9", - "name": "Ref on LDU 9", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_ref_10", - "name": "Ref on LDU 10", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_1", - "name": "exit on LDU 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_2", - "name": "exit on LDU 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_3", - "name": "exit on LDU 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_4", - "name": "exit on LDU 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_5", - "name": "exit on LDU 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_6", - "name": "exit on LDU 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_7", - "name": "exit on LDU 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_8", - "name": "exit on LDU 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_9", - "name": "exit on LDU 9", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_coil_current_exit_10", - "name": "exit on LDU 10", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "output_voltage", - "name": "output_voltage", - "type": "uint16" - }, - { - "id": "lcu_dis_pos_ref_1", - "name": "Ref Dis 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_2", - "name": "Ref Dis 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_3", - "name": "Ref Dis 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_4", - "name": "Ref Dis 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_5", - "name": "Ref Dis 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_6", - "name": "Ref Dis 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_7", - "name": "Ref Dis 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_ref_8", - "name": "Ref Dis 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_1", - "name": "exit Dis 1", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_2", - "name": "exit Dis 2", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_3", - "name": "exit Dis 3", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_4", - "name": "exit Dis 4", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_5", - "name": "exit Dis 5", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_6", - "name": "exit Dis 6", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_7", - "name": "exit Dis 7", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "lcu_dis_pos_exit_8", - "name": "exit Dis 8", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "noise_for_hems", - "name": "noise for hems", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "multi_current_1", - "name": "multi_current_1", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "enumValues": [] - }, - { - "id": "multi_current_2", - "name": "multi_current_2", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "enumValues": [] - }, - { - "id": "multi_current_3", - "name": "multi_current_3", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "enumValues": [] - }, - { - "id": "multi_current_4", - "name": "multi_current_4", - "type": "float32", - "podUnits": "", - "displayUnits": "", - "enumValues": [] - }, - { - "id": "dist_error_z", - "name": "Dist_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_integral_error_z", - "name": "Dist_integral_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_derivate_error_z", - "name": "Dist_derivate_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_error_y", - "name": "Dist_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_integral_error_y", - "name": "Dist_integral_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "dist_derivate_error_y", - "name": "Dist_derivate_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_error_z", - "name": "Rot_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_integral_error_z", - "name": "Rot_integral_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_derivate_error_z", - "name": "Rot_derivate_error_z", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_error_y", - "name": "Rot_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_integral_error_y", - "name": "Rot_integral_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_derivate_error_y", - "name": "Rot_derivate_error_y", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_error_x", - "name": "Rot_error_x", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_integral_error_x", - "name": "Rot_integral_error_x", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "rot_derivate_error_x", - "name": "Rot_derivate_error_x", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "distance", - "name": "Distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - } - -] \ No newline at end of file diff --git a/boards/LCU/orders.json b/boards/LCU/orders.json deleted file mode 100644 index 4585a7e..0000000 --- a/boards/LCU/orders.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "type": "order", - "name": "set_LDU_pwm_params", - "variables": [ - "ldu_id", - "pwm_duty_cycle", - "current_control_frequency" - ], - "id": 9999 - }, - { - "type": "order", - "name": "send_LDU_en", - "variables": [ - "ldu_buffer_id" - ], - "id": 9998 - }, - { - "type": "order", - "name": "send_LDU_dis", - "variables": [ - "ldu_buffer_id" - ], - "id": 9996 - }, - { - "type": "order", - "name": "set_current_desired", - "variables": [ - "ldu_id", - "lcu_desired_current" - ], - "id": 9995 - }, - { - "type": "order", - "name": "start_control", - "variables": [ - "ldu_id", - "lcu_desired_distance" - ], - "id": 9994 - }, - { - "type": "order", - "name": "stop_control", - "variables": [], - "id": 9993 - }, - { - "type": "order", - "name": "stop_pwm", - "variables": [ - "ldu_id" - ], - "id": 9991 - }, - { - "type": "order", - "name": "start_pwm", - "variables": [ - "ldu_id" - ], - "id": 9992 - }, - { - "type": "order", - "name": "set_fixed_vbat", - "variables": [ - "fixed_vbat" - ], - "id": 9990 - }, - { - "type": "order", - "name": "start_3dof", - "variables": [ - "lcu_desired_distance" - ], - "id": 9989 - }, - { - "type": "order", - "name": "start_booster", - "variables": [], - "id": 1751 - }, - { - "type": "order", - "name": "exit_booster", - "variables": [], - "id": 1750 - }, - { - "type": "order", - "name": "stick_down", - "variables": [], - "id": 9987 - }, - { - "type": "order", - "name": "start_5dof", - "variables": [ - "lcu_desired_distance" - ], - "id": 9988 - }, - { - "type": "order", - "name": "multi_current_order", - "variables": [ - "multi_current_1", - "multi_current_2", - "multi_current_3", - "multi_current_4" - ], - "id": 9986 - }, - { - "type": "order", - "name": "levitation_vcu", - "variables": [ - "distance" - ], - "id": 9998 - } -] \ No newline at end of file diff --git a/boards/LCU/packets.json b/boards/LCU/packets.json deleted file mode 100644 index c76ec96..0000000 --- a/boards/LCU/packets.json +++ /dev/null @@ -1,113 +0,0 @@ -[ - { - "type": "data", - "name": "lcu_coil_current", - "variables": [ - "general_state", - "vertical_state", - "horizontal_state", - "lcu_coil_current_1", - "lcu_coil_current_2", - "lcu_coil_current_3", - "lcu_coil_current_4", - "lcu_coil_current_5", - "lcu_coil_current_6", - "lcu_coil_current_7", - "lcu_coil_current_8", - "lcu_coil_current_9", - "lcu_coil_current_10", - "lcu_vbat_1", - "lcu_vbat_2", - "lcu_vbat_3", - "lcu_vbat_4", - "lcu_vbat_5", - "lcu_vbat_6", - "lcu_vbat_7", - "lcu_vbat_8", - "lcu_vbat_9", - "lcu_vbat_10", - "lcu_coil_current_ref_1", - "lcu_coil_current_ref_2", - "lcu_coil_current_ref_3", - "lcu_coil_current_ref_4", - "lcu_coil_current_ref_5", - "lcu_coil_current_ref_6", - "lcu_coil_current_ref_7", - "lcu_coil_current_ref_8", - "lcu_coil_current_ref_9", - "lcu_coil_current_ref_10", - "lcu_coil_current_exit_1", - "lcu_coil_current_exit_2", - "lcu_coil_current_exit_3", - "lcu_coil_current_exit_4", - "lcu_coil_current_exit_5", - "lcu_coil_current_exit_6", - "lcu_coil_current_exit_7", - "lcu_coil_current_exit_8", - "lcu_coil_current_exit_9", - "lcu_coil_current_exit_10", - "lcu_dis_pos_ref_1", - "lcu_dis_pos_ref_2", - "lcu_dis_pos_ref_3", - "lcu_dis_pos_ref_4", - "lcu_dis_pos_ref_5", - "lcu_dis_pos_ref_6", - "lcu_dis_pos_ref_7", - "lcu_dis_pos_ref_8", - "lcu_dis_pos_exit_1", - "lcu_dis_pos_exit_2", - "lcu_dis_pos_exit_3", - "lcu_dis_pos_exit_4", - "lcu_dis_pos_exit_5", - "lcu_dis_pos_exit_6", - "lcu_dis_pos_exit_7", - "lcu_dis_pos_exit_8" - ], - "id": 320 - }, - { - "type": "data", - "name": "lcu_airgap", - "variables": [ - "lcu_airgap_1", - "lcu_airgap_2", - "lcu_airgap_3", - "lcu_airgap_4", - "lcu_airgap_5", - "lcu_airgap_6", - "lcu_airgap_7", - "lcu_airgap_8", - "dist_control_y", - "dist_control_z", - "rot_control_x", - "rot_control_y", - "rot_control_z", - "dist_error_y", - "dist_integral_error_y", - "dist_derivate_error_y", - "dist_error_z", - "dist_integral_error_z", - "dist_derivate_error_z", - "rot_error_x", - "rot_integral_error_x", - "rot_derivate_error_x", - "rot_error_y", - "rot_integral_error_y", - "rot_derivate_error_y", - "rot_error_z", - "rot_integral_error_z", - "rot_derivate_error_z" - ], - "id": 318 - }, - - { - "type": "data", - "name": "OperationalState", - "variables": [ - "vertical_state", - "horizontal_state" - ], - "id": 63 - } -] \ No newline at end of file diff --git a/boards/PCU/PCU.json b/boards/PCU/PCU.json deleted file mode 100644 index 2024ea7..0000000 --- a/boards/PCU/PCU.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "board_id": 0, - "board_ip": "192.168.1.5", - "measurements": [ - "PCU_measurements.json" - ], - "packets": [ - "packets.json", - "orders.json" - ] -} \ No newline at end of file diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json deleted file mode 100644 index 8bf13f3..0000000 --- a/boards/PCU/PCU_measurements.json +++ /dev/null @@ -1,446 +0,0 @@ -[ - { - "id": "frequency", - "name": "Frequency Commutation hz", - "type": "uint32", - "podUnits": "hz", - "displayUnits": "hz" - }, - { - "id": "modulation_frequency", - "name": "Modulation frequency", - "type": "float32", - "podUnits": "hz", - "displayUnits": "hz" - }, - { - "id": "duty_u", - "name": "Duty U", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "duty_v", - "name": "Duty V", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "duty_w", - "name": "Duty W", - "type": "float32", - "podUnits": "%", - "displayUnits": "%" - }, - { - "id": "Voltage_Battery_A", - "name": "Voltage Battery A", - "type": "float32" - }, - { - "id": "Voltage_Battery_B", - "name": "Voltage Battery B", - "type": "float32" - }, - { - "id": "V_Ref", - "name": "Reference Voltage", - "type": "float32" - }, - { - "id": "frequency_to_send_svpwm", - "name": "Frequency Modulation hz", - "type": "float32", - "podUnits": "hz", - "displayUnits": "hz" - }, - { - "id": "frequency_to_send_PWM", - "name": "Frequency Commutation hz", - "type": "float32", - "podUnits": "hz", - "displayUnits": "hz" - }, - { - "id": "current_sensor_u_a", - "name": "Current sensor U connector A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_u_b", - "name": "Current sensor U connector B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_v_a", - "name": "Current sensor V connector A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_v_b", - "name": "Current sensor V connector B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_w_a", - "name": "Current sensor W connector A", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "current_sensor_w_b", - "name": "Current sensor W connector B", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "general_state_machine", - "name": "General State Machine", - "type": "enum", - "enumValues": [ - "Connecting", - "Operational", - "Fault" - ] - }, - { - "id": "operational_state_machine", - "name": "Operational state machine", - "type": "enum", - "enumValues": [ - "IDLE", - "Braking", - "Accelerating", - "Regenerative" - ] - }, - { - "id": "Current_Ref", - "name": "Current Ref", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "freq_to_send_svpwm", - "name": "Frequency Modulation hz", - "type": "float32", - "podUnits": "hz", - "displayUnits": "hz" - }, - { - "id": "freq_to_send_PWM", - "name": "Frequency Commutation hz", - "type": "float32", - "podUnits": "hz", - "displayUnits": "hz" - }, - { - "id": "current_Peak", - "name": "Max Current Peak", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "Error_PI", - "name": "Actual Current Error", - "type": "float64", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "Target_Voltage", - "name": "Target Voltage", - "type": "float64", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "VMax", - "name": "Max Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "Speed_Ref", - "name": "Reference Speed", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "SVPWM_Time", - "name": "SVPWM Time", - "type": "float32", - "podUnits": "s", - "displayUnits": "s" - }, - { - "id": "encoder_position", - "name": "Position Encoder", - "type": "float64", - "podUnits": "m", - "displayUnits": "m" - }, - { - "id": "encoder_direction", - "name": "Direction Encoder", - "type": "enum", - "enumValues": [ - "Forward", - "Backward" - ] - }, - { - "id": "encoder_speed", - "name": "Speed Encoder", - "type": "float64", - "podUnits": "m/s", - "displayUnits": "m/s" - }, - { - "id": "encoder_speed_km_h", - "name": "Speed km/h", - "type": "float64", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "encoder_acceleration", - "name": "Acceleration Encoder", - "type": "float64", - "podUnits": "m/ss", - "displayUnits": "m/ss" - }, - { - "id": "target_speed", - "name": "Target Speed KM/H", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "speed_error", - "name": "Speed error", - "type": "float64", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "actual_current_ref", - "name": "Control Current ref", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "Current_Control_State", - "name": "Current Control State", - "type": "enum", - "enumValues": [ - "Cruise_Mode", - "Regenerate_Mode" - ] - }, - { - "id": "Speed_Control_State", - "name": "Control Current ref", - "type": "enum", - "enumValues": [ - "Cruise_Mode", - "Regenerate_Mode" - ] - }, - { - "id": "Direction_State", - "name": "Direction Motor", - "type": "enum", - "enumValues": [ - "Forward", - "Backward" - ] - }, - { - "id": "imod", - "name": "modulation_index", - "type": "float32" - }, - { - "id": "reed1", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "Not_Braking", - "Braking" - ] - }, - { - "id": "reed2", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed3", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "Not_Braking", - "Braking" - ] - }, - { - "id": "reed4", - "name": "reed_state", - "type": "enum", - "enumValues": [ - "Not_Braking", - "Braking" - ] - }, - { - "id": "space_vector_active", - "name": "Space Vector", - "type": "enum", - "enumValues": [ - "DISABLE", - "ACTIVE" - ] - }, - { - "id": "current_control_active", - "name": "Current Control", - "type": "enum", - "enumValues": [ - "DISABLE", - "ACTIVE" - ] - }, - { - "id": "speed_control_active", - "name": "Speed Control", - "type": "enum", - "enumValues": [ - "DISABLE", - "ACTIVE" - ] - }, - { - "id": "gd_fault_a", - "name": "GateDriver_A_Fault", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - -2.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "gd_fault_b", - "name": "GateDriver_B_Fault", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "gd_ready_a", - "name": "GateDriver_A_Ready", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "gd_ready_b", - "name": "GateDriver_B_Ready", - "type": "bool", - "podUnits": "", - "displayUnits": "", - "safeRange": [ - 0.0, - 100.0 - ], - "warningRange": [ - 0.0, - 100.0 - ] - }, - { - "id": "requested_speetec_emulation_mode", - "name": "Emulation Mode", - "type": "enum", - "enumValues": [ - "STOP", - "position", - "speed", - "acceleration" - ] - }, - { - "id": "requested_speetec_emulation_value", - "name": "Value (m | m/s | m/s^2)", - "type": "float32", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "run_id", - "name": "Run Mode", - "type": "enum", - "enumValues": [ - "LIM + Booster", - "Booster", - "LIM", - "LIM (50KM/H)" - - ] - }, - { - "id": "run_state", - "name": "Run State", - "type": "enum", - "enumValues": [ - "NOTHING", - "MOVING", - "BRAKING" - - ] - } -] \ No newline at end of file diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json deleted file mode 100644 index ed9419d..0000000 --- a/boards/PCU/orders.json +++ /dev/null @@ -1,103 +0,0 @@ -[ - { - "type": "order", - "name": "Start_SVPWM", - "variables": [ - "frequency_to_send_svpwm", - "frequency_to_send_PWM", - "V_Ref", - "VMax", - "Direction_State" - ], - "id": 507 - }, - { - "type": "order", - "name": "Stop_Motor", - "variables": [], - "id": 508 - }, - { - "type": "order", - "name": "Send_Reference_Current", - "variables": [ - "freq_to_send_svpwm", - "freq_to_send_PWM", - "Current_Ref", - "VMax", - "Direction_State" - ], - "id": 509 - }, - { - "type": "order", - "name": "Zeroing", - "variables": [], - "id": 510 - }, - { - "type": "order", - "name": "Send_Reference_Speed", - "variables": [ - "Speed_Ref", - "freq_to_send_PWM", - "VMax", - "Direction_State" - ], - "id": 511 - }, - { - "type": "order", - "name": "Start_Precharge", - "variables": [ - "freq_to_send_PWM", - "VMaxSVPWM" - ], - "id": 512 - }, - { - "type": "order", - "name": "Make_Complete_Run(Regenerative)", - "variables": [ - "Speed_Ref", - "freq_to_send_PWM", - "VMax", - "Direction_State" - ], - "id": 513 - }, - { - "type": "order", - "name": "Start_Regenerative_now", - "variables": [], - "id": 514 - }, - { - "type": "order", - "name": "Brake using Motor", - "variables": [ - "VMax" - ], - "id": 515 - }, - - { - "type": "order", - "name": "Start Run", - "variables": [ - "run_id" - ], - "id": 516 - }, - - { - "type": "order", - "name": "Emulated Speetec", - "variables": [ - "requested_speetec_emulation_mode", - "requested_speetec_emulation_value" - ], - "id": 517 - } - -] \ No newline at end of file diff --git a/boards/PCU/packets.json b/boards/PCU/packets.json deleted file mode 100644 index 4bf84e9..0000000 --- a/boards/PCU/packets.json +++ /dev/null @@ -1,117 +0,0 @@ -[ - { - "type": "data", - "name": "pwm_packet", - "variables": [ - "frequency", - "modulation_frequency", - "duty_u", - "duty_v", - "duty_w" - ], - "id": 550 - }, - { - "type": "data", - "name": "Batteries_Voltage", - "variables": [ - "Voltage_Battery_A", - "Voltage_Battery_B" - ], - "id": 551 - }, - { - "type": "data", - "name": "Current_sensors", - "variables": [ - "current_sensor_u_a", - "current_sensor_v_a", - "current_sensor_w_a", - "current_sensor_u_b", - "current_sensor_v_b", - "current_sensor_w_b", - "current_Peak", - "Error_PI", - "Target_Voltage", - "SVPWM_Time", - "imod" - ], - "id": 552 - }, - { - "type": "data", - "name": "StateMachine_states", - "variables": [ - "general_state_machine", - "operational_state_machine", - "run_state", - "space_vector_active", - "current_control_active", - "speed_control_active" - ], - "id": 553 - }, - { - "type": "data", - "name": "Encoder_data", - "variables": [ - "encoder_position", - "encoder_direction", - "encoder_speed", - "encoder_speed_km_h", - "encoder_acceleration" - ], - "id": 554 - }, - { - "type": "data", - "name": "Encoder_data", - "variables": [ - "target_speed", - "speed_error", - "actual_current_ref" - ], - "id": 555 - }, - { - "type": "data", - "name": "Control_State", - "variables": [ - "Direction_State", - "Speed_Control_State" - ], - "id": 556 - }, - { - "type": "data", - "name": "Reeds_State", - "variables": [ - "reed1", - "reed2", - "reed3", - "reed4" - ], - "id": 557 - }, - { - "type": "data", - "name": "GateDriverReporting", - "variables": [ - "gd_fault_a", - "gd_fault_b", - "gd_ready_a", - "gd_ready_b" - ], - "id": 558 - }, - - { - "type": "data", - "name": "OperationalState", - "variables": [ - "operational_state_machine" - ], - "id": 64 - } - -] \ No newline at end of file From 1dd86777d5d111bccf35ff857dc1c447008bb7ef Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 11 Sep 2025 16:17:30 +0200 Subject: [PATCH 09/18] Revert "This commit will be deleted" This reverts commit 53a41314010045929d623d0f059d9ace988cc643. --- VCU_original/VCU.json | 15 + VCU_original/VCU_measurements.json | 260 +++ VCU_original/orders.json | 129 ++ VCU_original/packets.json | 93 + VCU_original/sockets.json | 55 + boards.json | 6 + boards/BCU/BCU.json | 14 + boards/BCU/hvscu_order_measurements.json | 34 + boards/BCU/hvscu_orders.json | 50 + boards/BCU/measurements.json | 467 +++++ boards/BCU/order_measurements.json | 176 ++ boards/BCU/orders.json | 81 + boards/BCU/packets.json | 118 ++ boards/BMSL/BMSL.json | 11 + boards/BMSL/BMSL_measurements.json | 200 ++ boards/BMSL/orders.json | 30 + boards/BMSL/packets.json | 50 + boards/HVSCU-Cabinet/HVSCU-Cabinet.json | 12 + boards/HVSCU-Cabinet/measurements.json | 94 + boards/HVSCU-Cabinet/packets.json | 37 + boards/HVSCU-Cabinet/state_machine.json | 67 + boards/HVSCU-Cabinet/supercaps_data.json | 215 ++ .../HVSCU-Cabinet/supercaps_measurements.json | 1831 +++++++++++++++++ boards/HVSCU/HVSCU.json | 11 + boards/HVSCU/HVSCU_measurements.json | 1504 ++++++++++++++ boards/HVSCU/orders.json | 38 + boards/HVSCU/packets.json | 424 ++++ boards/LCU/LCU.json | 11 + boards/LCU/LCU_measurements.json | 1138 ++++++++++ boards/LCU/orders.json | 129 ++ boards/LCU/packets.json | 113 + boards/PCU/PCU.json | 11 + boards/PCU/PCU_measurements.json | 446 ++++ boards/PCU/orders.json | 103 + boards/PCU/packets.json | 117 ++ 35 files changed, 8090 insertions(+) create mode 100644 VCU_original/VCU.json create mode 100644 VCU_original/VCU_measurements.json create mode 100644 VCU_original/orders.json create mode 100644 VCU_original/packets.json create mode 100644 VCU_original/sockets.json create mode 100644 boards/BCU/BCU.json create mode 100644 boards/BCU/hvscu_order_measurements.json create mode 100644 boards/BCU/hvscu_orders.json create mode 100644 boards/BCU/measurements.json create mode 100644 boards/BCU/order_measurements.json create mode 100644 boards/BCU/orders.json create mode 100644 boards/BCU/packets.json create mode 100644 boards/BMSL/BMSL.json create mode 100644 boards/BMSL/BMSL_measurements.json create mode 100644 boards/BMSL/orders.json create mode 100644 boards/BMSL/packets.json create mode 100644 boards/HVSCU-Cabinet/HVSCU-Cabinet.json create mode 100644 boards/HVSCU-Cabinet/measurements.json create mode 100644 boards/HVSCU-Cabinet/packets.json create mode 100644 boards/HVSCU-Cabinet/state_machine.json create mode 100644 boards/HVSCU-Cabinet/supercaps_data.json create mode 100644 boards/HVSCU-Cabinet/supercaps_measurements.json create mode 100644 boards/HVSCU/HVSCU.json create mode 100644 boards/HVSCU/HVSCU_measurements.json create mode 100644 boards/HVSCU/orders.json create mode 100644 boards/HVSCU/packets.json create mode 100644 boards/LCU/LCU.json create mode 100644 boards/LCU/LCU_measurements.json create mode 100644 boards/LCU/orders.json create mode 100644 boards/LCU/packets.json create mode 100644 boards/PCU/PCU.json create mode 100644 boards/PCU/PCU_measurements.json create mode 100644 boards/PCU/orders.json create mode 100644 boards/PCU/packets.json diff --git a/VCU_original/VCU.json b/VCU_original/VCU.json new file mode 100644 index 0000000..58b8546 --- /dev/null +++ b/VCU_original/VCU.json @@ -0,0 +1,15 @@ +{ + "board_id": 11, + "board_ip": "192.168.1.3", + "measurements": [ + "VCU_measurements.json" + ], + "packets": [ + "orders.json", + "packets.json" + ], + "sockets":[ + "sockets.json" + ] + +} \ No newline at end of file diff --git a/VCU_original/VCU_measurements.json b/VCU_original/VCU_measurements.json new file mode 100644 index 0000000..b8e78f1 --- /dev/null +++ b/VCU_original/VCU_measurements.json @@ -0,0 +1,260 @@ +[ + { + "id": "duty", + "name": "Duty", + "type": "uint32", + "podUnits": "Percentage", + "displayUnits": "Percentage" + }, + { + "id": "pump", + "name": "Pump", + "type": "enum", + "enumValues": [ + "UNIDADES", + "PLACAS" + ] + }, + { + "id": "general_state", + "name": "General State", + "type": "enum", + "enumValues": [ + "CONNECTING", + "OPERATIONAL", + "FAULT" + ] + }, + { + "id": "operational_state", + "name": "Operational State", + "type": "enum", + "enumValues": [ + "IDLE", + "END_OF_RUN", + "ENERGIZED", + "READY", + "DEMONSTRATION", + "RECOVERY" + ] + }, + { + "id": "regulator_pressure", + "name": "Regulator Pressure", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "regulator", + "name": "Regulator", + "type": "enum", + "enumValues": [ + "REGULATOR 1", + "REGULATOR 2" + ] + }, + { + "id": "reed1", + "name": "Reed 1", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed2", + "name": "Reed 2", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed3", + "name": "Reed 3", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed4", + "name": "Reed 4", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "all_reeds", + "name": "All Reeds", + "type": "bool", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "flow1", + "name": "Flow 1", + "type": "enum", + "enumValues": [ + "OFF", + "ON" + ] + }, + { + "id": "flow2", + "name": "Flow 2", + "type": "enum", + "enumValues": [ + "OFF", + "ON" + ] + }, + { + "id": "regulator_1_pressure", + "name": "Regulator 1", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "regulator_2_pressure", + "name": "Regulator 2", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_high", + "name": "Pressure High", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_regulator", + "name": "Pressure Regulator", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_brakes", + "name": "Pressure Brakes", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "pressure_capsule", + "name": "Pressure Capsule", + "type": "float32", + "podUnits": "bar", + "displayUnits": "bar" + }, + { + "id": "tape_enable_output", + "name": "Tape Enable", + "type": "enum", + "enumValues": [ + "DISABLED", + "ENABLED" + ] + }, + { + "id": "emergency_tape", + "name": "Section Type", + "type": "enum", + "enumValues": [ + "EMERGENCY_SECTION", + "NORMAL_SECTION" + ] + }, + { + "id": "SDC", + "name": "SDC", + "type": "enum", + "enumValues": [ + "OFF", + "ON" + ] + }, + { + "id": "levitation_distance", + "name": "Levitation Distance (mm)", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "run_id", + "name": "Run ID", + "type": "enum", + "enumValues":[ + "LIM" + ] + }, + { + "id": "motor_direction", + "name": "Motor Direction", + "type": "enum", + "enumValues": [ + "FORWARD", + "BACKWARDS" + ] + }, + { + "id": "max_voltage", + "name": "Max Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "reference_voltage", + "name": "Reference Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "commutation_frequency", + "name": "Commutation Frequency", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "modulation_frequency", + "name": "Modulation Frequency", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "reference_current", + "name": "Reference Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "reference_speed", + "name": "Reference Speed", + "type": "float32", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "state", + "name": "Recovery State", + "type": "uint8", + "podUnits": "", + "displayUnits": "" + } +] diff --git a/VCU_original/orders.json b/VCU_original/orders.json new file mode 100644 index 0000000..d8945e8 --- /dev/null +++ b/VCU_original/orders.json @@ -0,0 +1,129 @@ +[ + { + "type": "order", + "name": "Brake", + "id": 43 + }, + { + "type": "order", + "name": "Unbrake", + "id": 52 + }, + { + "type": "order", + "name": "Potencia Refri", + "variables": [ + "duty", + "pump" + ], + "id": 33 + }, + { + "type": "order", + "name": "Set Regulator", + "variables": [ + "regulator_pressure", + "regulator" + ], + "id": 34 + }, + { + "type": "order", + "name": "Enable Tapes", + "id": 35 + }, + { + "type": "order", + "name": "Disbable Tapes", + "id": 36 + }, + { + "type": "order", + "name": "Close Contactors", + "id": 44 + }, + { + "type": "order", + "name": "Open Contactors", + "id": 53 + }, + { + "type": "order", + "name": "Levitation", + "variables" : [ + "levitation_distance" + ], + "id": 37 + }, + { + "type": "order", + "name": "Stop Levitation", + "id": 46 + }, + { + "type" : "order", + "name": "Emergency Stop", + "id": 55 + }, + { + "type": "order", + "name": "Propulsion", + "variables" : [ + "run_id" + ], + "id": 56 + }, + { + "type": "order", + "name": "SVPWM", + "variables" : [ + "modulation_frequency", + "commutation_frequency", + "max_voltage", + "reference_voltage", + "motor_direction" + ], + "id": 57 + }, + { + "type": "order", + "name": "Stop Motor", + "id": 58 + }, + { + "type": "order", + "name": "Current Control", + "variables" : [ + + "modulation_frequency", + "commutation_frequency", + "reference_current", + "max_voltage", + "motor_direction" + + + ], + "id": 59 + }, + { + "type": "order", + "name": "Speed Control", + "variables" : [ + "reference_speed", + "commutation_frequency", + "max_voltage", + "motor_direction" + ], + "id": 60 + }, + { + "type": "order", + "name": "Motor Brake", + "id": 61 + }, + { + "type": "order", + "name": "Recovery", + "id": 32 + } +] \ No newline at end of file diff --git a/VCU_original/packets.json b/VCU_original/packets.json new file mode 100644 index 0000000..b4d91e1 --- /dev/null +++ b/VCU_original/packets.json @@ -0,0 +1,93 @@ +[ + { + "type": "data", + "name": "Current State", + "variables": [ + "general_state", + "operational_state" + ], + "id": 249, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Reeds", + "variables": [ + "reed1", + "reed2", + "reed3", + "reed4", + "all_reeds" + ], + "id": 251, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Flow", + "variables": [ + "flow1", + "flow2" + ], + "id": 250, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Regulator", + "variables": [ + "regulator_1_pressure", + "regulator_2_pressure" + ], + "id": 252, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "Pressure", + "variables": [ + "pressure_high", + "pressure_regulator", + "pressure_brakes", + "pressure_capsule" + ], + "id": 253, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "tapes", + "variables": [ + "tape_enable_output", + "emergency_tape" + ], + "id": 254, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "sdc", + "variables": [ + "SDC" + ], + "id": 255, + "period_ms": 16.67, + "socket": "control_station_udp" + }, + { + "type": "data", + "name": "recovery_state", + "variables": [ + "state" + ], + "id": 65, + "period_ms": 16.67, + "socket": "pcu_udp" + } +] \ No newline at end of file diff --git a/VCU_original/sockets.json b/VCU_original/sockets.json new file mode 100644 index 0000000..c9ae043 --- /dev/null +++ b/VCU_original/sockets.json @@ -0,0 +1,55 @@ +[ + { + "type": "ServerSocket", + "name": "control_station_tcp", + "port": 50500 + }, + + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip":"192.168.0.9", + "port": 50400 + }, + + { + "type": "Socket", + "name": "pcu_tcp", + "local_port": 50501, + "remote_ip": "192.168.1.5", + "remote_port": 50500 + + + }, + + { + "type": "DatagramSocket", + "name": "pcu_udp", + "remote_ip":"192.168.1.5", + "port": 50402 + }, + + + { + "type": "Socket", + "name": "hvscu_tcp", + "local_port": 50502, + "remote_ip": "192.168.1.7", + "remote_port": 50500 + + + }, + + { + "type": "DatagramSocket", + "name": "hvscu_udp", + "remote_ip":"192.168.1.7", + "port": 50403 + } + + + + + + +] diff --git a/boards.json b/boards.json index 5976755..8845dda 100644 --- a/boards.json +++ b/boards.json @@ -1,3 +1,9 @@ { + "HVSCU-Cabinet": "boards/HVSCU-Cabinet/HVSCU-Cabinet.json", + "BCU": "boards/BCU/BCU.json", + "PCU": "boards/PCU/PCU.json", + "LCU": "boards/LCU/LCU.json", + "HVSCU": "boards/HVSCU/HVSCU.json", + "BMSL": "boards/BMSL/BMSL.json", "VCU" : "boards/VCU/VCU.json" } diff --git a/boards/BCU/BCU.json b/boards/BCU/BCU.json new file mode 100644 index 0000000..235a0b1 --- /dev/null +++ b/boards/BCU/BCU.json @@ -0,0 +1,14 @@ +{ + "board_id": 217, + "board_ip": "192.168.2.17", + "packets": [ + "orders.json", + "hvscu_orders.json", + "packets.json" + ], + "measurements": [ + "order_measurements.json", + "hvscu_order_measurements.json", + "measurements.json" + ] +} \ No newline at end of file diff --git a/boards/BCU/hvscu_order_measurements.json b/boards/BCU/hvscu_order_measurements.json new file mode 100644 index 0000000..42d227a --- /dev/null +++ b/boards/BCU/hvscu_order_measurements.json @@ -0,0 +1,34 @@ +[ + { + "id": "HVSCU-Cabinet_target_charge_voltage", + "name": "Target Charge Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "above": { + "warning": 100.0 + } + }, + { + "id": "HVSCU-Cabinet_imd_bypass", + "name": "Bypass IMD?", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Enable", + "Disable" + ] + }, + { + "id": "HVSCU-Cabinet_sdc_enable", + "name": "Enable SDC?", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Enable", + "Disable" + ] + } +] \ No newline at end of file diff --git a/boards/BCU/hvscu_orders.json b/boards/BCU/hvscu_orders.json new file mode 100644 index 0000000..9e7b179 --- /dev/null +++ b/boards/BCU/hvscu_orders.json @@ -0,0 +1,50 @@ +[ + { + "id": 1694, + "type": "order", + "name": "SDC Enable", + "variables": [ + "HVSCU-Cabinet_sdc_enable" + ] + }, + { + "id": 1695, + "type": "order", + "name": "IMD Bypass", + "variables": [ + "HVSCU-Cabinet_imd_bypass" + ] + }, + { + "id": 1696, + "type": "order", + "name": "Reset Supercaps", + "variables": [] + }, + { + "id": 1697, + "type": "order", + "name": "Charge Supercaps", + "variables": [ + "HVSCU-Cabinet_target_charge_voltage" + ] + }, + { + "id": 1698, + "type": "order", + "name": "Open Contactors", + "variables": [] + }, + { + "id": 1693, + "type": "order", + "name": "Hold Supercaps Charge", + "variables": [] + }, + { + "id": 1699, + "type": "order", + "name": "Close Contactors", + "variables": [] + } +] \ No newline at end of file diff --git a/boards/BCU/measurements.json b/boards/BCU/measurements.json new file mode 100644 index 0000000..4b5be1f --- /dev/null +++ b/boards/BCU/measurements.json @@ -0,0 +1,467 @@ +[ + { + "id": "output_duty_cycle_u", + "name": "Duty Cycle U", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "output_duty_cycle_v", + "name": "Duty Cycle V", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "output_duty_cycle_w", + "name": "Duty Cycle W", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "output_commutation_frequency_hz", + "name": "Commutation Frequency", + "type": "uint32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "output_dead_time_ns", + "name": "Dead Time", + "type": "uint32", + "podUnits": "ns", + "displayUnits": "ns" + }, + { + "id": "bcu_general_state", + "name": "General State", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Connecting", + "Operational", + "Fault" + ] + }, + { + "id": "bcu_operational_state", + "name": "Operational State", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Idle", + "Charging", + "Charged", + "Precharge", + "Engaged" + ] + }, + { + "id": "bcu_nested_state", + "name": "Nested State", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Idle", + "Testing", + "Ready", + "Boosting", + "Precharging" + ] + }, + { + "id": "control_state", + "name": "Control State", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Idle", + "Test PWM", + "Space Vector", + "Current Control", + "Speed Control" + ] + }, + { + "id": "space_vector_time", + "name": "Space Vector Time", + "type": "float32", + "podUnits": "s", + "displayUnits": "s" + }, + { + "id": "output_modulation_index", + "name": "Output Modulation Index", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "output_modulation_frequency_hz", + "name": "Output Modulation Frequency", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "dc_link_average_voltage", + "name": "DC Link Average Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 400.0, + "warning": 446.4 + } + }, + { + "id": "bcu_bus_voltage", + "name": "Bus Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 400.0, + "warning": 446.4 + } + }, + { + "id": "dc_link_a_voltage", + "name": "DC Link A Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 400.0, + "warning": 446.4 + } + }, + { + "id": "dc_link_b_voltage", + "name": "DC Link B Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 400.0, + "warning": 446.4 + } + }, + { + "id": "average_current_u", + "name": "Average Current U", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "average_current_v", + "name": "Average Current V", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "average_current_w", + "name": "Average Current W", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "current_u_motor_a", + "name": "Current U Motor A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "current_v_motor_a", + "name": "Current V Motor A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "current_w_motor_a", + "name": "Current W Motor A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "current_u_motor_b", + "name": "Current U Motor B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "current_v_motor_b", + "name": "Current V Motor B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "current_w_motor_b", + "name": "Current W Motor B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + -100.0, + 100.0 + ] + } + }, + { + "id": "position_speetec_1", + "name": "Position Speetec 1", + "type": "float64", + "podUnits": "m", + "displayUnits": "m", + "below": { + "safe": 3.0, + "warning": 4.0 + } + }, + { + "id": "speed_speetec_1", + "name": "Speed Speetec 1", + "type": "float64", + "podUnits": "m/s", + "displayUnits": "m/s", + "below": { + "safe": 10.0 + } + }, + { + "id": "acceleration_speetec_1", + "name": "Acceleration Speetec 1", + "type": "float64", + "podUnits": "m/s^2", + "displayUnits": "m/s^2", + "below": { + "safe": 30.0 + } + }, + { + "id": "direction_speetec_1", + "name": "Direction Speetec 1", + "type": "bool" + }, + { + "id": "position_speetec_2", + "name": "Position Speetec 2", + "type": "float64", + "podUnits": "m", + "displayUnits": "m" + }, + { + "id": "speed_speetec_2", + "name": "Speed Speetec 2", + "type": "float64", + "podUnits": "m/s", + "displayUnits": "m/s" + }, + { + "id": "acceleration_speetec_2", + "name": "Acceleration Speetec 2", + "type": "float64", + "podUnits": "m/s^2", + "displayUnits": "m/s^2" + }, + { + "id": "direction_speetec_2", + "name": "Direction Speetec 2", + "type": "enum", + "enumValues": [ + "Forward", + "Backward" + ] + }, + { + "id": "position_speetec_3", + "name": "Position Speetec 3", + "type": "float64", + "podUnits": "m", + "displayUnits": "m" + }, + { + "id": "speed_speetec_3", + "name": "Speed Speetec 3", + "type": "float64", + "podUnits": "m/s", + "displayUnits": "m/s" + }, + { + "id": "acceleration_speetec_3", + "name": "Acceleration Speetec 3", + "type": "float64", + "podUnits": "m/s^2", + "displayUnits": "m/s^2" + }, + { + "id": "direction_speetec_3", + "name": "Direction Speetec 3", + "type": "enum", + "enumValues": [ + "Forward", + "Backward" + ] + }, + { + "id": "d_current_reference", + "name": "D Current Reference", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "measured_d_current", + "name": "Measured D Current", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "d_current_error", + "name": "D Current Error", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "q_current_reference", + "name": "Q Current Reference", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "measured_q_current", + "name": "Measured Q Current", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "q_current_error", + "name": "Q Current Error", + "type": "float64", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "pi_id_output", + "name": "PI ID Output", + "type": "float64", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "pi_iq_output", + "name": "PI IQ Output", + "type": "float64", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "pi_iq_output", + "name": "PI IQ Output", + "type": "float64", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "target_u_voltage", + "name": "Target U Voltage", + "type": "float64", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "target_v_voltage", + "name": "Target V Voltage", + "type": "float64", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "target_w_voltage", + "name": "Target W Voltage", + "type": "float64", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "electrical_angle", + "name": "Electrical Angle", + "type": "float64", + "podUnits": "rad", + "displayUnits": "rad" + }, + { + "id": "target_linear_speed", + "name": "Target Linear Speed (m/s)", + "type": "float32", + "podUnits": "m/s", + "displayUnits": "m/s" + } +] \ No newline at end of file diff --git a/boards/BCU/order_measurements.json b/boards/BCU/order_measurements.json new file mode 100644 index 0000000..e7ada97 --- /dev/null +++ b/boards/BCU/order_measurements.json @@ -0,0 +1,176 @@ +[ + { + "id": "duty_cycle_u", + "name": "Duty Cycle U (%)", + "type": "float32", + "podUnits": "%", + "displayUnits": "%", + "out_of_range": { + "warning": [ + 0.0, + 100.0 + ] + } + }, + { + "id": "duty_cycle_v", + "name": "Duty Cycle V (%)", + "type": "float32", + "podUnits": "%", + "displayUnits": "%", + "out_of_range": { + "warning": [ + 0.0, + 100.0 + ] + } + }, + { + "id": "duty_cycle_w", + "name": "Duty Cycle W (%)", + "type": "float32", + "podUnits": "%", + "displayUnits": "%", + "out_of_range": { + "warning": [ + 0.0, + 100.0 + ] + } + }, + { + "id": "commutation_frequency_hz", + "name": "Commutation Frequency (Hz)", + "type": "uint32", + "podUnits": "Hz", + "displayUnits": "Hz", + "below": { + "warning": 30000 + } + }, + { + "id": "dead_time_ns", + "name": "Dead Time (ns)", + "type": "uint32", + "podUnits": "ns", + "displayUnits": "ns", + "above": { + "warning": 100 + } + }, + { + "id": "modulation_index", + "name": "Modulation Index", + "type": "float32", + "podUnits": "", + "displayUnits": "", + "out_of_range": { + "warning": [ + 0.0, + 1.1547 + ] + } + }, + { + "id": "modulation_frequency_hz", + "name": "Modulation Frequency (Hz)", + "type": "float32", + "podUnits": "Hz", + "displayUnits": "Hz", + "above": { + "warning": 0.0 + } + }, + { + "id": "requested_dc_link_voltage", + "name": "Requested DC Link Voltage (V)", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "warning": 446.4 + } + }, + { + "id": "requested_linear_speed", + "name": "Target Linear Speed (m/s)", + "type": "float32", + "podUnits": "m/s", + "displayUnits": "m/s", + "above": { + "warning": 0.0 + } + }, + { + "id": "requested_d_current_reference", + "name": "D Current Reference (A)", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + 0.0, + 80.0 + ] + } + }, + { + "id": "requested_q_current_reference", + "name": "Q Current Reference (A)", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + 0.0, + 80.0 + ] + } + }, + { + "id": "requested_d_current_reference_2", + "name": "D Current Reference(A)", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + 0.0, + 80.0 + ] + } + }, + { + "id": "requested_q_current_reference_2", + "name": "Q Current Reference (A)", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "warning": [ + 0.0, + 80.0 + ] + } + }, + { + "id": "requested_speetec_emulation_mode", + "name": "Emulation Mode", + "type": "enum", + "enumValues": [ + "position", + "speed", + "acceleration" + ] + }, + { + "id": "requested_speetec_emulation_value", + "name": "Value (m | m/s | m/s^2)", + "type": "float32", + "podUnits": "", + "displayUnits": "", + "above": { + "warning": 0.0 + } + } +] \ No newline at end of file diff --git a/boards/BCU/orders.json b/boards/BCU/orders.json new file mode 100644 index 0000000..dea7945 --- /dev/null +++ b/boards/BCU/orders.json @@ -0,0 +1,81 @@ +[ + { + "id": 1799, + "type": "order", + "name": "Stop Control", + "variables": [] + }, + { + "id": 1798, + "type": "order", + "name": "Start Test PWM", + "variables": [ + "duty_cycle_u", + "duty_cycle_v", + "duty_cycle_w" + ] + }, + { + "id": 1797, + "type": "order", + "name": "Configure Commutation Parameters", + "variables": [ + "commutation_frequency_hz", + "dead_time_ns" + ] + }, + { + "id": 1796, + "type": "order", + "name": "Start Space Vector", + "variables": [ + "modulation_index", + "modulation_frequency_hz" + ] + }, + { + "id": 1795, + "type": "order", + "name": "Fix DC Link Voltage", + "variables": [ + "requested_dc_link_voltage" + ] + }, + { + "id": 1794, + "type": "order", + "name": "Unfix DC Link Voltage", + "variables": [] + }, + { + "id": 1792, + "type": "order", + "name": "Start Current Control", + "variables": [ + "requested_d_current_reference_2", + "requested_q_current_reference_2" + ] + }, + { + "id": 1791, + "type": "order", + "name": "Start Speed Control", + "variables": [ + "requested_linear_speed" + ] + }, + { + "id": 1788, + "type": "order", + "name": "DC Poles Ready (BCU)" + }, + { + "id": 1787, + "type": "order", + "name": "Start Speetec emulation", + "variables": [ + "requested_speetec_emulation_mode", + "requested_speetec_emulation_value" + ] + } +] \ No newline at end of file diff --git a/boards/BCU/packets.json b/boards/BCU/packets.json new file mode 100644 index 0000000..cc47be4 --- /dev/null +++ b/boards/BCU/packets.json @@ -0,0 +1,118 @@ +[ + { + "id": 1700, + "type": "data", + "name": "Motor Driver", + "variables": [ + "duty_cycle_u", + "duty_cycle_v", + "duty_cycle_w", + "commutation_frequency_hz", + "dead_time_ns" + ] + }, + { + "id": 1701, + "type": "data", + "name": "State", + "variables": [ + "bcu_general_state", + "bcu_operational_state", + "bcu_nested_state", + "control_state" + ] + }, + { + "id": 1702, + "type": "data", + "name": "Space Vector", + "variables": [ + "space_vector_time", + "output_modulation_index", + "output_modulation_frequency_hz" + ] + }, + { + "id": 1703, + "type": "data", + "name": "DC Link", + "variables": [ + "dc_link_average_voltage", + "dc_link_a_voltage", + "dc_link_b_voltage" + ] + }, + { + "id": 1704, + "type": "data", + "name": "Motor Currents", + "variables": [ + "average_current_u", + "average_current_v", + "average_current_w", + "current_u_motor_a", + "current_v_motor_a", + "current_w_motor_a", + "current_u_motor_b", + "current_v_motor_b", + "current_w_motor_b" + ] + }, + { + "id": 1705, + "type": "data", + "name": "SPEETEC 1", + "variables": [ + "position_speetec_1", + "direction_speetec_1", + "speed_speetec_1", + "acceleration_speetec_1" + ] + }, + { + "id": 1706, + "type": "data", + "name": "Current Control", + "variables": [ + "d_current_reference", + "measured_d_current", + "d_current_error", + "q_current_reference", + "measured_q_current", + "q_current_error", + "target_u_voltage", + "target_v_voltage", + "target_w_voltage", + "electrical_angle", + "pi_id_output", + "pi_iq_output" + ] + }, + { + "id": 1707, + "type": "data", + "name": "Speed Control", + "variables": [ + "requested_linear_speed", + "speed_speetec_1" + ] + }, + { + "id": 1790, + "type": "data", + "name": "Enable DC Poles (BCU)" + }, + { + "id": 1789, + "type": "data", + "name": "Disable DC Poles (BCU)" + }, + { + "id": 1692, + "type": "data", + "name": "BCU Bus Voltage", + "variables": [ + "bcu_bus_voltage" + ] + } +] \ No newline at end of file diff --git a/boards/BMSL/BMSL.json b/boards/BMSL/BMSL.json new file mode 100644 index 0000000..c20082f --- /dev/null +++ b/boards/BMSL/BMSL.json @@ -0,0 +1,11 @@ +{ + "board_id": 2, + "board_ip": "192.168.1.254", + "measurements": [ + "BMSL_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ] +} \ No newline at end of file diff --git a/boards/BMSL/BMSL_measurements.json b/boards/BMSL/BMSL_measurements.json new file mode 100644 index 0000000..b5d470a --- /dev/null +++ b/boards/BMSL/BMSL_measurements.json @@ -0,0 +1,200 @@ +[ + { + "id": "cell_1", + "name": "Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "cell_2", + "name": "Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "cell_3", + "name": "Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "cell_4", + "name": "Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "cell_5", + "name": "Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "cell_6", + "name": "Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "voltage_min", + "name": "Min Cell", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "voltage_max", + "name": "Max Cell", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "total_voltage", + "name": "Total Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "SOC", + "name": "SOC", + "type": "float32", + "podUnits": "Percentage", + "displayUnits": "Percentage" + }, + { + "id": "temperature_1", + "name": "Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temperature_2", + "name": "Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temperature_3", + "name": "Temperature 3", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temperature_4", + "name": "Temperature 4", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temp_min", + "name": "Min. Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temp_max", + "name": "Max. Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "current", + "name": "Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "state", + "name": "State", + "type": "enum", + "enumValues": [ + "CONNECTING", + "OPERATIONAL", + "FAULT" + ] + }, + { + "id": "pfm_state", + "name": "PFM State", + "type": "enum", + "enumValues": [ + "INACTIVE", + "ACTIVE" + ] + }, + { + "id": "buffer_state", + "name": "BUFFER State", + "type": "enum", + "enumValues": [ + "HIGH", + "LOW" + ] + }, + { + "id": "reset_state", + "name": "RESET State", + "type": "enum", + "enumValues": [ + "LOW", + "HIGH" + ] + }, + { + "id": "frequency", + "name": "Frequency", + "type": "uint32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "dead_time", + "name": "Dead time", + "type": "uint32", + "podUnits": "ns", + "displayUnits": "ns" + }, + { + "id": "output_current", + "name": "Output Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "input_current", + "name": "Input Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "output_voltage", + "name": "Output Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "input_voltage", + "name": "Input Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + } +] \ No newline at end of file diff --git a/boards/BMSL/orders.json b/boards/BMSL/orders.json new file mode 100644 index 0000000..f8cf846 --- /dev/null +++ b/boards/BMSL/orders.json @@ -0,0 +1,30 @@ +[ + { + "type": "order", + "name": "Turn on PFM", + "variables": [], + "id": 502 + }, + { + "type": "order", + "name": "Turn off PFM", + "variables": [], + "id": 503 + }, + { + "type": "order", + "name": "Set PFM Frequency", + "variables": [ + "frequency" + ], + "id": 504 + }, + { + "type": "order", + "name": "Set PFM Dead Time", + "variables": [ + "dead_time" + ], + "id": 505 + } +] \ No newline at end of file diff --git a/boards/BMSL/packets.json b/boards/BMSL/packets.json new file mode 100644 index 0000000..1b3aa85 --- /dev/null +++ b/boards/BMSL/packets.json @@ -0,0 +1,50 @@ +[ + { + "type": "data", + "name": "Battery Data", + "variables": [ + "cell_1", + "cell_2", + "cell_3", + "cell_4", + "cell_5", + "cell_6", + "voltage_min", + "voltage_max", + "total_voltage", + "SOC", + "temperature_1", + "temperature_2", + "temperature_3", + "temperature_4", + "temp_min", + "temp_max", + "current" + ], + "id": 777 + }, + { + "type": "data", + "name": "Current State", + "variables": [ + "state" + ], + "id": 778 + }, + { + "type": "data", + "name": "DCLV Data", + "variables": [ + "pfm_state", + "buffer_state", + "reset_state", + "frequency", + "dead_time", + "output_current", + "input_current", + "output_voltage", + "input_voltage" + ], + "id": 779 + } +] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/HVSCU-Cabinet.json b/boards/HVSCU-Cabinet/HVSCU-Cabinet.json new file mode 100644 index 0000000..7ec4ab5 --- /dev/null +++ b/boards/HVSCU-Cabinet/HVSCU-Cabinet.json @@ -0,0 +1,12 @@ +{ + "board_id": 216, + "board_ip": "192.168.2.16", + "packets": [ + "supercaps_data.json", + "packets.json" + ], + "measurements": [ + "supercaps_measurements.json", + "measurements.json" + ] +} \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/measurements.json b/boards/HVSCU-Cabinet/measurements.json new file mode 100644 index 0000000..be590b9 --- /dev/null +++ b/boards/HVSCU-Cabinet/measurements.json @@ -0,0 +1,94 @@ +[ + { + "id": "HVSCU-Cabinet_sdc_good", + "name": "SDC Good", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "False", + "True" + ] + }, + { + "id": "HVSCU-Cabinet_bus_voltage", + "name": "Bus Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 400.0, + "warning": 446.4 + } + }, + { + "id": "HVSCU-Cabinet_contactors_state", + "name": "Contactors State", + "type": "enum", + "podUnits": "", + "displayUnits": "", + "enumValues": [ + "Open", + "Charging", + "Charged", + "Precharge", + "Close" + ] + }, + { + "id": "HVSCU-Cabinet_output_current", + "name": "Output Current", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "out_of_range": { + "safe": [ + -10.0, + 70.0 + ], + "warning": [ + -20.0, + 100.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_imd_state", + "name": "IMD State", + "type": "enum", + "enumValues": [ + "SHORT CIRCUIT", + "OK", + "UNDERVOLTAGE", + "FAST START", + "EQUIPMENT FAULT", + "GROUNDING FAULT", + "UNKNOWN" + ] + }, + { + "id": "HVSCU-Cabinet_isolation_resistance", + "name": "IMD Isolation Resistance", + "type": "float32", + "below": { + "warning": 100000, + "safe": 200000 + } + }, + { + "id": "HVSCU-Cabinet_ok", + "name": "IMD OK", + "type": "bool" + }, + { + "id": "HVSCU-Cabinet_soc", + "name": "Supercaps SoC", + "type": "float32", + "out_of_range": { + "warning": [ + 0.0, + 100.0 + ] + } + } +] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/packets.json b/boards/HVSCU-Cabinet/packets.json new file mode 100644 index 0000000..140b7f2 --- /dev/null +++ b/boards/HVSCU-Cabinet/packets.json @@ -0,0 +1,37 @@ +[ + { + "id": 1607, + "type": "data", + "name": "SDC State", + "variables": [ + "HVSCU-Cabinet_sdc_good" + ] + }, + { + "id": 1608, + "type": "data", + "name": "Contactors State", + "variables": [ + "HVSCU-Cabinet_bus_voltage", + "HVSCU-Cabinet_contactors_state" + ] + }, + { + "id": 1609, + "type": "data", + "name": "Current Sense", + "variables": [ + "HVSCU-Cabinet_output_current" + ] + }, + { + "id": 1610, + "type": "data", + "name": "Cabinet IMD", + "variables": [ + "HVSCU-Cabinet_imd_state", + "HVSCU-Cabinet_isolation_resistance", + "HVSCU-Cabinet_ok" + ] + } +] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/state_machine.json b/boards/HVSCU-Cabinet/state_machine.json new file mode 100644 index 0000000..08b9eb7 --- /dev/null +++ b/boards/HVSCU-Cabinet/state_machine.json @@ -0,0 +1,67 @@ +{ + "states": [ + "calibration", + "connecting", + { + "name": "operational", + "sub-states": [ + "idle", + "precharge", + "charged", + "ready", + "boosting" + ] + }, + "discharge", + "fault" + ], + "transitions": [ + { + "from": "calibration", + "to": "connecting", + "description": "All sensors zeroing complete" + }, + { + "from": "connecting", + "to": "operational", + "description": "Connection with the VCU/control station established" + }, + + { + "from": "operational.idle", + "to": "operational.precharge", + "description": "Start precharging the DC link" + }, + { + "from": "operational.precharge", + "to": "operational.charged", + "description": "Precharge successfull" + }, + { + "from": "operational.charged", + "to": "operational.ready", + "description": "Run confirmed and parameters set" + }, + { + "from": "operational.ready", + "to": "operational.booster", + "description": "Vehicle passing through booster section" + }, + { + "from": "operational.boosting", + "to": "operational.idle", + "description": "Vehicle exited booster section" + }, + + { + "from": "operational", + "to": "discharge", + "description": "Manual discharge" + }, + { + "from": "discharge", + "to": "operational", + "description": "Manual discharge reset" + } + ] +} \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/supercaps_data.json b/boards/HVSCU-Cabinet/supercaps_data.json new file mode 100644 index 0000000..9ee7b58 --- /dev/null +++ b/boards/HVSCU-Cabinet/supercaps_data.json @@ -0,0 +1,215 @@ +[ + { + "id": 1600, + "type": "data", + "name": "Supercaps Voltage Overview", + "variables": [ + "HVSCU-Cabinet_total_supercaps_voltage", + "HVSCU-Cabinet_soc" + ] + }, + { + "id": 1601, + "type": "data", + "name": "Module 1 Overview", + "variables": [ + "HVSCU-Cabinet_module_1_voltage", + "HVSCU-Cabinet_module_1_max_cell", + "HVSCU-Cabinet_module_1_min_cell", + "HVSCU-Cabinet_module_1_average_cell", + "HVSCU-Cabinet_module_1_max_temp", + "HVSCU-Cabinet_module_1_min_temp" + ] + }, + { + "id": 1602, + "type": "data", + "name": "Module 2 Overview", + "variables": [ + "HVSCU-Cabinet_module_2_voltage", + "HVSCU-Cabinet_module_2_max_cell", + "HVSCU-Cabinet_module_2_min_cell", + "HVSCU-Cabinet_module_2_average_cell", + "HVSCU-Cabinet_module_2_max_temp", + "HVSCU-Cabinet_module_2_min_temp" + ] + }, + { + "id": 1603, + "type": "data", + "name": "Module 3 Overview", + "variables": [ + "HVSCU-Cabinet_module_3_voltage", + "HVSCU-Cabinet_module_3_max_cell", + "HVSCU-Cabinet_module_3_min_cell", + "HVSCU-Cabinet_module_3_average_cell", + "HVSCU-Cabinet_module_3_max_temp", + "HVSCU-Cabinet_module_3_min_temp" + ] + }, + { + "id": 1604, + "type": "data", + "name": "Moduel 1 Cell Votlages", + "variables": [ + "HVSCU-Cabinet_module_1_cell_1_voltage", + "HVSCU-Cabinet_module_1_cell_2_voltage", + "HVSCU-Cabinet_module_1_cell_3_voltage", + "HVSCU-Cabinet_module_1_cell_4_voltage", + "HVSCU-Cabinet_module_1_cell_5_voltage", + "HVSCU-Cabinet_module_1_cell_6_voltage", + "HVSCU-Cabinet_module_1_cell_7_voltage", + "HVSCU-Cabinet_module_1_cell_8_voltage", + "HVSCU-Cabinet_module_1_cell_9_voltage", + "HVSCU-Cabinet_module_1_cell_10_voltage", + "HVSCU-Cabinet_module_1_cell_11_voltage", + "HVSCU-Cabinet_module_1_cell_12_voltage", + "HVSCU-Cabinet_module_1_cell_13_voltage", + "HVSCU-Cabinet_module_1_cell_14_voltage", + "HVSCU-Cabinet_module_1_cell_15_voltage", + "HVSCU-Cabinet_module_1_cell_16_voltage", + "HVSCU-Cabinet_module_1_cell_17_voltage", + "HVSCU-Cabinet_module_1_cell_18_voltage", + "HVSCU-Cabinet_module_1_cell_19_voltage", + "HVSCU-Cabinet_module_1_cell_20_voltage", + "HVSCU-Cabinet_module_1_cell_21_voltage", + "HVSCU-Cabinet_module_1_cell_22_voltage", + "HVSCU-Cabinet_module_1_cell_23_voltage", + "HVSCU-Cabinet_module_1_cell_24_voltage", + "HVSCU-Cabinet_module_1_cell_25_voltage", + "HVSCU-Cabinet_module_1_cell_26_voltage", + "HVSCU-Cabinet_module_1_cell_27_voltage", + "HVSCU-Cabinet_module_1_cell_28_voltage", + "HVSCU-Cabinet_module_1_cell_29_voltage", + "HVSCU-Cabinet_module_1_cell_30_voltage", + "HVSCU-Cabinet_module_1_cell_31_voltage", + "HVSCU-Cabinet_module_1_cell_32_voltage", + "HVSCU-Cabinet_module_1_cell_33_voltage", + "HVSCU-Cabinet_module_1_cell_34_voltage", + "HVSCU-Cabinet_module_1_cell_35_voltage", + "HVSCU-Cabinet_module_1_cell_36_voltage", + "HVSCU-Cabinet_module_1_cell_37_voltage", + "HVSCU-Cabinet_module_1_cell_38_voltage", + "HVSCU-Cabinet_module_1_cell_39_voltage", + "HVSCU-Cabinet_module_1_cell_40_voltage", + "HVSCU-Cabinet_module_1_cell_41_voltage", + "HVSCU-Cabinet_module_1_cell_42_voltage", + "HVSCU-Cabinet_module_1_cell_43_voltage", + "HVSCU-Cabinet_module_1_cell_44_voltage", + "HVSCU-Cabinet_module_1_cell_45_voltage", + "HVSCU-Cabinet_module_1_cell_46_voltage", + "HVSCU-Cabinet_module_1_cell_47_voltage", + "HVSCU-Cabinet_module_1_cell_48_voltage" + ] + }, + { + "id": 1605, + "type": "data", + "name": "Module 2 Cell Voltages", + "variables": [ + "HVSCU-Cabinet_module_2_cell_1_voltage", + "HVSCU-Cabinet_module_2_cell_2_voltage", + "HVSCU-Cabinet_module_2_cell_3_voltage", + "HVSCU-Cabinet_module_2_cell_4_voltage", + "HVSCU-Cabinet_module_2_cell_5_voltage", + "HVSCU-Cabinet_module_2_cell_6_voltage", + "HVSCU-Cabinet_module_2_cell_7_voltage", + "HVSCU-Cabinet_module_2_cell_8_voltage", + "HVSCU-Cabinet_module_2_cell_9_voltage", + "HVSCU-Cabinet_module_2_cell_10_voltage", + "HVSCU-Cabinet_module_2_cell_11_voltage", + "HVSCU-Cabinet_module_2_cell_12_voltage", + "HVSCU-Cabinet_module_2_cell_13_voltage", + "HVSCU-Cabinet_module_2_cell_14_voltage", + "HVSCU-Cabinet_module_2_cell_15_voltage", + "HVSCU-Cabinet_module_2_cell_16_voltage", + "HVSCU-Cabinet_module_2_cell_17_voltage", + "HVSCU-Cabinet_module_2_cell_18_voltage", + "HVSCU-Cabinet_module_2_cell_19_voltage", + "HVSCU-Cabinet_module_2_cell_20_voltage", + "HVSCU-Cabinet_module_2_cell_21_voltage", + "HVSCU-Cabinet_module_2_cell_22_voltage", + "HVSCU-Cabinet_module_2_cell_23_voltage", + "HVSCU-Cabinet_module_2_cell_24_voltage", + "HVSCU-Cabinet_module_2_cell_25_voltage", + "HVSCU-Cabinet_module_2_cell_26_voltage", + "HVSCU-Cabinet_module_2_cell_27_voltage", + "HVSCU-Cabinet_module_2_cell_28_voltage", + "HVSCU-Cabinet_module_2_cell_29_voltage", + "HVSCU-Cabinet_module_2_cell_30_voltage", + "HVSCU-Cabinet_module_2_cell_31_voltage", + "HVSCU-Cabinet_module_2_cell_32_voltage", + "HVSCU-Cabinet_module_2_cell_33_voltage", + "HVSCU-Cabinet_module_2_cell_34_voltage", + "HVSCU-Cabinet_module_2_cell_35_voltage", + "HVSCU-Cabinet_module_2_cell_36_voltage", + "HVSCU-Cabinet_module_2_cell_37_voltage", + "HVSCU-Cabinet_module_2_cell_38_voltage", + "HVSCU-Cabinet_module_2_cell_39_voltage", + "HVSCU-Cabinet_module_2_cell_40_voltage", + "HVSCU-Cabinet_module_2_cell_41_voltage", + "HVSCU-Cabinet_module_2_cell_42_voltage", + "HVSCU-Cabinet_module_2_cell_43_voltage", + "HVSCU-Cabinet_module_2_cell_44_voltage", + "HVSCU-Cabinet_module_2_cell_45_voltage", + "HVSCU-Cabinet_module_2_cell_46_voltage", + "HVSCU-Cabinet_module_2_cell_47_voltage", + "HVSCU-Cabinet_module_2_cell_48_voltage" + ] + }, + { + "id": 1606, + "type": "data", + "name": "Module 3 Cell Voltages", + "variables": [ + "HVSCU-Cabinet_module_3_cell_1_voltage", + "HVSCU-Cabinet_module_3_cell_2_voltage", + "HVSCU-Cabinet_module_3_cell_3_voltage", + "HVSCU-Cabinet_module_3_cell_4_voltage", + "HVSCU-Cabinet_module_3_cell_5_voltage", + "HVSCU-Cabinet_module_3_cell_6_voltage", + "HVSCU-Cabinet_module_3_cell_7_voltage", + "HVSCU-Cabinet_module_3_cell_8_voltage", + "HVSCU-Cabinet_module_3_cell_9_voltage", + "HVSCU-Cabinet_module_3_cell_10_voltage", + "HVSCU-Cabinet_module_3_cell_11_voltage", + "HVSCU-Cabinet_module_3_cell_12_voltage", + "HVSCU-Cabinet_module_3_cell_13_voltage", + "HVSCU-Cabinet_module_3_cell_14_voltage", + "HVSCU-Cabinet_module_3_cell_15_voltage", + "HVSCU-Cabinet_module_3_cell_16_voltage", + "HVSCU-Cabinet_module_3_cell_17_voltage", + "HVSCU-Cabinet_module_3_cell_18_voltage", + "HVSCU-Cabinet_module_3_cell_19_voltage", + "HVSCU-Cabinet_module_3_cell_20_voltage", + "HVSCU-Cabinet_module_3_cell_21_voltage", + "HVSCU-Cabinet_module_3_cell_22_voltage", + "HVSCU-Cabinet_module_3_cell_23_voltage", + "HVSCU-Cabinet_module_3_cell_24_voltage", + "HVSCU-Cabinet_module_3_cell_25_voltage", + "HVSCU-Cabinet_module_3_cell_26_voltage", + "HVSCU-Cabinet_module_3_cell_27_voltage", + "HVSCU-Cabinet_module_3_cell_28_voltage", + "HVSCU-Cabinet_module_3_cell_29_voltage", + "HVSCU-Cabinet_module_3_cell_30_voltage", + "HVSCU-Cabinet_module_3_cell_31_voltage", + "HVSCU-Cabinet_module_3_cell_32_voltage", + "HVSCU-Cabinet_module_3_cell_33_voltage", + "HVSCU-Cabinet_module_3_cell_34_voltage", + "HVSCU-Cabinet_module_3_cell_35_voltage", + "HVSCU-Cabinet_module_3_cell_36_voltage", + "HVSCU-Cabinet_module_3_cell_37_voltage", + "HVSCU-Cabinet_module_3_cell_38_voltage", + "HVSCU-Cabinet_module_3_cell_39_voltage", + "HVSCU-Cabinet_module_3_cell_40_voltage", + "HVSCU-Cabinet_module_3_cell_41_voltage", + "HVSCU-Cabinet_module_3_cell_42_voltage", + "HVSCU-Cabinet_module_3_cell_43_voltage", + "HVSCU-Cabinet_module_3_cell_44_voltage", + "HVSCU-Cabinet_module_3_cell_45_voltage", + "HVSCU-Cabinet_module_3_cell_46_voltage", + "HVSCU-Cabinet_module_3_cell_47_voltage", + "HVSCU-Cabinet_module_3_cell_48_voltage" + ] + } +] \ No newline at end of file diff --git a/boards/HVSCU-Cabinet/supercaps_measurements.json b/boards/HVSCU-Cabinet/supercaps_measurements.json new file mode 100644 index 0000000..165c839 --- /dev/null +++ b/boards/HVSCU-Cabinet/supercaps_measurements.json @@ -0,0 +1,1831 @@ +[ + { + "id": "HVSCU-Cabinet_total_supercaps_voltage", + "name": "Total Supercaps Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 400.0, + "warning": 446.4 + } + }, + { + "id": "HVSCU-Cabinet_module_1_voltage", + "name": "Module 1 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 133.33, + "warning": 148.8 + } + }, + { + "id": "HVSCU-Cabinet_module_1_max_cell", + "name": "Module 1 Max Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_min_cell", + "name": "Module 1 Min Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_average_cell", + "name": "Module 1 Average Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_max_temp", + "name": "Module 1 Max Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC", + "out_of_range": { + "safe": [ + 10.5, + 30.5 + ], + "warning": [ + 5.5, + 60.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_module_1_min_temp", + "name": "Module 1 Min Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC", + "out_of_range": { + "safe": [ + 10.5, + 30.5 + ], + "warning": [ + 5.5, + 60.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_module_2_voltage", + "name": "Module 2 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 133.33, + "warning": 148.8 + } + }, + { + "id": "HVSCU-Cabinet_module_2_max_cell", + "name": "Module 2 Max Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_min_cell", + "name": "Module 2 Min Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_average_cell", + "name": "Module 2 Average Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_max_temp", + "name": "Module 2 Max Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC", + "out_of_range": { + "safe": [ + 10.5, + 30.5 + ], + "warning": [ + 5.5, + 60.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_module_2_min_temp", + "name": "Module 2 Min Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC", + "out_of_range": { + "safe": [ + 10.5, + 30.5 + ], + "warning": [ + 5.5, + 60.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_module_3_voltage", + "name": "Module 3 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "below": { + "safe": 133.33, + "warning": 148.8 + } + }, + { + "id": "HVSCU-Cabinet_module_3_max_cell", + "name": "Module 3 Max Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_min_cell", + "name": "Module 3 Min Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_average_cell", + "name": "Module 3 Average Cell Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_max_temp", + "name": "Module 3 Max Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC", + "out_of_range": { + "safe": [ + 10.5, + 30.5 + ], + "warning": [ + 5.5, + 60.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_module_3_min_temp", + "name": "Module 3 Min Temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC", + "out_of_range": { + "safe": [ + 10.5, + 30.5 + ], + "warning": [ + 5.5, + 60.0 + ] + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_1_voltage", + "name": "Module 1 Cell 1 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_2_voltage", + "name": "Module 1 Cell 2 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_3_voltage", + "name": "Module 1 Cell 3 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_4_voltage", + "name": "Module 1 Cell 4 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_5_voltage", + "name": "Module 1 Cell 5 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_6_voltage", + "name": "Module 1 Cell 6 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_7_voltage", + "name": "Module 1 Cell 7 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_8_voltage", + "name": "Module 1 Cell 8 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_9_voltage", + "name": "Module 1 Cell 9 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_10_voltage", + "name": "Module 1 Cell 10 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_11_voltage", + "name": "Module 1 Cell 11 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_12_voltage", + "name": "Module 1 Cell 12 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_13_voltage", + "name": "Module 1 Cell 13 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_14_voltage", + "name": "Module 1 Cell 14 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_15_voltage", + "name": "Module 1 Cell 15 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_16_voltage", + "name": "Module 1 Cell 16 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_17_voltage", + "name": "Module 1 Cell 17 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_18_voltage", + "name": "Module 1 Cell 18 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_19_voltage", + "name": "Module 1 Cell 19 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_20_voltage", + "name": "Module 1 Cell 20 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_21_voltage", + "name": "Module 1 Cell 21 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_22_voltage", + "name": "Module 1 Cell 22 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_23_voltage", + "name": "Module 1 Cell 23 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_24_voltage", + "name": "Module 1 Cell 24 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_25_voltage", + "name": "Module 1 Cell 25 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_26_voltage", + "name": "Module 1 Cell 26 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_27_voltage", + "name": "Module 1 Cell 27 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_28_voltage", + "name": "Module 1 Cell 28 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_29_voltage", + "name": "Module 1 Cell 29 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_30_voltage", + "name": "Module 1 Cell 30 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_31_voltage", + "name": "Module 1 Cell 31 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_32_voltage", + "name": "Module 1 Cell 32 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_33_voltage", + "name": "Module 1 Cell 33 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_34_voltage", + "name": "Module 1 Cell 34 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_35_voltage", + "name": "Module 1 Cell 35 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_36_voltage", + "name": "Module 1 Cell 36 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_37_voltage", + "name": "Module 1 Cell 37 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_38_voltage", + "name": "Module 1 Cell 38 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_39_voltage", + "name": "Module 1 Cell 39 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_40_voltage", + "name": "Module 1 Cell 40 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_41_voltage", + "name": "Module 1 Cell 41 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_42_voltage", + "name": "Module 1 Cell 42 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_43_voltage", + "name": "Module 1 Cell 43 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_44_voltage", + "name": "Module 1 Cell 44 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_45_voltage", + "name": "Module 1 Cell 45 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_46_voltage", + "name": "Module 1 Cell 46 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_47_voltage", + "name": "Module 1 Cell 47 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_1_cell_48_voltage", + "name": "Module 1 Cell 48 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_1_voltage", + "name": "Module 2 Cell 1 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_2_voltage", + "name": "Module 2 Cell 2 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_3_voltage", + "name": "Module 2 Cell 3 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_4_voltage", + "name": "Module 2 Cell 4 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_5_voltage", + "name": "Module 2 Cell 5 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_6_voltage", + "name": "Module 2 Cell 6 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_7_voltage", + "name": "Module 2 Cell 7 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_8_voltage", + "name": "Module 2 Cell 8 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_9_voltage", + "name": "Module 2 Cell 9 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_10_voltage", + "name": "Module 2 Cell 10 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_11_voltage", + "name": "Module 2 Cell 11 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_12_voltage", + "name": "Module 2 Cell 12 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_13_voltage", + "name": "Module 2 Cell 13 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_14_voltage", + "name": "Module 2 Cell 14 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_15_voltage", + "name": "Module 2 Cell 15 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_16_voltage", + "name": "Module 2 Cell 16 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_17_voltage", + "name": "Module 2 Cell 17 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_18_voltage", + "name": "Module 2 Cell 18 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_19_voltage", + "name": "Module 2 Cell 19 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_20_voltage", + "name": "Module 2 Cell 20 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_21_voltage", + "name": "Module 2 Cell 21 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_22_voltage", + "name": "Module 2 Cell 22 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_23_voltage", + "name": "Module 2 Cell 23 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_24_voltage", + "name": "Module 2 Cell 24 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_25_voltage", + "name": "Module 2 Cell 25 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_26_voltage", + "name": "Module 2 Cell 26 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_27_voltage", + "name": "Module 2 Cell 27 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_28_voltage", + "name": "Module 2 Cell 28 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_29_voltage", + "name": "Module 2 Cell 29 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_30_voltage", + "name": "Module 2 Cell 30 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_31_voltage", + "name": "Module 2 Cell 31 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_32_voltage", + "name": "Module 2 Cell 32 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_33_voltage", + "name": "Module 2 Cell 33 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_34_voltage", + "name": "Module 2 Cell 34 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_35_voltage", + "name": "Module 2 Cell 35 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_36_voltage", + "name": "Module 2 Cell 36 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_37_voltage", + "name": "Module 2 Cell 37 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_38_voltage", + "name": "Module 2 Cell 38 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_39_voltage", + "name": "Module 2 Cell 39 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_40_voltage", + "name": "Module 2 Cell 40 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_41_voltage", + "name": "Module 2 Cell 41 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_42_voltage", + "name": "Module 2 Cell 42 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_43_voltage", + "name": "Module 2 Cell 43 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_44_voltage", + "name": "Module 2 Cell 44 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_45_voltage", + "name": "Module 2 Cell 45 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_46_voltage", + "name": "Module 2 Cell 46 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_47_voltage", + "name": "Module 2 Cell 47 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_2_cell_48_voltage", + "name": "Module 2 Cell 48 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_1_voltage", + "name": "Module 3 Cell 1 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_2_voltage", + "name": "Module 3 Cell 2 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_3_voltage", + "name": "Module 3 Cell 3 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_4_voltage", + "name": "Module 3 Cell 4 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_5_voltage", + "name": "Module 3 Cell 5 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_6_voltage", + "name": "Module 3 Cell 6 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_7_voltage", + "name": "Module 3 Cell 7 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_8_voltage", + "name": "Module 3 Cell 8 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_9_voltage", + "name": "Module 3 Cell 9 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_10_voltage", + "name": "Module 3 Cell 10 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_11_voltage", + "name": "Module 3 Cell 11 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_12_voltage", + "name": "Module 3 Cell 12 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_13_voltage", + "name": "Module 3 Cell 13 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_14_voltage", + "name": "Module 3 Cell 14 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_15_voltage", + "name": "Module 3 Cell 15 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_16_voltage", + "name": "Module 3 Cell 16 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_17_voltage", + "name": "Module 3 Cell 17 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_18_voltage", + "name": "Module 3 Cell 18 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_19_voltage", + "name": "Module 3 Cell 19 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_20_voltage", + "name": "Module 3 Cell 20 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_21_voltage", + "name": "Module 3 Cell 21 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_22_voltage", + "name": "Module 3 Cell 22 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_23_voltage", + "name": "Module 3 Cell 23 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_24_voltage", + "name": "Module 3 Cell 24 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_25_voltage", + "name": "Module 3 Cell 25 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_26_voltage", + "name": "Module 3 Cell 26 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_27_voltage", + "name": "Module 3 Cell 27 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_28_voltage", + "name": "Module 3 Cell 28 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_29_voltage", + "name": "Module 3 Cell 29 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_30_voltage", + "name": "Module 3 Cell 30 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_31_voltage", + "name": "Module 3 Cell 31 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_32_voltage", + "name": "Module 3 Cell 32 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_33_voltage", + "name": "Module 3 Cell 33 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_34_voltage", + "name": "Module 3 Cell 34 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_35_voltage", + "name": "Module 3 Cell 35 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_36_voltage", + "name": "Module 3 Cell 36 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_37_voltage", + "name": "Module 3 Cell 37 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_38_voltage", + "name": "Module 3 Cell 38 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_39_voltage", + "name": "Module 3 Cell 39 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_40_voltage", + "name": "Module 3 Cell 40 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_41_voltage", + "name": "Module 3 Cell 41 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_42_voltage", + "name": "Module 3 Cell 42 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_43_voltage", + "name": "Module 3 Cell 43 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_44_voltage", + "name": "Module 3 Cell 44 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_45_voltage", + "name": "Module 3 Cell 45 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_46_voltage", + "name": "Module 3 Cell 46 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_47_voltage", + "name": "Module 3 Cell 47 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + }, + { + "id": "HVSCU-Cabinet_module_3_cell_48_voltage", + "name": "Module 3 Cell 48 Voltage", + "type": "float32", + "podUnits": "mV", + "displayUnits": "V", + "below": { + "safe": 2.78, + "warning": 3.1 + } + } +] \ No newline at end of file diff --git a/boards/HVSCU/HVSCU.json b/boards/HVSCU/HVSCU.json new file mode 100644 index 0000000..344dd94 --- /dev/null +++ b/boards/HVSCU/HVSCU.json @@ -0,0 +1,11 @@ +{ + "board_id": 1, + "board_ip": "192.168.1.7", + "measurements": [ + "HVSCU_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ] +} \ No newline at end of file diff --git a/boards/HVSCU/HVSCU_measurements.json b/boards/HVSCU/HVSCU_measurements.json new file mode 100644 index 0000000..a3c02c6 --- /dev/null +++ b/boards/HVSCU/HVSCU_measurements.json @@ -0,0 +1,1504 @@ +[ + { + "id": "battery1_SOC", + "name": "Battery 1 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery1_cell1", + "name": "Battery 1 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_cell2", + "name": "Battery 1 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_cell3", + "name": "Battery 1 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_cell4", + "name": "Battery 1 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_cell5", + "name": "Battery 1 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_cell6", + "name": "Battery 1 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_temperature1", + "name": "Battery 1 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery1_temperature2", + "name": "Battery 1 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery1_total_voltage", + "name": "Battery 1 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery1_conv_rate", + "name": "Battery 1 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery2_SOC", + "name": "Battery 2 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery2_cell1", + "name": "Battery 2 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_cell2", + "name": "Battery 2 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_cell3", + "name": "Battery 2 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_cell4", + "name": "Battery 2 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_cell5", + "name": "Battery 2 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_cell6", + "name": "Battery 2 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_temperature1", + "name": "Battery 2 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery2_temperature2", + "name": "Battery 2 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery2_total_voltage", + "name": "Battery 2 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery2_conv_rate", + "name": "Battery 2 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery3_SOC", + "name": "Battery 3 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery3_cell1", + "name": "Battery 3 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_cell2", + "name": "Battery 3 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_cell3", + "name": "Battery 3 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_cell4", + "name": "Battery 3 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_cell5", + "name": "Battery 3 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_cell6", + "name": "Battery 3 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_temperature1", + "name": "Battery 3 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery3_temperature2", + "name": "Battery 3 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery3_total_voltage", + "name": "Battery 3 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery3_conv_rate", + "name": "Battery 3 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery4_SOC", + "name": "Battery 4 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery4_cell1", + "name": "Battery 4 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_cell2", + "name": "Battery 4 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_cell3", + "name": "Battery 4 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_cell4", + "name": "Battery 4 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_cell5", + "name": "Battery 4 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_cell6", + "name": "Battery 4 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_temperature1", + "name": "Battery 4 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery4_temperature2", + "name": "Battery 4 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery4_total_voltage", + "name": "Battery 4 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery4_conv_rate", + "name": "Battery 4 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery5_SOC", + "name": "Battery 5 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery5_cell1", + "name": "Battery 5 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_cell2", + "name": "Battery 5 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_cell3", + "name": "Battery 5 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_cell4", + "name": "Battery 5 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_cell5", + "name": "Battery 5 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_cell6", + "name": "Battery 5 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_temperature1", + "name": "Battery 5 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery5_temperature2", + "name": "Battery 5 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery5_total_voltage", + "name": "Battery 5 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery5_conv_rate", + "name": "Battery 5 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery6_SOC", + "name": "Battery 6 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery6_cell1", + "name": "Battery 6 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_cell2", + "name": "Battery 6 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_cell3", + "name": "Battery 6 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_cell4", + "name": "Battery 6 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_cell5", + "name": "Battery 6 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_cell6", + "name": "Battery 6 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_temperature1", + "name": "Battery 6 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery6_temperature2", + "name": "Battery 6 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery6_total_voltage", + "name": "Battery 6 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery6_conv_rate", + "name": "Battery 6 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery7_SOC", + "name": "Battery 7 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery7_cell1", + "name": "Battery 7 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_cell2", + "name": "Battery 7 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_cell3", + "name": "Battery 7 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_cell4", + "name": "Battery 7 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_cell5", + "name": "Battery 7 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_cell6", + "name": "Battery 7 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_temperature1", + "name": "Battery 7 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery7_temperature2", + "name": "Battery 7 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery7_total_voltage", + "name": "Battery 7 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery7_conv_rate", + "name": "Battery 7 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery8_SOC", + "name": "Battery 8 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery8_cell1", + "name": "Battery 8 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_cell2", + "name": "Battery 8 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_cell3", + "name": "Battery 8 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_cell4", + "name": "Battery 8 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_cell5", + "name": "Battery 8 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_cell6", + "name": "Battery 8 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_temperature1", + "name": "Battery 8 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery8_temperature2", + "name": "Battery 8 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery8_total_voltage", + "name": "Battery 8 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery8_conv_rate", + "name": "Battery 8 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery9_SOC", + "name": "Battery 9 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery9_cell1", + "name": "Battery 9 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_cell2", + "name": "Battery 9 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_cell3", + "name": "Battery 9 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_cell4", + "name": "Battery 9 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_cell5", + "name": "Battery 9 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_cell6", + "name": "Battery 9 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_temperature1", + "name": "Battery 9 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery9_temperature2", + "name": "Battery 9 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery9_total_voltage", + "name": "Battery 9 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery9_conv_rate", + "name": "Battery 9 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery10_SOC", + "name": "Battery 10 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery10_cell1", + "name": "Battery 10 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_cell2", + "name": "Battery 10 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_cell3", + "name": "Battery 10 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_cell4", + "name": "Battery 10 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_cell5", + "name": "Battery 10 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_cell6", + "name": "Battery 10 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_temperature1", + "name": "Battery 10 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery10_temperature2", + "name": "Battery 10 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery10_total_voltage", + "name": "Battery 10 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery10_conv_rate", + "name": "Battery 10 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery11_SOC", + "name": "Battery 11 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery11_cell1", + "name": "Battery 11 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_cell2", + "name": "Battery 11 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_cell3", + "name": "Battery 11 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_cell4", + "name": "Battery 11 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_cell5", + "name": "Battery 11 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_cell6", + "name": "Battery 11 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_temperature1", + "name": "Battery 11 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery11_temperature2", + "name": "Battery 11 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery11_total_voltage", + "name": "Battery 11 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery11_conv_rate", + "name": "Battery 11 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery12_SOC", + "name": "Battery 12 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery12_cell1", + "name": "Battery 12 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_cell2", + "name": "Battery 12 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_cell3", + "name": "Battery 12 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_cell4", + "name": "Battery 12 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_cell5", + "name": "Battery 12 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_cell6", + "name": "Battery 12 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_temperature1", + "name": "Battery 12 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery12_temperature2", + "name": "Battery 12 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery12_total_voltage", + "name": "Battery 12 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery12_conv_rate", + "name": "Battery 12 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery13_SOC", + "name": "Battery 13 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery13_cell1", + "name": "Battery 13 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_cell2", + "name": "Battery 13 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_cell3", + "name": "Battery 13 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_cell4", + "name": "Battery 13 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_cell5", + "name": "Battery 13 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_cell6", + "name": "Battery 13 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_temperature1", + "name": "Battery 13 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery13_temperature2", + "name": "Battery 13 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery13_total_voltage", + "name": "Battery 13 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery13_conv_rate", + "name": "Battery 13 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery14_SOC", + "name": "Battery 14 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery14_cell1", + "name": "Battery 14 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_cell2", + "name": "Battery 14 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_cell3", + "name": "Battery 14 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_cell4", + "name": "Battery 14 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_cell5", + "name": "Battery 14 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_cell6", + "name": "Battery 14 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_temperature1", + "name": "Battery 14 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery14_temperature2", + "name": "Battery 14 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery14_total_voltage", + "name": "Battery 14 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery14_conv_rate", + "name": "Battery 14 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery15_SOC", + "name": "Battery 15 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery15_cell1", + "name": "Battery 15 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_cell2", + "name": "Battery 15 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_cell3", + "name": "Battery 15 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_cell4", + "name": "Battery 15 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_cell5", + "name": "Battery 15 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_cell6", + "name": "Battery 15 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_temperature1", + "name": "Battery 15 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery15_temperature2", + "name": "Battery 15 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery15_total_voltage", + "name": "Battery 15 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery15_conv_rate", + "name": "Battery 15 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery16_SOC", + "name": "Battery 16 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery16_cell1", + "name": "Battery 16 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_cell2", + "name": "Battery 16 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_cell3", + "name": "Battery 16 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_cell4", + "name": "Battery 16 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_cell5", + "name": "Battery 16 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_cell6", + "name": "Battery 16 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_temperature1", + "name": "Battery 16 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery16_temperature2", + "name": "Battery 16 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery16_total_voltage", + "name": "Battery 16 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery16_conv_rate", + "name": "Battery 16 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery17_SOC", + "name": "Battery 17 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery17_cell1", + "name": "Battery 17 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_cell2", + "name": "Battery 17 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_cell3", + "name": "Battery 17 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_cell4", + "name": "Battery 17 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_cell5", + "name": "Battery 17 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_cell6", + "name": "Battery 17 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_temperature1", + "name": "Battery 17 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery17_temperature2", + "name": "Battery 17 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery17_total_voltage", + "name": "Battery 17 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery17_conv_rate", + "name": "Battery 17 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "battery18_SOC", + "name": "Battery 18 SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "battery18_cell1", + "name": "Battery 18 Cell 1", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_cell2", + "name": "Battery 18 Cell 2", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_cell3", + "name": "Battery 18 Cell 3", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_cell4", + "name": "Battery 18 Cell 4", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_cell5", + "name": "Battery 18 Cell 5", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_cell6", + "name": "Battery 18 Cell 6", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_temperature1", + "name": "Battery 18 Temperature 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery18_temperature2", + "name": "Battery 18 Temperature 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "battery18_total_voltage", + "name": "Battery 18 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "battery18_conv_rate", + "name": "Battery 18 Conversion rate", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "batteries_voltage_reading", + "name": "Batteries voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "voltage_reading", + "name": "Voltage sensor", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "safeRange": [ + 0.0, + 430.0 + ] + }, + { + "id": "current_reading", + "name": "Current sensor", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -15.0, + 85.0 + ] + }, + { + "id": "general_state_machine_status", + "name": "General State Machine status", + "type": "enum", + "enumValues": [ + "CONNECTING", + "OPERATIONAL", + "FAULT" + ] + }, + { + "id": "operational_state_machine_status", + "name": "Operational State Machine status", + "type": "enum", + "enumValues": [ + "HV OPEN", + "PRECHARGE", + "HV CLOSED", + "CHARGING" + ] + }, + { + "id": "driver_reading_period", + "name": "BMS reading period", + "type": "int32" + }, + { + "id": "imd_status", + "name": "IMD Status", + "type": "enum", + "enumValues": [ + "SHORTCIRCUIT", + "NORMAL", + "UNDERVOLTAGE", + "FAST_EVAL", + "EQUIPMENT_FAULT", + "GROUNDING_FAULT" + ] + }, + { + "id": "imd_resistance", + "name": "IMD Resistance", + "type": "float32", + "podUnits": "Ohm", + "displayUnits": "MOhm", + "warningRange": [ + 0.0, + 0.1 + ] + }, + { + "id": "imd_is_ok", + "name": "IMD OK", + "type": "bool" + }, + { + "id": "sdc_status", + "name": "SDC Status", + "type": "enum", + "enumValues": [ + "ENGAGED", + "DISENGAGED" + ] + }, + { + "id": "minimum_soc", + "name": "Minimum SOC", + "type": "float32", + "displayUnits": "%" + }, + { + "id": "bms_status", + "name": "BMS Status", + "type": "enum", + "enumValues": [ + "OK", + "FAULT" + ] + }, + { + "id": "voltage_min", + "name": "Minimum cell voltage", + "type": "float32", + "displayUnits": "V" + }, + { + "id": "voltage_max", + "name": "Maximum cell voltage", + "type": "float32", + "displayUnits": "V" + }, + { + "id": "temp_min", + "name": "Minimum temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "temp_max", + "name": "Maximum temperature", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + } +] \ No newline at end of file diff --git a/boards/HVSCU/orders.json b/boards/HVSCU/orders.json new file mode 100644 index 0000000..f0918d4 --- /dev/null +++ b/boards/HVSCU/orders.json @@ -0,0 +1,38 @@ +[ + { + "type": "order", + "name": "FAULT", + "variables": [], + "id": 0 + }, + { + "type": "order", + "name": "close_contactors", + "variables": [], + "id": 900 + }, + { + "type": "order", + "name": "open_contactors", + "variables": [], + "id": 901 + }, + { + "type": "order", + "name": "sdc_obccu", + "variables": [], + "id": 902 + }, + { + "type": "order", + "name": "imd_bypass", + "variables": [], + "id": 903 + }, + { + "type": "order", + "name": "zeroing", + "variables": [], + "id": 904 + } +] \ No newline at end of file diff --git a/boards/HVSCU/packets.json b/boards/HVSCU/packets.json new file mode 100644 index 0000000..2ac6151 --- /dev/null +++ b/boards/HVSCU/packets.json @@ -0,0 +1,424 @@ +[ + { + "id": 0, + "type": "data", + "name": "FAULT" + }, + { + "id": 910, + "type": "data", + "name": "battery_1", + "variables": [ + "battery1_SOC", + "battery1_cell1", + "battery1_cell2", + "battery1_cell3", + "battery1_cell4", + "battery1_cell5", + "battery1_cell6", + "battery1_temperature1", + "battery1_temperature2", + "battery1_total_voltage", + "battery1_conv_rate" + ] + }, + { + "id": 911, + "type": "data", + "name": "battery_2", + "variables": [ + "battery2_SOC", + "battery2_cell1", + "battery2_cell2", + "battery2_cell3", + "battery2_cell4", + "battery2_cell5", + "battery2_cell6", + "battery2_temperature1", + "battery2_temperature2", + "battery2_total_voltage", + "battery2_conv_rate" + ] + }, + { + "id": 912, + "type": "data", + "name": "battery_3", + "variables": [ + "battery3_SOC", + "battery3_cell1", + "battery3_cell2", + "battery3_cell3", + "battery3_cell4", + "battery3_cell5", + "battery3_cell6", + "battery3_temperature1", + "battery3_temperature2", + "battery3_total_voltage", + "battery3_conv_rate" + ] + }, + { + "id": 913, + "type": "data", + "name": "battery_4", + "variables": [ + "battery4_SOC", + "battery4_cell1", + "battery4_cell2", + "battery4_cell3", + "battery4_cell4", + "battery4_cell5", + "battery4_cell6", + "battery4_temperature1", + "battery4_temperature2", + "battery4_total_voltage", + "battery4_conv_rate" + ] + }, + { + "id": 914, + "type": "data", + "name": "battery_5", + "variables": [ + "battery5_SOC", + "battery5_cell1", + "battery5_cell2", + "battery5_cell3", + "battery5_cell4", + "battery5_cell5", + "battery5_cell6", + "battery5_temperature1", + "battery5_temperature2", + "battery5_total_voltage", + "battery5_conv_rate" + ] + }, + { + "id": 915, + "type": "data", + "name": "battery_6", + "variables": [ + "battery6_SOC", + "battery6_cell1", + "battery6_cell2", + "battery6_cell3", + "battery6_cell4", + "battery6_cell5", + "battery6_cell6", + "battery6_temperature1", + "battery6_temperature2", + "battery6_total_voltage", + "battery6_conv_rate" + ] + }, + { + "id": 916, + "type": "data", + "name": "battery_7", + "variables": [ + "battery7_SOC", + "battery7_cell1", + "battery7_cell2", + "battery7_cell3", + "battery7_cell4", + "battery7_cell5", + "battery7_cell6", + "battery7_temperature1", + "battery7_temperature2", + "battery7_total_voltage", + "battery7_conv_rate" + ] + }, + { + "id": 917, + "type": "data", + "name": "battery_8", + "variables": [ + "battery8_SOC", + "battery8_cell1", + "battery8_cell2", + "battery8_cell3", + "battery8_cell4", + "battery8_cell5", + "battery8_cell6", + "battery8_temperature1", + "battery8_temperature2", + "battery8_total_voltage", + "battery8_conv_rate" + ] + }, + { + "id": 918, + "type": "data", + "name": "battery_9", + "variables": [ + "battery9_SOC", + "battery9_cell1", + "battery9_cell2", + "battery9_cell3", + "battery9_cell4", + "battery9_cell5", + "battery9_cell6", + "battery9_temperature1", + "battery9_temperature2", + "battery9_total_voltage", + "battery9_conv_rate" + ] + }, + { + "id": 919, + "type": "data", + "name": "battery_10", + "variables": [ + "battery10_SOC", + "battery10_cell1", + "battery10_cell2", + "battery10_cell3", + "battery10_cell4", + "battery10_cell5", + "battery10_cell6", + "battery10_temperature1", + "battery10_temperature2", + "battery10_total_voltage", + "battery10_conv_rate" + ] + }, + { + "id": 920, + "type": "data", + "name": "battery_11", + "variables": [ + "battery11_SOC", + "battery11_cell1", + "battery11_cell2", + "battery11_cell3", + "battery11_cell4", + "battery11_cell5", + "battery11_cell6", + "battery11_temperature1", + "battery11_temperature2", + "battery11_total_voltage", + "battery11_conv_rate" + ] + }, + { + "id": 921, + "type": "data", + "name": "battery_12", + "variables": [ + "battery12_SOC", + "battery12_cell1", + "battery12_cell2", + "battery12_cell3", + "battery12_cell4", + "battery12_cell5", + "battery12_cell6", + "battery12_temperature1", + "battery12_temperature2", + "battery12_total_voltage", + "battery12_conv_rate" + ] + }, + { + "id": 922, + "type": "data", + "name": "battery_13", + "variables": [ + "battery13_SOC", + "battery13_cell1", + "battery13_cell2", + "battery13_cell3", + "battery13_cell4", + "battery13_cell5", + "battery13_cell6", + "battery13_temperature1", + "battery13_temperature2", + "battery13_total_voltage", + "battery13_conv_rate" + ] + }, + { + "id": 923, + "type": "data", + "name": "battery_14", + "variables": [ + "battery14_SOC", + "battery14_cell1", + "battery14_cell2", + "battery14_cell3", + "battery14_cell4", + "battery14_cell5", + "battery14_cell6", + "battery14_temperature1", + "battery14_temperature2", + "battery14_total_voltage", + "battery14_conv_rate" + ] + }, + { + "id": 924, + "type": "data", + "name": "battery_15", + "variables": [ + "battery15_SOC", + "battery15_cell1", + "battery15_cell2", + "battery15_cell3", + "battery15_cell4", + "battery15_cell5", + "battery15_cell6", + "battery15_temperature1", + "battery15_temperature2", + "battery15_total_voltage", + "battery15_conv_rate" + ] + }, + { + "id": 925, + "type": "data", + "name": "battery_16", + "variables": [ + "battery16_SOC", + "battery16_cell1", + "battery16_cell2", + "battery16_cell3", + "battery16_cell4", + "battery16_cell5", + "battery16_cell6", + "battery16_temperature1", + "battery16_temperature2", + "battery16_total_voltage", + "battery16_conv_rate" + ] + }, + { + "id": 926, + "type": "data", + "name": "battery_17", + "variables": [ + "battery17_SOC", + "battery17_cell1", + "battery17_cell2", + "battery17_cell3", + "battery17_cell4", + "battery17_cell5", + "battery17_cell6", + "battery17_temperature1", + "battery17_temperature2", + "battery17_total_voltage", + "battery17_conv_rate" + ] + }, + { + "id": 927, + "type": "data", + "name": "battery_18", + "variables": [ + "battery18_SOC", + "battery18_cell1", + "battery18_cell2", + "battery18_cell3", + "battery18_cell4", + "battery18_cell5", + "battery18_cell6", + "battery18_temperature1", + "battery18_temperature2", + "battery18_total_voltage", + "battery18_conv_rate" + ] + }, + { + "id": 928, + "type": "data", + "name": "batteries_voltage", + "variables": [ + "batteries_voltage_reading" + ] + }, + { + "id": 930, + "type": "data", + "name": "voltage_sensor", + "variables": [ + "voltage_reading" + ] + }, + { + "id": 931, + "name": "current_sensor", + "type": "data", + "variables": [ + "current_reading" + ] + }, + { + "id": 940, + "name": "general_state_machine", + "type": "data", + "variables": [ + "general_state_machine_status" + ] + }, + { + "id": 941, + "name": "operational_state_machine", + "type": "data", + "variables": [ + "operational_state_machine_status" + ] + }, + { + "id": 942, + "name": "driver_diagnosis", + "type": "data", + "variables": [ + "driver_reading_period" + ] + }, + { + "id": 943, + "name": "imd", + "type": "data", + "variables": [ + "imd_status", + "imd_resistance", + "imd_is_ok" + ] + }, + { + "id": 944, + "name": "sdc", + "type": "data", + "variables": [ + "sdc_status" + ] + }, + { + "id": 945, + "name": "minimum_soc", + "type": "data", + "variables": [ + "minimum_soc" + ] + }, + { + "id": 946, + "name": "bms", + "type": "data", + "variables": [ + "bms_status" + ] + }, + { + "id": 947, + "name": "batteries_data", + "type": "data", + "variables": [ + "voltage_min", + "voltage_max", + "temp_min", + "temp_max" + ] + } +] \ No newline at end of file diff --git a/boards/LCU/LCU.json b/boards/LCU/LCU.json new file mode 100644 index 0000000..c7332f8 --- /dev/null +++ b/boards/LCU/LCU.json @@ -0,0 +1,11 @@ +{ + "board_id": 4, + "board_ip": "192.168.1.4", + "measurements": [ + "LCU_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ] +} \ No newline at end of file diff --git a/boards/LCU/LCU_measurements.json b/boards/LCU/LCU_measurements.json new file mode 100644 index 0000000..1c797d9 --- /dev/null +++ b/boards/LCU/LCU_measurements.json @@ -0,0 +1,1138 @@ +[ + { + "id": "ldu_id", + "name": "LDU Id", + "type": "uint8" + }, + { + "id": "pwm_duty_cycle", + "name": "Duty Cycle", + "type": "float32", + "podUnits": "%", + "displayUnits": "%", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "lcu_battery_voltage", + "name": "Battery Voltage to set", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_desired_current", + "name": "Desired current to set", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -40.0, + 40.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "ldu_buffer_id", + "name": "LDU Buffer ID", + "type": "uint8" + }, + { + "id": "lcu_coil_temp_1", + "name": "Temperature on LDU 1 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_2", + "name": "Temperature on LDU 2 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_3", + "name": "Temperature on LDU 3 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_4", + "name": "Temperature on LDU 4 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_5", + "name": "Temperature on LDU 5 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_6", + "name": "Temperature on LDU 6 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_7", + "name": "Temperature on LDU 7 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_8", + "name": "Temperature on LDU 8 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_9", + "name": "Temperature on LDU 9 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_temp_10", + "name": "Temperature on LDU 10 coil", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_1", + "name": "Temperature on LPU 1", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_2", + "name": "Temperature on LPU 2", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_3", + "name": "Temperature on LPU 3", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_4", + "name": "Temperature on LPU 4", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_5", + "name": "Temperature on LPU 5", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_6", + "name": "Temperature on LPU 6", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_7", + "name": "Temperature on LPU 7", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_8", + "name": "Temperature on LPU 8", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_9", + "name": "Temperature on LPU 9", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_driver_temp_10", + "name": "Temperature on LPU 10", + "type": "float32", + "podUnits": "ºC", + "displayUnits": "ºC" + }, + { + "id": "lcu_coil_current_1", + "name": "Current on LDU 1 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_2", + "name": "Current on LDU 2 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_3", + "name": "Current on LDU 3 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_4", + "name": "Current on LDU 4 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_5", + "name": "Current on LDU 5 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_6", + "name": "Current on LDU 6 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_7", + "name": "Current on LDU 7 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_8", + "name": "Current on LDU 8 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_9", + "name": "Current on LDU 9 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "lcu_coil_current_10", + "name": "Current on LDU 10 coil", + "type": "float32", + "podUnits": "A", + "displayUnits": "A", + "safeRange": [ + -55.0, + 55.0 + ], + "warningRange": [ + -40.0, + 40.0 + ] + }, + { + "id": "fixed_vbat", + "name": "fixed_vbat_0", + "type": "float32", + "podUnits": "V", + "displayUnits": "V", + "safeRange": [ + 250.0, + 450.0 + ], + "warningRange": [ + 300.0, + 450.0 + ] + }, + { + "id": "lcu_vbat_1", + "name": "LPU 1 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_2", + "name": "LPU 2 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_3", + "name": "LPU 3 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_4", + "name": "LPU 4 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_5", + "name": "LPU 5 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_6", + "name": "LPU 6 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_7", + "name": "LPU 7 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_8", + "name": "LPU 8 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_9", + "name": "LPU 9 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_vbat_10", + "name": "LPU 10 Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "lcu_airgap_1", + "name": "Airgap 1", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_2", + "name": "Airgap 2", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_3", + "name": "Airgap 3", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_4", + "name": "Airgap 4", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_5", + "name": "Airgap 5", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_6", + "name": "Airgap 6", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_7", + "name": "Airgap 7", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_airgap_8", + "name": "Airgap 8", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_control_y", + "name": "Dist_Control_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_control_z", + "name": "Dist_Control_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_control_x", + "name": "Rot_Control_x", + "type": "float32", + "podUnits": "degrees", + "displayUnits": "degrees" + }, + { + "id": "rot_control_y", + "name": "Rot_Control_y", + "type": "float32", + "podUnits": "degrees", + "displayUnits": "degrees" + }, + { + "id": "rot_control_z", + "name": "Rot_Control_z", + "type": "float32", + "podUnits": "degrees", + "displayUnits": "degrees" + }, + { + "id": "test_gui__1", + "name": "Airgap BUENO 1", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui__2", + "name": "Airgap BUENO 2", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui_3_", + "name": "Airgap BUENO 3", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui_4_", + "name": "Airgap BUENO 4", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui_5_", + "name": "Airgap BUENO 5", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui_6_", + "name": "Airgap BUENO 6", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui_7_", + "name": "Airgap BUENO 7", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "test_gui_8_", + "name": "Airgap BUENO 8", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "lcu_desired_distance", + "name": "desired distance (mm)", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "pos_y", + "name": "Y pos meters", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "pos_z", + "name": "Z pos meters", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "pos_rot_x", + "name": "X rotation radians", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_rot_y", + "name": "Y rotation radians", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_rot_z", + "name": "Z rotation radians", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_y_d", + "name": "Y pos derivative", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "pos_z_d", + "name": "Z pos derivative", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "pos_rot_x_d", + "name": "X rotation derivative", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_rot_y_d", + "name": "Y rotation derivative", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_rot_z_d", + "name": "Z rotation derivative", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_y_i", + "name": "Y pos integral", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "pos_z_i", + "name": "Z pos integral", + "type": "float32", + "podUnits": "m", + "displayUnits": "mm" + }, + { + "id": "pos_rot_x_i", + "name": "X rotation integral", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_rot_y_i", + "name": "Y rotation integral", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "pos_rot_z_i", + "name": "Z rotation integral", + "type": "float32", + "podUnits": "rad", + "displayUnits": "mrad" + }, + { + "id": "current_control_frequency", + "name": "current control frequency", + "type": "uint32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "levitation_control_frequency", + "name": "levitation control frequency", + "type": "uint32", + "podUnits": "Hz", + "displayUnits": "Hz" + }, + { + "id": "general_state", + "name": "master state", + "type": "enum", + "enumValues": [ + "DEFINING", + "CONNECTING", + "OPERATIONAL", + "FAULT" + ] + }, + { + "id": "vertical_state", + "name": "vertical state", + "type": "enum", + "enumValues": [ + "IDLE", + "CONTROL_CURRENT", + "CONTROL_1DOF", + "CONTROL_3DOF", + "STICK_DOWN" + ] + }, + { + "id": "horizontal_state", + "name": "horizontal state", + "type": "enum", + "enumValues": [ + "NORMAL", + "BOOSTER" + ] + }, + { + "id": "lcu_coil_current_ref_1", + "name": "Ref on LDU 1", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_2", + "name": "Ref on LDU 2", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_3", + "name": "Ref on LDU 3", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_4", + "name": "Ref on LDU 4", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_5", + "name": "Ref on LDU 5", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_6", + "name": "Ref on LDU 6", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_7", + "name": "Ref on LDU 7", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_8", + "name": "Ref on LDU 8", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_9", + "name": "Ref on LDU 9", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_ref_10", + "name": "Ref on LDU 10", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_1", + "name": "exit on LDU 1", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_2", + "name": "exit on LDU 2", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_3", + "name": "exit on LDU 3", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_4", + "name": "exit on LDU 4", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_5", + "name": "exit on LDU 5", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_6", + "name": "exit on LDU 6", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_7", + "name": "exit on LDU 7", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_8", + "name": "exit on LDU 8", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_9", + "name": "exit on LDU 9", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_coil_current_exit_10", + "name": "exit on LDU 10", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "output_voltage", + "name": "output_voltage", + "type": "uint16" + }, + { + "id": "lcu_dis_pos_ref_1", + "name": "Ref Dis 1", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_2", + "name": "Ref Dis 2", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_3", + "name": "Ref Dis 3", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_4", + "name": "Ref Dis 4", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_5", + "name": "Ref Dis 5", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_6", + "name": "Ref Dis 6", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_7", + "name": "Ref Dis 7", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_ref_8", + "name": "Ref Dis 8", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_1", + "name": "exit Dis 1", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_2", + "name": "exit Dis 2", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_3", + "name": "exit Dis 3", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_4", + "name": "exit Dis 4", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_5", + "name": "exit Dis 5", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_6", + "name": "exit Dis 6", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_7", + "name": "exit Dis 7", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "lcu_dis_pos_exit_8", + "name": "exit Dis 8", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "noise_for_hems", + "name": "noise for hems", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "multi_current_1", + "name": "multi_current_1", + "type": "float32", + "podUnits": "", + "displayUnits": "", + "enumValues": [] + }, + { + "id": "multi_current_2", + "name": "multi_current_2", + "type": "float32", + "podUnits": "", + "displayUnits": "", + "enumValues": [] + }, + { + "id": "multi_current_3", + "name": "multi_current_3", + "type": "float32", + "podUnits": "", + "displayUnits": "", + "enumValues": [] + }, + { + "id": "multi_current_4", + "name": "multi_current_4", + "type": "float32", + "podUnits": "", + "displayUnits": "", + "enumValues": [] + }, + { + "id": "dist_error_z", + "name": "Dist_error_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_integral_error_z", + "name": "Dist_integral_error_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_derivate_error_z", + "name": "Dist_derivate_error_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_error_y", + "name": "Dist_error_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_integral_error_y", + "name": "Dist_integral_error_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "dist_derivate_error_y", + "name": "Dist_derivate_error_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_error_z", + "name": "Rot_error_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_integral_error_z", + "name": "Rot_integral_error_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_derivate_error_z", + "name": "Rot_derivate_error_z", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_error_y", + "name": "Rot_error_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_integral_error_y", + "name": "Rot_integral_error_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_derivate_error_y", + "name": "Rot_derivate_error_y", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_error_x", + "name": "Rot_error_x", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_integral_error_x", + "name": "Rot_integral_error_x", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "rot_derivate_error_x", + "name": "Rot_derivate_error_x", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + }, + { + "id": "distance", + "name": "Distance (mm)", + "type": "float32", + "podUnits": "mm", + "displayUnits": "mm" + } + +] \ No newline at end of file diff --git a/boards/LCU/orders.json b/boards/LCU/orders.json new file mode 100644 index 0000000..4585a7e --- /dev/null +++ b/boards/LCU/orders.json @@ -0,0 +1,129 @@ +[ + { + "type": "order", + "name": "set_LDU_pwm_params", + "variables": [ + "ldu_id", + "pwm_duty_cycle", + "current_control_frequency" + ], + "id": 9999 + }, + { + "type": "order", + "name": "send_LDU_en", + "variables": [ + "ldu_buffer_id" + ], + "id": 9998 + }, + { + "type": "order", + "name": "send_LDU_dis", + "variables": [ + "ldu_buffer_id" + ], + "id": 9996 + }, + { + "type": "order", + "name": "set_current_desired", + "variables": [ + "ldu_id", + "lcu_desired_current" + ], + "id": 9995 + }, + { + "type": "order", + "name": "start_control", + "variables": [ + "ldu_id", + "lcu_desired_distance" + ], + "id": 9994 + }, + { + "type": "order", + "name": "stop_control", + "variables": [], + "id": 9993 + }, + { + "type": "order", + "name": "stop_pwm", + "variables": [ + "ldu_id" + ], + "id": 9991 + }, + { + "type": "order", + "name": "start_pwm", + "variables": [ + "ldu_id" + ], + "id": 9992 + }, + { + "type": "order", + "name": "set_fixed_vbat", + "variables": [ + "fixed_vbat" + ], + "id": 9990 + }, + { + "type": "order", + "name": "start_3dof", + "variables": [ + "lcu_desired_distance" + ], + "id": 9989 + }, + { + "type": "order", + "name": "start_booster", + "variables": [], + "id": 1751 + }, + { + "type": "order", + "name": "exit_booster", + "variables": [], + "id": 1750 + }, + { + "type": "order", + "name": "stick_down", + "variables": [], + "id": 9987 + }, + { + "type": "order", + "name": "start_5dof", + "variables": [ + "lcu_desired_distance" + ], + "id": 9988 + }, + { + "type": "order", + "name": "multi_current_order", + "variables": [ + "multi_current_1", + "multi_current_2", + "multi_current_3", + "multi_current_4" + ], + "id": 9986 + }, + { + "type": "order", + "name": "levitation_vcu", + "variables": [ + "distance" + ], + "id": 9998 + } +] \ No newline at end of file diff --git a/boards/LCU/packets.json b/boards/LCU/packets.json new file mode 100644 index 0000000..c76ec96 --- /dev/null +++ b/boards/LCU/packets.json @@ -0,0 +1,113 @@ +[ + { + "type": "data", + "name": "lcu_coil_current", + "variables": [ + "general_state", + "vertical_state", + "horizontal_state", + "lcu_coil_current_1", + "lcu_coil_current_2", + "lcu_coil_current_3", + "lcu_coil_current_4", + "lcu_coil_current_5", + "lcu_coil_current_6", + "lcu_coil_current_7", + "lcu_coil_current_8", + "lcu_coil_current_9", + "lcu_coil_current_10", + "lcu_vbat_1", + "lcu_vbat_2", + "lcu_vbat_3", + "lcu_vbat_4", + "lcu_vbat_5", + "lcu_vbat_6", + "lcu_vbat_7", + "lcu_vbat_8", + "lcu_vbat_9", + "lcu_vbat_10", + "lcu_coil_current_ref_1", + "lcu_coil_current_ref_2", + "lcu_coil_current_ref_3", + "lcu_coil_current_ref_4", + "lcu_coil_current_ref_5", + "lcu_coil_current_ref_6", + "lcu_coil_current_ref_7", + "lcu_coil_current_ref_8", + "lcu_coil_current_ref_9", + "lcu_coil_current_ref_10", + "lcu_coil_current_exit_1", + "lcu_coil_current_exit_2", + "lcu_coil_current_exit_3", + "lcu_coil_current_exit_4", + "lcu_coil_current_exit_5", + "lcu_coil_current_exit_6", + "lcu_coil_current_exit_7", + "lcu_coil_current_exit_8", + "lcu_coil_current_exit_9", + "lcu_coil_current_exit_10", + "lcu_dis_pos_ref_1", + "lcu_dis_pos_ref_2", + "lcu_dis_pos_ref_3", + "lcu_dis_pos_ref_4", + "lcu_dis_pos_ref_5", + "lcu_dis_pos_ref_6", + "lcu_dis_pos_ref_7", + "lcu_dis_pos_ref_8", + "lcu_dis_pos_exit_1", + "lcu_dis_pos_exit_2", + "lcu_dis_pos_exit_3", + "lcu_dis_pos_exit_4", + "lcu_dis_pos_exit_5", + "lcu_dis_pos_exit_6", + "lcu_dis_pos_exit_7", + "lcu_dis_pos_exit_8" + ], + "id": 320 + }, + { + "type": "data", + "name": "lcu_airgap", + "variables": [ + "lcu_airgap_1", + "lcu_airgap_2", + "lcu_airgap_3", + "lcu_airgap_4", + "lcu_airgap_5", + "lcu_airgap_6", + "lcu_airgap_7", + "lcu_airgap_8", + "dist_control_y", + "dist_control_z", + "rot_control_x", + "rot_control_y", + "rot_control_z", + "dist_error_y", + "dist_integral_error_y", + "dist_derivate_error_y", + "dist_error_z", + "dist_integral_error_z", + "dist_derivate_error_z", + "rot_error_x", + "rot_integral_error_x", + "rot_derivate_error_x", + "rot_error_y", + "rot_integral_error_y", + "rot_derivate_error_y", + "rot_error_z", + "rot_integral_error_z", + "rot_derivate_error_z" + ], + "id": 318 + }, + + { + "type": "data", + "name": "OperationalState", + "variables": [ + "vertical_state", + "horizontal_state" + ], + "id": 63 + } +] \ No newline at end of file diff --git a/boards/PCU/PCU.json b/boards/PCU/PCU.json new file mode 100644 index 0000000..2024ea7 --- /dev/null +++ b/boards/PCU/PCU.json @@ -0,0 +1,11 @@ +{ + "board_id": 0, + "board_ip": "192.168.1.5", + "measurements": [ + "PCU_measurements.json" + ], + "packets": [ + "packets.json", + "orders.json" + ] +} \ No newline at end of file diff --git a/boards/PCU/PCU_measurements.json b/boards/PCU/PCU_measurements.json new file mode 100644 index 0000000..8bf13f3 --- /dev/null +++ b/boards/PCU/PCU_measurements.json @@ -0,0 +1,446 @@ +[ + { + "id": "frequency", + "name": "Frequency Commutation hz", + "type": "uint32", + "podUnits": "hz", + "displayUnits": "hz" + }, + { + "id": "modulation_frequency", + "name": "Modulation frequency", + "type": "float32", + "podUnits": "hz", + "displayUnits": "hz" + }, + { + "id": "duty_u", + "name": "Duty U", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "duty_v", + "name": "Duty V", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "duty_w", + "name": "Duty W", + "type": "float32", + "podUnits": "%", + "displayUnits": "%" + }, + { + "id": "Voltage_Battery_A", + "name": "Voltage Battery A", + "type": "float32" + }, + { + "id": "Voltage_Battery_B", + "name": "Voltage Battery B", + "type": "float32" + }, + { + "id": "V_Ref", + "name": "Reference Voltage", + "type": "float32" + }, + { + "id": "frequency_to_send_svpwm", + "name": "Frequency Modulation hz", + "type": "float32", + "podUnits": "hz", + "displayUnits": "hz" + }, + { + "id": "frequency_to_send_PWM", + "name": "Frequency Commutation hz", + "type": "float32", + "podUnits": "hz", + "displayUnits": "hz" + }, + { + "id": "current_sensor_u_a", + "name": "Current sensor U connector A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_u_b", + "name": "Current sensor U connector B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_v_a", + "name": "Current sensor V connector A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_v_b", + "name": "Current sensor V connector B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_w_a", + "name": "Current sensor W connector A", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "current_sensor_w_b", + "name": "Current sensor W connector B", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "general_state_machine", + "name": "General State Machine", + "type": "enum", + "enumValues": [ + "Connecting", + "Operational", + "Fault" + ] + }, + { + "id": "operational_state_machine", + "name": "Operational state machine", + "type": "enum", + "enumValues": [ + "IDLE", + "Braking", + "Accelerating", + "Regenerative" + ] + }, + { + "id": "Current_Ref", + "name": "Current Ref", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "freq_to_send_svpwm", + "name": "Frequency Modulation hz", + "type": "float32", + "podUnits": "hz", + "displayUnits": "hz" + }, + { + "id": "freq_to_send_PWM", + "name": "Frequency Commutation hz", + "type": "float32", + "podUnits": "hz", + "displayUnits": "hz" + }, + { + "id": "current_Peak", + "name": "Max Current Peak", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "Error_PI", + "name": "Actual Current Error", + "type": "float64", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "Target_Voltage", + "name": "Target Voltage", + "type": "float64", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "VMax", + "name": "Max Voltage", + "type": "float32", + "podUnits": "V", + "displayUnits": "V" + }, + { + "id": "Speed_Ref", + "name": "Reference Speed", + "type": "float32", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "SVPWM_Time", + "name": "SVPWM Time", + "type": "float32", + "podUnits": "s", + "displayUnits": "s" + }, + { + "id": "encoder_position", + "name": "Position Encoder", + "type": "float64", + "podUnits": "m", + "displayUnits": "m" + }, + { + "id": "encoder_direction", + "name": "Direction Encoder", + "type": "enum", + "enumValues": [ + "Forward", + "Backward" + ] + }, + { + "id": "encoder_speed", + "name": "Speed Encoder", + "type": "float64", + "podUnits": "m/s", + "displayUnits": "m/s" + }, + { + "id": "encoder_speed_km_h", + "name": "Speed km/h", + "type": "float64", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "encoder_acceleration", + "name": "Acceleration Encoder", + "type": "float64", + "podUnits": "m/ss", + "displayUnits": "m/ss" + }, + { + "id": "target_speed", + "name": "Target Speed KM/H", + "type": "float32", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "speed_error", + "name": "Speed error", + "type": "float64", + "podUnits": "km/h", + "displayUnits": "km/h" + }, + { + "id": "actual_current_ref", + "name": "Control Current ref", + "type": "float32", + "podUnits": "A", + "displayUnits": "A" + }, + { + "id": "Current_Control_State", + "name": "Current Control State", + "type": "enum", + "enumValues": [ + "Cruise_Mode", + "Regenerate_Mode" + ] + }, + { + "id": "Speed_Control_State", + "name": "Control Current ref", + "type": "enum", + "enumValues": [ + "Cruise_Mode", + "Regenerate_Mode" + ] + }, + { + "id": "Direction_State", + "name": "Direction Motor", + "type": "enum", + "enumValues": [ + "Forward", + "Backward" + ] + }, + { + "id": "imod", + "name": "modulation_index", + "type": "float32" + }, + { + "id": "reed1", + "name": "reed_state", + "type": "enum", + "enumValues": [ + "Not_Braking", + "Braking" + ] + }, + { + "id": "reed2", + "name": "reed_state", + "type": "enum", + "enumValues": [ + "UNDEPLOYED", + "DEPLOYED" + ] + }, + { + "id": "reed3", + "name": "reed_state", + "type": "enum", + "enumValues": [ + "Not_Braking", + "Braking" + ] + }, + { + "id": "reed4", + "name": "reed_state", + "type": "enum", + "enumValues": [ + "Not_Braking", + "Braking" + ] + }, + { + "id": "space_vector_active", + "name": "Space Vector", + "type": "enum", + "enumValues": [ + "DISABLE", + "ACTIVE" + ] + }, + { + "id": "current_control_active", + "name": "Current Control", + "type": "enum", + "enumValues": [ + "DISABLE", + "ACTIVE" + ] + }, + { + "id": "speed_control_active", + "name": "Speed Control", + "type": "enum", + "enumValues": [ + "DISABLE", + "ACTIVE" + ] + }, + { + "id": "gd_fault_a", + "name": "GateDriver_A_Fault", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + -2.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "gd_fault_b", + "name": "GateDriver_B_Fault", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "gd_ready_a", + "name": "GateDriver_A_Ready", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "gd_ready_b", + "name": "GateDriver_B_Ready", + "type": "bool", + "podUnits": "", + "displayUnits": "", + "safeRange": [ + 0.0, + 100.0 + ], + "warningRange": [ + 0.0, + 100.0 + ] + }, + { + "id": "requested_speetec_emulation_mode", + "name": "Emulation Mode", + "type": "enum", + "enumValues": [ + "STOP", + "position", + "speed", + "acceleration" + ] + }, + { + "id": "requested_speetec_emulation_value", + "name": "Value (m | m/s | m/s^2)", + "type": "float32", + "podUnits": "", + "displayUnits": "" + }, + { + "id": "run_id", + "name": "Run Mode", + "type": "enum", + "enumValues": [ + "LIM + Booster", + "Booster", + "LIM", + "LIM (50KM/H)" + + ] + }, + { + "id": "run_state", + "name": "Run State", + "type": "enum", + "enumValues": [ + "NOTHING", + "MOVING", + "BRAKING" + + ] + } +] \ No newline at end of file diff --git a/boards/PCU/orders.json b/boards/PCU/orders.json new file mode 100644 index 0000000..ed9419d --- /dev/null +++ b/boards/PCU/orders.json @@ -0,0 +1,103 @@ +[ + { + "type": "order", + "name": "Start_SVPWM", + "variables": [ + "frequency_to_send_svpwm", + "frequency_to_send_PWM", + "V_Ref", + "VMax", + "Direction_State" + ], + "id": 507 + }, + { + "type": "order", + "name": "Stop_Motor", + "variables": [], + "id": 508 + }, + { + "type": "order", + "name": "Send_Reference_Current", + "variables": [ + "freq_to_send_svpwm", + "freq_to_send_PWM", + "Current_Ref", + "VMax", + "Direction_State" + ], + "id": 509 + }, + { + "type": "order", + "name": "Zeroing", + "variables": [], + "id": 510 + }, + { + "type": "order", + "name": "Send_Reference_Speed", + "variables": [ + "Speed_Ref", + "freq_to_send_PWM", + "VMax", + "Direction_State" + ], + "id": 511 + }, + { + "type": "order", + "name": "Start_Precharge", + "variables": [ + "freq_to_send_PWM", + "VMaxSVPWM" + ], + "id": 512 + }, + { + "type": "order", + "name": "Make_Complete_Run(Regenerative)", + "variables": [ + "Speed_Ref", + "freq_to_send_PWM", + "VMax", + "Direction_State" + ], + "id": 513 + }, + { + "type": "order", + "name": "Start_Regenerative_now", + "variables": [], + "id": 514 + }, + { + "type": "order", + "name": "Brake using Motor", + "variables": [ + "VMax" + ], + "id": 515 + }, + + { + "type": "order", + "name": "Start Run", + "variables": [ + "run_id" + ], + "id": 516 + }, + + { + "type": "order", + "name": "Emulated Speetec", + "variables": [ + "requested_speetec_emulation_mode", + "requested_speetec_emulation_value" + ], + "id": 517 + } + +] \ No newline at end of file diff --git a/boards/PCU/packets.json b/boards/PCU/packets.json new file mode 100644 index 0000000..4bf84e9 --- /dev/null +++ b/boards/PCU/packets.json @@ -0,0 +1,117 @@ +[ + { + "type": "data", + "name": "pwm_packet", + "variables": [ + "frequency", + "modulation_frequency", + "duty_u", + "duty_v", + "duty_w" + ], + "id": 550 + }, + { + "type": "data", + "name": "Batteries_Voltage", + "variables": [ + "Voltage_Battery_A", + "Voltage_Battery_B" + ], + "id": 551 + }, + { + "type": "data", + "name": "Current_sensors", + "variables": [ + "current_sensor_u_a", + "current_sensor_v_a", + "current_sensor_w_a", + "current_sensor_u_b", + "current_sensor_v_b", + "current_sensor_w_b", + "current_Peak", + "Error_PI", + "Target_Voltage", + "SVPWM_Time", + "imod" + ], + "id": 552 + }, + { + "type": "data", + "name": "StateMachine_states", + "variables": [ + "general_state_machine", + "operational_state_machine", + "run_state", + "space_vector_active", + "current_control_active", + "speed_control_active" + ], + "id": 553 + }, + { + "type": "data", + "name": "Encoder_data", + "variables": [ + "encoder_position", + "encoder_direction", + "encoder_speed", + "encoder_speed_km_h", + "encoder_acceleration" + ], + "id": 554 + }, + { + "type": "data", + "name": "Encoder_data", + "variables": [ + "target_speed", + "speed_error", + "actual_current_ref" + ], + "id": 555 + }, + { + "type": "data", + "name": "Control_State", + "variables": [ + "Direction_State", + "Speed_Control_State" + ], + "id": 556 + }, + { + "type": "data", + "name": "Reeds_State", + "variables": [ + "reed1", + "reed2", + "reed3", + "reed4" + ], + "id": 557 + }, + { + "type": "data", + "name": "GateDriverReporting", + "variables": [ + "gd_fault_a", + "gd_fault_b", + "gd_ready_a", + "gd_ready_b" + ], + "id": 558 + }, + + { + "type": "data", + "name": "OperationalState", + "variables": [ + "operational_state_machine" + ], + "id": 64 + } + +] \ No newline at end of file From 798c351d67e7996b4860a75486f64d7173b9e5a8 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 11 Sep 2025 16:18:19 +0200 Subject: [PATCH 10/18] Final version of new sockets json module on VCU --- {VCU_original => VCU}/VCU.json | 0 {VCU_original => VCU}/VCU_measurements.json | 0 {VCU_original => VCU}/orders.json | 0 {VCU_original => VCU}/packets.json | 0 {VCU_original => VCU}/sockets.json | 0 boards/VCU/VCU.json | 15 -- boards/VCU/VCU_measurements.json | 269 -------------------- boards/VCU/orders.json | 129 ---------- boards/VCU/packets.json | 15 -- boards/VCU/sockets.json | 17 -- 10 files changed, 445 deletions(-) rename {VCU_original => VCU}/VCU.json (100%) rename {VCU_original => VCU}/VCU_measurements.json (100%) rename {VCU_original => VCU}/orders.json (100%) rename {VCU_original => VCU}/packets.json (100%) rename {VCU_original => VCU}/sockets.json (100%) delete mode 100644 boards/VCU/VCU.json delete mode 100644 boards/VCU/VCU_measurements.json delete mode 100644 boards/VCU/orders.json delete mode 100644 boards/VCU/packets.json delete mode 100644 boards/VCU/sockets.json diff --git a/VCU_original/VCU.json b/VCU/VCU.json similarity index 100% rename from VCU_original/VCU.json rename to VCU/VCU.json diff --git a/VCU_original/VCU_measurements.json b/VCU/VCU_measurements.json similarity index 100% rename from VCU_original/VCU_measurements.json rename to VCU/VCU_measurements.json diff --git a/VCU_original/orders.json b/VCU/orders.json similarity index 100% rename from VCU_original/orders.json rename to VCU/orders.json diff --git a/VCU_original/packets.json b/VCU/packets.json similarity index 100% rename from VCU_original/packets.json rename to VCU/packets.json diff --git a/VCU_original/sockets.json b/VCU/sockets.json similarity index 100% rename from VCU_original/sockets.json rename to VCU/sockets.json diff --git a/boards/VCU/VCU.json b/boards/VCU/VCU.json deleted file mode 100644 index 58b8546..0000000 --- a/boards/VCU/VCU.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "board_id": 11, - "board_ip": "192.168.1.3", - "measurements": [ - "VCU_measurements.json" - ], - "packets": [ - "orders.json", - "packets.json" - ], - "sockets":[ - "sockets.json" - ] - -} \ No newline at end of file diff --git a/boards/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json deleted file mode 100644 index fe2fbd7..0000000 --- a/boards/VCU/VCU_measurements.json +++ /dev/null @@ -1,269 +0,0 @@ -[ - { - "id": "state", - "name": "state", - "type": "enum", - "enumValues": [ - "ON", - "OFF" - ] - }, - { - "id": "duty", - "name": "Duty", - "type": "uint32", - "podUnits": "Percentage", - "displayUnits": "Percentage" - }, - { - "id": "pump", - "name": "Pump", - "type": "enum", - "enumValues": [ - "UNIDADES", - "PLACAS" - ] - }, - { - "id": "general_state", - "name": "General State", - "type": "enum", - "enumValues": [ - "CONNECTING", - "OPERATIONAL", - "FAULT" - ] - }, - { - "id": "operational_state", - "name": "Operational State", - "type": "enum", - "enumValues": [ - "IDLE", - "END_OF_RUN", - "ENERGIZED", - "READY", - "DEMONSTRATION", - "RECOVERY" - ] - }, - { - "id": "regulator_pressure", - "name": "Regulator Pressure", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "regulator", - "name": "Regulator", - "type": "enum", - "enumValues": [ - "REGULATOR 1", - "REGULATOR 2" - ] - }, - { - "id": "reed1", - "name": "Reed 1", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed2", - "name": "Reed 2", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed3", - "name": "Reed 3", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "reed4", - "name": "Reed 4", - "type": "enum", - "enumValues": [ - "UNDEPLOYED", - "DEPLOYED" - ] - }, - { - "id": "all_reeds", - "name": "All Reeds", - "type": "bool", - "podUnits": "", - "displayUnits": "" - }, - { - "id": "flow1", - "name": "Flow 1", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "flow2", - "name": "Flow 2", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "regulator_1_pressure", - "name": "Regulator 1", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "regulator_2_pressure", - "name": "Regulator 2", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_high", - "name": "Pressure High", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_regulator", - "name": "Pressure Regulator", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_brakes", - "name": "Pressure Brakes", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "pressure_capsule", - "name": "Pressure Capsule", - "type": "float32", - "podUnits": "bar", - "displayUnits": "bar" - }, - { - "id": "tape_enable_output", - "name": "Tape Enable", - "type": "enum", - "enumValues": [ - "DISABLED", - "ENABLED" - ] - }, - { - "id": "emergency_tape", - "name": "Section Type", - "type": "enum", - "enumValues": [ - "EMERGENCY_SECTION", - "NORMAL_SECTION" - ] - }, - { - "id": "SDC", - "name": "SDC", - "type": "enum", - "enumValues": [ - "OFF", - "ON" - ] - }, - { - "id": "levitation_distance", - "name": "Levitation Distance (mm)", - "type": "float32", - "podUnits": "mm", - "displayUnits": "mm" - }, - { - "id": "run_id", - "name": "Run ID", - "type": "enum", - "enumValues":[ - "LIM" - ] - }, - { - "id": "motor_direction", - "name": "Motor Direction", - "type": "enum", - "enumValues": [ - "FORWARD", - "BACKWARDS" - ] - }, - { - "id": "max_voltage", - "name": "Max Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "reference_voltage", - "name": "Reference Voltage", - "type": "float32", - "podUnits": "V", - "displayUnits": "V" - }, - { - "id": "commutation_frequency", - "name": "Commutation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "modulation_frequency", - "name": "Modulation Frequency", - "type": "float32", - "podUnits": "Hz", - "displayUnits": "Hz" - }, - { - "id": "reference_current", - "name": "Reference Current", - "type": "float32", - "podUnits": "A", - "displayUnits": "A" - }, - { - "id": "reference_speed", - "name": "Reference Speed", - "type": "float32", - "podUnits": "km/h", - "displayUnits": "km/h" - }, - { - "id": "state", - "name": "Recovery State", - "type": "uint8", - "podUnits": "", - "displayUnits": "" - } -] diff --git a/boards/VCU/orders.json b/boards/VCU/orders.json deleted file mode 100644 index d8945e8..0000000 --- a/boards/VCU/orders.json +++ /dev/null @@ -1,129 +0,0 @@ -[ - { - "type": "order", - "name": "Brake", - "id": 43 - }, - { - "type": "order", - "name": "Unbrake", - "id": 52 - }, - { - "type": "order", - "name": "Potencia Refri", - "variables": [ - "duty", - "pump" - ], - "id": 33 - }, - { - "type": "order", - "name": "Set Regulator", - "variables": [ - "regulator_pressure", - "regulator" - ], - "id": 34 - }, - { - "type": "order", - "name": "Enable Tapes", - "id": 35 - }, - { - "type": "order", - "name": "Disbable Tapes", - "id": 36 - }, - { - "type": "order", - "name": "Close Contactors", - "id": 44 - }, - { - "type": "order", - "name": "Open Contactors", - "id": 53 - }, - { - "type": "order", - "name": "Levitation", - "variables" : [ - "levitation_distance" - ], - "id": 37 - }, - { - "type": "order", - "name": "Stop Levitation", - "id": 46 - }, - { - "type" : "order", - "name": "Emergency Stop", - "id": 55 - }, - { - "type": "order", - "name": "Propulsion", - "variables" : [ - "run_id" - ], - "id": 56 - }, - { - "type": "order", - "name": "SVPWM", - "variables" : [ - "modulation_frequency", - "commutation_frequency", - "max_voltage", - "reference_voltage", - "motor_direction" - ], - "id": 57 - }, - { - "type": "order", - "name": "Stop Motor", - "id": 58 - }, - { - "type": "order", - "name": "Current Control", - "variables" : [ - - "modulation_frequency", - "commutation_frequency", - "reference_current", - "max_voltage", - "motor_direction" - - - ], - "id": 59 - }, - { - "type": "order", - "name": "Speed Control", - "variables" : [ - "reference_speed", - "commutation_frequency", - "max_voltage", - "motor_direction" - ], - "id": 60 - }, - { - "type": "order", - "name": "Motor Brake", - "id": 61 - }, - { - "type": "order", - "name": "Recovery", - "id": 32 - } -] \ No newline at end of file diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json deleted file mode 100644 index 716df6a..0000000 --- a/boards/VCU/packets.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - - { - "type": "data", - "name": "Reeds", - "variables": [ - "state" - - ], - "id": 251, - "period_ms": 16.67, - "socket": "control_station_udp" - } - -] \ No newline at end of file diff --git a/boards/VCU/sockets.json b/boards/VCU/sockets.json deleted file mode 100644 index 3997497..0000000 --- a/boards/VCU/sockets.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "type": "ServerSocket", - "name": "control_station_tcp", - "port": 50500 - }, - - { - "type": "DatagramSocket", - "name": "control_station_udp", - "remote_ip":"192.168.0.9", - "port": 50400 - } - - - -] From a61ba8380686bf7289fd0cdd92d7165cdf3d26c1 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 11 Sep 2025 16:23:43 +0200 Subject: [PATCH 11/18] Mb, put vcu file outside of boards file --- {VCU => boards/VCU}/VCU.json | 0 {VCU => boards/VCU}/VCU_measurements.json | 0 {VCU => boards/VCU}/orders.json | 0 {VCU => boards/VCU}/packets.json | 0 {VCU => boards/VCU}/sockets.json | 0 5 files changed, 0 insertions(+), 0 deletions(-) rename {VCU => boards/VCU}/VCU.json (100%) rename {VCU => boards/VCU}/VCU_measurements.json (100%) rename {VCU => boards/VCU}/orders.json (100%) rename {VCU => boards/VCU}/packets.json (100%) rename {VCU => boards/VCU}/sockets.json (100%) diff --git a/VCU/VCU.json b/boards/VCU/VCU.json similarity index 100% rename from VCU/VCU.json rename to boards/VCU/VCU.json diff --git a/VCU/VCU_measurements.json b/boards/VCU/VCU_measurements.json similarity index 100% rename from VCU/VCU_measurements.json rename to boards/VCU/VCU_measurements.json diff --git a/VCU/orders.json b/boards/VCU/orders.json similarity index 100% rename from VCU/orders.json rename to boards/VCU/orders.json diff --git a/VCU/packets.json b/boards/VCU/packets.json similarity index 100% rename from VCU/packets.json rename to boards/VCU/packets.json diff --git a/VCU/sockets.json b/boards/VCU/sockets.json similarity index 100% rename from VCU/sockets.json rename to boards/VCU/sockets.json From 14fb3063d5e5d52e144bb2f63426246f6f08b855 Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Sat, 13 Sep 2025 20:21:48 +0200 Subject: [PATCH 12/18] README.md updated to new auto-generated socket structure and periodical packet sending --- README.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 65 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f289f82..95d282b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,8 @@ adj/ ├── {board_name}.json # Main board configuration ├── {board_name}_measurements.json # Board measurements ├── packets.json # Data packets - └── orders.json # Order packets + ├── orders.json # Order packets + └── sockets.json # Board sockets ``` ## Data Types @@ -84,14 +85,15 @@ Mapping of board names to their configuration file paths. ### Board Configuration (`{board_name}.json`) -Main board configuration including ID, IP address, and references to measurements and packets files. +Main board configuration including ID, IP address, and references to measurements, packets and sockets files. ```json { "board_id": "number", "board_ip": "string", "measurements": ["string"], - "packets": ["string"] + "packets": ["string"], + "sockets": ["string"] } ``` @@ -107,7 +109,8 @@ Main board configuration including ID, IP address, and references to measurement "board_id": 1001, "board_ip": "192.168.1.10", "measurements": ["brake_board_measurements.json"], - "packets": ["packets.json", "orders.json"] + "packets": ["packets.json", "orders.json"], + "sockets":["sockets.json"] } ``` @@ -173,7 +176,9 @@ Array of packet definitions for network communication. Packets are separated by "id": "number?", "type": "string", "name": "string", - "variables": ["string"] + "variables": ["string"], + "period_ms": "number?", + "socket": "string?" } ] ``` @@ -183,6 +188,8 @@ Array of packet definitions for network communication. Packets are separated by - `type`: Packet type string (e.g., "data", "order", "status") - `name`: Human-readable packet name - `variables`: Array of variable names/measurement IDs included in this packet +- `period_ms`: Optional number specifying the transmission period in milliseconds for periodic packets. Can be an integer or floating-point value +- `socket`: Optinal string that should match the name of the socket you want to transmit this packet trhough **Example:** ```json @@ -191,7 +198,9 @@ Array of packet definitions for network communication. Packets are separated by "id": 2001, "type": "data", "name": "Brake Telemetry", - "variables": ["brake_pressure", "brake_status", "brake_temperature"] + "variables": ["brake_pressure", "brake_status", "brake_temperature"], + "period_ms": 16.67, + "socket": "control_station_udp" }, { "type": "order", @@ -201,6 +210,56 @@ Array of packet definitions for network communication. Packets are separated by ] ``` +### Sockets (`sockets.json`) + +Array of socket definitions for network communication. + +```json +{ + "type": "string", + "name": "string", + "port": "number?", + "local_port":"number?", + "remote_ip": "string?", + "remote_port":"number?" + +} +``` + +**Field Descriptions:** +- `type`: Socket type string(e.g., "ServerSocket","DatagramSocket","Socket") +- `name`: Socket name +- `port`: Optional number that describes the port number used for a ServerSocket or a DatagramSocket +- `local_port`: Optional number that describes the local port number used for a Socket +- `remote_ip`: Optional string that describes the remote ip you want to connect to in a DatagramSocket or Socket +- `remote_port`: Optional number that describes the remote port number used for a Socket + +**Example:** +```json +[ + { + "type": "ServerSocket", + "name": "control_station_tcp", + "port": 50500 + }, + + { + "type": "DatagramSocket", + "name": "control_station_udp", + "remote_ip":"192.168.0.9", + "port": 50400 + }, + + { + "type": "Socket", + "name": "pcu_tcp", + "local_port": 50501, + "remote_ip": "192.168.1.5", + "remote_port": 50500 + } +] +``` + ## Configuration Rules 1. **Naming Convention**: Board directories and main configuration files must use the same name as the board key in `boards.json` From fe0201f545a68d084b65ca7fed3367b97451232f Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Sat, 13 Sep 2025 20:29:52 +0200 Subject: [PATCH 13/18] More README.md changes --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 95d282b..e777552 100644 --- a/README.md +++ b/README.md @@ -272,6 +272,8 @@ Array of socket definitions for network communication. 5. **ID Uniqueness**: Board IDs must be unique across all boards. Packet IDs should be unique within their type category. +6. **Socket Naming**: The The sockets referenced inside the packet definitions must use exact names as defined in `socket.json`. + ## Validation Notes - All numeric fields use standard JSON number format From 2a3d0c70340cce9fe58c5e0051b67ed46332141c Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Sat, 13 Sep 2025 20:30:24 +0200 Subject: [PATCH 14/18] Typing error in README.md sorry --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e777552..5ddfd1d 100644 --- a/README.md +++ b/README.md @@ -272,7 +272,7 @@ Array of socket definitions for network communication. 5. **ID Uniqueness**: Board IDs must be unique across all boards. Packet IDs should be unique within their type category. -6. **Socket Naming**: The The sockets referenced inside the packet definitions must use exact names as defined in `socket.json`. +6. **Socket Naming**: The sockets referenced inside the packet definitions must use exact names as defined in `socket.json`. ## Validation Notes From c354e435c82c954966137c90604e79eeec3b100d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20F=C3=ADsica?= Date: Fri, 16 Jan 2026 21:24:58 +0100 Subject: [PATCH 15/18] chore(adj-validator): copy ADJ-Validator from test-adj --- .github/workflows/.gitignore | 2 + .github/workflows/adj-tester.yaml | 27 + .github/workflows/scripts/adj-tester/main.py | 503 ++++++++++++++++++ .../scripts/adj-tester/requirements.txt | 1 + .../adj-tester/schema/board.schema.json | 44 ++ .../schema/general_info.schema.json | 74 +++ .../schema/measurements.schema.json | 62 +++ .../adj-tester/schema/packet.schema.json | 42 ++ .github/workflows/scripts/adj-tester/utils.py | 151 ++++++ 9 files changed, 906 insertions(+) create mode 100644 .github/workflows/.gitignore create mode 100644 .github/workflows/adj-tester.yaml create mode 100755 .github/workflows/scripts/adj-tester/main.py create mode 100644 .github/workflows/scripts/adj-tester/requirements.txt create mode 100644 .github/workflows/scripts/adj-tester/schema/board.schema.json create mode 100644 .github/workflows/scripts/adj-tester/schema/general_info.schema.json create mode 100644 .github/workflows/scripts/adj-tester/schema/measurements.schema.json create mode 100644 .github/workflows/scripts/adj-tester/schema/packet.schema.json create mode 100644 .github/workflows/scripts/adj-tester/utils.py diff --git a/.github/workflows/.gitignore b/.github/workflows/.gitignore new file mode 100644 index 0000000..a4eaf93 --- /dev/null +++ b/.github/workflows/.gitignore @@ -0,0 +1,2 @@ +*.pyc +**/__pycache__/** \ No newline at end of file diff --git a/.github/workflows/adj-tester.yaml b/.github/workflows/adj-tester.yaml new file mode 100644 index 0000000..c6fd55d --- /dev/null +++ b/.github/workflows/adj-tester.yaml @@ -0,0 +1,27 @@ +name: ADJ Validator + +on: + push: + pull_request: + +jobs: + validate-adj: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install jsonschema + + - name: Run ADJ validation + run: | + python3 .github/workflows/scripts/adj-tester/main.py diff --git a/.github/workflows/scripts/adj-tester/main.py b/.github/workflows/scripts/adj-tester/main.py new file mode 100755 index 0000000..e561a99 --- /dev/null +++ b/.github/workflows/scripts/adj-tester/main.py @@ -0,0 +1,503 @@ +"""Entrypoint script for validating project JSON files against schemas. + +This script coordinates several checks over files in the test/ +directory using JSON Schema validation and project-specific rules +(e.g. uniqueness constraints and IPv4 validation). +""" + +import sys +from pathlib import Path + +from utils import ( + print_header, + log_message, + load_json, + is_valid_ipv4, + print_results, + logError, + validate_with_schema, +) + + +# ========================= +# CONFIG +# ========================= + +# Comment while development +SCRIPT_DIR = Path(__file__).resolve().parent + +BASE_DIR_JSON = SCRIPT_DIR.parent.parent.parent.parent +BASE_DIR_SCHEMA = SCRIPT_DIR / "schema" + +# comment while production +# BASE_DIR_JSON = "test" +# BASE_DIR_SCHEMA = "schema" + +# ========================= +# UTILS +# ========================= + + +def open_json(relative_path: str): + """Load a JSON file from the `test/` directory. + + Args: + relative_path: Path relative to `test/` (e.g. "boards.json"). + + Returns: + The parsed JSON structure. + """ + + return load_json(BASE_DIR_JSON / relative_path) + + +def open_schema(relative_path: str): + """Load a JSON Schema file from the `schema/` directory. + + Args: + relative_path: Path relative to `schema/` (e.g. "board.schema.json"). + + Returns: + The parsed JSON Schema as a dictionary. + """ + + return load_json(BASE_DIR_SCHEMA / relative_path) + + +# ========================= +# VARIABLES +# ========================= + +unique_board_ids = set() +unique_board_ip = set() +unique_packet_ids = set() +units = set() + +# ========================= +# VALIDATORS +# ========================= + + +def check_boards_json(): + """Validate the top-level `boards.json` index file. + + Verifies that `boards.json` is a mapping of board name (string) to a + relative JSON filename (string ending with .json). + + Returns the parsed boards mapping (dict) on success, otherwise None. + """ + + is_valid = True + error_list = [] + boards = None + + try: + boards = open_json("boards.json") + + if not isinstance(boards, dict): + error_list.append( + logError("boards.json", "", "boards.json must be a dictionary") + ) + is_valid = False + else: + for board, path in boards.items(): + if not isinstance(board, str): + error_list.append( + logError( + "boards.json", + "", + f"Board names must be strings and '{board}' is not a string", + ) + ) + is_valid = False + + if not isinstance(path, str): + error_list.append( + logError( + "boards.json", + f"boards.{board}", + f"Path for board '{board}' must be a string", + ) + ) + is_valid = False + elif not path.endswith(".json"): + error_list.append( + logError( + "boards.json", + f"boards.{board}", + f"Path for board '{board}' must end with .json", + ) + ) + is_valid = False + except RuntimeError as e: + error_list.append(logError("boards.json", "", str(e))) + is_valid = False + + print_results("boards.json", is_valid, error_list) + + return boards + + +def check_general_info_json(): + """Validate `general_info.json` and apply additional project rules. + + Performs schema validation and extra checks such as IPv4 format + validation for addresses, uniqueness of message IDs, and + accumulation/uniqueness checks for measurement units. + Returns True on success, False otherwise. + """ + + error_list = [] + is_valid = True + try: + general_info = open_json("general_info.json") + schema = open_schema("general_info.schema.json") + + is_valid, schema_errors = validate_with_schema( + general_info, schema, "general_info.json" + ) + if not is_valid: + error_list.extend(schema_errors) + + # Additional custom validations + + # IPv4 validation (schema already checks format, this is defensive) + for name, address in general_info["addresses"].items(): + if not is_valid_ipv4(address): + error_list.append( + logError( + "general_info.json", + f"addresses.{name}", + f"Invalid IPv4 address: {address}", + ) + ) + is_valid = False + + # Message IDs must be unique + ids_seen = set() + for message, msg_id in general_info["message_ids"].items(): + if msg_id in ids_seen: + error_list.append( + logError( + "general_info.json", + f"message_ids.{message}", + f"Duplicate message ID {msg_id}", + ) + ) + is_valid = False + ids_seen.add(msg_id) + + # measurement must be unique + for measurement, _ in general_info["units"].items(): + if measurement in units: + error_list.append( + logError( + "general_info.json", + f"units.{measurement}", + f"Duplicate measurement {measurement}", + ) + ) + is_valid = False + units.add(measurement) + except RuntimeError as e: + error_list.append(logError("general_info.json", "", str(e))) + is_valid = False + + print_results("general_info.json", is_valid, error_list) + + return is_valid + + +def check_board_json(path: str): + """Validate a single board JSON file. + + Ensures schema conformance and enforces global uniqueness for + `board_id` and `board_ip`. Also verifies the IPv4 format of + the board IP address. + Returns the parsed board dict on success, otherwise None. + """ + + error_list = [] + is_valid = True + + try: + board = open_json(path) + schema = open_schema("board.schema.json") + + is_valid, schema_errors = validate_with_schema(board, schema, path) + if not is_valid: + error_list.extend(schema_errors) + + # check if ip and id are unique + board_id = board["board_id"] + board_ip = board["board_ip"] + if board_id in unique_board_ids: + error_list.append( + logError( + path, + "board_id", + f"Duplicate board_id {board_id}", + ) + ) + is_valid = False + else: + unique_board_ids.add(board_id) + + if board_ip in unique_board_ip: + error_list.append( + logError( + path, + "ip_address", + f"Duplicate ip_address {board_ip}", + ) + ) + is_valid = False + else: + unique_board_ip.add(board_ip) + + # Check if board_ip is a valid IPv4 address + if not is_valid_ipv4(board_ip): + error_list.append( + logError( + path, + "board_ip", + f"Invalid IPv4 address: {board_ip}", + ) + ) + is_valid = False + except RuntimeError as e: + error_list.append(logError(path, "", str(e))) + is_valid = False + print_results(path, is_valid, error_list) + + if is_valid: + return board + else: + return None + + +def check_measurement_json(path: str, previous_ids=None): + """Validate a measurements JSON file. + + Checks include schema validation, uniqueness of measurement IDs + within the current board (`previous_ids`), verification that any + referenced units exist in `general_info.json`, and validation of + enum-related constraints. + + Returns True if valid, False otherwise. + """ + + error_list = [] + is_valid = True + + try: + measurement = open_json(path) + schema = open_schema("measurements.schema.json") + + # Schema validation + is_valid, schema_errors = validate_with_schema(measurement, schema, path) + if not is_valid: + error_list.extend(schema_errors) + + # Check that all mesuraments ids are unique within the measurement and if type="enum" there is a enumValues field with unique values + + for measure in measurement: + mesurament_id = measure["id"] + # id + if mesurament_id in previous_ids: + + error_list.append( + logError( + path, + "id", + f"Duplicate id {mesurament_id} within the measurement", + ) + ) + is_valid = False + else: + previous_ids.add(mesurament_id) + + # units + # Check that the podUnits and DisplayUnits are in units + podUnit = measure.get("podUnits", "") + if podUnit != "" and podUnit not in units: + error_list.append( + logError( + path, + f"id {mesurament_id}", + f"podUnit '{podUnit}' for id {mesurament_id} is not defined in general_info.json", + ) + ) + is_valid = False + + displayUnit = measure.get("displayUnits", "") + if displayUnit != "" and displayUnit not in units: + error_list.append( + logError( + path, + f"id {mesurament_id}", + f"displayUnit '{displayUnit}' for id {mesurament_id} is not defined in general_info.json", + ) + ) + is_valid = False + + # type enum + if measure["type"] == "enum": + if "enumValues" not in measure: + error_list.append( + logError( + path, + f"id {mesurament_id}", + f"id {mesurament_id} is of type 'enum' but 'enumValues' field is missing", + ) + ) + is_valid = False + else: + # check unique enum values + enum_values = measure["enumValues"] + if len(enum_values) != len(set(enum_values)): + error_list.append( + logError( + path, + f"id {mesurament_id}", + f"'enumValues' for id {mesurament_id} contains duplicate values", + ) + ) + is_valid = False + + except RuntimeError as e: + error_list.append(logError(path, "", str(e))) + is_valid = False + print_results("\t" + path, is_valid, error_list) + return is_valid + + +def check_packet_json(path: str, measurement_ids=None): + """Validate a packet JSON file. + + Ensures schema conformance, global uniqueness of packet IDs + (with 0 often allowed as special case) and that referenced + measurement IDs exist in `measurement_ids`. + + Returns True if valid, False otherwise. + """ + + error_list = [] + is_valid = True + + try: + packet = open_json(path) + schema = open_schema("packet.schema.json") + + # Schema validation + is_valid, schema_errors = validate_with_schema(packet, schema, path) + if not is_valid: + error_list.extend(schema_errors) + + # Ensure packet id is unique across all packets + for pkt in packet: + pkt_id = pkt["id"] + if pkt_id in unique_packet_ids and pkt_id != 0: + error_list.append( + logError( + path, + "id", + f"Duplicate id {pkt_id} across packets", + ) + ) + is_valid = False + else: + unique_packet_ids.add(pkt_id) + + # Ensure all measurement ids in the packet are defined in the measurements + for meas_id in pkt.get("variables", []): + if meas_id not in measurement_ids: + error_list.append( + logError( + path, + f"id {pkt_id}", + f"measurement_id {meas_id} in id {pkt_id} is not defined in measurements", + ) + ) + is_valid = False + + except RuntimeError as e: + error_list.append(logError(path, "", str(e))) + is_valid = False + print_results("\t" + path, is_valid, error_list) + return is_valid + + +# ========================= +# MAIN +# ========================= + + +def main(): + """Main orchestration function. + + Performs the full validation flow and exits the process with a + non-zero status code if any validation step fails. + """ + + # App header + print_header("JSON Validation Script") + + # Validate general_info.json + valid = check_general_info_json() + + # Get boards and validate json + boards = check_boards_json() + if boards is None or not valid: + log_message("Aborting due to previous errors", status=-1) + sys.exit(1) + + # Validate individual board JSON files + print_header("Validating individual board JSON files") + + for board_name, board_path in boards.items(): + + # Validate board JSON, board is an arrya of measurements and packets paths + board = check_board_json(board_path) + + # if board is not none continue with further processing + if board is not None: + + # measurements are unique within a board + measurement_ids = set() + + # Validate measurements JSON files + for measurement_path in board.get("measurements", []): + valid = ( + check_measurement_json( + f"boards/{board_name}/{measurement_path}", + measurement_ids, + ) + and valid + ) + + # Validate packets JSON files (remember that orders are processed as packets) + for packets_path in board.get("packets", []): + valid = ( + check_packet_json( + f"boards/{board_name}/{packets_path}", + measurement_ids, + ) + and valid + ) + else: + log_message( + f"Skipping measurements and packets validation for board {board_name} due to previous errors", + status=-1, + ) + valid = False + + if not valid: + log_message("Validation completed with errors", status=-1) + sys.exit(1) + else: + log_message("All JSON files validated successfully", status=1) + + +if __name__ == "__main__": + main() diff --git a/.github/workflows/scripts/adj-tester/requirements.txt b/.github/workflows/scripts/adj-tester/requirements.txt new file mode 100644 index 0000000..d385d9a --- /dev/null +++ b/.github/workflows/scripts/adj-tester/requirements.txt @@ -0,0 +1 @@ +jsonschema==4.25.0 \ No newline at end of file diff --git a/.github/workflows/scripts/adj-tester/schema/board.schema.json b/.github/workflows/scripts/adj-tester/schema/board.schema.json new file mode 100644 index 0000000..f640ac7 --- /dev/null +++ b/.github/workflows/scripts/adj-tester/schema/board.schema.json @@ -0,0 +1,44 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Board configuration schema", + "description": "Main board configuration including ID, IP address, and references to measurements and packets files.", + "type": "object", + "additionalProperties": true, + "required": [ + "board_id", + "board_ip", + "measurements", + "packets" + ], + "properties": { + "board_id": { + "type": "integer", + "minimum": 0, + "maximum": 4294967295, + "description": "Unique 32-bit unsigned integer identifier for the board" + }, + "board_ip": { + "type": "string", + "format": "ipv4", + "description": "IP address string for network communication" + }, + "measurements": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "pattern": "^[^\\\\/:*?\"<>|]+\\.json$" + }, + "description": "Array of measurement file paths relative to board directory" + }, + "packets": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "pattern": "^[^\\\\/:*?\"<>|]+\\.json$" + }, + "description": "Array of packet file paths relative to board directory" + } + } +} \ No newline at end of file diff --git a/.github/workflows/scripts/adj-tester/schema/general_info.schema.json b/.github/workflows/scripts/adj-tester/schema/general_info.schema.json new file mode 100644 index 0000000..b30302a --- /dev/null +++ b/.github/workflows/scripts/adj-tester/schema/general_info.schema.json @@ -0,0 +1,74 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "general_info schema", + "description": "Schema for general information including ports, addresses, units, and message IDs.", + "type": "object", + "required": [ + "ports", + "addresses", + "units", + "message_ids" + ], + "additionalProperties": false, + "properties": { + "ports": { + "type": "object", + "minProperties": 1, + "properties": { + "TCP_CLIENT": { + "type": "integer", + "minimum": 1, + "maximum": 65535 + }, + "TCP_SERVER": { + "type": "integer", + "minimum": 1, + "maximum": 65535 + }, + "UDP": { + "type": "integer", + "minimum": 1, + "maximum": 65535 + }, + "SNTP": { + "type": "integer", + "minimum": 1, + "maximum": 65535 + }, + "TFTP": { + "type": "integer", + "minimum": 1, + "maximum": 65535 + } + } + }, + "addresses": { + "type": "object", + "minProperties": 1, + "properties": { + "backend": { + "type": "string", + "format": "ipv4" + } + }, + "required": [ + "backend" + ] + }, + "units": { + "type": "object", + "minProperties": 1, + "additionalProperties": { + "type": "string" + } + }, + "message_ids": { + "type": "object", + "minProperties": 1, + "additionalProperties": { + "type": "integer", + "minimum": 0 + } + } + } +} \ No newline at end of file diff --git a/.github/workflows/scripts/adj-tester/schema/measurements.schema.json b/.github/workflows/scripts/adj-tester/schema/measurements.schema.json new file mode 100644 index 0000000..25bca27 --- /dev/null +++ b/.github/workflows/scripts/adj-tester/schema/measurements.schema.json @@ -0,0 +1,62 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Measurements schema", + "description": "Array of measurement definitions for data collection and monitoring.", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": true, + "required": [ + "id", + "name", + "type" + ], + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "Unique string identifier for the measurement" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "Human-readable display name" + }, + "type": { + "type": "string", + "enum": [ + "uint8", + "uint16", + "uint32", + "uint64", + "int8", + "int16", + "int32", + "int64", + "float32", + "float64", + "enum", + "bool" + ], + "description": "Data type of the measurement" + }, + "podUnits": { + "type": "string", + "description": "Optional pod-side units (references general_info.units)" + }, + "displayUnits": { + "type": "string", + "description": "Optional display units (references general_info.units)" + }, + "enumValues": { + "type": "array", + "minItems": 0, + "items": { + "type": "string" + }, + "description": "Enumeration values for discrete measurements" + } + } + } +} \ No newline at end of file diff --git a/.github/workflows/scripts/adj-tester/schema/packet.schema.json b/.github/workflows/scripts/adj-tester/schema/packet.schema.json new file mode 100644 index 0000000..7abd0ab --- /dev/null +++ b/.github/workflows/scripts/adj-tester/schema/packet.schema.json @@ -0,0 +1,42 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Packets schema", + "description": "Array of packet definitions for telemetry, status, and control orders.", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": true, + "required": [ + "type", + "name" + ], + "properties": { + "id": { + "type": "integer", + "minimum": 0, + "maximum": 4294967295, + "description": " 32-bit unsigned integer packet identifier" + }, + "type": { + "type": "string", + "minLength": 1, + "description": "Packet type (e.g., data, order, status)" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "Human-readable packet name" + }, + "variables": { + "type": "array", + "minItems": 0, + "items": { + "type": "string", + "minLength": 1 + }, + "description": "Measurement IDs included in this packet" + } + } + } +} \ No newline at end of file diff --git a/.github/workflows/scripts/adj-tester/utils.py b/.github/workflows/scripts/adj-tester/utils.py new file mode 100644 index 0000000..f8b9afa --- /dev/null +++ b/.github/workflows/scripts/adj-tester/utils.py @@ -0,0 +1,151 @@ +"""Utility helpers for printing, logging and JSON loading. + +This module providessmall helper functions used by the test-suite and +CLI utilities, including colored printing for statuses, simple logging, +JSON loading with clear error messages, and basic IPv4 validation. +""" + +import json +import ipaddress +from pathlib import Path +from jsonschema import Draft7Validator + + +def print_header(header: str): + """Print a simple boxed header to stdout. + + The header is printed with a fixed width underline/overline for + visual separation in CLI output. + + Args: + header: The header text to print. + """ + + header_len = 40 + print("=" * header_len) + print("· " + header) + print("=" * header_len) + + +def print_status(message: str, validated: bool = False): + """Print a single-line status message. + + The `validated` flag controls whether the status is shown as + a green "Passed" (True) or a red "Failed" (False). + + Args: + message: Human-readable message or label to print before status. + validated: If True, prints a green "Passed"; otherwise prints a + red "Failed". + """ + + # ANSI color codes used for terminal output + if not validated: + result = "\033[31mFailed\033[0m" # red + elif validated: + result = "\033[32mPassed\033[0m" # green + + print(f"{message} {result}") + + +def log_message(message: str, status: int = 0): + """ + status: + -1 → error (red) + 0 → normal + 1 → success (green) + """ + """Log a message with optional color depending on status. + + Args: + message: Message text to print. + status: Controls color: -1 -> red (error), 0 -> normal, 1 -> green + (success). + """ + + colors = {-1: "\033[31m", 1: "\033[32m"} + color = colors.get(status, "") + reset = "\033[0m" if color else "" + print(f"{color}{message}{reset}") + + +def load_json(path: Path): + """Load and parse a JSON file from the given path. + + Raises a RuntimeError with a clear message when the file is missing + or when the JSON cannot be decoded. + + Args: + path: Path to the JSON file to load. + + Returns: + The parsed JSON object. + """ + + try: + with path.open(encoding="utf-8") as f: + return json.load(f) + except FileNotFoundError: + # Normalize file-not-found into a runtime error for callers + raise RuntimeError(f"File not found: {path}") + except json.JSONDecodeError as e: + # Provide the underlying JSON error message to help debugging + raise RuntimeError(f"JSON malformed in {path}: {e}") + + +def is_valid_ipv4(address: str) -> bool: + """Return True if the given string is a valid IPv4 address. + + Uses the stdlib ipaddress module to validate the textual address. + """ + + try: + ipaddress.IPv4Address(address) + return True + except ipaddress.AddressValueError: + return False + + +def print_results(file, is_valid, error_list): + """Print validation results for a file. + + The function prints an overall status line and then any detailed + error messages indented on subsequent lines. + + Args: + file: File name or identifier to show in the status line. + is_valid: Boolean indicating whether the file passed validation. + error_list: Iterable of error message strings. + """ + + print_status(file, is_valid) + for error in error_list: + # Indent errors for readability in CLI output + print("\t|\t" + error) + + +def logError(label: str, path: str, message: str): + """Return a formatted, red-colored error string. + + This helper is handy for tests or logging in contexts that prefer a + single formatted string instead of printing directly. + """ + + return f"\033[31m{label}: {path} → {message}\033[0m" + + +# Schema validation +def validate_with_schema(data, schema, label: str) -> bool: + validator = Draft7Validator(schema) + errors = sorted(validator.iter_errors(data), key=lambda e: e.path) + error_list = [] + if errors: + + error_list = [ + logError(label, ".".join(map(str, e.path)) or "", e.message) + for e in errors + ] + + return False, error_list + + return True, [] From df2922c1ca12a5150ba892ae93a7a00c2b97dbdb Mon Sep 17 00:00:00 2001 From: Cantonplas Date: Thu, 22 Jan 2026 23:16:40 +0100 Subject: [PATCH 16/18] New type of variable for periodity added --- README.md | 7 +++++-- boards/VCU/packets.json | 24 ++++++++++++++++-------- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5ddfd1d..e9e0047 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,8 @@ Array of packet definitions for network communication. Packets are separated by "type": "string", "name": "string", "variables": ["string"], - "period_ms": "number?", + "period_type": "us/ms?", + "period": "number?", "socket": "string?" } ] @@ -188,7 +189,9 @@ Array of packet definitions for network communication. Packets are separated by - `type`: Packet type string (e.g., "data", "order", "status") - `name`: Human-readable packet name - `variables`: Array of variable names/measurement IDs included in this packet -- `period_ms`: Optional number specifying the transmission period in milliseconds for periodic packets. Can be an integer or floating-point value +- `period_type`: Optional string specifying the type of measurement for period, either microseconds +or milliseconds +- `period`: Optional number specifying the transmission period in milliseconds or microseconds for periodic packets. Can be an integer or floating-point value - `socket`: Optinal string that should match the name of the socket you want to transmit this packet trhough **Example:** diff --git a/boards/VCU/packets.json b/boards/VCU/packets.json index b4d91e1..13f9476 100644 --- a/boards/VCU/packets.json +++ b/boards/VCU/packets.json @@ -7,7 +7,8 @@ "operational_state" ], "id": 249, - "period_ms": 16.67, + "period_type": "ms", + "period": 16.67, "socket": "control_station_udp" }, { @@ -21,7 +22,8 @@ "all_reeds" ], "id": 251, - "period_ms": 16.67, + "period_type": "us", + "period": 16.67, "socket": "control_station_udp" }, { @@ -32,7 +34,8 @@ "flow2" ], "id": 250, - "period_ms": 16.67, + "period_type": "ms", + "period": 16.67, "socket": "control_station_udp" }, { @@ -43,7 +46,8 @@ "regulator_2_pressure" ], "id": 252, - "period_ms": 16.67, + "period_type": "us", + "period": 16.67, "socket": "control_station_udp" }, { @@ -56,7 +60,8 @@ "pressure_capsule" ], "id": 253, - "period_ms": 16.67, + "period_type": "ms", + "period": 16.67, "socket": "control_station_udp" }, { @@ -67,7 +72,8 @@ "emergency_tape" ], "id": 254, - "period_ms": 16.67, + "period_type": "ms", + "period": 16.67, "socket": "control_station_udp" }, { @@ -77,7 +83,8 @@ "SDC" ], "id": 255, - "period_ms": 16.67, + "period_type": "ms", + "period": 16.67, "socket": "control_station_udp" }, { @@ -87,7 +94,8 @@ "state" ], "id": 65, - "period_ms": 16.67, + "period_type": "ms", + "period": 16.67, "socket": "pcu_udp" } ] \ No newline at end of file From c81cb24b3983b36be729c2203917d31efad3bbd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Cant=C3=B3=20Catal=C3=A1n?= <144663567+Cantonplas@users.noreply.github.com> Date: Fri, 23 Jan 2026 01:27:23 +0100 Subject: [PATCH 17/18] Actualizar README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9e0047..4531829 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,8 @@ or milliseconds "type": "data", "name": "Brake Telemetry", "variables": ["brake_pressure", "brake_status", "brake_temperature"], - "period_ms": 16.67, + "period_type":"ms", + "period": 16.67, "socket": "control_station_udp" }, { From 76d1b30360d881a6af4ef9dbf307f418980c9594 Mon Sep 17 00:00:00 2001 From: JFisica Date: Fri, 23 Jan 2026 13:04:13 +0100 Subject: [PATCH 18/18] chore(adj-validator): copy ADJ-Validator from test-adj --- .github/workflows/scripts/adj-tester/main.py | 149 +++++++++++++++++- .../adj-tester/schema/packet.schema.json | 11 ++ .../adj-tester/schema/socket.schema.json | 54 +++++++ .github/workflows/scripts/adj-tester/utils.py | 20 ++- 4 files changed, 225 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/scripts/adj-tester/schema/socket.schema.json diff --git a/.github/workflows/scripts/adj-tester/main.py b/.github/workflows/scripts/adj-tester/main.py index e561a99..6971900 100755 --- a/.github/workflows/scripts/adj-tester/main.py +++ b/.github/workflows/scripts/adj-tester/main.py @@ -1,4 +1,12 @@ -"""Entrypoint script for validating project JSON files against schemas. +""" + +ADJ Validator + +Version: 1.1.0 + +JavierRibaldelRio + +Entrypoint script for validating project JSON files against schemas. This script coordinates several checks over files in the test/ directory using JSON Schema validation and project-specific rules @@ -15,6 +23,7 @@ is_valid_ipv4, print_results, logError, + info_message, validate_with_schema, ) @@ -268,7 +277,7 @@ def check_board_json(path: str): except RuntimeError as e: error_list.append(logError(path, "", str(e))) is_valid = False - print_results(path, is_valid, error_list) + print_results(path, is_valid, error_list, type="(Board)") if is_valid: return board @@ -368,11 +377,11 @@ def check_measurement_json(path: str, previous_ids=None): except RuntimeError as e: error_list.append(logError(path, "", str(e))) is_valid = False - print_results("\t" + path, is_valid, error_list) + print_results(path, is_valid, error_list, type="(Measurements)", prefix="\t") return is_valid -def check_packet_json(path: str, measurement_ids=None): +def check_packet_json(path: str, sockets: set, measurement_ids=None): """Validate a packet JSON file. Ensures schema conformance, global uniqueness of packet IDs @@ -421,10 +430,127 @@ def check_packet_json(path: str, measurement_ids=None): ) is_valid = False + # Ensure that socket is defined in the sockets + socket_name = pkt.get("socket", "") + if socket_name != "" and socket_name not in sockets: + error_list.append( + logError( + path, + f"id {pkt_id}", + f"socket '{socket_name}' in id {pkt_id} is not defined in sockets", + ) + ) + is_valid = False + + except RuntimeError as e: + error_list.append(logError(path, "", str(e))) + is_valid = False + print_results(path, is_valid, error_list, type="(Packets/Orders)", prefix="\t") + return is_valid + + +def check_socket_json(path: str, sockets_name: set): + + error_list = [] + is_valid = True + try: + # Open json and Schema + sockets = open_json(path) + schema = open_schema("socket.schema.json") + + # Schema validation + is_valid, schema_errors = validate_with_schema(sockets, schema, path) + if not is_valid: + error_list.extend(schema_errors) + + for socket in sockets: + # ensure socket name is unique across all sockets + socket_name = socket["name"] + if socket_name in sockets_name: + error_list.append( + logError( + path, + "name", + f"Duplicate socket name '{socket_name}' across sockets", + ) + ) + is_valid = False + else: + sockets_name.add(socket_name) + + # check that remote_ip is valid (remote_ip is optional) and it is defined only for type=="DatagramSocket" || type=="Socket" + if ( + socket["type"] not in ["DatagramSocket", "Socket"] + and "remote_ip" in socket + ): + error_list.append( + logError( + path, + f"name {socket_name}", + f"remote_ip is only allowed for type 'DatagramSocket' or 'Socket', but socket '{socket_name}' has type '{socket['type']}'", + ) + ) + is_valid = False + + else: + socket_ip = socket.get("remote_ip", "") + if socket_ip != "" and not is_valid_ipv4(socket_ip): + error_list.append( + logError( + path, + f"name {socket_name}", + f"Invalid IPv4 address: {socket_ip}", + ) + ) + is_valid = False + + # check that port is only definied if type=="ServerSocket" || type=="DatagramSocket" + + if socket.get("port", None) is not None and socket["type"] not in [ + "ServerSocket", + "DatagramSocket", + ]: + error_list.append( + logError( + path, + f"name {socket_name}", + f"Port is only allowed for type 'ServerSocket' or 'DatagramSocket', but socket '{socket_name}' has type '{socket['type']}'", + ) + ) + is_valid = False + + # check that local_port is only used for type=="Socket" + if ( + socket.get("local_port", None) is not None + and socket["type"] != "Socket" + ): + error_list.append( + logError( + path, + f"name {socket_name}", + f"local_port is only allowed for type 'Socket', but socket '{socket_name}' has type '{socket['type']}'", + ) + ) + is_valid = False + + # checck thath remote_port is only used for type=="Socket" + if ( + socket.get("remote_port", None) is not None + and socket["type"] != "Socket" + ): + error_list.append( + logError( + path, + f"name {socket_name}", + f"remote_port is only allowed for type 'Socket', but socket '{socket_name}' has type '{socket['type']}'", + ) + ) + is_valid = False + except RuntimeError as e: error_list.append(logError(path, "", str(e))) is_valid = False - print_results("\t" + path, is_valid, error_list) + print_results(path, is_valid, error_list, type="(Socket)", prefix="\t") return is_valid @@ -466,6 +592,18 @@ def main(): # measurements are unique within a board measurement_ids = set() + # sockets are unique + sockets_name = set() + + # Validate socket JSON files + for socket_path in board.get("sockets", []): + valid = ( + check_socket_json( + f"boards/{board_name}/{socket_path}", sockets_name + ) + and valid + ) + # Validate measurements JSON files for measurement_path in board.get("measurements", []): valid = ( @@ -481,6 +619,7 @@ def main(): valid = ( check_packet_json( f"boards/{board_name}/{packets_path}", + sockets_name, measurement_ids, ) and valid diff --git a/.github/workflows/scripts/adj-tester/schema/packet.schema.json b/.github/workflows/scripts/adj-tester/schema/packet.schema.json index 7abd0ab..83786e2 100644 --- a/.github/workflows/scripts/adj-tester/schema/packet.schema.json +++ b/.github/workflows/scripts/adj-tester/schema/packet.schema.json @@ -36,6 +36,17 @@ "minLength": 1 }, "description": "Measurement IDs included in this packet" + }, + "period_ms": { + "type": [ + "integer", + "number" + ], + "description": "Packet transmission period in milliseconds" + }, + "socket": { + "type": "string", + "description": "Name of the socket used for this packet" } } } diff --git a/.github/workflows/scripts/adj-tester/schema/socket.schema.json b/.github/workflows/scripts/adj-tester/schema/socket.schema.json new file mode 100644 index 0000000..2648836 --- /dev/null +++ b/.github/workflows/scripts/adj-tester/schema/socket.schema.json @@ -0,0 +1,54 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Socket configuration schema", + "description": "Array of socket definitions for network communication", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "name" + ], + "properties": { + "type": { + "type": "string", + "enum": [ + "ServerSocket", + "DatagramSocket", + "Socket" + ], + "description": "Socket type" + }, + "name": { + "type": "string", + "minLength": 1, + "description": "Socket name" + }, + "port": { + "type": "integer", + "minimum": 1, + "maximum": 65535, + "description": "Port number for ServerSocket or DatagramSocket" + }, + "local_port": { + "type": "integer", + "minimum": 1, + "maximum": 65535, + "description": "Local port number for Socket" + }, + "remote_ip": { + "type": "string", + "format": "ipv4", + "description": "Remote IPv4 address" + }, + "remote_port": { + "type": "integer", + "minimum": 1, + "maximum": 65535, + "description": "Remote port number for Socket" + } + } + } +} \ No newline at end of file diff --git a/.github/workflows/scripts/adj-tester/utils.py b/.github/workflows/scripts/adj-tester/utils.py index f8b9afa..eb01ab5 100644 --- a/.github/workflows/scripts/adj-tester/utils.py +++ b/.github/workflows/scripts/adj-tester/utils.py @@ -27,7 +27,7 @@ def print_header(header: str): print("=" * header_len) -def print_status(message: str, validated: bool = False): +def format_status(message: str, validated: bool = False): """Print a single-line status message. The `validated` flag controls whether the status is shown as @@ -45,7 +45,13 @@ def print_status(message: str, validated: bool = False): elif validated: result = "\033[32mPassed\033[0m" # green - print(f"{message} {result}") + return f"{message} {result}" + + +def info_message(message: str): + """format to blue color and return the message string.""" + + return f"\033[34m{message}\033[0m" def log_message(message: str, status: int = 0): @@ -106,7 +112,7 @@ def is_valid_ipv4(address: str) -> bool: return False -def print_results(file, is_valid, error_list): +def print_results(file, is_valid, error_list, type=None, prefix=""): """Print validation results for a file. The function prints an overall status line and then any detailed @@ -118,7 +124,13 @@ def print_results(file, is_valid, error_list): error_list: Iterable of error message strings. """ - print_status(file, is_valid) + out = format_status(file, is_valid) + + if type != None: + out = f"{out} {info_message(type)}" + + print(prefix + out) + for error in error_list: # Indent errors for readability in CLI output print("\t|\t" + error)