Developing mechatronic systems requires integrating physical subsystems with control systems and embedded software. Engineers use Model-Based Design to model, simulate, and verify multidisciplinary mechatronic systems from initial development to production.
Design and simulate your system in Simulink before moving to hardware. Explore and implement designs that you wouldn’t otherwise consider – without having to write C, C++, or HDL code. Explore a wide design space by modeling the system under test and the physical plant.
Simscape enables you to rapidly create models of physical systems within the Simulink environment. With Simscape, you build physical component models based on physical connections that directly integrate with block diagrams and other modeling paradigms.
Use Simscape to develop system or component level models to represent the physical portions of the system in the electrical, mechanical, or fluid domains. Import designs from existing CAD files to visualize 3D physical components and SPICE subcircuits to incorporate manufacturer specific behavior. Optimize system performance and detect integration errors early in development via simulation. Repurpose simulation models for virtual commissioning or operational digital twins.
Control Design and Supervisory Logic
Linearize nonlinear physical models to develop closed-loop control systems with linear control techniques, like Bode plots or root locus, or use advanced control strategies, like model predictive control or robust control. Leverage prebuilt functions and interactive tools to automatically tune and optimize controllers to meet the performance requirements and stability constraints of your system. Analyze key performance and stability characteristics in the time and frequency domains such as overshoot, rise time, phase margin, and gain margin.
Develop and verify state machines for supervisory control and error handling. Use graphical animation to analyze and debug supervisory logic while it is executing to identify potential design errors.
Hardware-in-the-Loop Testing and Rapid Control Prototyping
Üretim ortamınıza hazırlanmak için hızlı kontrol prototipleme (RCP) ile algoritmalarınızı geliştirin. Fiziksel prototipleri azaltmak için tesis ve ortam modelinizin döngü içi donanım (HIL) simülasyonlarını kullanın. Speedgoat donanımında gerçek zamanlı simülasyonlar çalıştırın ve mekatronik sisteminizin performansını iyileştirmek için MATLAB’daki sonuçları analiz edin.
Production Code Generation
Eliminate manual coding errors by automatically generating optimized C, C++, IEC 61131-3 (Structured Text and Ladder Diagram), CUDA, Verilog, or VHDL code directly from MATLAB and Simulink. Leverage floating and fixed-point design tools to investigate performance tradeoffs. Integrate the generated hardware independent code into your PLC platform’s integrated development environment (IDE) for deployment on your real-time hardware and for online debugging.
Verification and Validation
Author, import, and manage requirements in your model to maintain traceability across designs, tests, and generated code. Prove that designs meet requirements, automatically generate test cases for model coverage, and improve the quality of designs throughout the development process using formal test methods. Check model and code compliance using formal methods and static analysis. Find bugs and prove the absence of critical run-time errors with static code analysis. Produce reports and artifacts necessary to certify to industry standards such as IEC 61508, ISO 26262, and DO-178.