Peripheral Device Byte Order Detection for Control System Data Exchange

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems require users to know the byte order of computing or control devices to ensure proper data exchange, which is impractical when the endianness is unknown, especially in scenarios like factory settings where devices from different manufacturers interact, leading to potential data misinterpretation and the need for manual or software-based configuration.

Innovation Solution

A peripheral device is equipped with the ability to receive a command with a byte sequence that can be read in any byte order and includes a known data value, allowing it to determine the control device's byte order and switch if necessary to match, eliminating the need for user knowledge of endianness and specialized software/hardware for byte-swapping.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual or software-based byte order configuration is used, then data exchange reliability is improved, but device complexity and ease of operation deteriorate due to user knowledge requirements

Engineering Contradiction:
Improvedata exchange reliabilityVSAvoidease of operation
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The peripheral device automatically detects the control device's byte order by receiving a command with a byte sequence that can be read in any byte order and includes a known data value. The peripheral device determines the control device's byte order by reading the command and comparing the received data value with the known data value, then switches its byte order to match without requiring user intervention or configuration.

Inventive Principle:
Principle #25Self-service

2Reliability

If byte swap hardware or software is deployed, then data exchange reliability is improved, but device complexity increases

Engineering Contradiction:
Improvedata exchange reliabilityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The peripheral device performs automatic byte order detection and adaptation using simple hardware circuits that compare received data with known data values. This eliminates the need for complex byte swap hardware or software while maintaining reliable data exchange across different byte order architectures.

Inventive Principle:
Principle #25Self-service

3Reliability

If the controlling system's endianness is known or determined, then proper byte ordering is achieved, but the system requires configuration registers and comparison circuits

Engineering Contradiction:
Improveproper byte orderingVSAvoidconfiguration register complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The control device transmits a preliminary command containing a byte sequence that can be read in any byte order and includes a known data value. This preliminary action enables the peripheral device to determine the control device's byte order before actual data exchange begins, eliminating the need for configuration registers and comparison circuits in the control device.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The peripheral device performs the byte order determination function that would otherwise require configuration registers and comparison circuits in the control device. The peripheral device reads the command, compares received data with known data, and automatically determines the byte order, shifting the complexity to the peripheral device which already has the necessary processing capability.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10025555B2Byte order detection for control system data exchange
Publication Date: 2018.07.17 METTLER-TOLEDO LLC
  • US10025555B2 patent drawing
  • US10025555B2 patent drawing
  • US10025555B2 patent drawing

AI summary

Devices and methods for detecting the byte order (endianness) of a control device with which a peripheral device will exchange data. The control device initially transmits a special byte order determination data command to the peripheral device, which data command includes both a byte sequence having a byte order that can be read in any direction and still have the same value, and a specific data value that is known to both the control device and the peripheral device. Control device byte order is subsequently revealed by using the peripheral device to analyze the data value of the byte order determination data command in each of several possible byte orders to determine which byte order format results in a return of the expected specific value.