Vehicle ECU Fault Injection Using On-Chip Debugging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional fault injection tests for vehicle control software are inefficient due to manual intervention, high costs, and inaccuracies caused by communication delays between debuggers and electronic control units (ECUs), which hinder the ability to accurately inject faults and generate automated test reports.

Innovation Solution

A fault injection test method and apparatus that utilizes an on-chip debugging system (OCDS) within the vehicle controller's CPU to set and execute fault injection conditions, including fault modes like task stop, task miss, and variable manipulation, allowing for precise fault injection without interrupting the ECU's execution flow and independent of debugger communication delays.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual fault injection testing is performed using a debugger, then the testing process can be controlled and monitored, but the testing efficiency is low and the cost is high due to manual intervention

Engineering Contradiction:
Improvetesting efficiencyVSAvoidmanual intervention requirement
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system enables automated fault injection testing where the test apparatus automatically injects faults into the ECU, monitors the responses, and generates test reports without requiring manual debugger intervention. The ECU's own error recovery mechanisms are tested through automated fault injection, making the system self-testing capable.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

A fault injection test apparatus is introduced as an intermediary between the tester and the ECU. This apparatus automatically manages fault injection, monitoring, and report generation, eliminating the need for manual debugger operations while maintaining comprehensive test control.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If fault injection is performed through a debugger with communication between host and ECU, then fault injection can be attempted, but inaccuracies occur due to communication delays affecting the timing of fault injection

Engineering Contradiction:
Improvefault injection accuracyVSAvoidcommunication delay
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The fault injection functionality is extracted from the external debugger-host communication system and embedded directly into the ECU through a trap function. This eliminates the communication delay between host and ECU by performing fault injection locally within the ECU's own processing architecture.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The trap function is pre-configured within the ECU with fault injection conditions and parameters. When specific conditions are met during ECU operation, the pre-configured trap function automatically executes the fault injection without requiring real-time communication with the host system, ensuring precise timing.

Inventive Principle:
Principle #10Preliminary action

3Loss of time

If automated fault injection testing is implemented, then testing efficiency improves and time is reduced, but the system complexity increases due to the need for automated monitoring and report generation

Engineering Contradiction:
Improvetesting timeVSAvoidautomation system complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The fault injection test apparatus combines multiple functions into a single integrated system: fault injection capability, real-time monitoring of ECU responses, error detection, and automated test report generation. This consolidation reduces overall system complexity compared to having separate systems for each function.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The fault injection test apparatus is designed as a multi-functional device that can perform fault injection, monitor ECU responses, detect errors, and generate reports across different fault scenarios. This universal design reduces the need for multiple specialized devices, simplifying the overall testing infrastructure.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20240231347A1Fault injection test method and apparatus, and fault injection method
Publication Date: 2024.07.11 HYUNDAI MOTOR CO LTD
  • US20240231347A1 patent drawing
  • US20240231347A1 patent drawing
  • US20240231347A1 patent drawing

AI summary

A fault injection test method of a fault injection test apparatus connected to a vehicle through a debugger is provided. The fault injection test method includes receiving fault injection conditions from a user; and setting the fault injection conditions using an on-chip debugging system (OCDS) module built into a central processing unit (CPU) of the vehicle controller.