fix(sim): send BMS frames at 2022 DBC scaling on the 2022.45.15 target #20

Merged
outlandnish merged 1 commit from fix/sim-bms-2022-scaling into main 2026-09-11 11:30:07 -05:00
Owner

Fixes DI_a125 noBatteryPower after shifting into drive on the 2022.45.15 bench.

The BMS node sent 0x2D2/0x252/0x132 at 2020 DBC scaling. The 2022 DI read BMS_minBusVoltage 300 V as 600 V (clamped 470 V) > the 373 V pack, so its min-bus-voltage limiter cut discharge power below the 2 kW a125 threshold in drive.

  • _frames_2022 sends these at 2022 scaling (0x2D2 LSBs confirmed in the DIR RX handler); 2020 baseline byte-identical.
  • Test pins the 2020 bytes and the 2022 engineering values.
  • Not bench-verified yet (a125 clears after a drive cycle).
  • BMS_maxChargeCurrent is still 0 → no regen (unchanged).

🤖 Generated with Claude Code

Fixes DI_a125 noBatteryPower after shifting into drive on the 2022.45.15 bench. The BMS node sent 0x2D2/0x252/0x132 at 2020 DBC scaling. The 2022 DI read BMS_minBusVoltage 300 V as 600 V (clamped 470 V) > the 373 V pack, so its min-bus-voltage limiter cut discharge power below the 2 kW a125 threshold in drive. - `_frames_2022` sends these at 2022 scaling (0x2D2 LSBs confirmed in the DIR RX handler); 2020 baseline byte-identical. - Test pins the 2020 bytes and the 2022 engineering values. - Not bench-verified yet (a125 clears after a drive cycle). - BMS_maxChargeCurrent is still 0 → no regen (unchanged). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(sim): send BMS frames at 2022 DBC scaling on the 2022.45.15 target
Some checks failed
Tests / test (pull_request) Has been cancelled
fa691e5f1d
The BMS node sent 0x2D2/0x252/0x132 at 2020 LSBs. A 2022 DI read
BMS_minBusVoltage 300 V as 600 V (clamped 470 V) > the 373 V pack, so its
min-bus-voltage limiter cut discharge power below 2 kW in drive ->
DI_a125 noBatteryPower.

_frames_2022 now uses 2022 scaling; the 2020 baseline is byte-identical.

  signal                          2020     2022
  0x2D2 min/maxBusVoltage         0.01 V   0.02 V   (fw-confirmed)
  0x2D2 maxDischargeCurrent       0.128 A  0.15 A   (fw-confirmed)
  0x252 maxDischargePower         0.01 kW  0.013 kW
  0x132 currentUnfiltered offset  -500 A   -822 A

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
outlandnish/tm3diag!20
No description provided.