Skip to content

A package for analysis of electric machinery.

License

Notifications You must be signed in to change notification settings

hh-wu/emachinery

 
 

Repository files navigation

emachinery

A package for analysis of electric machinery.

A. Functions

1. Machine Quantities Calculations & Conversion

2. PI Regulator Tuner based on Texas Instruments' InstaSPIN

3. Run C-based Numerical Integration Simulation

4. Sweep Frequency Analysis

5. FEA based Machine Design and Multi-Objective Optimization (develop)

6. PC User GUI for Serial Communication to DSP (develop)

B. Installation and Requirements

The package can be installed via pip.

pip install emachinery

The package requires the following free softwares to work as expected:

C. Simulation Tips

  1. Field oriented control is an asymptotic input-output linearizing (IOL) control. This means the IOL is achieved only when flux modulus is regulated to its reference. So before motor start, we must wait for the motor to build up its magnetic air gap field or else the start transient would be disturbed. Refer to the figure below.1
  2. The inductance of the motor matters. For a small "DC" servo PM motor, the inductance is relatively designed to be low because the DC source is usually only 24 V or 48 V. However, an induction motor usually has higher inductance, which limits the bandwidth of the current loop, I think. For example, this is what happens to d-axis current regulation when I set desired velocity loop bandwidth from 50 Hz up to 100 Hz. Refer to the figure below.2

This package is published to PYPI following https://www.youtube.com/watch?v=Qs91v2Tofys


About

A package for analysis of electric machinery.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.5%
  • Python 5.5%