ENGINEERING PROJECT

Matlab/Simulink Program

11:44 PM

Function of block: Step

Posted by Shahrul


Figure Below Shows the Step block


  • Step
Generate a step function


  • Library
Sources


  • Description
The Step block provides a step between two definable levels at a specified time. If the simulation time is less than the Step time parameter value, the block's output is the Initial value parameter value. For simulation time greater than or equal to the Step time, the output is the Final value parameter value.

The block's numeric parameters must be of the same dimensions after scalar expansion. If the Interpret vector parameters as 1-D option is off, the block outputs a signal of the same dimensions and dimensionality as the parameters. If the Interpret vector parameters as 1-D option is on and the numeric parameters are row or column vectors (i.e., single row or column 2-D arrays), the block outputs a vector (1-D array) signal; otherwise, the block outputs a signal of the same dimensionality and dimensions as the parameters.



  • Data Type Support
The Step block outputs real signals of type double.


  • Parameters and Dialog Box


Note: Opening this dialog box causes a running simulation to pause.


  • Step time

The time, in seconds, when the output jumps from the Initial value parameter to the Final value parameter. The default is 1 second.


  • Initial value
The block output until the simulation time reaches the Step time parameter. The default is 0.


  • Final value
The block output when the simulation time reaches and exceeds the Step time parameter. The default is 1.


  • Sample time
Sample rate of step. See Specifying Sample Time in the online documentation for more information.


  • Interpret vector parameters as 1-D
If selected, column or row matrix values for the Step block's numeric parameters result in a vector output signal; otherwise, the block outputs a signal of the same dimensionality as the parameters. If this option is not selected, the block always outputs a signal of the same dimensionality as the block's numeric parameters. See Determining the Output Dimensions of Source Blocks.


  • Enable zero crossing detection
Select to enable zero crossing detection to detect step times. For more information, see Zero-Crossing Detection.

Characteristics



Thank You

Electric machines play an important role in industry as well as our day to day life. They are used to generate electrical power in power plants and provide mechanical work in industries. They are also an indispensable part of our daily lives. Electric machines are very important pieces of equipment in our everyday lives. The DC machine is considered to be basic electric machines.

The aim of this final year project is to introduce students to the modeling of power components and to use computer simulation as a tool for conducting transient and control studies. Simulation can be very helpful in gaining insights to the dynamic behavior and interactions that are often not readily apparent from reading theory. Simulation is often chosen by engineers to study transient and control performance or to test conceptual designs.

MATLAB/SIMULINK is used because of the short learning curve that most students require to start using it, its wide distribution, and its general purpose of nature. This will demonstrate the advantages of using MATLAB for analyzing power system steady-state behavior and its capabilities for simulating transients in power systems and power electronics, including control system dynamic behavior