PV1
Site Moderator
Posts: 2990
Joined: Fri Apr 27, 2012 4:22 pm
Location: Pittsburgh, PA
Contact: Website

Re: BMU,Cautions,CMU, SERVICE PLUG, BALANCER,CAN, K-Line

Tue Jan 17, 2017 12:41 pm

Is the cell balancing data present on the main CANbus? If so, maybe me68 or priusfan could add it to CaniOn, possibly turning those cells orange on the battery voltage bar graph. That would be really cool.
:idea: :idea: :idea: :!: :!:

Dropbox maintenance in progress. If any of my links aren't working after November 17, please PM me and let me know which one isn't working.

Thanks.

coulomb
Posts: 167
Joined: Sun Jun 10, 2018 8:32 pm
Location: Brisbane, Australia

Re: BMU,Cautions,CMU, SERVICE PLUG, BALANCER,CAN, K-Line

Wed Feb 27, 2019 7:22 am

kiev wrote: Another interesting find is that the data sent from the CMU to the BMU is formatted as 48 separate CAN PIDs ranging from 0x611-614 up to 0x6C1-6C4 with 2 temperatures and 2 cell voltages each . The msb of the PID, 0x6, indicates cell data, the middle byte which ranges from 1 to C identifies the cmu module, and the lsb ranging from 1 to 4 identifies the 2-cell pair.

I've been sloooowly making progress on the CMU firmware. Would you have some sample data including a few CAN IDs? PM or email me if that's more convenient.

This is a slightly different format from the BMU data sent over the main CAN buss found in 4 PIDs, 0x6E1 to 6E4,

Yes, I somehow assumed that they'd merely pass the data along with the same CAN ID or at least the same formatting. It drove me crazy when I started to find 6XX CAN IDs, but not 6E1-6E4.

If all goes well, I may be able to publish the CAN packets for interfacing with the CMUs directly, bypassing the BMU and all other computers. This would be ideal for using an iMiEV pack in a conversion, for example. Though your post has nearly all the details already.

kiev
Posts: 924
Joined: Sun May 03, 2015 7:15 am
Location: The Heart o' Dixie
Contact: Website

Re: BMU,Cautions,CMU, SERVICE PLUG, BALANCER,CAN, K-Line

Thu Feb 28, 2019 7:14 am

It's been a couple of years so i'm a bit rusty on this. The voltage calculation is not correct formula.

i have some scans of the BMU CAN buss traffic. One is very simple with just sitting stationary and toggling the key positions to see the buss traffic when it turns on and off--a summary of this is listed below. Another is quite long (~10 Meg over 3 parts) with the EVSE plugged in, and a third scan is about 1 Meg that includes some driving.

------------------------------------------ Looks like the formatting isn't holding when posted
Summary of CMU CAN buss scan in which the ignition key was toggled ACC and ON. The buss turns off when the key is in the OFF or ACC position. i think these are the only PIDs that are used on the BMU buss.

PID 3C3 8 bytes
1 2 3 4 5 6 7 8
3C3 When key goes to ON, sends 4 messages with 0x0F in the 5th byte, then it sends ~25 messages with a temperature limit? in the 2nd byte, then sends a cell voltage in 2 bytes, and possibly a cooling or balancing? indicator in the 4th byte.

ACC=off
SCAN HEX DATA STARTS HERE WHEN KEY IS SWITCHED FROM ACC TO ON
REPEATS 4 times
0x0 0 0 0 F 0 0 0 ON
0x0 0 0 0 F 0 0 0
0x0 0 0 0 F 0 0 0
0x0 0 0 0 F 0 0 0
REPEATS 25 times
0x0 52 0 0 0 0 0 0
temp limit = 82 - 40 offset = 42C
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
REPEATS 429X
0x1 8D 0 0 0 0 0 0
cell voltage 3.98
0x1 8E 0 0 0 0 0 0 3.97
0x1 8D 0 0 0 0 0 0 3.98
0x1 8E 0 0 0 0 0 0
0x1 8E 0 2 0 0 0 0 ACC=off

repeats 4x 0x0 0 0 0 F 0 0 0 ON
0x0 0 0 0 F 0 0 0
0x0 0 0 0 F 0 0 0
0x0 0 0 0 F 0 0 0
repeats 25x 0x0 52 0 0 0 0 0 0 ON
till key off 0x0 52 0 2 0 0 0 0 ACC=off

repeats 4x 0x0 0 0 0 F 0 0 0 ON
0x0 0 0 0 F 0 0 0
0x0 0 0 0 F 0 0 0
0x0 0 0 0 F 0 0 0
repeats 42x 0x0 52 0 0 0 0 0 0
till end of scan0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 0 0 0 0 0
0x0 52 0 2 0 0 0 0 ON


CELL DATA FROM CMUs
PID INDEX 3 temperatures/card cell voltage cell voltage

611 0x1 0 45 45 1 8E 1 8E cmu 1
612 0x1 0 45 45 1 8E 1 8E 8-cells
613 0x1 44 45 0 1 8E 1 8E 2 cards
614 0x1 0 0 0 1 8E 1 8E

621 0x2 0 45 44 1 8E 1 8E cmu 2
622 0x2 44 44 0 1 8E 1 8E 8-cells
623 0x2 44 45 0 1 8E 1 8E
624 0x2 0 0 0 1 8E 1 8E

631 0x3 0 45 44 1 8E 1 8E cmu 3
632 0x3 44 44 0 1 8E 1 8E 8-cells
633 0x3 44 45 0 1 8E 1 8E
634 0x3 0 0 0 1 8E 1 8E

641 0x4 0 45 45 1 8E 1 8E cmu 4
642 0x4 44 44 0 1 8E 1 8E 8-cells
643 0x4 44 45 0 1 8E 1 8E
644 0x4 0 0 0 1 8E 1 8E

651 0x5 0 45 45 1 8E 1 8E cmu 5
652 0x5 45 45 0 1 8E 1 8E 8-cells
653 0x5 45 45 0 1 8E 1 8E
654 0x5 0 0 0 1 8E 1 8E

661 0x6 0 45 45 1 8E 1 8E cmu 6
662 0x6 45 FF 0 1 8E 1 8E 4-cells
663 0x6 FF FF 0 FF FF FF FF 1 card
664 0x6 0 0 0 FF FF FF FF

671 0x7 0 45 45 1 8E 1 8E cmu 7
672 0x7 45 45 0 1 8E 1 8E 8-cells
673 0x7 45 45 0 1 8E 1 8E
674 0x7 0 0 0 1 8E 1 8E

681 0x8 0 45 45 1 8E 1 8E cmu 8
682 0x8 44 44 0 1 8E 1 8E 8-cells
683 0x8 44 45 0 1 8E 1 8E
684 0x8 0 0 0 1 8E 1 8E

691 0x9 0 45 45 1 8E 1 8E cmu 9
692 0x9 44 44 0 1 8E 1 8E 8-cells
693 0x9 44 45 0 1 8E 1 8E
694 0x9 0 0 0 1 8E 1 8E

6A1 0xA 0 45 44 1 8E 1 8E cmu 10
6A2 0xA 44 44 0 1 8E 1 8E 8-cells
6A3 0xA 44 45 0 1 8E 1 8E
6A4 0xA 0 0 0 1 8E 1 8E

6B1 0xB 0 46 45 1 8E 1 8E cmu 11
6B2 0xB 45 45 0 1 8E 1 8E 8-cells
6B3 0xB 45 45 0 1 8E 1 8E
6B4 0xB 0 0 0 1 8E 1 8E

6C1 0xC 0 46 45 1 8E 1 8E cmu 12
6C2 0xC 46 FF 0 1 8E 1 8E 4-cells
6C3 0xC FF FF 0 FF FF FF FF
6C4 0xC 0 0 0 FF FF FF FF
kiev = kenny's innovative electric vehicle

Return to “General Technical Discussions”