Model Based Development & Vehicle Diagnostics Program
This course gives you a clear understanding of Model Based Development and vehicle diagnostics. You learn how modern ECUs work, how models are built and tested, and how diagnostic messages flow in real vehicles. The program starts with basic MATLAB and Simulink skills, then moves into automotive modeling, control logic, and diagnostic communication.
You learn how to use MATLAB for tasks like drive cycles, fuel use, braking distance, and battery tracking. You also learn how to build and simulate vehicle models in Simulink. You work with signals, requirements, logic design, and fault handling. You see how MIL, SIL, and HIL testing fit into the workflow. You learn how to generate code and follow modeling rules like MAAB and JMAAB.
You then move into UDS. You learn how diagnostics evolved from OBD to UDS. You see how a tester and ECU exchange messages. You study common UDS services with simple request and response examples. You learn how DTCs are stored and cleared. You also learn basic ideas of security access, ECU flashing, and unlocking functions.
You study AUTOSAR diagnostics. You learn how DCM and DEM work with CAN communication. You see how UDS fits into the AUTOSAR stack. You apply your knowledge in Simulink by creating and simulating diagnostic models.
What You Will Learn
✓Basics of MATLAB and Simulink
✓Drive Cycles, Fuel Use, Braking Distance and Battery Tracking
✓Building and Simulating Vehicle Models
✓Signal Routing and Requirement Links
✓Logic Design using Stateflow
✓Fault Handling and Control Logic
✓MIL, SIL and HIL Concepts
✓Automatic Code Generation
✓Coverage Methods and MC/DC
✓MAAB and JMAAB Guidelines
✓OBD and UDS Fundamentals
✓AUTOSAR DCM and DEM Basics
Who Should Join
- Automotive Engineers who want MBD and Diagnostics Skills
- Developers who want to work on Automotive ECUs
- Students and Professionals building a Career in Automotive Software
Key Outcome
You will be able to use MATLAB and Simulink with confidence. You will know how to design and test models, write scripts, run simulations, and generate code. You will also understand UDS, AUTOSAR diagnostics, and DTC handling. You will be able to simulate diagnostic services and explain how ECUs handle faults and messages. This program prepares you for roles in Model Based Development, Diagnostics, Testing, Validation, and Automotive Software Development.
Learn By using interective UDS Simulator
- UDS Simulator is an interactive web-based application for learning and testing Unified Diagnostic Services (UDS) based on the ISO 14229 standard.
- It provides a realistic ECU simulation with diagnostic sessions, Security Access, DTC management, DID operations, ECU flash programming and real-time communication monitoring, making it suitable for students, automotive engineers and embedded software developers.
- Overview of the automotive industry
- Modern automotive systems and their complexity
- Software development demands in the automotive domain
- What is Model-Based Development (MBD)
- How Model-Based Development works
- Software requirement analysis
- High-level software design
- Low-level software design overview
- Model-in-the-Loop (MiL) testing
- Code generation process
- Software-in-the-Loop (SiL) testing
- Hardware-in-the-Loop (HiL) testing
- Software acceptance testing
- Benefits of MBD in automotive engineering
- Model configuration and requirement traceability
- Introduction to the V-Model
- Model-Based Development process in V-Cycle
- Functional requirements
- Function development
- Software development
- Software integration
- Function integration
- Model verification by simulation (MvS)
- Importance of testing in automotive software
- Static testing
- Dynamic testing
- Testing techniques
- Unit testing
- Functional testing
- Integration testing
- System testing
- Acceptance testing
- Non-functional testing
- Smoke testing
- Regression testing
- Structure-based testing
- Condition coverage
- Decision coverage
- Modified Condition / Decision Coverage (MC/DC)
- Introduction to MATLAB Interface
- Command Window, Workspace, Editor, Path
- Creating and Saving Scripts (.m Files)
- Basic Arithmetic and Operations
- Variables and Data Types
- Creating Row and Column Vectors
- Matrix Operations
- Element-wise Operations
- Indexing and Slicing Data
- Common Matrix Functions
- Scripts vs Functions
- If, Else and ElseIf
- For and While Loops
- Logical and Relational Operators
- Nested Loops and Conditions
- Vehicle Speed Profile Example
- MAT, CSV and TXT File Handling
- Plotting Basics
- Subplots and Multiple Graphs
- 3D Plotting
- Drive Cycle Plot Example
- Vehicle Dynamics Basics
- Acceleration and Braking Calculations
- Fuel Consumption Analysis
- NEDC and WLTP Drive Cycles
- Battery SOC Calculation
- File Input and Output
- Large Dataset Processing
- Automating Tasks with Scripts
- Vehicle Test File Processing
- Functions and Function Handles
- Anonymous Functions
- Cell Arrays, Structures and Tables
- Signal Processing Basics
- Filtering Noisy Vehicle Sensor Data
- Drive Cycle Analysis
- Fuel Efficiency Estimator
- Battery SOC Estimation
- Braking Distance Calculator
- Write MATLAB Scripts Confidently
- Work With Automotive Datasets
- Automate Real World Automotive Calculations
- Overview of MATLAB and Simulink Environment
- Building Your First Simulink Model
- Basics of Blocks, Signals, Subsystems and Solvers
- Sources, Sinks and Mathematical Operations
- Signal Routing and Logic Operations
- Ports and Subsystems
- Simulation Parameters and Time Steps
- Configuration Settings for Models
- Data Import Export and Diagnostics
- Optimization and Code Generation Settings
- Simulink Data Dictionary and Signal Properties
- Requirement Management
- Requirement Analysis Lifecycle
- Requirement Analysis Demo
- Introduction to Stateflow
- Basics of Stateflow Example
- Engine State Logic Development
- Mode Management Logic Development
- BMS Exercise Practice
- Antilock Braking System Logic Development
- MAAB Modeling Guidelines
- JMAAB Modeling Guidelines
- Naming Conventions and Model Layout
- MAAB Guideline Logic Example
- MIL, SIL, PIL and HIL Simulations
- Test Harness Creation
- Model Coverage Analysis
- Code Generation using Simulink Coder
- Embedded Coder Workflow
- Battery Management SOC Monitor Example
- MIL Validation Workflow
- Assertions and Functional Testing
- Coverage Analysis
- Test Reporting
- Engine Cooling Fan Control Example
- Basic Introduction of SIL
- SIL Testing in Simulink
- What is Vehicle Diagnostics
- Need for Diagnostics in ECUs
- Evolution of OBD-I, OBD-II and UDS
- Overview of ISO Standards
- ISO 14229: Unified Diagnostic Services
- ISO 15765-2: Transport Layer
- ISO 15031: OBD-II
- Role of UDS in Modern Vehicles
- ECU and CAN Communication Basics
- Tester ECU Communication Concept
- UDS Request Response Format
- Positive and Negative Responses
- Client Server Architecture
- Functional Addressing
- Physical Addressing
- CAN Frames and Transport Protocol
- Single Frame
- First Frame
- Consecutive Frame
- Flow Control
- Service Identifier (SID)
- Sub Functions
- Request Response Examples
- Negative Response Codes (NRC)
- P2 and P2* Timing Parameters
- Session Switch Example
- DTC Read Example
- 0x10 Diagnostic Session Control
- 0x11 ECU Reset
- 0x3E Tester Present
- 0x22 Read Data By Identifier
- 0x2E Write Data By Identifier
- 0x27 Security Access
- 0x31 Routine Control
- 0x14 Clear Diagnostic Information
- 0x19 Read DTC Information
- What is a DTC
- DTC Structure and Format
- OBD-II vs UDS DTC
- Freeze Frame Data
- Event Memory
- MIL Control Basics
- Why Security Access is Needed
- Seed Key Exchange
- Security Levels
- Unlocking Diagnostic Functions
- What is ECU Flashing
- Flash Programming Process
- 0x34 Request Download
- 0x36 Transfer Data
- 0x37 Request Transfer Exit
- Calibration to Reprogramming Workflow
- AUTOSAR DCM Overview
- Diagnostic Communication Manager
- DCM Configuration
- Diagnostic Event Manager
- DEM Configuration
- PduR Integration
- COM Integration
- CanIf Integration
- UDS Communication Flow
- Role of Simulink in Diagnostics
- ReadDataByIdentifier Model
- WriteDataByIdentifier Model
- UDS Routine Control Simulation
- Application Scope of AUTOSAR
- Software Layer Overview
- AUTOSAR Basic Software Layers
- Microcontroller Abstraction Layer
- ECU Abstraction Layer
- Complex Drivers
- Services Layer
- Runtime Environment (RTE)