i3 controller hacking from diyelectriccar.com
Re: i3 controller hacking from diyelectriccar.com
Simple issue after all! Looks like my SCK signal was being voltage divided between RN1 and RN2 on the Mainboard, meaning that my "Low" level was 1.7V (3.36V / 2 on my board). Therefore I wasn't getting a SCK down to the i3 gatedriver as it was constant-high signal after going through the line driver of the adaptor.
I just bypassed resistor number 3 of RN1 (pin 3 to pin 6) on the mainboard to drive the signal rail to rail.
Well, we have DC bus voltage and phase temps now. Next onto some tuning!
I just bypassed resistor number 3 of RN1 (pin 3 to pin 6) on the mainboard to drive the signal rail to rail.
Well, we have DC bus voltage and phase temps now. Next onto some tuning!
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
Oh... but do you have the board with 3 line drivers (5 pin chip next to header)?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: i3 controller hacking from diyelectriccar.com
Yes, this is the release adaptor PCBA, it arrived a week ago, after a few months getting to the other side of the world. *edit* I migrated the missing parts from old board to the new on Tuesday and have been tinkering since. However, I suspect this is the issue I was having previously with the prototype version adaptor PCBA as well.
I will say that I measured SCK before and after the line driver with the scope. The “low” level was too high and causing the line driver to be in a constant “high” state without the bypass wire. I’m planning on putting a 100 ohm resistor in parallel with resistor 3 of RN1 to provide some impedance protection to the output of the STM32, but still low enough so that the voltage waveform is okay for the line driver “low” input level.
Re: i3 controller hacking from diyelectriccar.com
It seems like the gate driver power consumption from the HV side keeps collapsing whenever I try to switch the IGBTs. Johannes, just in case you had something specific in your setup, was there a minimum voltage you had on the DC bus to make the inverter work? Also, do you have any information on the approximate power consumption on the 12V system when switching? My standby current seems very low, less than 0.5A on the 12V circuit.
I have a benchtop supply at 65V, 3A max for supplying the DC bus for initial testing, but I'm wondering if I need to go up in DC bus voltage to get things working.
I have a benchtop supply at 65V, 3A max for supplying the DC bus for initial testing, but I'm wondering if I need to go up in DC bus voltage to get things working.
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
So it's not the 32V supply that collapses but DC bus voltage? Are all IGBTs good? deadtime set to 63? All gate drive signals sane when they arrive on the IGBT board?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Hi folks
I'm working in making the inverter package fit in the Mini, I'll have some progress up soon
A quick question with this HV filter assembly, do I only need to keep the two circled connectors?
Can I get rid of the rest?
Tia
I'm working in making the inverter package fit in the Mini, I'll have some progress up soon
A quick question with this HV filter assembly, do I only need to keep the two circled connectors?
Can I get rid of the rest?
Tia
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Re: i3 controller hacking from diyelectriccar.com
That's right Scott, although you should try to keep the filter capacitors as well if possible (as shown in this edit).
Sorry for the delay Johannes: The 32V rail is pretty solid, but with some ripple on the DCDC. I didn't get to measure gate drive signals yet, but I'm going to mod my mainboard for the SCK line tomorrow (parallel 100R on R1) and measure them while I have it on the bench.
-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Thanks Xavier
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Are those filter capacitors absolutely necessary?
Or is there a smaller alternative I could use as I can't fit it in and it no longer needs to connect to the DC side of things
Or is there a smaller alternative I could use as I can't fit it in and it no longer needs to connect to the DC side of things
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
What do you mean with not to the DC side of things? The capacitors are there for the DC bus...
The idea is that when the current flows and suddenly needs to stop it wants to go somewhere...by having those capacitors it will absorb that energy...
The idea is that when the current flows and suddenly needs to stop it wants to go somewhere...by having those capacitors it will absorb that energy...
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
If anyone's interested there is a new vid on my channel of my attempts to shorten the inverter housing.
Still some bits to work out, how to get the coolant to flow correctly, how to prevent coolant from going everywhere.
I tried the aluminium brazing sticks but the heat dissipated too quickly to melt them on the inverter base and starting to melt the top before the sticks melted!
I also cut the top too short one side but it's not critical.
Still some bits to work out, how to get the coolant to flow correctly, how to prevent coolant from going everywhere.
I tried the aluminium brazing sticks but the heat dissipated too quickly to melt them on the inverter base and starting to melt the top before the sticks melted!
I also cut the top too short one side but it's not critical.
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
Yes! That's what I meant!
Now for the coolant you could make two plates 12mm thick to cover up the holes and if you need to bridge/ make a passage you add two tube barbs (90 degress knee) and a piece of hose in between.
The welding is best using TIG since it's casting you need a balance of like 60% to 'clean' the weldpool...
Now for the coolant you could make two plates 12mm thick to cover up the holes and if you need to bridge/ make a passage you add two tube barbs (90 degress knee) and a piece of hose in between.
The welding is best using TIG since it's casting you need a balance of like 60% to 'clean' the weldpool...
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Sorry for the confusion, I meant the DC to DC has been removed leaving only the power supply to the inverterEV_Builder wrote: ↑Fri May 13, 2022 6:56 pm What do you mean with not to the DC side of things? The capacitors are there for the DC bus...
The idea is that when the current flows and suddenly needs to stop it wants to go somewhere...by having those capacitors it will absorb that energy...
Would the capacitors in the inverter not do the same job? Sorry for my ignorance
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
Re: i3 controller hacking from diyelectriccar.com
Damn! You made short work of that Scott. I don’t think the filter caps in the HV connector junction will be absolutely critical. I would say leave them out for now. Looks mean

-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Once I'm happy with everything I'll pop some cut lines and dimensions up here so you can all learn from my mistakes 
I like the idea of blanking plates and elbows to join the coolant up but might look to glue the blanking plates in place
I like the idea of blanking plates and elbows to join the coolant up but might look to glue the blanking plates in place
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
- SciroccoEV
- Posts: 370
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
Re: i3 controller hacking from diyelectriccar.com
I'm far from an expert welder, but have welded a fair few cylinder heads sucessfully.
BMW tend to use high pressure die castings, which should wel well.
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
It depends on the composition of the casting and the settings of your equipment. @scott any markings on the parts about it's material?
I did the rear Alloy subframe with TIG; Try a high Silicium Rodd and AC Balance of 60% and clean/brush your weld mega clean before you start. If the blankingplate is choosen thick like 6/8mm welding becomes far more easier since you can direct towards the plate when it gets tricky.
I did the rear Alloy subframe with TIG; Try a high Silicium Rodd and AC Balance of 60% and clean/brush your weld mega clean before you start. If the blankingplate is choosen thick like 6/8mm welding becomes far more easier since you can direct towards the plate when it gets tricky.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
-
- Posts: 107
- Joined: Thu Jun 04, 2020 12:23 pm
- Location: Dorset, England
- Has thanked: 1 time
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
I couldn't see any markings showing info about the material 
Restoring and converting a Classic Mini, I have mad ideas, semi sensible ideas and NO idea if I’ll ever get it done 
Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress

Look me up on YouTube https://youtube.com/channel/UCxmP1hLys6Z5tHZpK5mn6eg to see my progress
- EV_Builder
- Posts: 1205
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 18 times
- Been thanked: 37 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
Mhhh you sometimes see it near the stamp with the arrow about production.
Best thing is to test/try then. I would start with a high grade% Silicium rod.
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
-
- Posts: 21
- Joined: Fri Jun 03, 2022 6:15 am
- Has thanked: 4 times
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Is it possible to alter the BMW i3 IPM motor/controller to run it in reverse with full functionality, efficiency, max speed, etc? Would be hoping to use the OEM motor controller + openinverter board and software but would be open to other options if need be. Would it be the same vector control algorithms as forwards?
I have seen that the OEM hardware limits reverse speeds but I am wondering if the unit can be reconfigured as a whole.
(The reason for the question is because I would like to use two of these on two opposing wheels to get a torque-vectoring setup, but the only way I can see getting them to fit is with one rotated 180.)
I have seen that the OEM hardware limits reverse speeds but I am wondering if the unit can be reconfigured as a whole.
(The reason for the question is because I would like to use two of these on two opposing wheels to get a torque-vectoring setup, but the only way I can see getting them to fit is with one rotated 180.)
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
openinverter firmware has no reverse speed limit. Motor and inverter don't care either. Only if you use the stock transmission you'll likely run into issues running it reverse
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
On another note I think there is an error on the mini mainboard resulting in lack of CAN communication. The slew rate pin is floating but needs to be tied to ground with a resistor. I scratched the GND plane a bit and soldered in a 10k resistor. Can be any value from like 0R to 20k whatever is in your parts bin (the value controls the slew rate)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 21
- Joined: Fri Jun 03, 2022 6:15 am
- Has thanked: 4 times
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Thank you very much for the quick response and confirmation. Would I be able to simply flip polarity somewhere? Or just within openinverter I would command it backwards?
Indeed the gearbox is the other question. Looking into it, axial loads in the wrong direction from helical gears running backwards would seem to be the biggest issue. Getting some confidence from the fact that its software limited to 50 kph. Would love to hear any other main suggestions to consider, but not to take off topic..
At least having that confirmation makes me a bit more willing to purchase one and start testing, but will be looking into gearbox some more first. Thanks again.
- johu
- Site Admin
- Posts: 6639
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 346 times
- Been thanked: 1496 times
- Contact:
Re: i3 controller hacking from diyelectriccar.com
Just select reverse direction
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 21
- Joined: Fri Jun 03, 2022 6:15 am
- Has thanked: 4 times
- Been thanked: 1 time
Re: i3 controller hacking from diyelectriccar.com
Thank you again. Back to happily and eagerly lurking on y'all's experiences with these.