584,798 active members*
4,365 visitors online*
Register for free
Login
Results 1 to 20 of 264

Threaded View

  1. #1
    Join Date
    May 2006
    Posts
    190

    DIY AC Servo Drive - ATMega based

    Hello dear machinists!

    A long time ago I tried to build my own servo drive (and I almost did), based on ELM CHAN Servo drive schematics and code.
    I am now building an AC servo drive from scratch. I have my own program, and my own schematic.
    After a couple of weeks of hard working, reading, soldering and programming this is what I obtained:

    A cheap servo drive, based on ATMEGA644 (lower versions can also be used as compiled program hardly occupies 15% of MCU flash).
    The whole boar wont cost you more than 30$!!!
    The features so far:

    Works with AC motors without using any Hall sensors.
    Step / Dir inputs
    UART connection for tuning and debuging

    I can tell you that I am really happy with the performance obtained so far. My own build servo (a cdrom motor and an optic encoder from an old mouse) works really fine. I was able to obtain about 1200 RPM with this 6 poles motor and 90 PPR encoder.

    Little software / hardware description.
    MCU must have 6 pwm outputs and 3 external interrupts.
    3 x IR2101 are used for driving the final stage mosfets.
    1 x 74hc14 is used to buffer my encoder inputs.
    16 Mhz clock on MCU (can be raised to 20 Mhz)
    PID process for controlling movement.

    I will make the schematic and source code available for anyone here. Please feel free to modify them as you need (they are not under any kind of licensing)

    Here are some pictures and video of my very beta board and servo!

    https://www.youtube.com/watch?v=Auw7-5yBa3o
    Attached Thumbnails Attached Thumbnails IMG_20141215_013411.jpg   IMG_20141215_013429.jpg  

Similar Threads

  1. Servo module for UHU based drives now available.
    By H.O in forum UHU Servo Controllers
    Replies: 1
    Last Post: 01-24-2022, 03:11 PM
  2. Servo drive with ATMEGA
    By mcm_xyz in forum Servo Motors / Drives
    Replies: 1
    Last Post: 12-15-2014, 01:12 AM
  3. Suggestions on New VSD-Core Based Mains Powered Drive
    By Adamj12b in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 4
    Last Post: 05-05-2009, 08:28 PM
  4. Pic based servo motor drive
    By ahmedrehan in forum PIC Programing / Design
    Replies: 7
    Last Post: 08-08-2007, 01:08 AM
  5. I need help on PC-based for servo control
    By NASR1 in forum Servo Motors / Drives
    Replies: 1
    Last Post: 08-14-2006, 09:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •