Virtual Control Unit Signal Switching for Realistic SPI Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The integration of SPI peripheral devices in virtual control units is complex and error-prone, often avoided in simulation due to high costs, leading to incomplete testing of control software, as existing methods require significant adaptation and do not provide realistic signal values for hardware-independent software testing.

Innovation Solution

A method for a virtual control unit that allows users to select between simulated and external signal values, using a microcontroller abstraction layer with a software component to incorporate either simulated or external signal values from peripheral devices, accessed via a USB-SPI adapter, ensuring realistic testing without altering the control software.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If SPI peripheral devices are integrated in virtual control units, then testing completeness is improved, but device complexity increases

Engineering Contradiction:
Improvetesting completenessVSAvoidintegration complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a USB-SPI adapter as an intermediary device that bridges the USB interface of the personal computer and the SPI interface of peripheral devices. This adapter handles the protocol conversion and communication protocols, shielding the virtual control unit from the complexity of direct SPI integration while enabling comprehensive testing of control software with real peripheral devices.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If external peripheral devices are used, then signal value realism is improved, but ease of operation deteriorates

Engineering Contradiction:
Improvesignal value realismVSAvoidconfiguration complexity
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The USB-SPI adapter provides universal connectivity, allowing various SPI peripheral devices to be connected to the personal computer through the standard USB interface. This multi-functional adapter eliminates the need for specialized hardware integration for each peripheral device, simplifying operation while maintaining signal value realism from external devices.

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

3Ease of operation

If simulated signal values are used, then ease of operation is improved, but measurement precision deteriorates

Engineering Contradiction:
Improvesetup simplicityVSAvoidsignal value accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The system dynamically adapts the signal source based on operational needs. The virtual control unit can switch between simulated signal values (for simple setup and certain test scenarios) and external peripheral device signals (for realistic testing), with the USB-SPI adapter enabling seamless integration of external devices when precision is required.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentEP3832517A1Computer-implemented method for integrating at least one signal value in a virtual control device
Publication Date: 2021.06.09 DSPACE SE & CO KG
  • EP3832517A1 patent drawingFigure 1
  • EP3832517A1 patent drawingFigure 2
  • EP3832517A1 patent drawingFigure 3

AI summary

The invention relates to a computer-implemented method for integrating at least one signal value into a virtual control unit, comprising an application layer, a runtime environment (RTE), a basic software layer, and a microcontroller abstraction layer. The virtual control unit is executed on a simulation platform using a personal computer and requires at least one input signal, to which at least one signal value can be assigned. At least one first simulated signal value is provided to the virtual control unit by a simulation function. The microcontroller abstraction layer includes a software component for integrating the first simulated signal value and a second external signal value into a virtual control unit, wherein the second external signal value is provided by an external peripheral device.A user selects via a user interface whether the software component should use the first simulated signal value or the second external signal value for the input signal. In a further process step, during the execution of the virtual control unit, either the first simulated signal value or the second external signal value is provided to the virtual control unit as the input signal value, according to the user's selection.