AI Based Virtual Sensors for Software Defined Vehicles
- Automobile
07:37min
Aperçu
AI based virtual sensors can reduce hardware costs and simplify automotive systems by replacing physical sensors with intelligent software estimations.
In this video, you will learn how you can bring a virtual sensor given by a neural network into your safety-critical application on your ECU. It is done with TargetLink 24-B and based on the model-based ISO certified TargetLink tool chain. Learn how adaptable behavior, automated code generation and MIL, SIL and PIL simulations ensure accuracy, reliability and compliance
Hôtes
Lars Wallbaum
Software Developer TargetLink, dSPACE
FAQ
Q1: What is a virtual sensor, and why is it useful in automotive applications?
A1: A virtual sensor is a software-based component that estimates physical sensor outputs using data from other available sensors. It reduces hardware complexity and costs while maintaining system functionality, which is particularly beneficial for safety-critical automotive systems.
Q2: How are neural networks developed and integrated into TargetLink for virtual sensors?
A2: Neural networks are developed externally using frameworks like Keras or PyTorch, trained with relevant data, and exported as ONNX files. These ONNX models are then integrated into TargetLink using the adaptable behavior feature, which links the model with MATLAB scripts that generate the necessary C code via external code generator for ECU deployment.
Q3: What role do MIL, SIL, and PIL simulations play in this integration process?
A3: MIL (Model-in-the-Loop), SIL (Software-in-the-Loop), and PIL (Processor-in-the-Loop) simulations verify the neural network’s behavior at different stages - from initial training, through generated code, to embedded hardware execution - ensuring consistency and accuracy across environments.
Q4: How does TargetLink ensure that the integration of the neural network model remains up to date?
A4: TargetLink includes an automated up-to-date check that runs before code generation. It verifies if the neural network model and the generated implementation are synchronized, triggering regeneration of code if needed, which maintains alignment and reduces manual errors.
Q5: Can this integration approach support multiple target hardware platforms?
A5: Yes, using TargetLink’s build extension feature, developers can specify different source files for different processors or hardware platforms within the TargetLink Data Dictionary, allowing easy switching between targets without modifying the model or reconfiguring the project.