MG Drive Unit Reverse Engineering
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
MG Drive Unit Reverse Engineering
One of the big projects I've worked on this year has been the MG drive unit. I'm not 100% sure which exact models and years of MG vehicle use this exact unit but am fairly sure the newer ZS and 5 are amongst them. It also "look" like some of the other drive units MAY use a similar control board but this has not been confirmed as yet.
I'm pleased to say that the V2 OpenInverter board now runs the drive unit in full FOC closed loop mode on the bench. I also have purchased a 2003 Volvo V70 to use as a test bed.
Anyway, for those interested here are some links and videos:
Github repo with lots of info: https://github.com/damienmaguire/MG-EV-Inverter
Videos :
I'm pleased to say that the V2 OpenInverter board now runs the drive unit in full FOC closed loop mode on the bench. I also have purchased a 2003 Volvo V70 to use as a test bed.
Anyway, for those interested here are some links and videos:
Github repo with lots of info: https://github.com/damienmaguire/MG-EV-Inverter
Videos :
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
Re: MG Drive Unit Reverse Engineering
Guess this was a giant waste of time then...
I'm going to need a hacksaw
- Uppertown
- Posts: 72
- Joined: Wed Dec 09, 2020 10:57 pm
- Location: North East England
- Has thanked: 158 times
- Been thanked: 36 times
Re: MG Drive Unit Reverse Engineering
I think it's an idea who's time will come, it's a neat unit, almost an electric diff it's so compact and I'm seeing plenty of MGs on the road so they should soon be plentiful and cheap at the breakers. Perhaps it will take off when we all come out of hibernation in the spring.
- steveknox
- Posts: 131
- Joined: Mon Mar 11, 2019 9:36 am
- Location: Bormley, UK
- Has thanked: 16 times
- Been thanked: 15 times
- Contact:
Re: MG Drive Unit Reverse Engineering
Do you have some basic dimensions for the drive unit? I'm wondering how easily it would fit in the subframe of a RWD car.
Mazda RX-8
GS450h Running Gear
Outlander Charger
Renault Kangoo 36kwh pack
GS450h Running Gear
Outlander Charger
Renault Kangoo 36kwh pack
- johu
- Site Admin
- Posts: 6969
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 455 times
- Been thanked: 1771 times
- Contact:
Re: MG Drive Unit Reverse Engineering
https://github.com/jsphuebner/stm32-sine/tree/MG_DU
Binary here, need to log in to github to see it https://github.com/jsphuebner/stm32-sin ... 5956937954
Binary here, need to log in to github to see it https://github.com/jsphuebner/stm32-sin ... 5956937954
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
Re: MG Drive Unit Reverse Engineering
Thanks is the word you were stuck on.
I'm going to need a hacksaw
-
Beggernator
- Posts: 40
- Joined: Wed Dec 20, 2023 5:11 pm
- Has thanked: 12 times
- Been thanked: 25 times
Re: MG Drive Unit Reverse Engineering
I will say thanks. Have been looking at the rather attractive prices for the mg units and it's nice to see you have worked your magic again on getting things spinning.
-
CMARAMLeaf
- Posts: 1
- Joined: Wed Jul 16, 2025 2:53 pm
Re: MG Drive Unit Reverse Engineering
This is fantastic! Lots of implementation possibilities from my point of view at least. I’ve been trying to figure out if it’s possible to make the version used by ram work in my truck. Looks like they’re quite similar.
-
LRBen
- Posts: 584
- Joined: Thu Jul 04, 2019 6:35 pm
- Location: Somerset, UK
- Has thanked: 86 times
- Been thanked: 252 times
Re: MG Drive Unit Reverse Engineering
Scanned a drive unit today. From an MG ZS
Model is here:
https://grabcad.com/library/2017-2020-m ... ive-unit-1
Model is here:
https://grabcad.com/library/2017-2020-m ... ive-unit-1
- Jack Bauer
- Posts: 3831
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 75 times
- Been thanked: 696 times
- Contact:
Re: MG Drive Unit Reverse Engineering
So as I have never sold a single MG board and have given away the few boards I have in stock I decided to add all Kicad sources and production files to the GitHub repo here : https://github.com/damienmaguire/MG-EV- ... /tree/main
I'm going to need a hacksaw
- crasbe
- Posts: 310
- Joined: Mon Jul 08, 2019 5:18 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 163 times
Re: MG Drive Unit Reverse Engineering
I started a wiki page about the Drive Unit: https://openinverter.org/wiki/MG_MG5_Drive_Unit
It is very empty still, so if anyone wants to add some information, feel free
Yesterday and today I started to build a replacement for the funky parking lock actuator that is realized with a tree phase motor in the original application and a dedicated controller.
My plan is to replace that with a watertight NEMA 23 stepper (not the one in the picture, Beff Jezos didn't deliver it yet). Hopefully this Drive Unit will gain some attention once Damien starts the V70 conversion and people notice it. It's a really nice, compact unit but yet very powerful.
It is very empty still, so if anyone wants to add some information, feel free
Yesterday and today I started to build a replacement for the funky parking lock actuator that is realized with a tree phase motor in the original application and a dedicated controller.
My plan is to replace that with a watertight NEMA 23 stepper (not the one in the picture, Beff Jezos didn't deliver it yet). Hopefully this Drive Unit will gain some attention once Damien starts the V70 conversion and people notice it. It's a really nice, compact unit but yet very powerful.