MG Drive Unit Reverse Engineering

Post Reply
User avatar
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

Post by Jack Bauer »

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 going to need a hacksaw
User avatar
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

Post by Jack Bauer »

Guess this was a giant waste of time then...
I'm going to need a hacksaw
User avatar
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

Post by Uppertown »

Jack Bauer wrote: Wed Jan 22, 2025 3:07 pm Guess this was a giant waste of time then...
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.
Tomas
Posts: 48
Joined: Mon Nov 14, 2022 2:22 pm
Location: Piteå Sweden
Has thanked: 34 times
Been thanked: 4 times

Re: MG Drive Unit Reverse Engineering

Post by Tomas »

What kind of power does this driveunit make?
User avatar
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

Post by steveknox »

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
User avatar
vitecd
Posts: 29
Joined: Thu Jul 18, 2024 1:42 am
Location: NZ
Has thanked: 15 times

Re: MG Drive Unit Reverse Engineering

Post by vitecd »

Can I get the firmware, please?
User avatar
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

Post by johu »

Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
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

Post by Jack Bauer »

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

Post by Beggernator »

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

Post by CMARAMLeaf »

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

Post by LRBen »

Scanned a drive unit today. From an MG ZS

Model is here:
https://grabcad.com/library/2017-2020-m ... ive-unit-1
User avatar
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

Post by Jack Bauer »

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
User avatar
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

Post by crasbe »

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).
Bild_2025-11-16_212857344.png
Bild_2025-11-16_212844343.png
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. :)
Post Reply