DC Motor Model with Cascaded PI Speed and Current Control 2

Discrete-time DC motor model with cascaded PI speed and current control in MATLAB- Contact for the Password bansilal.bairwa@reva.edu.in

You are now following this Submission

# Discrete-Time DC Motor Model with Cascaded PI Speed and Current Control
## Description
This submission presents a discrete-time DC motor drive model implemented in MATLAB.
The model uses cascaded PI controllers for speed and current regulation and explicitly
implements electrical and mechanical motor dynamics using forward Euler discretization.
The PI controller gains are computed using a dedicated tuning function based on
first-order plant dynamics and transient response specifications.
## Files Included
- DC_Motor_Cascaded_PI.m
Main MATLAB script implementing the DC motor model and cascaded PI control.
- ee_getDCMotorFirstOrderPIParams.m
Function for calculating PI controller gains based on desired overshoot and rise time.
## How to Run
1. Place all files in the same directory.
2. Open MATLAB and set the current folder to this directory.
3. Run:
```matlab
DC_Motor_Cascaded_PI

Cite As

Dr Bansilal Bairwa (2026). DC Motor Model with Cascaded PI Speed and Current Control 2 (https://www.mathworks.com/matlabcentral/fileexchange/183074-dc-motor-model-with-cascaded-pi-speed-and-current-control-2), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

2025b

1.0.0