Could anyone explain MBD in software development process V-shape model?
18 ビュー (過去 30 日間)
古いコメントを表示
Hi all,
I undertooth that in V-shapre model, MBD includes 3 steps ( software detail design, coding, unit test).
But MBD has validate and verification as SIL, PIL, HIL. Does it insteads for Unit test, Intergration test and system test?
1 件のコメント
Ram
2025 年 8 月 14 日
In software product development, MBD (Model-Based Development) in the V-Model integrates system modeling into both design and verification phases. We at CONTUS Tech applies MBD by creating executable models during early design, enabling simulation, validation and requirements traceability before coding.
In the V-shape, the left side (requirements → design) uses models for architecture and behavior definition while the right side (integration → validation) reuses these models for test case generation, reducing defects and improving alignment between design and testing.
回答 (1 件)
Abhaya
2024 年 10 月 1 日
In Model-Based Design, the testing processes of SIL (Software-in-the-Loop), PIL (Processor-in-the-Loop), and HIL (Hardware-in-the-Loop) are essential components of the verification stage. These methods extend beyond traditional testing phases like unit, integration, and system testing.
SIL Simulation:
- This involves compiling and running the source code on the host computer, enabling you to collect data on code coverage and execution times.
- By comparing results from normal and SIL simulations, you can confirm that the model and the generated code are numerically equivalent.
PIL Simulation:
- Here, the source code is cross-compiled and executed on the actual target hardware.
- The setup you create for PIL simulation dictates how the code is compiled and run on the hardware.
- Comparing the results from normal and PIL simulations ensures that the model and the code maintain numerical consistency.
HIL Simulation:
- A real-time virtual environment is set up, involving components like plants, sensors, and actuators, all running on a real-time target computer.
- The control algorithm is executed on an embedded controller, which interacts with the plant model through various input/output channels.
- HIL simulation is particularly useful for testing how your controller reacts to unexpected scenarios and events.
For a comprehensive discussion on this topic, you can refer to this MATLAB community answer.
For more information on SIL, PIL and HIL testing follow the MATLAB documentations.
Hope this helps.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Generate Tests についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!