Coder Social home page Coder Social logo

charlespbrk / servo2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wiciu15/servo2

0.0 0.0 0.0 79.66 MB

Servo inverter for 3-phase AC motor with/out encoder feedback

C 99.60% Assembly 0.11% Pascal 0.20% AGS Script 0.05% Makefile 0.01% HTML 0.04%

servo2's Introduction

Servo 2

3-phase AC servomotor driver

This is a project of a servo inverter to drive 3-phase AC motor with/out encoder feedback

It's in alpha development so there are many bugs and things included in software but not really working/tested.

DEMO video: https://www.youtube.com/watch?v=Hu02lt5aCbM

CNC DEMO: https://www.youtube.com/watch?v=LXm4no8DIPE

CPU board

This is a free software under the GNU license, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This project is shared with public for educational purposes, without WARRANTY and Author is not liable for any damages caused directly or indirectly by this software/hardware. The board is mains-powered. High voltage can kill you. Have caution when using high voltage devices

Features

  • Manual voltage and frequency control
  • U/f scalar motor control
  • Open loop current control for test purposes
  • Field-oriented vector control (FOC) for PMSM/BLDC motors with encoder feedback
  • Encoders support:
    • ABZ encoder with differential driver output, needs one manual rotation to index with a rotor properly
    • Mitsubishi J2/J2s/J4/JE series, baud rate 2 500 000 bits/s, implementation is working but need some polish
    • Tamagawa T-Format encoders - tested with ABB BSM-series motor, baud rate 2 500 000 bits/s, most robust implementation and testing at this moment
    • Panasonic minas series encoder - support in early development, not much tested and buggy
    • DELTA NH4 series T+ T- encoder - very early development
  • Braking chopper control
  • under/overvoltage, overcurrent, short-circuit and other errors detection and handling
  • Communication with PC using MODBUS over USB-CDC
  • simple CANopen node for fieldbus control
  • Parameter set, with non-volatile storage in external EEPROM
  • control and monitoring of drive using OLED screen and buttons
  • ramp generators and limiters for current,speed and position control loops

To-do in the future

  • I2t thermal monitoring of motor
  • sensorless rotor angle aquisition
  • analog and digital I/O
  • step/dir input
  • current and speed loop gains auto-tuning
  • motor parameters automatic measurement

Used third-party software

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.