{"id":12348,"date":"2026-11-27T18:00:00","date_gmt":"2026-11-27T18:00:00","guid":{"rendered":"https:\/\/purplemeanie.co.uk\/?p=12348"},"modified":"2026-11-28T00:22:39","modified_gmt":"2026-11-28T00:22:39","slug":"project-seven-update-we-2026-11-27","status":"publish","type":"post","link":"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/27\/project-seven-update-we-2026-11-27\/","title":{"rendered":"Project sEVen Update w\/e 2026-11-27"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">There have been a few main themes this week:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Battery Management System, programming and cables<\/li>\n\n\n\n<li>Inverter Faults<\/li>\n\n\n\n<li>Inverter Programming Cable<\/li>\n\n\n\n<li>Inverter Programming<\/li>\n\n\n\n<li>Test Runner Script<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Battery Management System<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-attachment-id=\"12337\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-img-3985\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-scaled.jpeg\" data-orig-size=\"2560,1920\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.78&quot;,&quot;camera&quot;:&quot;iPhone 16 Pro&quot;,&quot;created_timestamp&quot;:&quot;1795813382&quot;,&quot;focal_length&quot;:&quot;6.7649998656528&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.01&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"The bench as it stands now\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The bench as it stands now. Somewhere in there is a car waiting to happen.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-2048x1536.jpeg\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-scaled.jpeg\" alt=\"Project sEVen test bench with the motor, orange contactor box, control electronics and test instruments in the garden office.\" class=\"wp-image-12337\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-scaled.jpeg 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-600x450.jpeg 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-2048x1536.jpeg 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-768x576.jpeg 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-1536x1152.jpeg 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">The bench as it stands now. Somewhere in there is a car waiting to happen.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A quick recap:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I\u2019d been running my test bench with a desktop power supply unit (PSU), which made it easy to set voltages and current limits, and to turn the supply off when I wasn\u2019t using it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But my PSU didn\u2019t have enough oomph! It was current limited.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I needed to bite the bullet and connect up at least one of the VW MEB ID3 battery modules that I bought last year.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each module delivers about 44V and stores 6.8kWh of energy. They can also deliver over 600A of current &#8211; that&#8217;s a lot!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But what does that mean&#8230; well&#8230; 6.8kWh of energy would recharge a phone hundreds of times! That\u2019s a lot!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The critical thing here though, is the current. I don&#8217;t need anywhere near 600A (10 would do) but that&#8217;s more than the 3A my PSU could deliver.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So with all that energy in a module I need to be really careful with them. I have the modules in my office sat on a trolley &#8211; which will allow me to yank them out of the office if they show even a sniff of over-temperature.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that being careful also requires you to know whether you do actually have a temperature problem in the first place. It would also be nice to know what level of charge the modules had, also known as their State of Charge (SoC) and their State of Health (You guessed it.. SoH).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which means I really needed to get the Battery Management System (BMS) that I bought with the batteries, up and running.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d tested the batteries and BMS when I first got them, but never connected them to my bench power train, and had not integrated the BMS into the Vehicle Control Unit (VCU) software.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that was where this week&#8217;s work really sat. I needed to get the software written that would talk to the BMS and check everything is ok.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My VCU code is complicated now, and that brought a diversion&#8230;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Flash and RAM Diversion<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I was running out of Flash and RAM.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These AI coding agents are really cool. But they can be a bit verbose. Both in terms of lines of code they write and in terms of the RAM they need to store the variables for all the calculations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">My VCU code is rather fully featured. It keeps track of all the data it sucks out of the power train (voltages, currents, RPM, temperatures etc etc), but it also tracks when that data got sucked (timestamps) and also whether it was valid (within range etc). The timestamps then get used to assess whether each data item is fresh\u2014i.e. it\u2019s not too old.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Then, once the data, freshness and validity are known, the VCU can decide what to do next. It does some of that using what are called \u201cpermissions\u201d\u2014the conditions that must be met before the car is allowed to drive or charge.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I mention this because one of the key things the BMS does is give permission. It gives permission (at least one of the permissions) for the power train to enter drive mode, but it also gives permission for the vehicle to be charged. You can imagine that if the batteries are too hot then permission to drive might be revoked and\/or the permission to charge might also be revoked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And all this complexity was clogging up the Flash (code storage) and RAM (variable storage).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d tried a few times to look at &#8220;code-bloat&#8221; &#8211; asking ChatGPT Codex to look at the code and suggest Flash and RAM savings. But until this week there were only limited savings it was making.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But things had got critical. I didn&#8217;t have enough Flash storage left to take the code I needed to run a proper BMS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But then ChatGPT Astra 6.2 came out. The frontline AI companies are releasing new &#8220;models&#8221; all the time, some are better than others at one or other task. And Astra 6.2 was getting a bad rap for being too pedantic and detail oriented.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But that was exactly what I needed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I spent a couple of days this week working with Astra 6.2 to streamline my code. After doing enough of this embedded software game you get a sense of whether too many lines of code are being spent on certain areas. And also how much CPU time is being spent working on a bit of what the VCU needs to do every second. Both of those seemed high in some areas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which turned into a few hours with Codex Astra 6.2, looking at message passing in the system, startup data handling and a bunch of other areas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eventually we saved 10% of the Flash being used and 10% of the RAM.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that was plenty to get the BMS code into the mix. Thank you Astra 6.2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Back to the BMS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Up until now, the VCU software was working with what Softies know as a Fake-Device&#8230; and in this case a fake battery management system. And this Fake-BMS was basically just giving permanent permission for whatever the rest of the vehicle wanted to do.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the final vehicle the permission would be based on real data, but I hadn&#8217;t got there yet for the Fake-BMS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But now was the time to sort that fake permission out. With a real battery in the system I wanted a real algorithm in place to properly revoke drive and charging permission if the batteries weren&#8217;t happy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I could absolutely have ignored all of this.. I&#8217;m taking a very small amount of energy from these batteries, with very little danger of overheating anything, or running out of charge.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But there&#8217;s a constant in embedded software&#8230; the more miles\/hours you can get your code working the more issues you may find, or the more confident you can become that your code is going to do what you want.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So now was a good time to implement the BMS permission software and over the next months it will show its colours and hopefully it&#8217;ll be good to go in the final vehicle.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With enough space in the Flash and RAM and a need to get it running, I set Codex off in creating the BMS module.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">About an afternoon&#8217;s back and forth with me and it was working.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">BMS Problems<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">With the BMS connected to the batteries and plugged into the powertrain, I was ready to try it. I did have to model and 3D print a new shelf for my Contactor Box so it didn\u2019t keep falling off the table.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First the CAD version\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1440\" data-attachment-id=\"12338\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-festool-contactor-box-shelf\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-scaled.png\" data-orig-size=\"2560,1440\" data-comments-opened=\"1\" data-image-title=\"The new Contactor Box shelf in CAD\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The new Contactor Box shelf in CAD. A small diversion from the software.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-2048x1152.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-scaled.png\" alt=\"CAD render of the contactor box shelf, showing its support brackets, mounting holes and large circular cutout.\" class=\"wp-image-12338\" style=\"width:654px;height:auto\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-scaled.png 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-600x338.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-2048x1152.png 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-768x432.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-festool-contactor-box-shelf-1536x864.png 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">The new Contactor Box shelf in CAD. A small diversion from the software.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And then the real thing. One printed shelf later, the Contactor Box has somewhere to sit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-attachment-id=\"12339\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-img-3984\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-scaled.jpeg\" data-orig-size=\"2560,1920\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.78&quot;,&quot;camera&quot;:&quot;iPhone 16 Pro&quot;,&quot;created_timestamp&quot;:&quot;1795813363&quot;,&quot;focal_length&quot;:&quot;6.7649998656528&quot;,&quot;iso&quot;:&quot;125&quot;,&quot;shutter_speed&quot;:&quot;0.02&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"And the printed shelf doing its job, with the Contactor Box in place\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;And the printed shelf doing its job, with the Contactor Box in place.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-2048x1536.jpeg\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-scaled.jpeg\" alt=\"Orange contactor box sitting on the grey 3D printed shelf at the front of the motor test rig.\" class=\"wp-image-12339\" style=\"width:659px;height:auto\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-scaled.jpeg 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-600x450.jpeg 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-2048x1536.jpeg 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-768x576.jpeg 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3984-1536x1152.jpeg 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">And the printed shelf doing its job, with the Contactor Box in place.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">But the BMS wasn&#8217;t playing ball.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Inside the VW battery modules I&#8217;m using, they have 12 x 3.7V cells, in series, and then two sets of those in parallel &#8211; known as 12S2P.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The BMS modules I&#8217;m using come in banks of 16 voltage connections, or &#8220;taps&#8221;. I use 12 of those taps to connect across the 12 cells in the battery modules and the BMS reports those voltages to the VCU. It also adds them all up and tells me what the total pack voltage is.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the BMS wasn&#8217;t adding things up properly. It reported 12 good cells, each of 3.7V, but it added them up to 36V, not 44V.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It would occasionally flick to 44V but mainly it was 36V.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And my BMS code I&#8217;d got written didn&#8217;t like the discrepancy &#8211; and rightly so&#8230; discrepancies are bad, bad, bad!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But I couldn&#8217;t figure out why there was this mismatch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I sent a few emails to the guys at SecondLifeEVBatteries, where I bought the modules and BMS from. And they were very helpful, but didn&#8217;t really fix the problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eventually, the penny dropped.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The BMS is managed by a PC app (Grrr&#8230; no Mac app). And in most of the app you change a configuration value that&#8217;s then sent straight away to the BMS&#8230; whenever you make a change.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the BMS does something different when setting up the voltage tap modules (EMUS calls them CCGM).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have to hit a commit button.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that commit button was hidden off the bottom of my laptop screen. Eventually I realised the settings I was trying to make weren&#8217;t being &#8220;sticky&#8221; across restarts. Which led me to see if there was a save or commit function\/button somewhere.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Bingo. There was a commit button scrolled off the bottom of my screen. But that took me three days, on and off, and a bunch of emails that led nowhere.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1852\" height=\"1562\" data-attachment-id=\"12340\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-scr-20261127-shrn\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn.png\" data-orig-size=\"1852,1562\" data-comments-opened=\"1\" data-image-title=\"There it is\u2026 Commit Configuration\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;There it is\u2026 Commit Configuration. Right down at the bottom.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn.png\" alt=\"EMUS BMS configuration screen showing a 12-cell string and the Commit Configuration button at the bottom of the window.\" class=\"wp-image-12340\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn.png 1852w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn-600x506.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn-768x648.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-shrn-1536x1295.png 1536w\" sizes=\"auto, (max-width: 1852px) 100vw, 1852px\" \/><\/a><figcaption class=\"wp-element-caption\">There it is\u2026 Commit Configuration. Right down at the bottom.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s amazing how often that sort of stuff gets overlooked. Grr!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But my BMS tap and pack voltages now line up&#8230; yay!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s what the voltage display looks like now. Much more like it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1580\" height=\"458\" data-attachment-id=\"12341\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-scr-20261127-sidv\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv.png\" data-orig-size=\"1580,458\" data-comments-opened=\"1\" data-image-title=\"Much better: cell voltages around 3\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Much better: cell voltages around 3.7V and a pack voltage of 44.38V. The numbers finally agree.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv.png\" alt=\"EMUS voltage display showing cells between 3.69 and 3.70V and a total battery voltage of 44.38V.\" class=\"wp-image-12341\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv.png 1580w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv-600x174.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv-768x223.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-scr-20261127-sidv-1536x445.png 1536w\" sizes=\"auto, (max-width: 1580px) 100vw, 1580px\" \/><\/a><figcaption class=\"wp-element-caption\">Much better: cell voltages around 3.7V and a pack voltage of 44.38V. The numbers finally agree.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">BMS working and BMS code working.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">BMS to Battery Cable<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Oh, and because I didn\u2019t know whether the voltage mismatch was just a cabling problem, I made up a new cable\u2014which takes about two hours.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That was another AI big help this week. When making up these cables, I had the pin connections of the battery connector. And the pin connections of the BMS connector. But they weren&#8217;t on the same page and shown in the same way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a commercial world we would always make a drawing \/ diagram of the cable to be made. And you&#8217;d use that diagram to make the cable &#8211; removing any ambiguity and increasing the chance of being able to make the cable up without any mistakes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I got ChatGPT to make me the diagram. Awesome! This diagram would have taken me a couple of hours and I wouldn&#8217;t have got half the useful comments added either. This was a big help making the cable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1810\" data-attachment-id=\"12342\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-scaled.png\" data-orig-size=\"2560,1810\" data-comments-opened=\"1\" data-image-title=\"The AI-generated cable drawing: both ends, pin numbers and wire colours on one sheet\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The AI-generated cable drawing: both ends, pin numbers and wire colours on one sheet.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-2048x1448.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-scaled.png\" alt=\"Wiring diagram for the VW ID.3 to EMUS CCGM023A 12S cell-tap harness, with pin mappings, wire colours and connector views.\" class=\"wp-image-12342\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-scaled.png 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-600x424.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-2048x1448.png 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-768x543.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-id3-to-emus-ccgm023a-12s-rev3-1536x1086.png 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">The AI-generated cable drawing: both ends, pin numbers and wire colours on one sheet.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">And I got the cable right first time!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-attachment-id=\"12343\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-img-3983\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-scaled.jpeg\" data-orig-size=\"2560,1920\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.78&quot;,&quot;camera&quot;:&quot;iPhone 16 Pro&quot;,&quot;created_timestamp&quot;:&quot;1795801294&quot;,&quot;focal_length&quot;:&quot;6.7649998656528&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.02&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"The new BMS-to-battery cable\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The new BMS-to-battery cable. Two hours of work, and right first time.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-2048x1536.jpeg\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-scaled.jpeg\" alt=\"Assembled BMS-to-battery cable on a purple cutting mat, with connectors, coloured wires and insulated splices held by helping hands.\" class=\"wp-image-12343\" style=\"width:677px;height:auto\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-scaled.jpeg 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-600x450.jpeg 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-2048x1536.jpeg 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-768x576.jpeg 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3983-1536x1152.jpeg 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">The new BMS-to-battery cable. Two hours of work, and right first time.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I need to make another 4 of these cables now!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Inverter Faults<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the last posts about the inverter, I think I was saying that I was about ready to make the motor turn.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the higher current capable battery modules now connected and the BMS permissions all set up, I could try and get the motor to turn.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But it didn&#8217;t.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I was trying very small, 1 or 2 Nm torque commands. But nothing was happening.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After a few days of dorking around, I finally realised that as soon as I asked the inverter to enter \u201cTorqueControl\u201d mode\u2014where my VCU maps throttle position to a torque request\u2014it went into a sort of safe shutdown mode (open circuit).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It was also throwing a System Fault.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I played around with this for a few days. I just couldn&#8217;t figure out what was causing the System Fault.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There were also a few Derates that were active.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Derates<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The idea of a derate is that you can still operate the motor through the inverter but it won&#8217;t deliver full power, speed etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I thought that perhaps some of the derates were combining to create a system fault&#8230;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And so I spent a day or so trying to remove the derates that I could affect &#8211; DC Link Voltage, DC Link Current, Temperature etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d been configuring up the inverter with some very conservative settings &#8211; walk before you run. But I&#8217;d not set the validity correctly on some settings and not set them high enough on others.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That cleared a few of the derates, but it didn&#8217;t fix the system fault.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Which made me think my High Side (HS) DC voltage from my Traction DC to DC converter (TDCDC) was too low.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s the block diagram of the bench with the battery module connected, to put the low and high sides in context.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-2026-11-bench-architecture-battery.png\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"1101\" data-attachment-id=\"12344\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-2026-11-bench-architecture-battery\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-2026-11-bench-architecture-battery.png\" data-orig-size=\"730,1101\" data-comments-opened=\"1\" data-image-title=\"The bench powertrain in block-diagram form: battery, Contactor Box, TDCDC, inverter and motor\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The bench powertrain in block-diagram form: battery, Contactor Box, TDCDC, inverter and motor. The TDCDC links the low and high voltage sides.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-2026-11-bench-architecture-battery.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-2026-11-bench-architecture-battery.png\" alt=\"Block diagram of the Project sEVen bench powertrain, connecting the VW battery module through the contactor box and Brusa TDCDC to the Helix inverter and motor.\" class=\"wp-image-12344\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-2026-11-bench-architecture-battery.png 730w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-2026-11-bench-architecture-battery-398x600.png 398w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><figcaption class=\"wp-element-caption\">The bench powertrain in block-diagram form (PlantUML): battery, Contactor Box, TDCDC, inverter and motor. The TDCDC links the low and high voltage sides.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Again, I was walking (crawling) not running. So I was only setting the HS voltage to 350V. That had cleared some problems in the past, so I&#8217;d left it at that level. Higher voltages on the bench would potentially increase risk \/ danger&#8230; So I didn&#8217;t want to rush to higher voltages too quickly.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">High Side DC Link Voltage<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">But it was time to bite this bullet&#8230; and over an afternoon I gradually increased the HS voltage in 50V steps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With me wearing full PPE, in case something went wrong &#8211; arcing, smoke from something, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The inverter says it works at anything from 450V upwards. But its DC Link Voltage Derate didn&#8217;t drop until I got to 600V. And even then, if the voltage dropped to 599V then the derate would come back. So I settled on 610V for the HS voltage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(it&#8217;s at times like this that I&#8217;m glad I spent all that time making up the high voltage Amphenol connectors properly &#8211; no arcing, no drama (yet!)).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But things are getting a bit spicy on the bench now. 610V is no slouch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Danger Will Robinson!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s most of the derates gone but I was still getting a system fault.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s a plot from a zero-torque test run at 610V. The left-hand plots show the whole cycle, from precharge to discharge; the right-hand plots zoom in on the TorqueControl part. Getting the voltage up was one thing. Getting the motor to turn was clearly another.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"1050\" data-attachment-id=\"12345\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-610v-tdcdc\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc.png\" data-orig-size=\"1440,1050\" data-comments-opened=\"1\" data-image-title=\"The 610V zero-torque run: the full cycle on the left, with the TorqueControl window enlarged on the right\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The 610V zero-torque run: the full cycle on the left, with the TorqueControl window enlarged on the right. Plenty of data\u2026 still no turning motor.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc.png\" alt=\"Voltage and current plots from a 610V zero-torque bench run, showing the full test cycle on the left and a closer view of the TorqueControl window on the right.\" class=\"wp-image-12345\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc.png 1440w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc-600x438.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-610v-tdcdc-768x560.png 768w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/a><figcaption class=\"wp-element-caption\">The 610V zero-torque run: the full cycle on the left, with the TorqueControl window enlarged on the right. Plenty of data\u2026 still no turning motor.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d sent support requests off to the inverter supplier but I&#8217;d got nothing back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I ran out of things to do.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But one thing I had left in my pocket, was a new firmware for the inverter.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">New Inverter Firmware<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d been holding off doing the update, because I didn&#8217;t want to change anything while I was still walking\/crawling. I knew I&#8217;d need the new firmware to fix a torque ripple problem, but that shouldn&#8217;t stop the motor turning.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But I got to thinking&#8230; many embedded systems will do a full internal reset when you flash their firmware.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that might clear my system fault.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So I had to make up the cable I needed to go from the Peak System CANbus adapter (PC only&#8230; Grrr) to the inverter. The various bits of documentation were confusing, which meant I didn&#8217;t get the cable pin connections right first time&#8230; or second&#8230; or third. But after breaking out the logic analyser to see what was going on, I figured it out and got the cable made.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988.jpeg\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1920\" data-attachment-id=\"12346\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-img-3988\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-scaled.jpeg\" data-orig-size=\"2560,1920\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;1.78&quot;,&quot;camera&quot;:&quot;iPhone 16 Pro&quot;,&quot;created_timestamp&quot;:&quot;1795814056&quot;,&quot;focal_length&quot;:&quot;6.7649998656528&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.0092592592592593&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"The inverter programming cable and PEAK CANbus adapter\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The inverter programming cable and PEAK CANbus adapter. A deceptively simple-looking source of head-scratching.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-2048x1536.jpeg\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-scaled.jpeg\" alt=\"Homemade inverter programming cable beside a PEAK USB-to-CAN adapter on a green cutting mat.\" class=\"wp-image-12346\" style=\"width:624px;height:auto\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-scaled.jpeg 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-600x450.jpeg 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-2048x1536.jpeg 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-768x576.jpeg 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3988-1536x1152.jpeg 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">The inverter programming cable (left), and PEAK CANbus adapter (right). A deceptively simple-looking source of head-scratching.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I usually have some 9-way d-type connectors lying around but I could only find the wrong gender, so I had to butcher a 9 way serial lead!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And once the cable was all hooked up, the PC flasher app worked without a problem and it flashed the new inverter code.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Derates Again<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">But it didn&#8217;t fix the system fault&#8230; and what was worse, I got a whole bunch of new derates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And that&#8217;s where I&#8217;m at &#8211; waiting for a response to my support request. \ud83d\ude41<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Updated Test Runner<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While I was working through all the BMS and Inverter changes this week, I was getting frustrated with the number of times I was having to run a test cycle and how long it was taking.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d created a Python &#8220;test runner&#8221; script last week &#8211; taking the responsibility of running the test steps away from the AI: capturing CANbus packets off three CANbusses, grabbing voltages and waveforms from my scope and pulling captures from the logic analyser. All that was now being orchestrated by a Python script running on my Mac.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But it wasn&#8217;t telling me what I wanted to know about what was happening, electrically and in software, on the bench.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So it got an overhaul. Lots more data about the bench setup, while it ran me through turning on the ignition, pressing the brake pedal, selecting \u201cforward drive\u201d and pressing the throttle when needed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s what the final screen now looks like. More will get added, but it does tell me what I need to see more of now.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2383\" height=\"2143\" data-attachment-id=\"12347\" data-permalink=\"https:\/\/purplemeanie.co.uk\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105.png\" data-orig-size=\"2383,2143\" data-comments-opened=\"1\" data-image-title=\"The updated test runner after shutdown: live state on the left, test progress on the right\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;The updated test runner after shutdown: live state on the left, test progress on the right. Much less guessing about what the bench is doing.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105-2048x1842.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105.png\" alt=\"Terminal-based bench test runner with live vehicle and powertrain state on the left and test progress on the right, shown after shutdown.\" class=\"wp-image-12347\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105.png 2383w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105-600x540.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105-2048x1842.png 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105-768x691.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-area-2026-11-25-15-11-36-frame-4105-1536x1381.png 1536w\" sizes=\"auto, (max-width: 2383px) 100vw, 2383px\" \/><\/a><figcaption class=\"wp-element-caption\">The updated test runner after shutdown: live state on the left, test progress on the right. Much less guessing about what the bench is doing.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">That&#8217;s the Week<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">So, that&#8217;s my week.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Battery Connected<\/li>\n\n\n\n<li>BMS physically connected<\/li>\n\n\n\n<li>New BMS to Battery Cable made<\/li>\n\n\n\n<li>BMS VCU software module written<\/li>\n\n\n\n<li>Inverter programming cable made up<\/li>\n\n\n\n<li>Inverter flashed \/ programmed<\/li>\n\n\n\n<li>Bench now running at 610V<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">And nobody got electrocuted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">TTFN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A Project sEVen bench update: getting the real battery and BMS working, chasing inverter faults at 610V, making cables and improving the Python test runner.<\/p>\n","protected":false},"author":1,"featured_media":12337,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[51,38],"tags":[72,58,66,75,57,70,73,64,62,84],"class_list":["post-12348","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-caterham-blog","category-electric-vehicles","tag-battery","tag-can-bus","tag-caterham","tag-dc-dc-converter","tag-electric-vehicles","tag-high-voltage","tag-motor-controller","tag-project-seven","tag-python","tag-wiring"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8yl38-3da","jetpack-related-posts":[{"id":11251,"url":"https:\/\/purplemeanie.co.uk\/index.php\/2026\/02\/22\/project-seven-update-feb26-short\/","url_meta":{"origin":12348,"position":0},"title":"Project sEVen Update Feb26 Short","author":"John Martin","date":"February 22, 2026","format":false,"excerpt":"Brusa BDC668 traction DC2DC converter working on the bench. A quick update on progress with my Project sEVen test bench. As I build up the system to eventually get my motor spinning on the bench, today I get as far as running up the Brusa BDC668 to do a DC\u2026","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-22-at-12.52.51.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-22-at-12.52.51.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-22-at-12.52.51.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-22-at-12.52.51.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-22-at-12.52.51.jpeg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/02\/Screenshot-2026-02-22-at-12.52.51.jpeg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":12290,"url":"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/08\/2026-11-project-seven-bench-update\/","url_meta":{"origin":12348,"position":1},"title":"2026-11 Bench Update","author":"John Martin","date":"November 8, 2026","format":false,"excerpt":"A November 2026 Project sEVen bench update: connecting the inverter and motor, using AI and Python to test the drivetrain, and preparing for battery-powered testing.","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"Project sEVen bench test diagram showing the power path, inverter enabled at zero torque, stationary motor and monitoring equipment.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/2026-11-project-seven-bench-setup-scaled.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/2026-11-project-seven-bench-setup-scaled.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/2026-11-project-seven-bench-setup-scaled.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/2026-11-project-seven-bench-setup-scaled.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/2026-11-project-seven-bench-setup-scaled.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/2026-11-project-seven-bench-setup-scaled.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":12318,"url":"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/20\/2026-11-20-project-seven-update\/","url_meta":{"origin":12348,"position":2},"title":"2026-11-20 Project sEVen Update","author":"John Martin","date":"November 20, 2026","format":false,"excerpt":"A Project sEVen progress update: gearbox manufacturing quotes and animation, powertrain earthing investigations, and making room in the VCU software for battery management.","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"Exploded 3D rendering of the Project sEVen planetary gearbox, showing the separated casing, gears, carrier and output shaft against a blue background.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-20-update-exploded-project-seven-gearbox-scaled.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-20-update-exploded-project-seven-gearbox-scaled.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-20-update-exploded-project-seven-gearbox-scaled.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-20-update-exploded-project-seven-gearbox-scaled.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-20-update-exploded-project-seven-gearbox-scaled.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-20-update-exploded-project-seven-gearbox-scaled.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":11558,"url":"https:\/\/purplemeanie.co.uk\/index.php\/2026\/07\/23\/project-seven-pt-10-project-update-and-software-re-write-with-ai\/","url_meta":{"origin":12348,"position":3},"title":"Project sEVen pt 10: Project Update and Software re-write with AI","author":"John Martin","date":"July 23, 2026","format":false,"excerpt":"A detailed July update on the Purple Meanie Caterham Seven EV conversion, including the rebuilt VCU software, ESP32 web interface, updated bench hardware and live precharge demonstration.","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"Project sEVen part 10 VCU rewrite thumbnail","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/07\/Project-sEVen-pt10-002-scaled.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/07\/Project-sEVen-pt10-002-scaled.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/07\/Project-sEVen-pt10-002-scaled.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/07\/Project-sEVen-pt10-002-scaled.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/07\/Project-sEVen-pt10-002-scaled.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/07\/Project-sEVen-pt10-002-scaled.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":12312,"url":"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/12\/2026-11-project-seven-amphenol-powerlok-connectors\/","url_meta":{"origin":12348,"position":4},"title":"Amphenol Powerlok Connectors","author":"John Martin","date":"November 12, 2026","format":false,"excerpt":"Assembling the Project sEVen high-voltage connectors, tracking down the right instructions and designing a 3D-printed guide to crimp shield ferrules in a bench vice.","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"Three orange phase cables connecting the bench-mounted motor to a three-way Powerlok connector on the inverter, beside protective gloves.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-amphenol-powerlok-connectors-img-3592-scaled.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-amphenol-powerlok-connectors-img-3592-scaled.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-amphenol-powerlok-connectors-img-3592-scaled.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-amphenol-powerlok-connectors-img-3592-scaled.jpeg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-amphenol-powerlok-connectors-img-3592-scaled.jpeg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-amphenol-powerlok-connectors-img-3592-scaled.jpeg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":8552,"url":"https:\/\/purplemeanie.co.uk\/index.php\/2024\/03\/03\/electric-vehicle-components-youtube-ptevis-2-2\/","url_meta":{"origin":12348,"position":5},"title":"ELECTRIC VEHICLE COMPONENTS &#8211; YOUTUBE PTEVIS 2.2","author":"John Martin","date":"March 3, 2024","format":false,"excerpt":"Second Project sEVen electric-vehicle explainer covering the major EV conversion components, including battery, motor controller, low-voltage systems, charging, and supporting electronics.","rel":"","context":"In &quot;Caterham Blog&quot;","block_context":{"text":"Caterham Blog","link":"https:\/\/purplemeanie.co.uk\/index.php\/category\/caterham-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2024\/03\/PTEVIS-2-2.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2024\/03\/PTEVIS-2-2.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2024\/03\/PTEVIS-2-2.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2024\/03\/PTEVIS-2-2.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2024\/03\/PTEVIS-2-2.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/11\/project-seven-2026-11-27-img-3985-scaled.jpeg","_links":{"self":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/12348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=12348"}],"version-history":[{"count":8,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/12348\/revisions"}],"predecessor-version":[{"id":12362,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/12348\/revisions\/12362"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media\/12337"}],"wp:attachment":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=12348"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=12348"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=12348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}