Ethernet PHY Checksum Generator for Data Corruption Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Automotive Ethernet PHY devices face challenges in detecting and correcting data corruption, which can lead to safety hazards due to the complexity of automotive electrical systems and the risk of data bit flipping or corruption from sources like electrostatic discharge or radiation, necessitating additional safety measures for error detection and correction.

Innovation Solution

The implementation of a checksum generator circuit and checker within the Ethernet PHY device, coupled with a microcontroller, to calculate and compare checksums of critical registers, triggering corrective actions when discrepancies are detected, along with the use of register locks and error correction codes to protect against data corruption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If additional safety measures (checksum generator, checker, and trigger circuit) are implemented in the Automotive Ethernet PHY device, then data corruption detection capability is improved, but device complexity increases

Engineering Contradiction:
Improvedata corruption detection capabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The checksum generator circuit pre-calculates and stores the expected checksum value in a register during normal operation. This preliminary action enables rapid error detection without requiring complex real-time analysis, as the system simply compares current data against the pre-computed reference value.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The PHY device performs self-diagnosis by internally generating and checking checksums of its own register data. The checksum generator and checker circuits are integrated within the device, allowing it to autonomously detect data corruption without external assistance, thereby improving reliability while maintaining acceptable complexity levels.

Inventive Principle:
Principle #25Self-service

2Reliability

If continuous monitoring of register data is performed to detect data corruption, then reliability is improved, but energy consumption increases

Engineering Contradiction:
Improvedata corruption detectionVSAvoidenergy consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The trigger circuit initiates checksum generation and comparison operations at specific periodic intervals or upon detecting certain events, rather than continuously monitoring all register data. This periodic operation maintains reliable error detection capability while significantly reducing average power consumption compared to continuous monitoring approaches.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS11416332B2Protection for ethernet physical layer
Publication Date: 2022.08.16 TEXAS INSTRUMENTS INC
  • US11416332B2 patent drawing
  • US11416332B2 patent drawing
  • US11416332B2 patent drawing

AI summary

Disclosed embodiments include an Ethernet PHY device comprising a serial communication interface adapted to be coupled to a microcontroller, a register set having registers, and a checksum generator circuit coupled to the register set and configured to calculate a current checksum. The embodiment also includes a checksum register that is coupled to the checksum generator and is configured to store the current checksum. It further includes a checksum checker that is coupled to the checksum generator, the checksum register and the microcontroller, and is configured to compare a previous value of the checksum to the current checksum and, responsive to the previous value being different than the current checksum, send an error report to the microcontroller. The embodiment also includes a trigger circuit coupled to the checksum generator configured to send a checksum start signal to the checksum generator.