Control Software Fault Injection in Simulation-Based Debugging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The simulation-based debugging process for automated control devices is labor-intensive, leading to low efficiency and increased time consumption, especially when dealing with multiple fault signals in control software.

Innovation Solution

A method and apparatus for testing control software that automatically injects fault signals into a simulation environment based on pre-obtained test information, including serial numbers and test times, to obtain and display test results, thereby reducing manual operation time and enhancing debugging efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual simulation-based debugging is used to test control software, then testing can be performed, but the process consumes excessive time and labor resources

Engineering Contradiction:
Improvecontrol software testingVSAvoiddebugging time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system automatically injects fault signals and collects test results without manual intervention. The control software itself is tested through automated injection of fault signals into the simulation environment, eliminating the need for manual debugging operations and significantly reducing time consumption.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Manual mechanical debugging operations are replaced by an automated electronic system. The patent uses automated fault signal injection mechanisms to substitute human operators, transforming a manual process into an automated electronic testing system that operates without human intervention.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If multiple fault signals are tested manually in sequence, then comprehensive testing is achieved, but the process becomes extremely labor-intensive and inefficient

Engineering Contradiction:
Improvefault signal testingVSAvoiddebugging efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system continuously injects multiple fault signals in sequence without interruption. After each fault signal is injected and tested, the system automatically proceeds to the next fault signal, maintaining continuous testing operation. This eliminates idle time between tests and maximizes debugging productivity.

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

The patent extracts and isolates individual fault signals for systematic testing. Each fault signal is separately injected into the simulation environment, allowing comprehensive testing of multiple fault conditions while maintaining organized and efficient test execution.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If automated fault signal injection is implemented, then debugging efficiency is enhanced, but system complexity increases

Engineering Contradiction:
Improvedebugging efficiencyVSAvoidtesting system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The automated testing system is designed to handle multiple fault signals through a single unified platform. The system can inject various types of fault signals, collect test results, and manage the entire debugging process through one multi-functional apparatus, reducing complexity compared to having separate systems for each function.

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

Data Source

PatentUS12072787B2Method and apparatus for testing control software by injecting fault signals into a simulation environment, and computer-readable storage medium
Publication Date: 2024.08.27 CONTEMPORARY AMPEREX TECHNOLOGY (HONG KONG) LIMITED
  • US12072787B2 patent drawing
  • US12072787B2 patent drawing
  • US12072787B2 patent drawing

AI summary

An embodiment of this application provides a method and apparatus for testing control software, and a computer-readable storage medium to reduce the time consumed in the simulation-based debugging and enhance efficiency. The method may include obtaining test information of a plurality of fault signals; and injecting, based on the test information of the plurality of fault signals, the plurality of fault signals into a simulation environment in sequence to obtain test results of the plurality of fault signals handled by the control software, where the simulation environment may be a simulation environment of a control object of the control software.