Outlander FEMCU (front inverter)

Mitsubishi hybrid drive unit hacking
joe4agze
Posts: 2
Joined: Thu Oct 08, 2020 7:00 am
Been thanked: 1 time

Re: Outlander FEMCU (front inverter)

Post by joe4agze »

Thanks for the information people. This is very interesting.
User avatar
jamesn
Posts: 29
Joined: Sat Jun 13, 2020 7:07 pm
Location: Stroud, Gloucestershire
Been thanked: 3 times

Re: Outlander FEMCU (front inverter)

Post by jamesn »

Finally got the front drive system working. :D

I had to give up on the Huebner boards in the end, the first board's 3v3 power regulator went haywire and fried the STM32. The second board I finally got working and managed to tune Syncofs to a pretty good spot with it spinning up fine on manual ID/IQ but when I switched over to using the throttle it went into DESAT and since then any attempt to make it spin even in manual mode resulted in DESAT.
So anyway I had to move the boat and rather than stripping things down, ordering new boards, etc. I just went down the CAN control route using an Arduino on a new inverter:





Cruised for well over a mile with no issues from Meiden inverter or Arduino code. Happy days
arber333
Posts: 3438
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 101 times
Been thanked: 305 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by arber333 »

Really nice! Congratulations.
Can you share your Arduino code? I would like to begin work on rear inverter and it seems better to begin from a known step.
What limits do you take for torque? Do you stop at 200Nm? This would then mean 0x39 and 0x2A for 205Nm.
For precision we would need to count from B towards A. Like when B reached 255, step counts 1 point into A and backwards...

tnx
tom91
Posts: 1882
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 157 times
Been thanked: 409 times

Re: Outlander FEMCU (front inverter)

Post by tom91 »

arber333 wrote: Thu Dec 31, 2020 8:09 pm Really nice! Congratulations.
Can you share your Arduino code? I would like to begin work on rear inverter and it seems better to begin from a known step.

tnx
I helped James reach this point by sharing a capture from my testing and timing of required messages, I would not advise using his code as a start it contains quite some errors, but will get motors spinning.

Main lacking item is the way the torque command is generated is very crude.

As I have mentioned in other posts, you only command torque from the motors. Thus direction is done via the commanding of positive or negative torque.

"Forward" = Positive torque is motoring, negative torque is regen
"Reverse" = Negative torque is motoring, positive torque is regen
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
arber333
Posts: 3438
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 101 times
Been thanked: 305 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by arber333 »

tom91 wrote: Thu Dec 31, 2020 8:37 pm Main lacking item is the way the torque command is generated is very crude.
Yes i see one would have to have really good throttle encoder to run motor with precision :).
But maybe 10bit A/D from throttle pedal would be sufficient if i would only use 1/4 torque for testing first...
Regen could be used in larger steps...
tom91
Posts: 1882
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 157 times
Been thanked: 409 times

Re: Outlander FEMCU (front inverter)

Post by tom91 »

arber333 wrote: Thu Dec 31, 2020 8:54 pm
tom91 wrote: Thu Dec 31, 2020 8:37 pm Main lacking item is the way the torque command is generated is very crude.
Yes i see one would have to have really good throttle encoder to run motor with precision :).
But maybe 10bit A/D from throttle pedal would be sufficient if i would only use 1/4 torque for testing first...
Regen could be used in larger steps...
No, as in the translation from throttle to torque is handled crude NOT the reading of a pedal, thats the easy part.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
User avatar
jamesn
Posts: 29
Joined: Sat Jun 13, 2020 7:07 pm
Location: Stroud, Gloucestershire
Been thanked: 3 times

Re: Outlander FEMCU (front inverter)

Post by jamesn »

tom91 wrote: Thu Dec 31, 2020 9:01 pm
arber333 wrote: Thu Dec 31, 2020 8:54 pm
tom91 wrote: Thu Dec 31, 2020 8:37 pm Main lacking item is the way the torque command is generated is very crude.
Yes i see one would have to have really good throttle encoder to run motor with precision :).
But maybe 10bit A/D from throttle pedal would be sufficient if i would only use 1/4 torque for testing first...
Regen could be used in larger steps...
No, as in the translation from throttle to torque is handled crude NOT the reading of a pedal, thats the easy part.
It would be far from acceptable for a road application. In the boat it works way better than I thought it would for some code I threw together in a couple of hours.
I have started on refining it with independant control but I have some more pressing tasks first including getting control of the e-golf BMS...
User avatar
Jack Bauer
Posts: 3583
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 2 times
Been thanked: 144 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by Jack Bauer »

Is the info for getting the front inverter / motor running being shared?
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3583
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 2 times
Been thanked: 144 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by Jack Bauer »

No? That's ok I just reinvented the wheel :
https://github.com/damienmaguire/Outlander-PHEV
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3583
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 2 times
Been thanked: 144 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
chuuux
Posts: 68
Joined: Fri Mar 12, 2021 5:11 am
Location: Ural
Has thanked: 1 time

Re: Outlander FEMCU (front inverter)

Post by chuuux »

Jack Bauer wrote: Fri May 14, 2021 2:27 pm
Damien, could you be so kind and tell us the pinout for the front inverter's plug (power supply and CAN bus) The colors of the wires will be enough. I still have the 10-pin connector here. I'm almost sure this is Toyota 90980-12380.
Attachments
DSC_1326_1.JPG
arber333
Posts: 3438
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 101 times
Been thanked: 305 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by arber333 »

Jack Bauer wrote: Fri May 14, 2021 2:27 pm
There be one Jag battery module in the background there 8-) .

Seriously Damien. Can you tell us more about the HV/LV turn on sequence for the inverter?
Like do we need to connect 12V supply before main contactor/precharge is on or not? Or can inverter be plugged in permanently to HV without harmfull effects?
I need to test my Outlander rear motor setup and i just rather be informed :).

tnx

Arber
User avatar
Jack Bauer
Posts: 3583
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 2 times
Been thanked: 144 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by Jack Bauer »

The inverter is very like the Toyota in that it doesn't care about the power up sequence, Hv, Lv, can etc. You can stop sending can and it sits there until you send can again etc. I'll lookup my notes on the wiring but it just needs +12v, gnd and can.
I'm going to need a hacksaw
arber333
Posts: 3438
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 101 times
Been thanked: 305 times
Contact:

Re: Outlander FEMCU (front inverter)

Post by arber333 »

Jack Bauer wrote: Sun May 30, 2021 5:22 pm The inverter is very like the Toyota in that it doesn't care about the power up sequence, Hv, Lv, can etc. You can stop sending can and it sits there until you send can again etc. I'll lookup my notes on the wiring but it just needs +12v, gnd and can.
Hi Damien
I am finally working on motor-inverter-charger-heater combo from Outlander and i have noticed there is none of the usual DC voltage jolt if i connect inverter directly. It remains weirdly indifferent. It would just report its status on CAN.
What do you think? Can i just use main DC contactor to pull in HV from the battery? Since rear inverter, charger/DCDC and heater are all connected together this means i will have to open DC contactor in every case, be it heating, charging or DCDCing :).
OutlandishPanda
Posts: 50
Joined: Fri Jun 26, 2020 7:25 pm
Location: West Sussex, UK
Been thanked: 2 times

Re: Outlander FEMCU (front inverter)

Post by OutlandishPanda »

FYI, I bought this female connector kit for the front inverter comms:

https://www.aliexpress.com/item/1005001 ... f19c2GpBFL

Took about 2 weeks and fits perfectly and looks to be reasonable quality. How do they sell these so cheaply!?
User avatar
Bigpie
Posts: 1719
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 77 times
Been thanked: 377 times

Re: Outlander FEMCU (front inverter)

Post by Bigpie »

Anyone used one of the front gearboxes with both motors in a car yet? I've got one in the garage, but just use a single motor on my existing gearbox.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
User avatar
mjc506
Posts: 343
Joined: Wed Sep 09, 2020 9:36 pm
Location: Wales, United Kingdom
Has thanked: 30 times
Been thanked: 28 times

Re: Outlander FEMCU (front inverter)

Post by mjc506 »

Not yet, but I plan to. I think using the second motor will require controlling the clutch. (Hydraulically actuated I think, so requires the front wheels to be spinning to build sufficient pressure).

May be possible to replace/modify the clutch so it's locked full-time?
User avatar
Bigpie
Posts: 1719
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 77 times
Been thanked: 377 times

Re: Outlander FEMCU (front inverter)

Post by Bigpie »

I thought about opening it up and looking if it can be welded.

My concern would be over speeding based on the different ratios.

Motor - Differential ratio 9.663
Generator - Engine ratio 2.736
Engine - Differential ratio 3.425
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
User avatar
mjc506
Posts: 343
Joined: Wed Sep 09, 2020 9:36 pm
Location: Wales, United Kingdom
Has thanked: 30 times
Been thanked: 28 times

Re: Outlander FEMCU (front inverter)

Post by mjc506 »

I think the PHEV runs in parallel hybrid (ie, clutch locked) at motorway speeds, so should be good. Gen-diff ratio is only 9.37, so a little less than the motor-diff ratio.

I guess a welded clutch would give you full torque from standstill. The stock arrangement you'd get full torque from both motors from a few mph as hydraulic pressure builds but you'd probably want to allow some margin to avoid slipping the clutch if you apply power to the 'generator' too early. (Easy to detect slipping - keep an eye on the ratio between motor and generator speeds)

All speculation of course :-) I don't have a unit in front of me yet!
User avatar
Bigpie
Posts: 1719
Joined: Wed Apr 10, 2019 8:11 pm
Location: South Yorkshire, UK
Has thanked: 77 times
Been thanked: 377 times

Re: Outlander FEMCU (front inverter)

Post by Bigpie »

Would be interested in how you get on, the single front motor is a little wheezy on my car, once it gets spinning it's a little better. Temptation is to go with a rear motor instead, then I don't have to bother with the oil cooling.
BMW E91 2006
ZombieVerter
GS450h
Outlander Charger DC/DC
Renault Kangoo 36kWh battery
marucha79
Posts: 24
Joined: Wed Jul 20, 2022 6:28 am
Has thanked: 1 time
Been thanked: 2 times

Re: Outlander FEMCU (front inverter)

Post by marucha79 »

Hello @jamesn. Could you please share details about connecting Johannes board v3 to FEMCU? I'll try it despite yours experiences. I'm using Bosch SMG 180/120, maybe it will be easier.
User avatar
pxxmo
Posts: 17
Joined: Mon Oct 24, 2022 8:48 am
Location: polska
Has thanked: 1 time

Re: Outlander FEMCU (front inverter)

Post by pxxmo »

where did the idea that they sit there a34j? There are drivers in my inverter that I can't identify
nathaniel
Posts: 95
Joined: Thu Jun 09, 2022 10:17 am
Been thanked: 47 times

Re: Outlander FEMCU (front inverter)

Post by nathaniel »

hi all,
i'm working on a conversion with the front inverter with generator as a motor. i can control the motor via the CAN using the arduino project of damian as a base. now i want some feedback information from the inverter about his status. i have seen in the STM-vcu project and the mini-E-VCU project that the rear inverter is putting out some information, and if i'm running the front inverter it is spitting out some CAN messages. now my question is, has anyone have already decoded these messages? i suspect that they are a bit the same as the messages from the rear inverter but with a different ID.
marucha79
Posts: 24
Joined: Wed Jul 20, 2022 6:28 am
Has thanked: 1 time
Been thanked: 2 times

Re: Outlander FEMCU (front inverter)

Post by marucha79 »

I was trying to calibrate the current sensor with sinus load 9A (50Hz) and got such plot. Is it correct? I think that level of jitter (first there was no load) is too high, isn't it?
Image
User avatar
Romale
Posts: 490
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 277 times
Been thanked: 62 times

Re: Outlander FEMCU (front inverter)

Post by Romale »

an interesting feature, today I combined the outputs of two power modules in the front outlander inverter into one, but I left the current sensors for only one module! thus, I deceived the system, the brain of O.I. V3 thinks that, for example, only 100 amperes at phase 1, but in fact exactly the same number of amperes is added from the second power module.
ideally, now this controller consists of a dual power module with a nominal value of 650 volts and 1200 amps, it seems to me that you can get a lot of power.
a little later, I will come up with all the necessary switching more culturally and a new cover for the inverter, install it on the car for testing and create a separate topic on this occasion.

Now I want to draw attention to one oddity - when the motor is connected to one half of the inverter (one power module), the motor has 2300 rpm and the syncofs 47700, if the motor is connected to the second module, it will be the same.
but when I connect two in parallel, the syncofs require 50500 and even the maximum speed is 2550 rpm!!!
in all these cases, the attenuation current is 0
IMG20231126182525.jpg
one brain controls two power modules in parallel by taking current information from only one current sensor.

by the way, no spacers are required, if you solder the wires directly into the board, then everything fits perfectly under the native board of the inverter.
evil neodymium :twisted:
Post Reply