586,094 active members*
3,946 visitors online*
Register for free
Login Register
EMUGE-FRANKEN Forum
Open Source Controller Boards > ADE-SMC DIY Servo controller
Results 1 to 20 of 20
  1. #1
    Join Date
    Mar 2007
    Posts
    10

    ADE-SMC DIY Servo controller

    Here I want to present the schematic of my DIY "ADE-SMC" servo controller.
    The firmware for the servo controller is based on the ELM controller.

    A lot of extra features are added to the ELM firmware, as:

    LCD to read status info of the controller like temperature, motor current and position etc. and also to change the motor setup without using a PC.

    Keyboard connection for a keyboard with 12 keys, used for setup and XYZ positioning, etc.

    Intercommunication bus to communicate with other drives.
    To display there status, setup and move the axes. So only one LCD and one keyboard has to be connected to a drive and all the others can be controlled.

    feel free to ask questions or comments.

    Regards,
    Alexander
    Attached Thumbnails Attached Thumbnails ADE-SMC2.jpg   ADE-SMC3.jpg  
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2005
    Posts
    167
    thanks alexander , very nice work.
    the schematic seems a bit confusing at the first glance, have to look further
    also u said that you have a drive board and slave boards, which one is on the schematic ?
    can you post the board layout , BOM, and component layout as well.

    thanks again

  3. #3
    Join Date
    Mar 2007
    Posts
    10
    MAX,

    The schematic is a hierarchical design, a toplevel "block schematic" with the microcontroller part and H-bridge part.

    With R202,R204..R206 it is possible to configure each drive as slave or master.
    Also the slave adress is set with those "config" resistors. So this design can be used as master or slave or standalone without intercommunication, LCD and keyboard. This to be as flexible as possible with one hardware design and firmware.

    BOM, layout documentation, etc. I will post soon if intrest for this ADE-SMC design.

    Again the intercommunication I'm working on and is not finsched yet.

    Regards,
    Alexander

  4. #4
    Join Date
    May 2003
    Posts
    42
    Hi Alexander,

    Very nice looking board - you must have put a lot of work into it.
    Can you please tell me what sort of step rates we might expect with this board, and what encoder speed it can handle?
    Thanks for your efforts.

    Regards
    Andrew

  5. #5
    Join Date
    Apr 2005
    Posts
    26
    ir2111Is a commutability oflm5104?
    My English is badly!

  6. #6
    Join Date
    Jul 2004
    Posts
    13
    ade cnc

    Very fun cnc servo controller and mcu processor
    Go are head enjoy cnc....

  7. #7
    Join Date
    Nov 2004
    Posts
    2
    Hi Alexander

    Looks very good so far. It it your intention to share the source code too?
    I like the discreet design approach. Yes there are fancy H-Bridge all in one drivers out there, but they just too expensive - especially where I am.

    Keep at it, I am sure many of us would like to experiment with your drive, and thanks for sharing !

  8. #8
    Join Date
    Mar 2007
    Posts
    10
    Thanks for all the complements!!!...

    I will share the "hex" file for the ATmega128 and not the complete source code project. This because I invest lots of free time in this and do not want that someone takes it and makes a commercial version of the ADE-SMC. I could do it my self and make some money out of it....

    But i Decided to share it this way, with the hex file, schematics and board layout everyone can make his own DIY version of the ADE-SMC.

    So when the code is ready I will post it here..


    The question about why the LM5104 is used, is because it is easy get via Farnell and the spec. and pricing is also okay. I use the ADE-SMC with 24volt motor supplyvoltage. The maximum is 118Volt for this LM5104 driver, but when higher voltages are used with the ADE-SMC the 7812(D102) regulator must not to be assembled. An external 12volt has to be supplied via "J1" in the schematic.
    Also the H-bridge needs other FETs because the one I used (those where on "stock") are only for maximum 55Volt.

    Regards,
    Alexander

  9. #9
    Join Date
    Apr 2005
    Posts
    26
    SMC3ATo a PWM the H bridge upper arm and bottom arm
    A0A~1B0B~1
    A0A~1B1B~0
    A1A~0B0B~1
    A1A~0B1B~0
    A1A~0B1B~0->A1A~0B0B~1
    A1A~0B1B~0->A1A~0B1B~0
    How to keep the top and bottom arm from lead?At software up postpone?

  10. #10
    Join Date
    May 2006
    Posts
    16

    Smile Can you compare with UHU controller?

    Hi Alexander,
    Looks like a nice development. I had been thinking of making a uhu style controller except with an atmega128 for extra ease and features and because I'd like to program it in C. I don't like the idea of an open source project when the source isn't open, but at least your plan is free as opposed to beer whare.

    Your fet driver configuration looks a lot simpler than the uhu. Since you both started with the ELM SMC I wondered why you haven't borrowed the further developed uhu driver design? Do you feel the extra uhu driver circuits are not necessary?

    Other questions:
    1. Wonder how hard to make 53V 20 amp?
    2. How fast can you read encoders?
    3. Are you using enterupts or polling for encoders? I have programmed an Atmel Butterfly to read and display quadrature encoders using interupts, but the buterfly's LCD display sucks up a lot of speed.

    thanks
    Mike

  11. #11
    Join Date
    May 2006
    Posts
    16
    Hello again,

    I like the way you have partitioned the high power motor drive electronics on a separate board with the PWM-A, PWM-B, buffered ENC-A & -B at the interface. I don't understand why the step and direction signals go to through the power board?

    How's it going?

    thanks
    Mike

  12. #12
    Join Date
    Feb 2007
    Posts
    592
    (tagged for when I can find time to read this thru 3x)

  13. #13
    Join Date
    Aug 2006
    Posts
    2758
    Quote Originally Posted by bicycleboy View Post
    Hi Alexander,
    ..............................Your fet driver configuration looks a lot simpler than the uhu. Since you both started with the ELM SMC I wondered why you haven't borrowed the further developed uhu driver design? Do you feel the extra uhu driver circuits are not necessary?

    Other questions:
    1. Wonder how hard to make 53V 20 amp?
    2. How fast can you read encoders?
    3. Are you using enterupts or polling for encoders? I have programmed an Atmel Butterfly to read and display quadrature encoders using interupts, but the buterfly's LCD display sucks up a lot of speed.

    thanks
    Mike
    Hello Alexander;

    I would like to add a few more questions.

    Are you adding "dead time" for the upper and lower mosfets on the same leg in the firmware?
    What is your PID update frequency? any feed forward velocity or acceleration compensation?
    Have you tested the design with more than 10 amps at more than 50 volts?
    What are your mosfets' turn on and off times and at what Vds voltage?

    Thanks.

    Kreutz.

  14. #14
    Join Date
    Jan 2009
    Posts
    1
    Nice work , i guess they are dcservo motors.
    Can u upload source code plz.

  15. #15
    Join Date
    Dec 2008
    Posts
    7
    Can u please submit a hex or if possible to share a source file


    Thanks very much
    Naeem Mughal

  16. #16
    Join Date
    Dec 2008
    Posts
    7
    Can u please submit a hex or if possible to share a source file


    Thanks very much
    Naeem Mughal

  17. #17
    Join Date
    Jan 2009
    Posts
    19
    Hey is the source code or hex for this Atmega128 posted?I want to build my own servo controller for a school project.Please help.

  18. #18
    Join Date
    Jan 2009
    Posts
    19
    Hey ade_cnc ,I want to build my own PID servo controller based on AVR.I saw ELM chan's and yours.Could you please help me with the firmware and Fuse bit settings?

  19. #19
    Join Date
    Jan 2009
    Posts
    19
    Quote Originally Posted by ade_cnc View Post
    Here I want to present the schematic of my DIY "ADE-SMC" servo controller.
    The firmware for the servo controller is based on the ELM controller.

    A lot of extra features are added to the ELM firmware, as:

    LCD to read status info of the controller like temperature, motor current and position etc. and also to change the motor setup without using a PC.

    Keyboard connection for a keyboard with 12 keys, used for setup and XYZ positioning, etc.

    Intercommunication bus to communicate with other drives.
    To display there status, setup and move the axes. So only one LCD and one keyboard has to be connected to a drive and all the others can be controlled.

    feel free to ask questions or comments.

    Regards,
    Alexander
    Could you please post the hex and the fuse settings for atmega128.It would help us.

  20. #20
    Join Date
    May 2007
    Posts
    1
    Hi ade_cnc

    I am at the point of buying or building a servo amp.

    I also use the Mega128 in most of my projects so this is my choice.

    Can you give any idea when your code will be ready for posting - I want to start with a pcb or can you provide a gerber file or pdf of the 2 layers - it will save a lot of time on this side.

    Keep up the good work - cant wait .

    Cheers Nico

Similar Threads

  1. Elm Dc Servo Controller???
    By smartgsm in forum Open Source Controller Boards
    Replies: 437
    Last Post: 01-17-2024, 06:11 PM
  2. DIY Servo controller
    By ejkoeze in forum Open Source Controller Boards
    Replies: 2170
    Last Post: 08-29-2022, 11:51 AM
  3. New unused DC Servo Controller...
    By Dave's_Not_Here in forum Servo Motors / Drives
    Replies: 4
    Last Post: 06-07-2005, 09:32 PM
  4. Need help for servo controller box
    By osdhillon in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 02-07-2005, 09:23 PM
  5. Progress on my servo controller
    By arvidb in forum CNC Machine Related Electronics
    Replies: 3
    Last Post: 01-24-2005, 04:14 PM

Posting Permissions

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