Skip to content

Commit cea81f5

Browse files
revert changes
1 parent 0536ac0 commit cea81f5

1 file changed

Lines changed: 250 additions & 25 deletions

File tree

can-messages/bms.json

Lines changed: 250 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@
650650
"desc": "Fault Status",
651651
"points": [
652652
{
653-
"size": 23,
653+
"size": 14,
654654
"parse": false
655655
},
656656
{
@@ -670,6 +670,57 @@
670670
]
671671
}
672672
},
673+
{
674+
"size": 1,
675+
"name": "charger_can",
676+
"c_type": "bool",
677+
"sim": {
678+
"options": [
679+
[
680+
0,
681+
0.5
682+
],
683+
[
684+
1,
685+
0.5
686+
]
687+
]
688+
}
689+
},
690+
{
691+
"size": 1,
692+
"name": "battery_therm",
693+
"c_type": "bool",
694+
"sim": {
695+
"options": [
696+
[
697+
0,
698+
0.5
699+
],
700+
[
701+
1,
702+
0.5
703+
]
704+
]
705+
}
706+
},
707+
{
708+
"size": 1,
709+
"name": "charger_safety",
710+
"c_type": "bool",
711+
"sim": {
712+
"options": [
713+
[
714+
0,
715+
0.5
716+
],
717+
[
718+
1,
719+
0.5
720+
]
721+
]
722+
}
723+
},
673724
{
674725
"size": 1,
675726
"name": "dcl_enforce",
@@ -689,7 +740,109 @@
689740
},
690741
{
691742
"size": 1,
692-
"name": "charge_current",
743+
"name": "external_can",
744+
"c_type": "bool",
745+
"sim": {
746+
"options": [
747+
[
748+
0,
749+
0.5
750+
],
751+
[
752+
1,
753+
0.5
754+
]
755+
]
756+
}
757+
},
758+
{
759+
"size": 1,
760+
"name": "weak_pack",
761+
"c_type": "bool",
762+
"sim": {
763+
"options": [
764+
[
765+
0,
766+
0.5
767+
],
768+
[
769+
1,
770+
0.5
771+
]
772+
]
773+
}
774+
},
775+
{
776+
"size": 1,
777+
"name": "low_cell_volts",
778+
"c_type": "bool",
779+
"sim": {
780+
"options": [
781+
[
782+
0,
783+
0.5
784+
],
785+
[
786+
1,
787+
0.5
788+
]
789+
]
790+
}
791+
},
792+
{
793+
"size": 1,
794+
"name": "charge_reading",
795+
"c_type": "bool",
796+
"sim": {
797+
"options": [
798+
[
799+
0,
800+
0.5
801+
],
802+
[
803+
1,
804+
0.5
805+
]
806+
]
807+
}
808+
},
809+
{
810+
"size": 1,
811+
"name": "current_sense",
812+
"c_type": "bool",
813+
"sim": {
814+
"options": [
815+
[
816+
0,
817+
0.5
818+
],
819+
[
820+
1,
821+
0.5
822+
]
823+
]
824+
}
825+
},
826+
{
827+
"size": 1,
828+
"name": "ic_comm",
829+
"c_type": "bool",
830+
"sim": {
831+
"options": [
832+
[
833+
0,
834+
0.5
835+
],
836+
[
837+
1,
838+
0.5
839+
]
840+
]
841+
}
842+
},
843+
{
844+
"size": 1,
845+
"name": "thermal_err",
693846
"c_type": "bool",
694847
"sim": {
695848
"options": [
@@ -706,7 +859,7 @@
706859
},
707860
{
708861
"size": 1,
709-
"name": "cell_under_voltage",
862+
"name": "sw_err",
710863
"c_type": "bool",
711864
"sim": {
712865
"options": [
@@ -723,7 +876,7 @@
723876
},
724877
{
725878
"size": 1,
726-
"name": "cell_over_voltage",
879+
"name": "open_wire",
727880
"c_type": "bool",
728881
"sim": {
729882
"options": [
@@ -740,7 +893,7 @@
740893
},
741894
{
742895
"size": 1,
743-
"name": "cell_high_temp",
896+
"name": "pack_overheat",
744897
"c_type": "bool",
745898
"sim": {
746899
"options": [
@@ -757,7 +910,7 @@
757910
},
758911
{
759912
"size": 1,
760-
"name": "die_overtemp",
913+
"name": "cell_uv",
761914
"c_type": "bool",
762915
"sim": {
763916
"options": [
@@ -774,7 +927,7 @@
774927
},
775928
{
776929
"size": 1,
777-
"name": "hv_plate_comm",
930+
"name": "cell_ov",
778931
"c_type": "bool",
779932
"sim": {
780933
"options": [
@@ -791,7 +944,7 @@
791944
},
792945
{
793946
"size": 1,
794-
"name": "segments_comm",
947+
"name": "cell_not_balancing",
795948
"c_type": "bool",
796949
"sim": {
797950
"options": [
@@ -829,75 +982,147 @@
829982
]
830983
},
831984
{
832-
"name": "BMS/Faults/Critical/DCL_Enforce",
985+
"name": "BMS/Faults/Critical/Charger_Can",
833986
"unit": "",
834-
"doc": "DCL is not being obeyed",
987+
"doc": "Reserved",
835988
"values": [
836989
3
837990
]
838991
},
839992
{
840-
"name": "BMS/Faults/Critical/Charge_Current_Limit",
993+
"name": "BMS/Faults/Critical/Battery_Therm",
841994
"unit": "",
842-
"doc": "A cell has gone below datasheet minimum",
995+
"doc": "Reserved",
843996
"values": [
844997
4
845998
]
846999
},
8471000
{
848-
"name": "BMS/Faults/Critical/Cell_Under_Voltage",
1001+
"name": "BMS/Faults/Critical/Charger_Safety",
8491002
"unit": "",
850-
"doc": "A cell has gone below datasheet minimum",
1003+
"doc": "Reserved",
8511004
"values": [
8521005
5
8531006
]
8541007
},
8551008
{
856-
"name": "BMS/Faults/Critical/Cell_Over_Voltage",
1009+
"name": "BMS/Faults/Critical/DCL_Enforce",
8571010
"unit": "",
858-
"doc": "A cell has gone above datasheet maximum",
1011+
"doc": "DCL is not being obeyed",
8591012
"values": [
8601013
6
8611014
]
8621015
},
8631016
{
864-
"name": "BMS/Faults/Critical/High_Cell_Temp",
1017+
"name": "BMS/Faults/Critical/External_Can",
8651018
"unit": "",
866-
"doc": "The max cell temperture thas gone above datasheet maximum",
1019+
"doc": "Critical failure in CAN system",
8671020
"values": [
8681021
7
8691022
]
8701023
},
8711024
{
872-
"name": "BMS/Faults/Critical/Die_Overtemp",
1025+
"name": "BMS/Faults/Critical/Weak_Pack",
8731026
"unit": "",
874-
"doc": "If the die temp exceeds data sheet specifications",
1027+
"doc": "Reserved",
8751028
"values": [
8761029
8
8771030
]
8781031
},
8791032
{
880-
"name": "BMS/Faults/Critical/HV_Plate_Comms",
1033+
"name": "BMS/Faults/Critical/Low_Cell_Volts",
8811034
"unit": "",
882-
"doc": "PEC errors are received duing communication wih the adbms2950",
1035+
"doc": "Cell voltage is below datasheet minimum",
8831036
"values": [
8841037
9
8851038
]
8861039
},
8871040
{
888-
"name": "BMS/Faults/Critical/Segment_Comms",
1041+
"name": "BMS/Faults/Critical/Charge_Reading",
8891042
"unit": "",
890-
"doc": "PEC errors are received during communication with the adbms6830s",
1043+
"doc": "Reserved",
8911044
"values": [
8921045
10
8931046
]
8941047
},
1048+
{
1049+
"name": "BMS/Faults/Critical/Current_Sense",
1050+
"unit": "",
1051+
"doc": "Failure to read current sensor from sensor or CAN",
1052+
"values": [
1053+
11
1054+
]
1055+
},
1056+
{
1057+
"name": "BMS/Faults/Critical/IC_Comm",
1058+
"unit": "",
1059+
"doc": "Reserved",
1060+
"values": [
1061+
12
1062+
]
1063+
},
1064+
{
1065+
"name": "BMS/Faults/Critical/Thermal_Err",
1066+
"unit": "",
1067+
"doc": "Reserved",
1068+
"values": [
1069+
13
1070+
]
1071+
},
1072+
{
1073+
"name": "BMS/Faults/Critical/Software",
1074+
"unit": "",
1075+
"doc": "Reserved",
1076+
"values": [
1077+
14
1078+
]
1079+
},
1080+
{
1081+
"name": "BMS/Faults/Critical/Open_Wire",
1082+
"unit": "",
1083+
"doc": "Reserved",
1084+
"values": [
1085+
15
1086+
]
1087+
},
1088+
{
1089+
"name": "BMS/Faults/Critical/Pack_Overheat",
1090+
"unit": "",
1091+
"doc": "Reserved",
1092+
"values": [
1093+
16
1094+
]
1095+
},
1096+
{
1097+
"name": "BMS/Faults/Critical/Cell_Undervoltage",
1098+
"unit": "",
1099+
"doc": "A cell has gone below datasheet minimum",
1100+
"values": [
1101+
17
1102+
]
1103+
},
1104+
{
1105+
"name": "BMS/Faults/Critical/Cell_Overvoltage",
1106+
"unit": "",
1107+
"doc": "A cell has gone above datasheet maximum",
1108+
"values": [
1109+
18
1110+
]
1111+
},
1112+
{
1113+
"name": "BMS/Faults/Critical/Cells_Not_Balancing",
1114+
"unit": "",
1115+
"doc": "Reserved",
1116+
"values": [
1117+
19
1118+
]
1119+
},
8951120
{
8961121
"name": "BMS/Faults/Non-Critical/Extra",
8971122
"unit": "",
8981123
"doc": "Reserved",
8991124
"values": [
900-
11
1125+
20
9011126
]
9021127
}
9031128
],

0 commit comments

Comments
 (0)