Dynamic Simulation of Electric Machinery: Using MATLAB/Simulink. This book offers a complete treatment of frequently studied machine systems. Subject areas range from background theory and models to implementation and verification techniques for simulations and linear analysis. Although the book focuses on the techniques applicable to the. Modeling Dynamic Systems. You can use MATLAB expressions to specify parameter values. Simulink evaluates the expressions before running a simulation. You can change the values of parameters during a simulation. This allows you to determine interactively the most suitable value for a parameter. Simulation Phases in Dynamic Systems.
Appropriate for courses in Electrical Engineering.This book covers the fundamentals of electrical system modeling and simulation using two of the industry's most popular software packages-MATLAB and SIMULINK-as well as how to interpret results and use them in the design process. Coverage reviews the basics of magnetics and line modeling and includes a wide range of electrical components and systems, such as transformers, electric machines, three-phase induction machines, synchronous machines, and DC machines.
Create a Simple ModelYou can use Simulink ® to model a system and then simulate the dynamic behavior of that system.The basic techniques you use to create a simple model in this tutorial are the same asthose you use for more complex models. This example simulates simplified motion of acar. A car is typically in motion while the gas pedal is pressed. After the pedal isreleased, the car idles and comes to a stop.A Simulink block is a model element that defines a mathematical relationship betweenits input and output.
To create this simple model, you need four Simulink blocks.Set the Library Browser to stay on top of the other desktop windows. Onthe Library Browser toolbar, select the Stay on topbutton.To browse through the block libraries, select a category and then a functionalarea in the left pane. To search all of the available block libraries, enter asearch term.For example, find the Pulse Generator block. In the search box onthe browser toolbar, enter pulse, and then press the Enter key.Simulink searches the libraries for blocks with pulse intheir name or description, and then displays the blocks.Find the actual distance. To find the distance betweenthe obstacle position and the vehicle position, add theSubtract block. Also add the Constantblock to set the constant value of 10for the position of the obstacle.Model the imperfect measurement that would be typicalto a real sensor.
Generate noise by using theBand-Limited White Noise block fromthe Sources library. Set theNoise power parameter to0.001.
Add the noise to themeasurement by using an Add block fromthe Math Operations library.Model the digital sensor that fires every 0.1 seconds.In Simulink, sampling of a signal at a given intervalrequires a sample and hold, implemented by a zero-orderhold. Add the Zero-Order Hold block fromthe Discrete library.
After you add theblock to the model, change the SampleTime parameter to0.1.Add another Outport to connect to thesensor output. Leave the Portnumber parameter as default.Connect the new blocks. Note that the output of theIntegrator, Second-Order block is alreadyconnected to another port. To create a branch in that signal,left-click the signal to highlight potential ports for connection,and click the appropriate port.Create and connect a Scope to the actualdistance. Note that the name of the signal appears in theviewer title.Add the measured distance signal to the sameviewer.
Right-click the signal, and select Connect toViewer Scope1. Make sure you are connecting to theviewer you created in the previous step.Run the model.
The Viewer shows the two signals, actualdistance in yellow and measureddistance in blue.Zoom into the graph to observe the effect of noise and sampling. Clickthe Zoom button. Left-click and drag a window aroundthe region you want to see.You can repeatedly zoom in to observe the details.From the plot, you can see that the measurement can deviate from the actualvalue by as much as 0.3 m. This information becomes useful when designing asafety feature, for example, a collision warning. See Also Blocks. Related Topics.