Real-time driver monitoring on Zynq UltraScale+ MPSoC
A system that tracks driver attentiveness in real time. The MPSoC handles the vision and infrared processing.
- 2sensor types: vision and IR
- QEMUsystem model of the platform
Architecture · block diagram
- Main data path
- Logic
- Processor
- Memory
- Interconnect
- Off-chip
The story
A driver monitoring system must detect, in real time, when a driver stops paying attention. For that, it needs continuous camera and infrared processing at low latency, inside the power budget of a vehicle.
What I built
A vision camera and an infrared sensor feed sensor capture in the PL. A vision accelerator in the PL handles the per-frame processing. The PS runs Linux, scores attentiveness and raises the driver alert. The partitioning of the MPSoC fits the workload: fixed-rate pixel processing in hardware, and decisions in software.
The hardest problem
Software development had to start before the hardware was available. So I modeled the Zynq UltraScale+ system in QEMU, and the software team developed against the model. I also cross-compiled drivers and software for the ARM64 target from an x86-64 host, including ARM64 sound drivers. The toolchain links the ARM64 libraries for native performance on the target.
Result
The system assesses driver attentiveness in real time from vision and infrared sensors. Software development started on the QEMU model before the hardware arrived. The team had a working ARM64 cross-compilation setup for drivers and applications.
Where you'd find something like this
Driver monitoring systems in production vehicles
Operator alertness in trucks, buses and heavy machinery
Related services