Automotive
Automotive systems company, commercial fleet vehicles
Updated

Automotive ADAS Embedded Platform for Forward Collision Warning

Discuss a Similar Engineering Problem
Automotive ADAS Embedded Platform for Forward Collision Warning
Overview

Project Overview

EmbedCrest worked with an automotive systems company to develop a forward collision warning platform for commercial fleet vehicles within the client's ISO 26262 ASIL B process. Our embedded and computer vision engineers used an NXP S32K3 automotive microcontroller for CAN FD communication and safety monitoring, running an AUTOSAR Classic stack with custom sensor fusion software. A 77GHz mmWave radar and forward camera provided complementary perception data, processed through a quantized YOLO object detection model optimized for the vehicle compute platform specified by the client. CAN FD integration connected the module to existing vehicle ECU networks, while a hardware security module enforced secure boot and encrypted messaging designed for UNECE WP.29 R155 cybersecurity requirements. The V model development process included HARA analysis, safety concept definition, unit and integration testing with Vector CANoe, and environmental testing across minus 40 to 85 degrees Celsius. Our software testing and automation team, working from our engineering office in Kalyan, implemented a test strategy including hardware in the loop simulation with dSPACE, software integration testing with Vector CANoe, and over 200 hours of on road validation across highway, urban and rural driving scenarios. The engineering records were structured to support the client's ISO 26262 ASIL B assessment.

The Challenge

Business Problem

The client needed to develop a forward collision warning module for integration into commercial fleet vehicles. The system targeted ASIL B under ISO 26262, required deterministic sub 20ms latency from sensor input to driver alert, and had to operate reliably from minus 40 to 85 degrees Celsius. The client sought an embedded engineering partner with automotive software and functional safety experience.

Constraints

Technical Constraints

  • NXP S32K3 automotive MCU with an AUTOSAR Classic stack for CAN FD and safety monitoring
  • Vision model running on the vehicle compute platform specified by the client
  • 77GHz mmWave radar and forward camera, time synchronized within 500 microseconds by design
  • Deterministic sub 20ms latency budget from sensor input to driver alert
  • CAN FD interface to the existing vehicle ECU network for alert distribution
  • ASIL B under ISO 26262 with freedom from interference between software partitions
  • Operation from minus 40 to 85 degrees Celsius in commercial fleet vehicles
  • Secure boot, hardware root of trust and encrypted CAN messaging for UNECE WP.29 R155
Architecture

Radar and camera fusion with CAN FD alerts

Radar and camera data are time stamped on the S32K3, a quantized YOLO detector runs on the vehicle compute platform specified by the client, and an extended Kalman filter fuses the results into alerts that are supervised by a safety co processor and distributed over CAN FD to the vehicle ECU network.

  1. Step 1

    Perception sensors

    77GHz mmWave radar and forward facing camera with hardware timestamp synchronization

  2. Step 2

    Object detection

    Quantized YOLO based network on the vehicle compute platform specified by the client

  3. Step 3

    Sensor fusion

    Extended Kalman filter tracking up to 64 objects with probabilistic radar camera association

  4. Step 4

    AUTOSAR runtime

    5ms perception cycle, 1ms safety cycle and MPU isolated safety partitions

  5. Step 5

    Safety monitoring

    Dedicated safety co processor with watchdogs and ASIL B diagnostic checks

  6. Step 6

    Vehicle integration

    CAN FD alerts to the vehicle ECU network with secure boot and encrypted messaging

Radar and camera fusion with CAN FD alerts
EmbedCrest Scope

What Our Team Delivered

  • Designed the multi sensor fusion architecture and the AUTOSAR compliant software on the NXP S32K3
  • Developed the extended Kalman filter tracker and probabilistic radar camera association logic
  • Optimized a YOLO based detector through pruning, INT8 quantization and layer fusion for the client specified vehicle compute platform
  • Configured AUTOSAR task cycles and memory protection for freedom from interference
  • Implemented secure boot with a hardware root of trust and encrypted CAN messaging
  • Supported HARA, safety concept definition, and unit and integration testing with Vector CANoe
  • Ran hardware in the loop simulation with dSPACE and on road validation across driving scenarios
Approach

Engineering Approach

EmbedCrest engineered a multi sensor fusion platform in which an NXP S32K3 automotive grade microcontroller running AUTOSAR compliant software handled CAN FD communication and safety monitoring. The system fused data from a 77GHz mmWave radar module and a forward facing camera, with object detection handled by a quantized YOLO based neural network optimized for the vehicle compute platform specified by the client. CAN FD communication interfaced with the vehicle ECU network for alert distribution, while a dedicated safety co processor monitored system health against the ASIL B diagnostic coverage requirements. Secure boot with a hardware root of trust and encrypted CAN messaging were designed to support the client's UNECE WP.29 R155 cybersecurity obligations. The sensor fusion algorithm employed an extended Kalman filter to track up to 64 simultaneous objects, correlating radar range Doppler measurements with camera bounding box detections through a probabilistic association matrix. Time synchronization between the radar and camera data streams was designed to stay within 500 microseconds using a hardware timestamp counter on the S32K3, for accurate spatial registration. The AUTOSAR runtime environment was configured with a 5 millisecond OS task cycle for the perception pipeline and a 1 millisecond cycle for the safety monitoring task, with memory protection units isolating safety critical partitions from application software to address ASIL B freedom from interference requirements. Our embedded developers collaborated closely with the client throughout the V model development cycle.

Execution

Phases, Testing and Handover

  1. Safety analysis and concept

    Following the client's V model, the work began with HARA analysis and safety concept definition for the ASIL B forward collision warning function and its latency budget.

  2. Perception and fusion development

    The quantized detector, extended Kalman filter tracker, radar camera time synchronization and AUTOSAR task configuration were developed, with safety partitions isolated by memory protection units.

  3. Integration and HIL testing

    Unit and integration tests ran in Vector CANoe, and hardware in the loop simulation with dSPACE exercised the perception and alert path before vehicle testing.

  4. Environmental and road validation

    The module underwent EMC and environmental testing across minus 40 to 85 degrees Celsius, plus over 200 hours of on road validation on highway, urban and rural routes.

  5. Assessment support

    Engineering records from each development phase were structured to support the client's own ISO 26262 ASIL B assessment of the module.

Acceptance criteria

  • Sensor input to driver alert within the deterministic sub 20ms latency budget
  • Unit and integration tests in Vector CANoe and dSPACE hardware in the loop simulation before vehicle testing
  • EMC testing per CISPR 25 and ISO 11452 and environmental testing from minus 40 to 85 degrees Celsius
  • Over 200 hours of on road validation across highway, urban and rural routes

Dependencies

  • The vehicle compute platform specified by the client for running the object detection model
  • The existing vehicle ECU network over CAN FD for alert distribution
  • The client's ISO 26262 V model process and its own ASIL B assessment
Results

Measured Results

Measured results are published only after the client approves the figures together with their baseline, test conditions and measurement method. Ask us about outcomes during a call.

Artifacts

Engineering Evidence

  • System block diagram (shown on this page)
Lessons

Lessons and Limitations

  • Camera confidence drops in rain, fog and low light, so the fusion logic weights radar more heavily in those conditions.
  • Requiring radar and camera agreement before an alert was the main safeguard against false alerts.
  • Freedom from interference required isolating safety critical partitions with memory protection units.
Tech Stack

Technologies Used

  • NXP S32K3
  • AUTOSAR
  • CAN FD
  • ISO 26262
  • 77GHz mmWave radar
  • YOLO (quantized)
  • Secure boot (HSM)
  • Vector CANoe
  • MISRA C

Have a similar engineering problem?

Share a short brief; an engineer replies within one business day. How engagements work

Discuss a Similar Engineering Problem
FAQs

Frequently Asked Questions

How does the system handle adverse weather conditions?

The 77GHz mmWave radar provides detection in rain, fog and low light conditions where cameras struggle. The sensor fusion algorithm dynamically weights radar data more heavily when camera confidence scores drop, to keep detection stable when camera visibility degrades.

What safety mechanisms prevent false alerts?

A multi stage validation pipeline cross references radar and camera detections, requiring agreement from both sensors before triggering an alert. The safety co processor continuously monitors sensor health and algorithm integrity, with watchdog timers and the diagnostic coverage required by ASIL B.

Can the platform be extended to support additional ADAS features?

The AUTOSAR software architecture is modular and can take additional software components for lane departure warning, blind spot detection and adaptive cruise control. The architecture is intended to accommodate these extensions without hardware changes.

How was the YOLO model optimized for real time inference in the vehicle?

The original YOLO v5s model was first pruned to remove redundant convolutional filters. Post training quantization converted all weights and activations from 32 bit floating point to 8 bit integers using a calibration dataset of 15,000 annotated driving frames. The quantized model was further optimized with layer fusion, combining batch normalization, convolution and activation layers into single operations. Inference runs on the vehicle compute platform specified by the client, designed to fit inside the sub 20ms latency budget.

What EMC and environmental testing was performed?

The module underwent electromagnetic compatibility testing per CISPR 25 Class 5 for radiated emissions and ISO 11452 Part 4 for bulk current injection immunity. Environmental testing included thermal cycling from minus 40 to 85 degrees Celsius per AEC Q100, vibration testing per ISO 16750 Part 3 covering random and sinusoidal profiles, and salt spray exposure testing for connector corrosion resistance.

Facing a Similar Engineering Problem?

Share a short brief; an engineer replies with questions, a suggested approach and next steps.

Discuss a Similar Engineering Problem