Fault Injection simulation using modelled HW & SW
1 view (last 30 days)
Show older comments
Hello,
I have an idea and wondered if it would be possible with the tools available from MathWorks.
I have a challenge to physically perform Fault Injection Testing on a large PCB. This consists of, for example, removing a component to access the PCB nets, Introduce a fault condition, say shortcircuit, and record three behavioural stages, before, injection of the fault and recovery. Recording the behaviour of the system consisting of both hardware and software.
For one resistor this would be a simple task but with a large PCB the problem is quantity. Quantity of components.
To get to my questions on the capabilty of the Mathworks tools:
- Is it possible to simulate circuit schematics? to create a model of my PCB.
- Is it also possible to import my software thats used in a uP? So both modelled HW & SW can be tested together.
- Then getting to the Fault Injection part. Select each modelled component in turn and induce a fault. Recording the behaviour in three stages, before, during and recovery. Could this be automated?
Does MathWorks have tools that could help me create such a system that would allow me to simulate fault conditions, recording both HW & SW behaviour?
Which tools would allow me to create this?
Please share any info or experience.
2 Comments
Pat Canny
on 10 Jun 2025
Hi @Kevin - have you taken a look at this example, by chance? https://www.mathworks.com/help/simscape/ug/add-a-fault.html
Answers (0)
See Also
Categories
Find more on Composite Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!