Overview
This course provides a comprehensive understanding of Model-Based Development (MBD) techniques for automotive applications. Participants will learn to use MATLAB/Simulink for plant modeling, control algorithm design, Stateflow implementation, auto-code generation, and rapid control prototyping on embedded platforms.
Objectives
By the end of this course, leaner will be able to:
- Develop and simulate automotive plant models using Simulink.
- Design and implement control algorithms using Simulink and Stateflow.
- Utilize M-scripting for model automation and data analysis.
- Understand solver basics and their impact on simulation accuracy.
- Generate efficient C code from Simulink models for embedded deployment.
- Perform rapid control prototyping on embedded automotive platforms.
- Apply MBD principles to automotive control systems.
Prerequisites
- Basic knowledge of Control System Fundamentals
- Understanding of Automotive Systems
Course Outline
- Model-Based Development (MBD) concepts and benefits
- Overview of MATLAB/Simulink environment
- Simulink Library Browser, basic blocks, and connections
- Introduction to M-scripting for data analysis and visualization
- Basic simulation concepts and execution
- Simulink model structure, hierarchy, and signal types
- Solver types (fixed-step, variable-step) and configuration
- Understanding simulation accuracy and stability
- Practical exercises: Building and simulating basic Simulink models
- Modeling physical systems using Simulink
- Creating plant models for EV/ADAS applications
- Parameterization and calibration of plant models
- Practical exercises: Modeling a DC motor and a simple suspension system
- Designing control algorithms using Simulink blocks
- Implementing PID controllers and signal processing techniques
- Fault detection and diagnostics in automotive systems
- Practical exercises: PID controller for DC motor speed control
- Introduction to Stateflow and event-driven logic
- Designing state machines for automotive applications
- Practical exercises: Gear shift controller implementation
- Simulink Coder and Embedded Coder for code generation
- Deploying generated code to embedded automotive platforms
- Real-time testing, debugging, and interfacing with sensors/actuators
- Practical exercises: Code generation for a PID controller
- Automating Simulink tasks with M-scripting
- Generating reports and automating simulations
- Practical exercises: Automating parameter sweep and simulation runs