Research · Embedded power electronics

Shell Eco-marathon motor controller

A purpose-built, telemetry-informed motor controller for a battery-electric Shell Eco-marathon vehicle, with a four-layer control contract and a CSIA consistency monitor running in shadow mode.

Host-verified, not yet hardware-frozenSource on GitHub
The team's car, number 320, on the Shell Eco-marathon stage

This project designs a motor controller for a Shell Eco-marathon battery-electric vehicle from the ground up: power-stage planning, the controller firmware core, a CAN contract, a supervisory energy strategy, and a CSIA vehicle consistency monitor running in shadow mode.

Architecture

  • Control contract in four layers: hardware shutdown, inhibits, hard ceilings, and supervisory envelopes, with comfort slew on top. Each layer is verified on the host.
  • Firmware core in portable C11. It is transport-neutral; CAN is one binding. Generated C and Python codecs share golden test vectors.
  • Hardware architecture draft. A block diagram, a 12-sheet KiCad schematic (connectivity-checked), timing and protection analysis, and a priced bill of materials.
  • Energy strategy. A longitudinal vehicle model, power maps and a dynamic-programming optimiser for the race strategy.

Status, stated plainly

Control contract Corrected and host-verified
Host implementation C11 core and codecs tested against a synthetic plant
Vehicle interface Not yet confirmed; motor, battery and drivetrain parameters still open
Hardware Draft schematic only; not fabrication-ready, nothing energized
Vehicle validation None yet; every result comes from synthetic models or host tests

Passing host tests does not mean the controller is complete or safe to install, and the repository says so up front. The next gate is the vehicle team's motor and battery data, which unblocks component selection.

Learn avionics

Go deeper at SWORT Learn.

A free, seven-stage practice program in aerospace sensors and flight data. Follow one number from the instrument that made it to the surface it moves, investigate a flight nobody has explained to you, then defend what you concluded. It runs in your browser: no account, nothing sent.

Open swort.net/learn