MATLAB/SimScape
Jump to navigation
Jump to search
Simscape is a Simulink add-on that allows you to "build" and simulate physical devices.
Add-Ons
In addition to MATLAB, you will need:
- Simulink
- Simscape - for more detailed work, there are specific packages for electrical, mechanical, and other systems. The main library has quite a bit, however.
- Simscape Electrical to add DC motor
- Simulink Control Design - among other things, this adds the ability to make Bode plots for physical systems
Comments
Bode Plots
The Bode Plot block only works with Simulink signals.
- Use a constant for the signal, then convert it to a PS using the Simulink-PS converter and put that signal into a controlled source (voltage, current, angle, torque, etc).
- Whatever output you are measuring, measure the physical signal and then use a PS-Simulink converter to get a Simulink signal for the output
- In the Bode Plot Parameters, you can select the Simulink signal you want, click on it in the signal drop down, and << it into the inputs/outputs list. Generally want an input-perturbation and an open-loop output.