Professional Documents
Culture Documents
EE555 Lab06
EE555 Lab06
EE555 Lab06
Systems Identification.
EE-555L.
Experiment 06
Introduction to Simscape.
Done by:
- OUYAHIA Abdelhalim
- MAHROUCHE Idir
Option: Control
Subgroup: 02
Fall 2016
Introduction:
Simscape provides an environment for modeling and simulating physical systems spanning
mechanical, electrical, hydraulic, and other physical domains. It provides fundamental building blocks from these
domains that you can assemble into models of physical components, such as electric motors, inverting op-amps,
hydraulic valves, and ratchet mechanisms. Because Simscape components use physical connections, your models
match the structure of the system you are developing.
Simscape models can be used to develop control systems and test system-level performance. You can extend the
libraries using the MATLAB based Simscape language, which enables text-based authoring of physical modeling
components, domains, and libraries. You can parameterize your models using MATLAB variables and expressions,
and design control systems for your physical system in Simulink. To deploy your models to other simulation
environments, including hardware-in-the-loop (HIL) systems, Simscape supports C-code generation.
In this lab, we will be using simulink and simscape to model some of the circuits. These tools can be very useful in
modeling electrical and mechanical systems.
Simscape-Utilities box
- The electrical reference (ground)can be found in the library browser :
Simscape Foundation library Electrical elements Electrical Reference.
The values of the resistance can be changed by simply clicking on them the following window will appear:
So we can adjust the value and the unit, then click on ok.
In order the power the circuit we drop a DC source from the electrical source box
And connected as follows:
The voltage source can be adjust it by double click on it and enter the wanted value and unit as
shown :
To run our model we need to convert from Simscape (physical signal) to Simulink (numerical data
without unit). This is what is will be shown in the next part.
III.
IV.
Then we run the design, the output of the simulation is shown below:
Conclusion:
During the work on this laboratory handout, we have taken an acceptable look over the Matlab physical
modeling features presented in the Simscape library. We have found that Simscape is widely used and highly
beneficial through its helpful built-in physical blocks that can be used in parallel with the Matlab powerful numeral
computational capabilities in order to build a wide variety of engineering simulation blocks for different physical
systems, starting from basic electronic, motor systems and simple mechanical and hydraulic systems coming up to
the most sophisticated real-operating systems. We have basically acquired the most basic knowledge about how to
use Matlabs Physical modeling tools.