586,121 active members*
3,755 visitors online*
Register for free
Login Register
HEIDENHAIN Forum
Open Source Controller Boards > DIY AC Servo Drive - ATMega based
Results 1 to 20 of 264
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n James Newton\r\n \r\n
\r\n James Newton is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
Join Date
May 2005
\r\n \r\n \r\n
Posts
1397
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n

\r\n Re: DIY AC Servo Drive - ATMega based\r\n

\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n jdholbrook, It\'s great you are doing board layouts! May I suggest you re-do the through hole board so that it makes use of network resistors instead of requiring so many individual resistors? Cutting down on the parts count makes a difference. I love the mixed hole and SMD board!\r\n
\r\n
\r\n\r\n \r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
James hosts the single best wiki page about steppers for CNC hobbyists on the net:
\r\nhttp://www.piclist.com/techref/io/steppers.htm Disagree? Tell him what\'s missing! ,o)
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n'; pd[1633998] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #2\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n jdholbrook\r\n \r\n
    \r\n jdholbrook is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Mar 2005
    \r\n \r\n \r\n
    Posts
    159
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by James Newton\r\n View Post\r\n
    \r\n
    jdholbrook, It\'s great you are doing board layouts! May I suggest you re-do the through hole board so that it makes use of network resistors instead of requiring so many individual resistors? Cutting down on the parts count makes a difference. I love the mixed hole and SMD board!
    \r\n \r\n
    \r\n
    \r\n
    I\'ll take a look at the network resistor but it will be Monday before I can get back on it.
    \nI also liked the idea of the mixed board.
    \nI want to build three and set my 6040 up with servo drives.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1634408] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #3\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n New firmware and tuning program!
    \n
    \nA new feature has been added to the tuning software to be able to measure PID frequency (how many times per second the PID output is updated).
    \nAfter optimization of the firmware I was able to reach 8.3 kHz for PID frequency! pretty good!
    \nA good guide for tuning your servo (if you reached that point) is located here: A Simple Method for Servo Motor Tuning - National Instruments
    \n
    \nThe movement is very smooth both on high and low speeds if PID is tuned correctly! What you see there gets at max 12000 mm per minute. 15000 can be reached with a longer axe without increasing acceleration too much. So basically no problem to reach 3000RPM with the motor!
    \n
    \nhttps://www.youtube.com/watch?v=UXHusbP2Pcc
    \n
    \nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1635458] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #4\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n punisher454\r\n \r\n
    \r\n punisher454 is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2006
    \r\n \r\n \r\n
    Posts
    115
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n So this is looking really good. I took a glance at the code again today and an idea struck me. I think I\'d be interested in taking this and replacing the brushless motor control stuff with regular DC motor code, and doing the same again and making a version with stepper motor output. Basically 3 versions of the same program.
    \nMy mill currently is being built with brushed DC motors. someday I know I\'d like to upgrade to brushless. The way I\'m building my servo control boards would also lend themselves to this idea, since I have a separate logic board and a driver board connected by just a 3 wires (enable, direction and PWM) A brushless version of my board would have 4 (enable, U,V and W).
    \n
    \nI think I may have a go at trying mikropascal again. I\'m curious to see how much its changed since version 2(the last time I looked at it).\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1635554] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #5\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by punisher454\r\n View Post\r\n
    \r\n
    So this is looking really good. I took a glance at the code again today and an idea struck me. I think I\'d be interested in taking this and replacing the brushless motor control stuff with regular DC motor code, and doing the same again and making a version with stepper motor output. Basically 3 versions of the same program.
    \r\nMy mill currently is being built with brushed DC motors. someday I know I\'d like to upgrade to brushless. The way I\'m building my servo control boards would also lend themselves to this idea, since I have a separate logic board and a driver board connected by just a 3 wires (enable, direction and PWM) A brushless version of my board would have 4 (enable, U,V and W).
    \r\n
    \r\nI think I may have a go at trying mikropascal again. I\'m curious to see how much its changed since version 2(the last time I looked at it).
    \r\n \r\n
    \r\n
    \r\n
    Indeed. Adding support for DC motors is very easy in this setup. You will practically use only 2 outputs. Maybe in a future version...
    \r\n
    \r\nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1636066] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #6\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n jdholbrook\r\n \r\n
    \r\n jdholbrook is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Mar 2005
    \r\n \r\n \r\n
    Posts
    159
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Whipped up an SMD variant of the board.
    \r\nPower res and IRF are through hole.
    \r\n50x100mm
    \r\nForgot the resistor array.
    \r\n
    \r\n
    \r\nAttachment 266342\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1636930] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #7\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n very very nice...
    \nIf I could only produce PCB\'s like this...\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1639906] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #8\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n DONATION!
    \r\n
    \r\nHello everyone!
    \r\n
    \r\nI am donating a Servo Board as seen in the picture, without the ATMega644 and the IR2101s. It contains all other parts, including radiator.
    \r\nIt\'s an older design, it has the power resistor soldered below the board, has a different pinout for the encoder and step dir enable signals.
    \r\nThe board is functional, was tested and helped during development.
    \r\n
    \r\nI am asking only for the shipment money.
    \r\nI just want whomever takes it to use it, test it and so on...
    \r\n
    \r\nI\'m waiting for requests
    \r\n
    \r\nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1640005] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #9\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n soundhound\r\n \r\n
    \r\n soundhound is offline\r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Dec 2013
    \r\n \r\n \r\n
    Posts
    1
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n mihai, i just sent you a private message - did u deactivated PMs?
    \n
    \nim interested in your board for testing and hopefully serious cnc action, just have to get IR2101s which shouldn\'t be a problem at all.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1640192] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #10\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by soundhound\r\n View Post\r\n
    \r\n
    mihai, i just sent you a private message - did u deactivated PMs?
    \n
    \nim interested in your board for testing and hopefully serious cnc action, just have to get IR2101s which shouldn\'t be a problem at all.
    \r\n \r\n
    \r\n
    \r\n
    Hello Chris
    \n
    \nSure thing! I can send the board to you. I will make a package asap. Just send me your delivery address!
    \nI will ship it with regular mail, to be the cheapest possible!
    \n
    \nBest regards
    \n
    \nMihai
    \n
    \nPS: I can not send PM to you. The board says you do not have it activated.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1640196] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #11\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n X axis is ready!
    \n
    \nhttps://www.youtube.com/watch?v=jlnwZzAQRMw
    \n
    \nThe max speed you see there is 12 meters per minute. Pretty good!
    \nAll alu parts you see there are made by myself on my Chinese 3040! I would say they made some good devices for the money...
    \n
    \nEnjoy!
    \n
    \nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1640384] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #12\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n H500\r\n \r\n
    \r\n H500 is offline\r\n\r\n \r\n \r\n Gold Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2005
    \r\n \r\n \r\n
    Posts
    1695
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Great project. It would be nice to replace the AVR circuit with one of these:
    \n
    \nSTM32F103C8T6 ARM STM32 Minimum System Development Board Module FOR Arduino Erus | eBay
    \n
    \nSame size. Lower cost. Much higher performance. Free tools. The circuit on the left can be eliminated.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1640432] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #13\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n punisher454\r\n \r\n
    \r\n punisher454 is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2006
    \r\n \r\n \r\n
    Posts
    115
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n I have been looking at those same ARM boards, and plan to make an order for a couple in the next few days.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641032] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #14\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n H500\r\n \r\n
    \r\n H500 is offline\r\n\r\n \r\n \r\n Gold Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2005
    \r\n \r\n \r\n
    Posts
    1695
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Mihai, do you think the algorithm would work on a stepper motor? I believe it would be necessary to commutate 200 times per revolution.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641152] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #15\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Hello.
    \n
    \nI think the algorithm can be changed to handle steppers. Commutation speed is not a problem, you must only change the commutation table to handle 4 outputs. But the ATMEGA644 has only 6 PWM channels. You will need another 2 to make it work the way it is done now. Or you can use 4 pwm channels and 4 other outputs that can be used to change the Hi / Lo commutation of a half bridge. You must use PWM and obtain somekind of microstepping because otherways you will not be able to sync the 200 steps of the stepper with the PPR of the encoder. Except if you will use a 200 PPR encoder...
    \n
    \nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641026] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #16\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n H500\r\n \r\n
    \r\n H500 is offline\r\n\r\n \r\n \r\n Gold Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2005
    \r\n \r\n \r\n
    Posts
    1695
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n I have the board. It works very well. Note that you will need an ICD. I bought the Jlink EDU to support the vendor, but if you are on a tight budget, I see counterfeits on Ebay for $12. I don\'t know how well they work, but the Jlink is outstanding, when compared to the AVR dragon that I\'m use to.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641396] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #17\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n H500\r\n \r\n
    \r\n H500 is offline\r\n\r\n \r\n \r\n Gold Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2005
    \r\n \r\n \r\n
    Posts
    1695
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Thanks for the explanation. Something I am wondering about is how much actual advantage is provided by the vector control algorithm, which is the ideal for maximizing performance and minimizing power consumption. It adjusts the coil currents to keep the resultant force pushing perfectly in the rotation direction. Have you looked at it before?\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641830] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #18\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by H500\r\n View Post\r\n
    \r\n
    Thanks for the explanation. Something I am wondering about is how much actual advantage is provided by the vector control algorithm, which is the ideal for maximizing performance and minimizing power consumption. It adjusts the coil currents to keep the resultant force pushing perfectly in the rotation direction. Have you looked at it before?
    \r\n \r\n
    \r\n
    \r\n
    I\'ve just looked at vector control. Motor Control AlgorithmsAC Motor Control Algorithms | Renesas Electronics Europe
    \nHowever form what I understand Vector controls requires calculation of Clark, Park and Park Inverse equations. This requires a very powerful MCU if you want to run at high speeds. Whit ATMega 644 I do not think it\'s possible. There are lot of sines and other math functions there...
    \n
    \nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1642118] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #19\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n H500\r\n \r\n
    \r\n H500 is offline\r\n\r\n \r\n \r\n Gold Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2005
    \r\n \r\n \r\n
    Posts
    1695
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by mcm_xyz\r\n View Post\r\n
    \r\n
    I\'ve just looked at vector control.
    \nHowever form what I understand Vector controls requires calculation of Clark, Park and Park Inverse equations. This requires a very powerful MCU if you want to run at high speeds. Whit ATMega 644 I do not think it\'s possible. There are lot of sines and other math functions there...
    \n
    \nMihai
    \r\n \r\n
    \r\n
    \r\n
    Sine and cosine can be done by table lookup. Because values repeat, a 90 entry sine table is all that is needed. According to ST, the calculations take 70% of the cpu time on a 25 Mhz stm32. It\'s likely pushing beyond the limits of the atmega.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641640] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #20\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n Larken\r\n \r\n
    \r\n Larken is offline\r\n\r\n \r\n \r\n Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Feb 2007
    \r\n \r\n \r\n
    Posts
    966
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Good work, I like how you wrote it in pascal . I had pascal for the Z80 TimexSinclair along time ago, then TurboPascal then Delphi.
    \nDo they make Mikropascal for pic processors ?\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1641832] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #21\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by Larken\r\n View Post\r\n
    \r\n
    Good work, I like how you wrote it in pascal . I had pascal for the Z80 TimexSinclair along time ago, then TurboPascal then Delphi.
    \nDo they make Mikropascal for pic processors ?
    \r\n \r\n
    \r\n
    \r\n
    Yes MikroPascal is also available for PIC. I think their PIC version is also much mature and stable. I could not help and not look at Viper Servo motor products. I see no drive for AC and BLDC motors... Do you have something on your mind...???
    \n
    \nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1643010] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #22\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n Larken\r\n \r\n
    \r\n Larken is offline\r\n\r\n \r\n \r\n Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Feb 2007
    \r\n \r\n \r\n
    Posts
    966
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by mcm_xyz\r\n View Post\r\n
    \r\n
    Yes MikroPascal is also available for PIC. I think their PIC version is also much mature and stable. I could not help and not look at Viper Servo motor products. I see no drive for AC and BLDC motors... Do you have something on your mind...???
    \r\nMihai
    \r\n \r\n
    \r\n
    \r\n
    Yes, i\'ve got one in the works for the 60 volts motors. I use the PIC 30F3011 with microchip C for most of it. But there isn\'t much of a market since the chinese have swamped the market with cheap AC servo drives and motors. The leadshine ac drive is pretty basic though and the tuning software is really bad. Mine uses the hall inputs though for now,.
    \r\n
    \r\nLarry\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1643714] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #23\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Hello again!
    \r\n
    \r\nHere is the latest firmware and Servo Tuning Software. A new parameter has been added, the anti windup Integral limit value. I feel it is a mistake to add a predefined constant for that, I think it\'s specific to motor.
    \r\nThose being said I am stopping development for this servo drives now. I will mount them on a machine soon and come back with impressions and maybe some other fixes after that. For now the drives fit my needs just fine.
    \r\n
    \r\nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1652480] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #24\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n moghul\r\n \r\n
    \r\n moghul is offline\r\n\r\n \r\n \r\n Benutzer\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Apr 2006
    \r\n \r\n \r\n
    Posts
    85
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n hi all
    \ncan i use these all on near about 200 vdc servo motor . 1 kw.
    \nshabbir\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1652524] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #25\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by moghul\r\n View Post\r\n
    \r\n
    hi all
    \r\ncan i use these all on near about 200 vdc servo motor . 1 kw.
    \r\nshabbir
    \r\n \r\n
    \r\n
    \r\n
    You have to change the final mosfets to run on higher voltages. The irfz44e I used are 60 v rated.
    \r\n
    \r\nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1652528] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #26\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n punisher454\r\n \r\n
    \r\n punisher454 is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2006
    \r\n \r\n \r\n
    Posts
    115
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n I think diy servo controllers in general, would be further developed by now if everybody would separately design the logic side and the power stage as two separate boards.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1652844] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #27\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n boldive\r\n \r\n
    \r\n boldive is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Dec 2008
    \r\n \r\n \r\n
    Posts
    28
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Hello,
    \r\n
    \r\nJust found this thread. Good work!!!
    \r\nI would recommend to buy components (North America) in :
    \r\nElectronic Components from the Best - Future Electronics
    \r\nor
    \r\nAvnet Electronics Marketing - Electronic Components Distributor Services, Datasheet PDF Download, Part Number Search 4.5 Million + Components - Avnet Express
    \r\n
    \r\nDigikey and Mouser are expensive.
    \r\n
    \r\nIt doesn\'t make sense to buy controller board on the eBay and add it to hand-made PCB. Better to use one PCB board for all components.
    \r\n
    \r\nTo make a high quality PCB in few hours at home use :
    \r\nhttp://www.mgchemicals.com/products/...ed-600-series/
    \r\nPrint PCB layout on LaserPrinter on trasparent film. Then expose 10min under UV (I use regular energy saving fluorescent bulbs) and develop in MG Chemical solutions. All information is available on /www.mgchemicals.com
    \r\n
    \r\nPower section layout is bad. Look at the attached tutorial from Mariss Freimanis for details.
    \r\n
    \r\nI will probably try to make this drive for myself to test my small motors. PCB has to be redone in very compact form using CMD components.
    \r\nOhhhh Need to recover my PCB design sills. Didn\'t touch Altium Designer and Eagle for more than 4 years.
    \r\n
    \r\nAnother option is design a board and place it with 4PCB or other manufactures. With >20 boards it can be a very reasonable cost which we can share.
    \r\n
    \r\nJust my 5 cents.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1652866] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #28\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n boldive\r\n \r\n
    \r\n boldive is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Dec 2008
    \r\n \r\n \r\n
    Posts
    28
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Looking at IRLU3110ZPbF as a power MOSFET. Parameters are very good, Total Gate Charge is only 42nC, it switches fast. Another option is old friends IRF540 or STP30NF20. The last one is a little bit better.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1653568] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #29\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Hello dear machinists!
    \r\n
    \r\nI\'m very happy that the interest in this project grows. I did not stop development. I still have some upgrades to make to the firmware. I will post soon the changes.
    \r\n
    \r\nAs for the PCB you will have to excuse me. I\'m a software engineer, my electronic skills are at hobby level. I would be very happy to participate in a common fund for creating some PCBs at some professionals.
    \r\n
    \r\nI will let you know about progresS soon.
    \r\n
    \r\nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1653582] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #30\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n jdholbrook\r\n \r\n
    \r\n jdholbrook is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Mar 2005
    \r\n \r\n \r\n
    Posts
    159
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n I know you\'ve seen my PCB layout.
    \nI wanted to say that I\'m having 5 made to test. Should be here any day.
    \nI\'ve got the components ready as well as an application on my little CNC Router (6040 China model)
    \nHope to report soon with a review and lots of photos.
    \nIf it works out, I\'ll be happy to work toward getting more ordered at cost.
    \n
    \nAnxious to try the latest firmware upgrades.
    \n
    \nJames\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1653666] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #31\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Hello again!
    \n
    \nI\'ve made some additional optimizations in code and got the PID to work at 9.12 kHz! very good...
    \nAlso there is a new procedure in place allowing a 5 % decrease in power when motor is in stopped position making this way the vibrations induced by the integral windup ZERO!!! so there are no more unwanted vibrations when stopped.
    \nAlso there is no decrease in actuation performance, the servo response curve is near perfect, only 13% overshoot and 52 ms settling time for a 100 steps jump.
    \n
    \nI will come back with pictures and videos of my new router when a new encoder for the third axis will arrive. I accidentally connected it wrong and smoked it... shame on me...
    \n
    \nFor now the new firmware...
    \n
    \nMihai
    \n
    \nPS. I see a growing interest in this project. Rest assured, it will newer transform in a commercial one. But I am interested for a better design in the schematic and board. If someone could improve it, this could be a nice addition. Also it would be nice to separate the inputs for step / dir / enable with optocouplers and maybe even the encoder, given the advantages and the low price for such circuits.\r\n
    \r\n
    \r\n\r\n \r\n
    \r\n\r\n \r\n
    \r\n Attached Thumbnails Attached Thumbnails\r\n \r\n\r\n \r\n\r\n
    \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n
    \r\n Attached Files Attached Files\r\n \r\n
    \r\n \r\n\r\n \r\n\r\n
    \r\n \r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1653680] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #32\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n grabik\r\n \r\n
    \r\n grabik is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Oct 2005
    \r\n \r\n \r\n
    Posts
    10
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n do you test in code something like this to prevent anti windup
    \n
    \n
    \nIf(PWM_out \n{
    \nprocess integral calculation
    \n}\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1653708] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #33\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by grabik\r\n View Post\r\n
    \r\n
    do you test in code something like this to prevent anti windup
    \r\n
    \r\n
    \r\nIf(PWM_out \r\n{
    \r\nprocess integral calculation
    \r\n}
    \r\n \r\n
    \r\n
    \r\n
    Yes, simple protection like this is also present. However if the motor refuses to stay in a certain position when power is not applied, because of the magnets inside, then we have a problem. Something had to be done to be able to stop.
    \r\nCheck the code.
    \r\n
    \r\nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655130] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #34\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n 3 servo drives working on my new router. Max speed you see is 10 meters / minute.
    \nSystem seems to be ok. After a hour long program zero position is kept, so no steps lost.
    \nEnjoy
    \n
    \nMihai
    \n
    \nhttps://www.youtube.com/watch?v=T7vj81t6yPk
    \n
    \nPS. Video is public now.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655166] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #35\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n jdholbrook\r\n \r\n
    \r\n jdholbrook is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Mar 2005
    \r\n \r\n \r\n
    Posts
    159
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Hello Mihai,
    \n
    \nThat\'s great news. I can\'t wait to get mine working.
    \nI tried to watch the video but it says "Private".
    \nWould really like to see it.
    \n
    \nThanks
    \nJames\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655214] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #36\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n H500\r\n \r\n
    \r\n H500 is offline\r\n\r\n \r\n \r\n Gold Member\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Jan 2005
    \r\n \r\n \r\n
    Posts
    1695
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Looks good. It would be interesting to see the maximum acceleration /deceleration capabilities once the parameters are optimized.\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655222] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #37\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n jdholbrook\r\n \r\n
    \r\n jdholbrook is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Mar 2005
    \r\n \r\n \r\n
    Posts
    159
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n That does look good. Nice and smooth.
    \nTotally the reason for getting away from stepper drives.
    \nCan\'t wait!
    \n
    \nJames\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655228] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #38\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n boldive\r\n \r\n
    \r\n boldive is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Dec 2008
    \r\n \r\n \r\n
    Posts
    28
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n Excelent work! Next step is test it under a load.
    \n
    \nMihai, what kind of encoders you are using, model number?
    \nThanks\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655494] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #39\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by boldive\r\n View Post\r\n
    \r\n
    Excelent work! Next step is test it under a load.
    \r\n
    \r\nMihai, what kind of encoders you are using, model number?
    \r\nThanks
    \r\n \r\n
    \r\n
    \r\n
    http://www.protehno.ro/rotary-encoders/module/1161169/\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655410] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #40\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n moghul\r\n \r\n
    \r\n moghul is offline\r\n\r\n \r\n \r\n Benutzer\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    Apr 2006
    \r\n \r\n \r\n
    Posts
    85
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n

    \r\n Re: DIY AC Servo Drive - ATMega based\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n hi
    \ni want to make this but here atmega 644 is not available. but i can found atmega 2560.
    \nhelp me for this.
    \nalso available atmega 88 n 162.
    \nshabbir\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; pd[1655498] = '\r\n
  • \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n #41\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n mcm_xyz\r\n \r\n
    \r\n mcm_xyz is offline\r\n\r\n \r\n \r\n Registered\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    Join Date
    May 2006
    \r\n \r\n \r\n
    Posts
    190
    \r\n \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n Quote Originally Posted by moghul\r\n View Post\r\n
    \r\n
    hi
    \ni want to make this but here atmega 644 is not available. but i can found atmega 2560.
    \nhelp me for this.
    \nalso available atmega 88 n 162.
    \nshabbir
    \r\n \r\n
    \r\n
    \r\n
    I just looked over atmega 2560 datasheet. It has all the features needed. Lots of pwm outputs, adc, uart, external interrupts. You just have to change the pin out, maybe some additional initializations.
    \nYou can use 6 pwm outputs in 16 bit mode so in theory you can make the movement smoother.
    \n
    \nMihai\r\n
    \r\n
    \r\n\r\n \r\n\r\n\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n Reply With Quote Reply With Quote \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
  • \r\n'; // next/previous post info pn[1611660] = "2451251,1611662"; pn[0] = ",1611660"; pn[1611662] = "1611660,1611712"; pn[1611712] = "1611662,2021016"; pn[2021016] = "1611712,1611730"; pn[1611730] = "2021016,1611790"; pn[1611790] = "1611730,1611906"; pn[1611906] = "1611790,1612604"; pn[1612604] = "1611906,1613000"; pn[1613000] = "1612604,2129005"; pn[2129005] = "1613000,1613038"; pn[1613038] = "2129005,1614388"; pn[1614388] = "1613038,1614400"; pn[1614400] = "1614388,1614490"; pn[1614490] = "1614400,1614424"; pn[1614424] = "1614490,1615706"; pn[1615706] = "1614424,1615714"; pn[1615714] = "1615706,1615722"; pn[1615722] = "1615714,1618284"; pn[1618284] = "1615722,1618590"; pn[1618590] = "1618284,1618610"; pn[1618610] = "1618590,1624272"; pn[1624272] = "1618610,2097059"; pn[2097059] = "1624272,1624374"; pn[1624374] = "2097059,1624392"; pn[1624392] = "1624374,1624630"; pn[1624630] = "1624392,1624566"; pn[1624566] = "1624630,1624620"; pn[1624620] = "1624566,1624636"; pn[1624636] = "1624620,1624640"; pn[1624640] = "1624636,1624646"; pn[1624646] = "1624640,1624680"; pn[1624680] = "1624646,1624684"; pn[1624684] = "1624680,1626950"; pn[1626950] = "1624684,1626972"; pn[1626972] = "1626950,1627048"; pn[1627048] = "1626972,1628700"; pn[1628700] = "1627048,1628946"; pn[1628946] = "1628700,1629026"; pn[1629026] = "1628946,1629129"; pn[1629129] = "1629026,1629130"; pn[1629130] = "1629129,1629598"; pn[1629598] = "1629130,1629690"; pn[1629690] = "1629598,1629766"; pn[1629766] = "1629690,1629874"; pn[1629874] = "1629766,1629878"; pn[1629878] = "1629874,1629900"; pn[1629900] = "1629878,1629892"; pn[1629892] = "1629900,1629928"; pn[1629928] = "1629892,1630108"; pn[1630108] = "1629928,1630522"; pn[1630522] = "1630108,1630524"; pn[1630524] = "1630522,1630574"; pn[1630574] = "1630524,1630810"; pn[1630810] = "1630574,1631264"; pn[1631264] = "1630810,1631294"; pn[1631294] = "1631264,1630594"; pn[1630594] = "1631294,1630622"; pn[1630622] = "1630594,1630746"; pn[1630746] = "1630622,1631556"; pn[1631556] = "1630746,1631576"; pn[1631576] = "1631556,1631648"; pn[1631648] = "1631576,1631792"; pn[1631792] = "1631648,1632042"; pn[1632042] = "1631792,1632338"; pn[1632338] = "1632042,1632526"; pn[1632526] = "1632338,1632570"; pn[1632570] = "1632526,1632186"; pn[1632186] = "1632570,1633264"; pn[1633264] = "1632186,1633634"; pn[1633634] = "1633264,1633662"; pn[1633662] = "1633634,1633644"; pn[1633644] = "1633662,1633982"; pn[1633982] = "1633644,1633998"; pn[1633998] = "1633982,1634408"; pn[1634408] = "1633998,1635458"; pn[1635458] = "1634408,1635554"; pn[1635554] = "1635458,1636066"; pn[1636066] = "1635554,1636930"; pn[1636930] = "1636066,1639906"; pn[1639906] = "1636930,1640005"; pn[1640005] = "1639906,1640192"; pn[1640192] = "1640005,1640196"; pn[1640196] = "1640192,1640384"; pn[1640384] = "1640196,1640432"; pn[1640432] = "1640384,1641032"; pn[1641032] = "1640432,1641152"; pn[1641152] = "1641032,1641026"; pn[1641026] = "1641152,1641396"; pn[1641396] = "1641026,1641830"; pn[1641830] = "1641396,1642118"; pn[1642118] = "1641830,1641640"; pn[1641640] = "1642118,1641832"; pn[1641832] = "1641640,1643010"; pn[1643010] = "1641832,1643714"; pn[1643714] = "1643010,1652480"; pn[1652480] = "1643714,1652524"; pn[1652524] = "1652480,1652528"; pn[1652528] = "1652524,1652844"; pn[1652844] = "1652528,1652866"; pn[1652866] = "1652844,1653568"; pn[1653568] = "1652866,1653582"; pn[1653582] = "1653568,1653666"; pn[1653666] = "1653582,1653680"; pn[1653680] = "1653666,1653708"; pn[1653708] = "1653680,1655130"; pn[1655130] = "1653708,1655166"; pn[1655166] = "1655130,1655214"; pn[1655214] = "1655166,1655222"; pn[1655222] = "1655214,1655228"; pn[1655228] = "1655222,1655494"; pn[1655494] = "1655228,1655410"; pn[1655410] = "1655494,1655498"; pn[1655498] = "1655410,1655532"; pn[1655532] = "1655498,1655626"; pn[1655626] = "1655532,1655624"; pn[1655624] = "1655626,1655632"; pn[1655632] = "1655624,1657610"; pn[1657610] = "1655632,1657658"; pn[1657658] = "1657610,1655816"; pn[1655816] = "1657658,1656044"; pn[1656044] = "1655816,1656102"; pn[1656102] = "1656044,1655998"; pn[1655998] = "1656102,1656144"; pn[1656144] = "1655998,1656146"; pn[1656146] = "1656144,1656160"; pn[1656160] = "1656146,1656494"; pn[1656494] = "1656160,1656748"; pn[1656748] = "1656494,1657982"; pn[1657982] = "1656748,1658090"; pn[1658090] = "1657982,1658324"; pn[1658324] = "1658090,1658390"; pn[1658390] = "1658324,1658514"; pn[1658514] = "1658390,1658616"; pn[1658616] = "1658514,1659306"; pn[1659306] = "1658616,1659692"; pn[1659692] = "1659306,1659830"; pn[1659830] = "1659692,1659898"; pn[1659898] = "1659830,1660408"; pn[1660408] = "1659898,1660636"; pn[1660636] = "1660408,1660792"; pn[1660792] = "1660636,1661056"; pn[1661056] = "1660792,1661188"; pn[1661188] = "1661056,1661724"; pn[1661724] = "1661188,1661764"; pn[1661764] = "1661724,1661802"; pn[1661802] = "1661764,1661962"; pn[1661962] = "1661802,1662402"; pn[1662402] = "1661962,1662546"; pn[1662546] = "1662402,1662622"; pn[1662622] = "1662546,1662710"; pn[1662710] = "1662622,1663950"; pn[1663950] = "1662710,1664398"; pn[1664398] = "1663950,1665496"; pn[1665496] = "1664398,1672486"; pn[1672486] = "1665496,1676096"; pn[1676096] = "1672486,1663254"; pn[1663254] = "1676096,1663474"; pn[1663474] = "1663254,1663476"; pn[1663476] = "1663474,1663576"; pn[1663576] = "1663476,1663890"; pn[1663890] = "1663576,1672066"; pn[1672066] = "1663890,1663898"; pn[1663898] = "1672066,1663962"; pn[1663962] = "1663898,1663966"; pn[1663966] = "1663962,1664702"; pn[1664702] = "1663966,1665494"; pn[1665494] = "1664702,1665718"; pn[1665718] = "1665494,1670808"; pn[1670808] = "1665718,1671150"; pn[1671150] = "1670808,1672304"; pn[1672304] = "1671150,1677340"; pn[1677340] = "1672304,1691626"; pn[1691626] = "1677340,2493502"; pn[2493502] = "1691626,1677844"; pn[1677844] = "2493502,1677896"; pn[1677896] = "1677844,1678286"; pn[1678286] = "1677896,1691634"; pn[1691634] = "1678286,1705294"; pn[1705294] = "1691634,1688117"; pn[1688117] = "1705294,1688119"; pn[1688119] = "1688117,1689597"; pn[1689597] = "1688119,1690250"; pn[1690250] = "1689597,1690438"; pn[1690438] = "1690250,1690699"; pn[1690699] = "1690438,1691228"; pn[1691228] = "1690699,1699584"; pn[1699584] = "1691228,1699580"; pn[1699580] = "1699584,1699392"; pn[1699392] = "1699580,1699428"; pn[1699428] = "1699392,1690456"; pn[1690456] = "1699428,1692526"; pn[1692526] = "1690456,1707324"; pn[1707324] = "1692526,1708570"; pn[1708570] = "1707324,1692528"; pn[1692528] = "1708570,1694022"; pn[1694022] = "1692528,1699062"; pn[1699062] = "1694022,1699078"; pn[1699078] = "1699062,1692964"; pn[1692964] = "1699078,1714664"; pn[1714664] = "1692964,1714698"; pn[1714698] = "1714664,1715220"; pn[1715220] = "1714698,1715272"; pn[1715272] = "1715220,1716124"; pn[1716124] = "1715272,1719224"; pn[1719224] = "1716124,1719226"; pn[1719226] = "1719224,1720154"; pn[1720154] = "1719226,1719230"; pn[1719230] = "1720154,1719234"; pn[1719234] = "1719230,1720158"; pn[1720158] = "1719234,1720196"; pn[1720196] = "1720158,1720230"; pn[1720230] = "1720196,1720216"; pn[1720216] = "1720230,1720232"; pn[1720232] = "1720216,1720238"; pn[1720238] = "1720232,1720240"; pn[1720240] = "1720238,1720330"; pn[1720330] = "1720240,1720336"; pn[1720336] = "1720330,1720586"; pn[1720586] = "1720336,1720842"; pn[1720842] = "1720586,1720844"; pn[1720844] = "1720842,1720848"; pn[1720848] = "1720844,1720852"; pn[1720852] = "1720848,1720856"; pn[1720856] = "1720852,1720860"; pn[1720860] = "1720856,1720934"; pn[1720934] = "1720860,1722172"; pn[1722172] = "1720934,1722368"; pn[1722368] = "1722172,1723040"; pn[1723040] = "1722368,1724324"; pn[1724324] = "1723040,1727966"; pn[1727966] = "1724324,1736008"; pn[1736008] = "1727966,1736012"; pn[1736012] = "1736008,1736078"; pn[1736078] = "1736012,1736426"; pn[1736426] = "1736078,1875584"; pn[1875584] = "1736426,1736504"; pn[1736504] = "1875584,1750554"; pn[1750554] = "1736504,1752180"; pn[1752180] = "1750554,1766058"; pn[1766058] = "1752180,1766532"; pn[1766532] = "1766058,1767298"; pn[1767298] = "1766532,1767304"; pn[1767304] = "1767298,1767340"; pn[1767340] = "1767304,1826946"; pn[1826946] = "1767340,1845064"; pn[1845064] = "1826946,1854145"; pn[1854145] = "1845064,1879348"; pn[1879348] = "1854145,2136436"; pn[2136436] = "1879348,2136910"; pn[2136910] = "2136436,1966419"; pn[1966419] = "2136910,2304883"; pn[2304883] = "1966419,2108957"; pn[2108957] = "2304883,2345252"; pn[2345252] = "2108957,2451249"; pn[2451249] = "2345252,2451251"; pn[2451251] = "2451249,1611660"; // cached usernames pu[0] = guestphrase; pu[110741] = "mcm_xyz"; pu[88005] = "mactec54"; pu[108849] = "Khalid"; pu[91439] = "James Newton"; pu[87320] = "TOTALLYRC"; pu[110068] = "hesham morsy"; pu[82389] = "Al_The_Man"; pu[104305] = "punisher454"; pu[90088] = "tivoidethuong"; pu[202854] = "Iron-Man"; pu[89595] = "jdholbrook"; pu[206251] = "quadtech"; pu[426903] = "soundhound"; pu[87775] = "H500"; pu[134537] = "Larken"; pu[109063] = "moghul"; pu[199195] = "boldive"; pu[98291] = "grabik"; pu[522684] = "studiousscholar"; pu[425218] = "DEVILHUNTER"; pu[240475] = "S.A.C."; pu[286149] = "interzis"; pu[520834] = "100-Watt"; pu[504200] = "puntogt4"; pu[525359] = "gaborf"; pu[162742] = "drmbx33"; pu[168942] = "cnc2"; pu[454004] = "ak007"; pu[505388] = "matt_wiersz"; pu[540612] = "fernando123"; pu[132526] = "jalessi"; pu[83472] = "jfong"; pu[279772] = "Tkamsker"; pu[534948] = "zhiwarwadi"; pu[530586] = "nitrochopper2"; pu[365350] = "rene-dev"; pu[206679] = "Dragonfly"; pu[96622] = "_ID_"; pu[131883] = "mbosko"; pu[180855] = "amrcelbreuer"; pu[586496] = "catur4widhi"; pu[597260] = "davemorl"; pu[211087] = "imran_plus"; pu[698629] = "NoellEagan"; pu[705003] = "Faisal007"; pu[675074] = "GPeti1977"; pu[763592] = "Stewart13"; pu[228871] = "vaiejoe"; pu[830654] = "Cncfettahbambrik"; pu[364027] = "sns5400"; // -->

    Threaded View

    1. #11
      Join Date
      May 2006
      Posts
      190

      Re: DIY AC Servo Drive - ATMega based

      X axis is ready!

      https://www.youtube.com/watch?v=jlnwZzAQRMw

      The max speed you see there is 12 meters per minute. Pretty good!
      All alu parts you see there are made by myself on my Chinese 3040! I would say they made some good devices for the money...

      Enjoy!

      Mihai

    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
    •