simulink simscape by dr. amin danial asham. references matlab help

17
Simulink Simscape by Dr. Amin Danial Asham

Upload: rodney-reynolds

Post on 19-Jan-2016

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

SimulinkSimscape

byDr. Amin Danial Asham

Page 2: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

References

MATLAB Help

Page 3: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape

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

Page 4: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryElectrical Elements

Page 5: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryElectrical Sensors

The Voltage Sensor block represents an ideal voltage sensor, that is, a device that converts voltage measured between two points of an electrical circuit into a physical signal proportional to the voltage.

The Current Sensor block represents an ideal current sensor, that is, a device that converts current measured in any electrical branch into a physical signal proportional to the current.

Page 6: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryElectrical Sources

Page 7: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical Library

The PS-Simulink Converter block converts a physical signal into a Simulink® output signal. Use this block to connect outputs of a Physical Network diagram to Simulink scopes or other Simulink blocks.

The Simulink-PS Converter block converts the input Simulink® signal into a physical signal. Use this block to connect Simulink sources or other Simulink blocks to the inputs of a Physical Network diagram.

Utilities

Page 8: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryUtilities

Each physical network represented by a connected Simscape™ block diagram requires solver settings information for simulation. The Solver Configuration block specifies the solver parameters that your model needs before you can begin simulation.

Each topologically distinct Simscape block diagram requires exactly one Solver Configuration block to be connected to it.

The block has one conserving port. You can add this block anywhere on a physical network circuit by creating a branching point and connecting it to the only port of the Solver Configuration block.

Page 9: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 1

Page 10: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 2

This is a separate network that must have a distinct Solver Configuration Block

This is a single network that has its distinct Solver Configuration Block

Page 11: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 3

Page 12: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 3-Continue

Page 13: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 4

𝑉 𝑐=10 /𝐿𝐶  

𝑠(𝑠2+1𝐿𝐶

)=10𝑠−

10𝑠

𝑠2+1𝐿𝐶

Page 14: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 4-Continue

Page 15: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 5

Page 16: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Simscape-Electrical LibraryExample 5-Continue

Page 17: Simulink Simscape by Dr. Amin Danial Asham. References MATLAB Help

Thanks