Controlling the Meiden MCU via CAN

Mitsubishi i-MiEV Forum

Help Support Mitsubishi i-MiEV Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

bigmotherwhale

New member
Joined
Nov 26, 2016
Messages
2
Hello

I have bought a Meiden inverter and motor that I wish to use in an electric car conversion.

Does anyone have any information or CAN captures that would help me to use it?

I have it connected up with both 12v and HV and it is sending CAN data to a laptop but I cannot get it to run.

Its from an outlander not a imiev but hopefully they are similar protocol.

Thanks
 
Howdy bmw,

sounds like a fun project you have going--do you have any CAN captures that you could post/share just to get started looking at this. i would be willing to try to put a sniffer on the CAN bus to capture the data stream--i think the MCU talks over CAN2 and there may be a connector under the rear seat.
 
Hi
I thought you might be the first to reply, i was considering PMing you.

here is a sample of what i receive, this was with some resistors as temp sensors and a resolver off another motor, I will take a capture of it connected to the correct motor.

0 Receive 01:35:29:094 Data frame Standard frame 00000289 8 27 10 4e 1e 00 00 11 00
1 Receive 01:35:29:094 Data frame Standard frame 00000299 8 14 0d 14 69 13 00 00 00
2 Receive 01:35:29:104 Data frame Standard frame 00000732 8 03 e8 03 e8 64 64 0f 35
3 Receive 01:35:29:104 Data frame Standard frame 00000289 8 27 10 4e 0d 00 00 11 00
4 Receive 01:35:29:114 Data frame Standard frame 00000566 8 00 0a 00 00 00 00 00 00
5 Receive 01:35:29:114 Data frame Standard frame 00000667 8 00 39 34 31 30 41 30 38
6 Receive 01:35:29:124 Data frame Standard frame 00000289 8 27 10 4e 21 00 00 11 00
7 Receive 01:35:29:124 Data frame Standard frame 00000567 8 00 00 00 00 00 00 00 00
8 Receive 01:35:29:124 Data frame Standard frame 00000732 8 03 e8 03 e8 64 64 0e cd
9 Receive 01:35:29:134 Data frame Standard frame 00000289 8 27 10 4e 1c 00 00 11 04
10 Receive 01:35:29:134 Data frame Standard frame 0000056d 8 00 00 00 00 00 00 00 00

I have been told on the outlander forum, the torque requests are on frame 287, what i really need is a full capture.

"Frame 287 would be the PHEV ECU requesting a certain amount of (positive or negative) torque from the front and rear motor, as well as the generator. For example: 2872710271027100000

You see three times 2710. This is hex for 10.000. Subtract 10.000 from this number and divide by 10 to get the Torque requested with one decimal precision. In this case 0.0 for each. Clearly, this frame was captured while parked. First occurrence (A+B) is for front motor. Second occurrence (C+D) is for rear motor, third (E+F) is for generator. Don't know about G and H.
Front motor reports back with actual Torque and RPM via frame 288"

I tried sending some frames to 287 every 100 ms but nothing happens. I Have the DC link powered up at the correct voltage and i think all the connections seem ok, I have RSDN (shutdown) tied low, my wiring for the resolver is not very good, its un shielded untwisted so that could be a problem that i will fix. I am running out of ideas.

Thanks for your help. :)
 
i plan to use a Saleae Logic8 for recording the CAN traffic and hope to get some data this weekend. i think i can tap in at the OBDII connector where pins 4 and 5 are grounds, CAN1 H is pin 6 and CAN1 L is pin 14. The service manual indicates that the MUT can access the CAN buss for all control units from that port. It may be like drinking from a fire hose, but if that doesn't work i'll pull out the rear seat and tap in on CAN2 somewhere handy.
 
i was able to get CAN data from the OBDII port and from the CAN2 junction block under the rear seat. i made several short runs in forward and reverse, but the best one is likely shifting from N to D, then hard accel and hard on the brakes. The logicdata file is 2.1 Meg, send me a pm and i'll email it to you. You can download the free logic software from their site, https://www.saleae.com/downloads , and upload this file into the viewer. It can then be saved to csv if you want to look at it in a spreadsheet, but it has other formats also such as matlab.

The most frequent IDs with data seemed to be x373, x285, x288 (hex id); i searched for the x287 ID and it was only called once or twice for the entire run, so i question if that is the torque on the mievs.
 
I read somewhere in the manuals that motor controller (inverter) looks for right cars VIN code (witch might be crypted). Isn't it rue? I have myself a non working i-MiEV also waiting for solution.
 
The VIN is posted on the CAN Buss ID 29A. i don't know which ECU is the "owner" of this message, nor which ECU's use this data to decide whether or not to operate. So much to be learned, so little time...
 
Back
Top