Skip to content

dutingjr/DCMtr_Simu1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== DC Motor Simulator ==

This programm simulates electrical

E = kΦ·ω

U = i·R + L (di / dt) + E
di / dt = (U - i·R - E

and mechanical

Tm = kΦ·i;
Ts = f(ω);

J·(dω / dt) = Tm - Ts;
ω = dφ / dt;
dω / dt = (Tm - Ts) / J,

differential equations of a DC motor.

Programm can show current, speed, and output coefficent (PWM mode) plots and save data to file.

Some of simulation parameters can be changed:

* PID Controller with current limit,
* Supply voltage,
* Moment of inertia,
* Inductance,
* Resistance,
* Load type,
* and more.

See screenshot.

== Requirements ==

Code::Blocks is required to compile this project painlessly.

Libraries used:

gsl 1.16-1 -- The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers gtk3 3.12.1-1 -- Object-based multi-platform GUI toolkit (v3) plplot 5.9.11-1 -- A cross-platform software package for creating scientific plots

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages