Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Build a model in Simulink using transfer functions to represent differential equ

ID: 2080224 • Letter: B

Question

Build a model in Simulink using transfer functions to represent differential equations for closed-loop, proportional-only control of speed of the lab motor omega^dot + 15 omega = 30V_s with k_p = 5. Simulate the result with a step input that changes from 0 to 5 rad/s at time 0. Create another version of the simulation from part 1, but add a low-pass filter with a time constant of 0.05s to the output of the motor. Did this change the performance of the system? Explain, and plot in MATLAB the step response of the system from part 1 control system in the same figure as the actual (not the filtered) speed of the motor from part 2. Include a screenshot of your block diagram.

Explanation / Answer

Simulink is a simulation and model-based design environment for dynamic and embedded systems, integrated with MATLAB. Simulink, also developed by MathWorks, is a data flow graphical programming language tool for modelling, simulating and analyzing multi-domain dynamic systems. It is basically a graphical block diagramming tool with customizable set of block libraries.

It allows you to incorporate MATLAB algorithms into models as well as export the simulation results into MATLAB for further analysis.

Simulink supports

There are several other add-on products provided by MathWorks and third-party hardware and software products that are available for use with Simulink.

The following list gives brief description of some of them

Stateflow allows developing state machines and flow charts.

Simulink Coder allows the generation of C source code for real-time implementation of systems automatically.

xPC Target together with x86-based real-time systems provide an environment to simulate and test Simulink and Stateflow models in real-time on the physical system.

Embedded Coder supports specific embedded targets.

HDL Coder allows to automatically generate synthesizable VHDL and Verilog.

SimEvents provides a library of graphical building blocks for modelling queuing systems.

Simulink is capable of systematic verification and validation of models through modelling style checking, requirements traceability and model coverage analysis.

Simulink Design Verifier allows you to identify design errors and to generate test case scenarios for model checking.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote