GithubHelp home page GithubHelp logo

stm32_vfd's Introduction

STM32 variable frequency drive controller

This project aims to be an open source torque controller for AC induction motors.

Hardware

This software runs on an STM32. In addition, the following hardware is required:

  • 6 x IGBT or MOSFET
  • 6 x Isolated FET drivers
  • 3 x Hall effect current sensors
  • Rotary encoder
  • A large film capacitor

An example schematic can be found here: https://nutty.tk/inverter3.pdf

Overview

The software generates a 3-phase output using PWM. The frequency and voltage are adjusted to create a torque proportional to the "throttle" input.

Algorithm

The algorighm is very simple and is based on setting the slip of the motor. The output frequency is the shaft frequency plus a slip, where the slip is proportional to the throttle input. The current is controlled to keep it proportional to the slip (up to the input voltage).

Testing

So far this has only been tested up to 1A @ 48VDC on a 250W motor. It is my hope that this should scale to larger builds for electric vehicle use. More experimentation will follow.

My low power test build: https://imgur.com/a/IR173Ng

Field oriented control

Previous iterations of this code have implemented FOC, however overall the simple slip based algorithm has produced better results so far.

stm32_vfd's People

Contributors

catphish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

stm32_vfd's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.