Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
4 views33 pages

Lecture 2 - Introduction To MSD Lab

This document outlines the practical lab for Mechatronics System Design, focusing on the introduction to modeling physical systems using Simscape. It covers the differences between Simulink and Simscape, guidelines for modeling, and the creation of multidomain physical components. Key topics include building and simulating models, setting parameters, and understanding physical variables.

Uploaded by

24501005015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views33 pages

Lecture 2 - Introduction To MSD Lab

This document outlines the practical lab for Mechatronics System Design, focusing on the introduction to modeling physical systems using Simscape. It covers the differences between Simulink and Simscape, guidelines for modeling, and the creation of multidomain physical components. Key topics include building and simulating models, setting parameters, and understanding physical variables.

Uploaded by

24501005015
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 33

Sana’a University

Faculty of Engineering
Mechatronics Engineering Department Mechatronics System Design(1) MT408

Mechatronics System Design Practical Lab

Lab 2: Introduction to Modeling of Physical


Systems

Eng. Abdullah Al-Maswary


2023
Eng. Mohammed AL-Yemeni
2022
Outline
• Introduction to Simscape
• Modeling differences between Simulink and Simscape
• Building and simulating a model in Simscape
• Guidelines for Simscape modeling
What Is Simscape?

• Extends Simulink with libraries for modeling


and simulating multi-domain physical
systems
• Contains models of foundation elements for
various physical domains
• Contains other capabilities useful when
modeling physical systems (unit manager.
data logging, etc.)
What Is Simscape?
• Extends Simulink with libraries for modeling and simulating multi-
domain physical systems
• Contains models of foundation elements for various physical domains
• Contains other capabilities useful when modeling physical systems
(unit manager. data logging, etc.)
Modeling Differences Between Simulink and Simscape
Modeling Differences Between Simulink and Simscape
(Electrical System)
Example: Battery Equivalent Circuit
Building the Simscape Model
Building the Simscape Model
Setting Block Parameters
Measuring the Current

Blocks to interface Simulink


and physical signals
Important Blocks

Solver Configuration block Domain specific reference block


Simulating a Simscape Model

The recommended
Solver Configuration :

▪ ode15s
▪ ode23t
▪ ode14x(fixed step)
Connection Guidelines

• You can only connect two physical connection ports of the


same physical domain.

Electrical Mechanical
domain rotational
domain
Summary

• Introduction to Simscape
• Modeling differences between Simulink and Simscape
• Building and simulating a model in Simscape
• Guidelines for Simscape modeling
Outline
• Describing Simscape component fundamentals

• Using the Simscape Foundation library

• Creating multidomain physical components

• Dividing components into subsystems

• Setting initial conditions

• Logging physical variables


Example: DC Motor — Electromechanical System
Understanding Physical Variables
Rules Governing Physical Variables
Across and Through Variables
Understanding Physical Variables
Mechanical System
Rotational Motion
Component Polarity
Creating an Electromechanical System
Using the Foundation Library
Physical Components Spanning Multiple Physical
Domains
• Examples of components spanning multiple physical domains.
Summary
• Describing Simscape component fundamentals

• Using the Simscape Foundation library

• Creating multidomain physical components

• Dividing components into subsystems

• Setting initial conditions

• Logging physical variables

You might also like