Developing a Model Car as a Testbed for an Autonomous Driving System
Building a 1:10 scale model car as a physical testbed for autonomous driving algorithms — a university project at TU Dortmund.
One of the more practical projects during my time at TU Dortmund involved building a physical testbed for autonomous driving research. The goal was simple in concept: take a remote-controlled model car, add sensors and compute, and make it navigate a defined course without human input.
Why Model Scale?
Full-size autonomous vehicles are expensive and slow to iterate on. A 1:10 scale model car costs a fraction of the price, fits in a lab, and lets you fail fast — which you need to do a lot when developing control algorithms.
The scale does introduce distortions: aerodynamics don't scale linearly, and some sensor types (lidar, for example) aren't practical at this size. But for testing localization, lane following, and basic obstacle avoidance, a model car is a reasonable approximation.
The Hardware Setup
The base platform was an off-the-shelf RC car chassis with a brushless motor. On top of that, we mounted:
- A Raspberry Pi as the main compute unit
- A camera module for computer vision (lane detection)
- An ultrasonic sensor for short-range obstacle detection
- An IMU (inertial measurement unit) for orientation tracking
- A Wi-Fi module for remote monitoring and logging
The steering servo and motor controller were connected to the GPIO pins and controlled via a software layer that mapped algorithm outputs to hardware commands.
The Control Architecture
The system used a layered architecture:
- Perception — camera input processed for lane boundaries, obstacles, and road markings
- Localization — IMU data fused with visual odometry to estimate position
- Planning — path planning within the detected lane boundaries
- Control — PID controller translating planned path into steering and throttle commands
The camera pipeline ran at ~15fps on the Raspberry Pi, which was enough for the speeds involved (roughly 0.5–1m/s in testing).
What Went Wrong (A Lot)
Lighting was the biggest practical issue. The camera's lane detection relied on contrast between the lane markings and the floor surface. Under inconsistent lab lighting — or any shadow — detection would fail. We ended up building a controlled test track with consistent overhead lighting and high-contrast tape markings.
Latency was the second issue. The Raspberry Pi introduced more processing delay than expected, which made the PID controller oscillate at higher speeds. Lowering the gain stabilized it, but at the cost of responsiveness.
What It Taught
Building a physical system forces you to confront problems that simulation hides. Sensor noise, latency, mechanical tolerances, and environmental variability are all abstractions in software. When you're watching a small car veer off a track for the third time, the abstractions become very concrete.
The project reinforced something I've applied in product work since: simulation is necessary but not sufficient. You need physical feedback loops — the earlier and cheaper, the better.
Stay in the loop
New posts on AI transformation, agile organizations, and electromobility.
Frequently Asked Questions
Why use a model car for autonomous driving research?+
A 1:10 scale RC car costs a fraction of a full-size vehicle, fits in a lab, and allows rapid iteration on control algorithms. For testing localization, lane following, and obstacle avoidance, the model car is a reasonable approximation — while making failure cheap and turnaround fast.
What hardware is needed to build an autonomous model car?+
A basic autonomous model car needs a compute unit (Raspberry Pi or similar), a camera for lane detection, ultrasonic or lidar sensors for obstacle detection, an IMU for orientation, and a motor controller connected to the RC car's servo and drive motor. Total hardware cost is typically under €300.
What are the main challenges in autonomous model car development?+
Lighting consistency is the largest practical challenge — camera-based lane detection fails under shadows or inconsistent illumination. Processing latency is the second issue: even a Raspberry Pi introduces enough delay to cause PID controller oscillation at higher speeds. Both are solvable with controlled environments and tuned gains.