Edge AI · Embedded Linux

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
Driver monitoring on Zynq UltraScale+ MPSoC: camera and IR sensor capture, PL vision acceleration, PS scoringZYNQ ULTRASCALE+ MPSOCvision cameraIR sensorsensor capturePLvision acceleratorPLattention scoringPS · Linuxdriver alert
FIG. 01

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 it's used

Where you'd find something like this

01

Driver monitoring systems in production vehicles

02

Operator alertness in trucks, buses and heavy machinery

Available · Asia/Dhaka (UTC+6)

Have hardware that needs to work?

Tell me what you're building. I'll come back with questions, a rough scope and an estimate, usually within 2 days.

PAD 01 · I/O