{"id":12389,"date":"2026-12-06T19:32:31","date_gmt":"2026-12-06T19:32:31","guid":{"rendered":"https:\/\/purplemeanie.co.uk\/?page_id=12389"},"modified":"2026-12-06T19:32:31","modified_gmt":"2026-12-06T19:32:31","slug":"vehicle-control-unit","status":"publish","type":"page","link":"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/vehicle-control-unit\/","title":{"rendered":"Vehicle Control Unit \u2014 VCU"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee.png\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1440\" data-attachment-id=\"12417\" data-permalink=\"https:\/\/purplemeanie.co.uk\/seven-reference-c66a728e6c4d1375d0ee\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-scaled.png\" data-orig-size=\"2560,1440\" data-comments-opened=\"1\" data-image-title=\"Vehicle control unit \u2014 Fusion CAD view\" data-image-description=\"&lt;p&gt;The VCU enclosure model, showing the external connectors and mounting points. The enclosure view does not identify the processor or board revision inside. Supplied from the Fusion presentation assets folder; original file: VCU.png&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;The VCU enclosure model, showing the external connectors and mounting points. The enclosure view does not identify the processor or board revision inside.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-2048x1152.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-scaled.png\" alt=\"CAD view of a black rectangular controller enclosure with two multipin connectors along one edge and mounting holes at its corners.\" class=\"wp-image-12417\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-scaled.png 2560w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-600x338.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-2048x1152.png 2048w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-768x432.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-c66a728e6c4d1375d0ee-1536x864.png 1536w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/a><figcaption class=\"wp-element-caption\">The VCU enclosure model, showing the external connectors and mounting points. The enclosure view does not identify the processor or board revision inside.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The Vehicle Control Unit (VCU) coordinates the electrical side of Project sEVen. It reads what the driver wants, listens to the other devices and decides what the system should do next. It is the place where \u201cI pressed the throttle\u201d has to become something rather more carefully considered.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-it-does\">What it does<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The VCU <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#firmware\">firmware<\/a> keeps track of voltages, currents, <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/electric-motor\/\">motor<\/a> speed, temperatures and device states. It also records when information arrived and whether it was valid. <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#freshness\">Freshness<\/a> matters: a perfectly sensible value from several seconds ago may be the wrong basis for the next decision.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It combines those checks into <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#permissions\">permissions<\/a> and sequences. Before requesting <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#torque\">torque<\/a> from the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/motor-inverter\/\">inverter<\/a>, the rest of the powertrain needs to be in the appropriate state. Charging has its own conditions and sequence.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-it-talks-to\">What it talks to<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/can-bus\/\">CAN bus<\/a> networks connect the VCU to devices including the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/traction-dc-dc-converter\/\">TDCDC<\/a>, <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/motor-inverter\/\">inverter<\/a>, <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/battery-management-system\/\">BMS<\/a>, <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/power-delivery-module\/\">power delivery module<\/a> and <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/voltage-current-shunt\/\">voltage\/current shunt<\/a>. <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/charging-controller\/\">FOCCCI<\/a> is part of the charging integration described in December.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The VCU is a coordinator, not the component that physically converts the battery\u2019s power. That job belongs to the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/traction-dc-dc-converter\/\">TDCDC<\/a> and <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/motor-inverter\/\">inverter<\/a>; the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/electric-motor\/\">motor<\/a> turns electrical power into motion.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"local-connections\">Local connections<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Local connections only. Solid arrows show power or shaft connections; dotted arrows show measurements, signalling or communications. Arrowheads indicate the relationship shown, not a completed test.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1792\" height=\"690\" data-attachment-id=\"12418\" data-permalink=\"https:\/\/purplemeanie.co.uk\/seven-reference-9a72e1dbdab90db0e4f5\/\" data-orig-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5.png\" data-orig-size=\"1792,690\" data-comments-opened=\"1\" data-image-title=\"Vehicle Control Unit \u2014 VCU \u2014 local connections\" data-image-description=\"&lt;p&gt;Rendered from the Mermaid diagram maintained in the local reference page.&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Local connections. Solid arrows show power or shaft connections; dotted arrows show measurements, signalling or communications.&lt;\/p&gt;\n\" data-large-file=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5.png\" src=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5.png\" alt=\"Local connection diagram for Vehicle Control Unit \u2014 VCU. The neighbouring components and interfaces are described in the surrounding text and linked below.\" class=\"wp-image-12418\" srcset=\"https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5.png 1792w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5-600x231.png 600w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5-768x296.png 768w, https:\/\/purplemeanie.co.uk\/wp-content\/uploads\/2026\/12\/seven-reference-9a72e1dbdab90db0e4f5-1536x591.png 1536w\" sizes=\"auto, (max-width: 1792px) 100vw, 1792px\" \/><\/a><figcaption class=\"wp-element-caption\">Local connections. Solid arrows show power or shaft connections; dotted arrows show measurements, signalling or communications.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/traction-dc-dc-converter\/\">TDCDC<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/motor-inverter\/\">Inverter<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/battery-management-system\/\">BMS<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/power-delivery-module\/\">PDM<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/voltage-current-shunt\/\">Shunt<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/charging-controller\/\">FOCCCI &#8211; planned integration<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"software-and-the-bench\">Software and the bench<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#firmware\">firmware<\/a> runs on STM32 hardware, as shown in the charging sequence diagram. It has finite <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#flash-and-ram\">Flash<\/a> and <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/#flash-and-ram\">RAM<\/a>, which became rather obvious when I tried to fit the real <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/battery-management-system\/\">BMS<\/a> integration alongside all the diagnostics.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/test-runner\/\">test runner<\/a> exercises the bench while the <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/software-ai-workflow\/\">software and AI workflow<\/a> supports development and review. In the December update, the main code elements had been created except for charging. That does not mean every path had finished testing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"related-updates\">Related updates<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/27\/project-seven-update-we-2026-11-27\/\">2026 11 27 Update<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/2026\/12\/05\/2026-12-03-project-update-batteries-charging-and-documentation\/\">2026 12 03 Update<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/2026\/11\/11\/2026-11-project-seven-ai-generated-electronics\/\">Ai Generated Electronics<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/\">Component directory<\/a> \u00b7 <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/glossary\/\">Glossary<\/a> \u00b7 <a href=\"https:\/\/purplemeanie.co.uk\/index.php\/project-seven-reference\/powertrain-overview\/\">Powertrain overview<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Vehicle Control Unit (VCU) coordinates the electrical side of Project sEVen. It reads what the driver wants, listens to the other devices and decides what the system should do next. It is the place where \u201cI pressed the throttle\u201d has to become something rather more carefully considered. What it does The VCU firmware keeps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12417,"parent":12377,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"project-seven-reference","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"footnotes":""},"class_list":["post-12389","page","type-page","status-publish","has-post-thumbnail","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P8yl38-3dP","jetpack-related-posts":[{"id":8101,"url":"https:\/\/purplemeanie.co.uk\/index.php\/build-images-october-2017\/","url_meta":{"origin":12389,"position":0},"title":"Build Images &#8211; October 2017","author":"John Martin","date":"September 30, 2022","format":false,"excerpt":"Bottom diff mountings needed 2 (LHS) and 3 (RHS) washers Digital callipers used to work out how many spacing washers are needed. Measuring diff carrier to box section the old way Laser measuring distance from chassis box section to diff carrier Blanking\/skid plate in place. Material trimmed from skid plate.\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Bottom differential mountings with spacing washers fitted on both sides.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/09\/IMG_2604-150x150.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":8080,"url":"https:\/\/purplemeanie.co.uk\/index.php\/projects\/","url_meta":{"origin":12389,"position":1},"title":"Projects","author":"John Martin","date":"September 30, 2022","format":false,"excerpt":"A technical map of Purplemeanie engineering projects, including the Caterham build, Project sEVen, ECU diagnostics, 3D scanning, engine cooling, and tooling notes.","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Caterham 420R build archive representative photo","src":"\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828-600x400.jpg","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828-600x400.jpg 1x, \/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828-600x400.jpg 1.5x"},"classes":[]},{"id":6609,"url":"https:\/\/purplemeanie.co.uk\/index.php\/build-blog-index\/","url_meta":{"origin":12389,"position":2},"title":"Build Blog","author":"John Martin","date":"August 10, 2020","format":false,"excerpt":"Before we get into the index, some of you might want to watch the build time lapse video where I talk through the whole build: Build A Cateraham 420R in 30 Minutes If you're looking for a quick way of indexing the build blog... here it is: Pre-BuildIntroductionFirst Test DrivesPre-Build\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Engine hoist holding the engine beside the Caterham chassis during the build.","src":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/purplemeanie.co.uk\/wp-content\/uploads\/2017\/08\/IMG_1984-e1506632751828.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"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=12389"}],"version-history":[{"count":2,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12389\/revisions"}],"predecessor-version":[{"id":12477,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12389\/revisions\/12477"}],"up":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/12377"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media\/12417"}],"wp:attachment":[{"href":"https:\/\/purplemeanie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=12389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}