hero-image
HOME
hero-image
project-highlight-image

Validation Sensor Module - UBC Formula Electric

hero-image
Jaelyn

Project Timeline

Sep 2024 - Apr-2025

OVERVIEW

Developed a PCB-based sensor simulator with an STM32F4 microcontroller, using transfer functions to generate realistic IMU, wheel speed, and steering signals, enabling full off-vehicle testing of the car’s electrical and software systems.

HighlightS

  • Designed a 4-layer PCB sensor simulation module with an STM32F4, implementing galvanic isolation between LV and HV pathways.
  • Wrote transfer functions to generate realistic IMU, wheel speed, and steering signals through the car’s wiring harness, enabling full hardware-in-the-loop testing.
  • Led bring-up and troubleshooting, resolving power delivery, signal routing, and MCU startup issues from schematic to test point.

SKILLS

Embedded Systems (STM32F4)PCB Design (4-layer)Sensor Modeling & SimulationWiring & Signal IntegrationSystem TroubleshootingReal-Time Data Generation

SUPPORTING MATERIALS

Additional Details

Problem Statement

Screenshot 2025-09-28 212425.png

Setting: Formula SAE testing is limited by track access and logistics, running the car requires safe space, clearance and mechanical readiness. To accelerate hardware and software development, we asked: what if we could "run" and test the car without ever putting it on the ground?

Challenge

The car’s core systems (powertrain, controls, telemetry) depend on live sensor data to function. Without valid IMU, wheel speed, steering signals and more, the software cannot be exercised, making off-car debugging nearly impossible.

What did I do?

Designed a 4-layer PCB sensor simulator with an STM32F4 and wrote transfer functions to model IMU, wheel speed, and steering angle outputs, generating realistic signals so the car’s powertrain, controls, and telemetry software could be exercised entirely off-vehicle.


System Conception

For the system to work, three Validation Sensor Simulators are required. Two of them output signals to the car's Front and Rear sensor module, which collects the data, packets them and sends data to the car's vehicle controller where decisions (safe to run?) are made. The third Validation Sensor Simulator is connected to the Vehicle Controller where we can read and process CANBUS data packets are observe if the vehicle is running as expected via an internal program Chimera.
Pasted image

Hardware Layout Conception

The system uses a reusable smart microcontroller board paired with a simple routing board, allowing the same core design to be applied across different hardware setups.


Hardware Schematics 

Top Level Schematic

Pasted image

MCU SchematicPasted image

For entire schematic: Link

Final Product

Screenshot 2025-09-28 194104.png

WhatsApp Image 2025-09-28 at 9.18.40 PM.jpeg

lowinertia
Portfolio Builder for Engineers
Created by Aram Lee
© 2025 Low Inertia. All rights reserved.