Control System Analysis of a DC Motor Speed Regulator

Version 1.0.0 (2.52 KB) by Amruta
MATLAB script analyzes a PI-controlled DC motor: Step response performance, stability , Bode plot, and Root Locus are computed.
13 Downloads
Updated 10 Nov 2025

View License

This MATLAB script provides a comprehensive set of classical control analysis techniques for a Proportional-Integral (PI) controlled DC motor speed regulation system. It is designed as an educational tool to demonstrate and verify the concepts covered in control systems coursework, such as Time Domain, Frequency Domain, and Stability Analysis.
Key Features & Analysis Performed:
  1. System Definition: Models a first-order DC motor plant and a PI controller to form the open-loop system, H(s).
  2. Step Response: Plots and quantifies performance metrics (Overshoot, Settling Time) of the closed-loop system.
  3. Stability Analysis: Uses the isstable function and computes stability margins (Gain Margin, Phase Margin) from the open-loop Bode plot.
  4. Frequency Response: Generates the Bode plot of the open-loop system.
  5. Root Locus: Plots the root locus with the sgrid overlay to visually determine stable gain regions and transient response characteristics (damping and natural frequency).
This example is ideal for students or engineers looking to consolidate their understanding of classical control system analysis in the MATLAB environment.

Cite As

Amruta (2026). Control System Analysis of a DC Motor Speed Regulator (https://uk.mathworks.com/matlabcentral/fileexchange/182553-control-system-analysis-of-a-dc-motor-speed-regulator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0