This post contains the simple code written for Scilab, associated with the modeling of permanent magnet dc motor. The code of this program are made by me and is for all who need it. So is open source, you can modify as appropriate. Do not forget you also include my name and my website link in your application or website, and do not forget me say thank you.
Source Code 1
DC motor used is a permanent magnet, with the default parameters are:
- Moment of inertia of the rotor:
- Electromotive force constant:
- Damping ratio of the mechanical system:
- Electric resistance:
- Electric inductance:
If you want another dc motor parameters, please edit that variable in the source program. Enter the parameters of the control constants Kp, Ki, and Ki, then the dc motor transfer function and the total transfer function of each controller P, PI, PD and PID will be displayed.
Also, the graphics performance of the control system for each controllers P, PI, PD and PID will be generated.
Last updated byat .