Skip to content

Build

Data and testing

What the car logs, how fast it logs it, and how we plan to test it.

On this page

Most teams race blind. We log everything, like a full size race team does.

The brain is an STM32H743 running our own Rust firmware (Embassy). It reads every sensor on a tight schedule and writes it to an SD card. An ESP32-S3 rides along and streams a 100 Hz set of the data live over ESP-NOW, so we can watch the car from the pit lane while it runs. The full 1,000 Hz log stays on the SD card. That's about 44 kB a second, or 13 MB per race.

#What it logs

DataSensorRate
Motion: acceleration and rotationLSM6DSV16X, plus an ADXL375 for hard landings1 kHz
Battery current and voltageINA2281 kHz
Suspension and steering anglesFour AS5600 magnetic sensors500 Hz
Throttle, steering and motor RPMReceiver inputs and the motor500 Hz
Wheel speedA DRV5013 hall sensor at each wheel, reading 6 magnetsEvery wheel
TemperaturesThree NTC probes: motor, ESC, battery10 Hz

The ESC keeps its own log too, which we use as a cross check.

Why those rates? Hard landings and throttle blips happen in a few milliseconds, so motion and power get 1,000 samples a second. Suspension moves slower, so 500 is plenty. Heat builds over minutes, so 10 does the job.

For the first track day the must-haves are wheel speed, battery current and motor temperature. Those are what we need to check the performance model.

#What we do with it

After every run the logs go through our Rust tools and straight into the sim. Compare wheel speeds and you see wheelspin and lockups. Multiply battery current by voltage and you know where every bit of energy went. Line up the angle sensors with the accelerometers and you can see what the suspension is doing on each landing.

That's how we tell a real gain from a lucky lap.

#Test plan

  1. Coupon tests: 3 point bend tests on PPA-CF and PAHT-CF, and drop tests on the arms.
  2. Bench: the motor, ESC, fans and logger together. Check sample timing and SD writes under load, and run a spin-down test of the drivetrain. The target is 88% drivetrain efficiency or better.
  3. Fit check: a full chassis fabricated in PETG with every bought part.
  4. First build in PPA-CF: weigh every part and set 56.4 oz (3.5 lb) with 47% on the front.
  5. Track days 1 and 2: the validation tests below. Then update the model and publish the next version.
  6. Tune gearing, diff oils, shocks and ride height, and log every change.
  7. First club race.

#Validation tests

Each test pins down specific numbers in the performance model.

TestWhat we doWhat it fixes
V0Measure motor resistance and no-load current on the benchMotor resistance and Kv
V1Weigh and swing every assemblyMass, CG and inertia
V2Drivetrain spin-down with the wheels offDrivetrain efficiency and diff locking
V3Five full throttle launches per surfaceTire grip under power
V4Steady circles at 5 ft and 10 ft radiusCornering grip and understeer
V560 s at full power, a cool down, then a full 5 minute runMotor heat and the energy factor
V6Drop tests from 1, 2 and 3.3 ftDamping and landing loads
V7Coast-downs both ways, and ride height against speedDrag, rolling resistance and downforce
V8Step steer and sine with dwell at 22 to 27 mphYaw response
V9A full race on track, lap timedThe whole model

V0 to V2 run on the bench before track day 1. V3, V4, V5 and V7 run on track day 1, V6 and V8 on day 2, and V9 at the first race. The first numbers to pin down are surface grip, then tire load sensitivity, then motor resistance, because they move lap time the most.

#In Mission

Log each run in Mission with the date, surface, distance, energy used, lap time and notes. Mission works out energy per mile for each run:

Wh/mi = energy_wh / (distance_ft / 5280)

#Before track day

Check that every sensor in the table logs, that the SD card is empty and that the live link connects from the pit lane. Then record the setup in Mission (Using Mission) so each run ties to a car configuration.