Virtual Sensor Modeling
Estimate signals of interest that a physical sensor cannot directly measure, or when a physical sensor adds too much cost and complexity to the design.
- Create and compare virtual sensor models using different deep learning and machine learning architectures such as fully connected layers, long short-term memory (LSTM) layers, and support vector machines
- Import AI models created in TensorFlow™ or PyTorch® for simulation and deployment with Simulink
- Integrate, simulate, and test AI-based virtual sensors with the rest of the system
- Compress AI-based virtual sensor models and deploy them to microcontrollers and ECUs using library-free C code generation
- Adapt virtual sensor models to process data in real-time using incremental learning
Customer Stories and Case Studies
System Identification and ROM
Create AI-based models of nonlinear dynamic systems by using measured or generated data.
- Create AI-based dynamic models from measured data using the System Identification app
- Improve model quality by combining insights about the physics of the system with AI techniques using nonlinear model identification, such as neural state space, nonlinear ARX, and other model architectures
- Reuse third-party FEM, FEA, and CFD models for control design and system development in Simulink by creating AI-based reduced-order models
- Use the Reduced Order Modeler app to set up design of experiments (DoE), generate training data, and build upon preconfigured templates to train and evaluate suitable AI models
- Bring the reduced model in Simulink for running desktop simulations and hardware-in-the-loop testing, or export reduced-order models for use outside of Simulink via Functional Mock-Up Units (FMUs)
Examples
Reinforcement Learning
Train intelligent agents through repeated trial-and-error interactions with dynamic environments modeled in Simulink.
- Select from out-of-the-box algorithms and integrate them into Simulink with the RL Agent block for training
- Use Reinforcement Learning Designer to interactively design, train, and simulate agents
- Run system-level testing and deploy trained agents to embedded devices
Examples
Why MATLAB and Simulink for Designing AI into Engineered Systems?
Integrate and simulate AI models
with the rest of the system- Integrate AI models directly into your system-level model for simulations.
- Simulate system behavior by running AI algorithms with other components of the system, including physical systems, environment models, closed-loop control algorithms, and supervisory logic.
Learn More
Achieve safety and reliability of
AI-enabled systems in operation- Combine data-driven, simulation-based testing with formal verification techniques for neural networks.
- Ensure equivalence of behavior through back-to-back testing.
- Maintain traceability between requirements, design, and test.
Generate code from AI models
to target different hardwareGenerate and deploy C/C++, CUDA®, and HDL code from deep learning or machine learning models that runs on supported target hardware.
Manage deployment trade-offs
of embedded AI
- Profile model size, speed, and accuracy in simulation and code.
- Compare differences in performance of different AI models and AI versus non-AI models.
- Assess impact of model compression.
- Leverage results of analysis to inform model selection, make design decisions, and fine-tune model behavior.