Skip to content

Commit

Permalink
feat: add hv balancing threshold and cell voltage sum and average
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonidotpy committed Dec 12, 2023
1 parent db0620f commit 8fb8f8d
Showing 1 changed file with 33 additions and 10 deletions.
43 changes: 33 additions & 10 deletions networks/primary/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -663,28 +663,47 @@
"priority": 4,
"sending": ["BMS_HV"],
"receiving": ["DAS", "STEER", "HANDCART"],
"description": "Pack stats",
"description": "Internal pack measured voltages in V",
"interval": 10,
"contents": {
"pack_voltage": {
"type": "float32",
"range": [0, 460],
"force": "uint16"
"range": [0, 460]
},
"bus_voltage": {
"type": "float32",
"range": [0, 460],
"force": "uint16"
},
"range": [0, 460]
}
}
},
{
"name": "HV_CELL_VOLTAGE",
"topic": "DASnSTEERnCART",
"priority": 4,
"sending": ["BMS_HV"],
"receiving": ["DAS", "STEER", "HANDCART"],
"description": "Cell pack voltage statistics in V",
"interval": 10,
"contents": {
"max_cell_voltage": {
"type": "float32",
"range": [0, 5],
"precision": 0.0001
"force": "uint16"
},
"min_cell_voltage": {
"type": "float32",
"range": [0, 5],
"precision": 0.0001
"force": "uint16"
},
"sum_cell_voltage": {
"type": "float32",
"range": [0, 460],
"force": "uint16"
},
"avg_cell_voltage": {
"type": "float32",
"range": [0, 5],
"force": "uint16"
}
}
},
Expand Down Expand Up @@ -1471,9 +1490,13 @@
"priority": 5,
"sending": ["HANDCART"],
"receiving": ["BMS_HV"],
"description": "Set cell balancing status; only once",
"description": "Set cell balancing status and threshold in mV; only once",
"contents": {
"set_balancing_status": "Toggle"
"set_balancing_status": "Toggle",
"balancing_threshold": {
"type": "uint16",
"range": [5, 200]
}
}
},
{
Expand Down

0 comments on commit 8fb8f8d

Please sign in to comment.