DIY Electric Car Forums banner
1 - 20 of 27 Posts

· Registered
Joined
·
219 Posts
Discussion Starter · #1 ·
Creating a thread to document learning about and implementing the AEM ECU to drive a dual-LDU vehicle.

The VCU300 and the Tesla LDU replacement logic boards are relatively new on the market and so not much in the way of support for newbies. The manual assumes a fair bit of basic knowledge and equipment is available on-hand so I'd like to fill in some of the blanks here as best I can in case it is helpful to others wishing to do similarly.

Please don't reply to this thread unless you have experience with this equipment or something relevant to add



Font Gadget Magenta Rectangle Audio equipment



The ECU looks like a stock OEM Bosch unit, similar to a EDC17 CP44. The CPU plus the power and can bus pins match at least

The instructions don't detail the header particularly well, it is a Bosch 196P EMS which is available as a kit from AEM or separately elsewhere

These use two terminal types
Matrix 1.2 Series CB 1.5mm2
BTL2.8 1.5-2.5mm2

Bosch sell an expensive crimp tool, a generic open-barrel/Weatherpack crimper seems to work ok.

The smaller Matrix 1.2 terminals use a single depinning tool
Eye Gesture Rectangle Parallel Eyelash



The larger BTL 2.8 pins require a dual fork depinning tool https://bosch-connectors.com/bcp/b2...ance/BTL-2-8-Disassembling-Tool/p/1928498715/
Office supplies Font Drink Writing implement Gun accessory


The Tesla LDU replacement board is not yet officially supported for dual-motor installations, VCU300, or for the Sport LDU.
It appears to be the front-end of a Cascadia inverter, configured for the power stage of the LDU. Since the VCU300 supports dual Cascadia drives, it also supports dual LDUs, once I figure out how to change can addresses.

Micro is a TI TMS320F28374S which is about as good as it gets; they are used in aerospace applications. https://www.ti.com/lit/ds/symlink/tms320f28378s.pdf

RS232 programming link is interesting; a bit 1982 perhaps. Not sure how to update the firmware when it is installed in-situ if it is done via this header, that would require a full car disassembly as the inverter covers can't come off in place. Might need an extra cable making up. No instructions were included with the hardware.
Passive circuit component Circuit component Hardware programmer Microcontroller Font
 

· Registered
Joined
·
5,793 Posts
Any way you could sample continuity of a couple of pins between J10 and the TMS 320? The resistors at pins 2, 14, and 14 are smoking guns...

I suspect J10 is the JTAG factory programming connector (done with pogos):

Product Rectangle Font Screenshot Parallel

Which could lend itself to reprogramming the board if the processor's not locked out with fuse bits.
 

· Registered
Joined
·
27 Posts
Since the VCU300 supports dual Cascadia drives, it also supports dual LDUs, once I figure out how to change can addresses.
The base CAN address for the inverter control boards are set in the exact same way as they are set with Cascadia inverters. The default inverter address offset is 0x00A0. If a second unit is present then it's address offset should be set to 0x01A0.
 

· Registered
Joined
·
219 Posts
Discussion Starter · #4 · (Edited)
The base CAN address for the inverter control boards are set in the exact same way as they are set with Cascadia inverters
Thank you, I think I'm piecing it together. Is there an LDU board instruction manual to help me out?

Do I need to update the firmware, if so, which version? The AEM EVVCU Pre-Start Checklist Says I need to update but the date is several years old so presumably not necessary?
Font Rectangle Circle Number Paper



So it turns out the RS232 port is on the encoder plug via an adapter loom. Not quite sure what the switch does yet, is this the "Flash Enable Jumper"?
Electrical wiring Cable Electrical supply Auto part Wire


It communicates using RMS GUI 1.4.8 (aka Cascadia Motion GUI Setup) from Documentation - Electric Vehicle / Cascadia Motion which [edit] requires the installation of "GTK+2 Runtime Environment" first and a PC restart after install.

Rectangle Font Screenshot Parallel Software


Serial comms working, CAN ID changed, but no CAN comms to the VCU300 yet. Need to figure out the terminating resistor setting and do some sniffing tomorrow.

Assuming white is CAN+
Electrical wiring Cable Gas Electrical supply Wire
 

· Registered
Joined
·
219 Posts
Discussion Starter · #5 ·
Error 9 (9 flashes of the on-board LED) shows until the can line is configured properly. After changing a few settings I got it to go off and the data now shows in Savvycan, however it is not yet replicated on the AEMCal screen.

Voltage and temp readings are sensible
Rectangle Font Screenshot Parallel Software



DBC file for the inverter is in "PM and RM series DBC files", this is separate from the DBC file for the VCU.
Box

Settings I had to change are the terminating resistor to off and fast message rate to 50ms. The inverter doesn't use extended frames
Font Material property Rectangle Screenshot Parallel
 

· Registered
Joined
·
219 Posts
Discussion Starter · #6 ·
Success, temps reading on AEMCal, once I figure out what I'm doing. The default layout screens don't have anything for the inverter feedback signals other than torque, rpm etc so it took a bit of digging to find them
Rectangle Font Parallel Screenshot Number


Next is to build a bench harness with accel sensor, brake switch and so on.

Also need to see if I can get the wheel speeds send from the Tesla Bosch (private) can network to the VCU. No instructions and no idea yet how to configure can signals from other sources. They are all 500kb speed at least.

Another activity I'd like the VCU to do is provide wake and assist signals for the power steering rack which is from a Subaru Impreza. It works if I inject the signals from Savvycan so just need to figure out how to get the VCU to generate and output the signals. If it has such a capability.
 

· Registered
Joined
·
7 Posts
Success, temps reading on AEMCal, once I figure out what I'm doing. The default layout screens don't have anything for the inverter feedback signals other than torque, rpm etc so it took a bit of digging to find them
View attachment 125681

Next is to build a bench harness with accel sensor, brake switch and so on.

Also need to see if I can get the wheel speeds sent from the Tesla Bosch (private) can network to the VCU. No instructions and no idea yet how to configure can signal from other sources. They are all 500kb speed at least.

Another activity I'd like the VCU to do is provide wake and assist signals for the power steering rack which is from a Subaru Impreza. It works if I inject the signals from Savvycan so just need to figure out how to get the VCU to generate and output the signals. If it has such a capability.
Hello, I know the thread is old but I'm currently working on an EV conversion project similar to yours. Tesla Base LDU with AEM VCU 200. We are currently stuck with a POST fault code from the inverter, "Mod temp above Max --: 0.7". Inverter successfully precharges only after we clear the error in the RMS GUI. 300+ volts no problem in the inverter. However, every time starting up, the code is present and forces us to plug in the GUI to clear, so we get "i1_post_flt" from 1 to 0 to let the precharge begin. That means it is impossible for us to plug the harness into the encoder and try to run the motor.

Have you played with the RMS GUI yet? Any experience that you could share with us? Or your LDU spins right away without even playing with the RMS GUI at all?
 

· Registered
Joined
·
27 Posts
The POST faults are generated from tests carried out when the inverter is first powered up (Power On Self Test). If the fault keeps reappearing every time you power up the inverter then it sounds like the controller thinks there is something wrong with it.

Did you contact AEM tech support with this question? What did they say?
 

· Registered
Joined
·
7 Posts
The POST faults are generated from tests carried out when the inverter is first powered up (Power On Self Test). If the fault keeps reappearing every time you power up the inverter then it sounds like the controller thinks there is something wrong with it.

Did you contact AEM tech support with this question? What did they say?
Yes, we did shoot a couple of emails to AEM, but the guys over there aren't responding to any of them :(
We have also tried to reach out to Cascadia Motion and they said the board is supported by AEM, so they're not giving any sort of support.

What we found weird is that although the system is reporting "mod A temp over max", the temperature reported via CAN and in the RMS is perfectly fine. The PCB temperature is a bit weird tho but we have no idea if that is alright or not. This is our diag data if anyone is interested.

The worst case would be the motor itself is actually faulty and we have to RMA that...

Font Screenshot Parallel Number Rectangle
 

· Registered
Joined
·
35 Posts
Yes, we did shoot a couple of emails to AEM, but the guys over there aren't responding to any of them :(
We have also tried to reach out to Cascadia Motion and they said the board is supported by AEM, so they're not giving any sort of support.

What we found weird is that although the system is reporting "mod A temp over max", the temperature reported via CAN and in the RMS is perfectly fine. The PCB temperature is a bit weird tho but we have no idea if that is alright or not. This is our diag data if anyone is interested.

The worst case would be the motor itself is actually faulty and we have to RMA that...

View attachment 131982
check your spam folder, the email I sent last week never made it to [email protected]
It said the address wasn't found. Prob worth calling them directly.
 

· Registered
Joined
·
7 Posts
check your spam folder, the email I sent last week never made it to [email protected]
It said the address wasn't found. Prob worth calling them directly.
Hello Dans, thanks for you input!
Yeah we noticed that [email protected] is a blank address too. We are sending the email directly to [email protected] which is stated in some of their documents. While we are located in Asia there's almost 12hrs of time difference which makes it quite hard to make a call.

We still cannot find the related firmware and the symbol list for the Tesla LDU Controller board so far :\ But we figured out that PCB temp data in #9 is probably correct with some weird offset only. It's not reporting faulty in AEMCal program.
 

· Registered
Joined
·
7 Posts
Ok so today AEM finally replied our email and we have the latest symbol list. The firmware is the latest on our unit so we don't have to reflash it.

We use the new symbol list just to find out the fault of our Tesla LDU is "Current Sensor too high"... Has anybody encountered a similar problem? We are currently researching the possibility to replace/inspect the current sensor on the LDU.

Btw all the temperature values have returned to normal. The symbol list from AEM is far more simpler than the one from Cascadia Motion, so make sure you have the correct symbol list when you are working on the Tesla LDU with replaced ICB.
 

· Registered
Joined
·
27 Posts
Ok so today AEM finally replied our email and we have the latest symbol list. The firmware is the latest on our unit so we don't have to reflash it.

We use the new symbol list just to find out the fault of our Tesla LDU is "Current Sensor too high"... Has anybody encountered a similar problem? We are currently researching the possibility to replace/inspect the current sensor on the LDU.

Btw all the temperature values have returned to normal. The symbol list from AEM is far more simpler than the one from Cascadia Motion, so make sure you have the correct symbol list when you are working on the Tesla LDU with replaced ICB.
So you got the RMS GUI program from Cascadia? That would explain why it didn't have the correct symbol list. Their version will install their standard symbol list as if it is a typical RM or PM series inverter. While the AEM Tesla control board is based on the Cascadia inverter controller, it isn't exactly the same as the Cascadia controller. Some things are moved around and some are simplified since it is no longer a generic inverter, it is a defined motor/inverter pair being supported. Your authorized dealer or AEM should be the source for all the software you need with the unit.

Also, as you found out, Cascadia is not set up to support the PCB install since we (AEM) actually manufacture it. All tech questions can be sent to [email protected] or call us at the toll free support number (1-800-423-0046).
 

· Registered
Joined
·
7 Posts
Can you put that "symbol list" up here on the forum (it's not for me...) so others are not bothering AEM with the same problem?
The symbol list is here. Make sure you are having a matching date for the firmware and the symbol list, that can save you tons of trouble reverting the parameters. If you don't have a correct date (2021/06/16) for firmware then please don't use this one. Don't make the same mistake as us modifying the symbol list's file name.


So you got the RMS GUI program from Cascadia? That would explain why it didn't have the correct symbol list. Their version will install their standard symbol list as if it is a typical RM or PM series inverter. While the AEM Tesla control board is based on the Cascadia inverter controller, it isn't exactly the same as the Cascadia controller. Some things are moved around and some are simplified since it is no longer a generic inverter, it is a defined motor/inverter pair being supported. Your authorized dealer or AEM should be the source for all the software you need with the unit.

Also, as you found out, Cascadia is not set up to support the PCB install since we (AEM) actually manufacture it. All tech questions can be sent to [email protected] or call us at the toll free support number (1-800-423-0046).
Yes, the supplier should be the one who gives us the software, but they didn't. So we have to try out something to get us started. It's actually way more simple than using a separate inverter.
And actually, AEM's reply is pretty quick after we got in contact with their tech support :)
 

Attachments

· Registered
Joined
·
367 Posts
Since this thread has a lot of canbus expertise, I'm jumping in to ask a probably dumb question

I have my vcu200 on the bench with the CAN2 lines going into a pican3 hat on a pi4

I have cantools on the pi, and I'm attempting to do some really basic reads, just see what general traffic is coming down

Unfortunately the traffic is....strange....and this is with using aem's supplied DBC file with cantools decoding feature

Attached some pics showing the traffic I'm seeing and my absolutely terrible wiring job. The pic showing a ton of "unknown frame Id" errors is when I tried to use the DBC file to decode. Apologies for phone pics of a screen but getting screenshots off that pi is kind of a pain
 

Attachments

1 - 20 of 27 Posts
Top