Elm Dc Servo Controller???

Page 1 of 22 123411 ... LastLast
Results 1 to 20 of 438

Thread: Elm Dc Servo Controller???

  1. #1
    Registered
    Join Date
    Aug 2005
    Location
    Slovenia
    Posts
    12
    Downloads
    0
    Uploads
    0


  2. #2
    Registered
    Join Date
    May 2005
    Location
    Australia
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by smartgsm
    i found in google this page:

    http://elm-chan.org/works/smc/report_e.html


    In my first view is very interesting.
    Specially on page is all: shecmatic and SOURCE code.

    Does anybody try this project?

    Br
    Greg
    Hi Greg,

    I've seen this, and planning to go ahead and build atleast one for the learning value. I'm at a bit of a disadvantage at the moment, not knowing assembler or C for the AVR but more than keen to learn.

    I plan sticking with the AT90S2313 AVR, which I already have (I purchased a dev board from www.futurlec.com). I'm at the "Hello World" stage, managing to blink an LED.

    As for the drive section, I'm looking at using a single IRF540 per leg of the H bridge generally as per the OSMC bridge, and incorporating the same protection, and driven by a HIP4081 FET driver.

    I'm by know means an electronics whiz, I can follow a schematic, and read specs, and solder. Designing from scratch really is beyond me.

    I understand that the ELM SMC3 is some what limited and has no current feedback, other than calculated which may not be ideal.

    My interest in this is to eventually build 3 servo drivers for a converted X3 milling machine. For the moment, it will be run with stepper motors and a xylotex microstep drive.

    If anyone else is interested, or made some advances, I would love to hear about it.

    Pat



  3. #3
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default It works!!!

    Hello.

    I have made 3 boards of ELM Controller and put them on a giant machine... And they work just fine. I have compiled the software using AVRStudio and made almost no modifications to the software.
    I have made some modifications to the board but only on the High power driver part. (The H Bridge)
    The whole thing works flowless. It's a very cheap thing to try, easy to build and works perfect with TurboCNC.

    As a note I must add that you will have to tune up the parameters of the servo with respect to the motors driven and the load involved...

    My best to CHAN!



  4. #4
    Registered
    Join Date
    May 2005
    Location
    Australia
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default

    Hi mcm,

    That's great to hear that you got the boards up and running. I think the ELM controller design is by far the simplest and cheapest open source alternative for those who would like to move up to servo control for their CNC machines.

    What capacity does your H bridge have? Did you etch your own boards, or were they commercially etched?

    I have the H bridge portion of the board drawn up, but everything has been put on hold until I can get enough free time to finally complete the mechanical conversion of my X3 mill. I have the X and Y axis complete, just need to finish off the Z axis (install the ball screw, nut, and thrust bearings)

    Have you got any pics of your completed boards?

    Sorry for the ramble of questions, but I was actually going to order 3 gecko drives, but your post has inspired me to re-think it.

    Pat



  5. #5
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default No pictures yet!!

    Hello

    Sorry but I do not have any pictures to show. I'll try to make some this weekend and post them.
    My H bridges are also home made. (I'll have to tell you that my Servo Motors are home made too ... Extremly low budget... But they also work pretty great...
    The H Bridges have to handle 20Amps on 12Volts. Not too much but not little also... At least when the engines are on heavy load the current can grow a lot...
    Unfortunatelly I can not found the link now but I'll post it as soon as I reach home.

    Anyway... It's amazing what you can do with a broken mouse a 10$ normal DC engine and 10$ of electronics... I can not really understand why servo engines are so expensive...

    Best regards



  6. #6
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default

    PS...
    The pcbs are made using test pcbs... The ones with a lot of holes... Not the best solution but I was too lasy to design some... I am now working on some pcb's design and I'll be happy to post them when ready...

    Mike



  7. #7
    Registered
    Join Date
    Mar 2004
    Location
    Iowa, USA
    Posts
    261
    Downloads
    0
    Uploads
    0

    Default

    MCM_XYZ,

    I'd be very interested to see what you did for making your own servos with feedback. The mouse idea is very interesting. I would guess that it has all of the position circuitry you need. How did you hook it up mechanically?

    RipperSoftware



  8. #8
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default

    I'll post some pictures of the motors too... It's really simple... You will have to make a hole in the back shaft of the motor... Place the mouse wheel in that hole... You will have to make the hole as straight and centered as possible... This could be pretty tricky... Afer that find a way to place the pototransistor and photodiode near the mose wheel in the same position as they stayed in the mouse... One more resistor is needed to limit the voltage on the phototransistor and the quadrature encoder is ready... you might need to boost the output signal width a schmidtt trigger...

    I'll show you later...



  9. #9
    Member sdantonio's Avatar
    Join Date
    Nov 2005
    Location
    USA
    Posts
    938
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mcm_xyz
    PS...
    The pcbs are made using test pcbs... The ones with a lot of holes... Not the best solution but I was too lasy to design some... I am now working on some pcb's design and I'll be happy to post them when ready...

    Mike

    Hi Mike,

    Thank you in advance. Being totally an electronic bafoon (though the girlfriend seems to think I know what I'm doing electronically... how easily their fooled) PCB's would help greatly. I was going to ask if anyone would take the time to make some board designes and post them.

    Steven



  10. #10
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default Pictures

    Here are some pictures as promised...
    2 pictures of the boards and 3 of the motors.
    Sorry for the quality but I do not have a camera.

    Attached Images Attached Images


  11. #11
    Member sdantonio's Avatar
    Join Date
    Nov 2005
    Location
    USA
    Posts
    938
    Downloads
    0
    Uploads
    0

    Default

    Now I hope this isn't to much of a dumb question, but having never worked with servo's before, can I keep using the same software?

    In my case Rhino3D as my CAD
    RhinoCAM as my program to generate gcode
    Mach3 as my gcode interpreter and step-pulse generator.

    Steven



  12. #12
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default Hope so...

    The first two will work for sure...
    I have never tried Mach3 but if it is step / dir based and outputs on LPT it will work too.

    Mike



  13. #13
    Member sdantonio's Avatar
    Join Date
    Nov 2005
    Location
    USA
    Posts
    938
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mcm_xyz
    The first two will work for sure...
    I have never tried Mach3 but if it is step / dir based and outputs on LPT it will work too.

    Mike
    It does work that way, so it should work fine. Thanks



  14. #14
    Registered
    Join Date
    Mar 2004
    Location
    Iowa, USA
    Posts
    261
    Downloads
    0
    Uploads
    0

    Default

    MCM_XYZ,

    Thanks for posting the pictures. The motor mount of the mouse parts is pretty clear. How simple!!

    RipperSoftware



  15. #15
    Registered
    Join Date
    May 2005
    Location
    Australia
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by mcm_xyz
    Here are some pictures as promised...
    2 pictures of the boards and 3 of the motors.
    Sorry for the quality but I do not have a camera.
    Hi Mike,

    Thanks for posting the pics, and the information on your drives and servo's. I'm still coming to terms with the simplicity.

    You mentioned some minor software changes, what did you end up changing?

    I'd be happy to share my board design too for those interested, but it will be a while before I have anything worthy. As in my first post, mine is based on IRF540 fets actually mounted below a CPU heatsink and fan assembly.

    I've attached a preview of my board.

    Pat

    Attached Images Attached Images


  16. #16
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default Software changes

    Hi Pat

    Keep on working... I have changed only 2 values in the original program provided by Chan.

    INI_MODE changed from 2 to 3. To start the servo in positional mode directly.
    SYSCLK from 18Mhz to 15Mhz in concordance with the frequency of the Xtal I used in the schematics. If this second value is not changed the serial commnunication will not work.

    Thats all...

    Although I am a software engineer, assembler is beyond my power of understanding . So I can not say I am getting very much out of that code although it is nicely quoted...

    Mike



  17. #17
    Registered
    Join Date
    May 2006
    Location
    Romania
    Posts
    190
    Downloads
    0
    Uploads
    0

    Default Hello again

    I'm almost finished with the boards design. I'll post them next week (hope so). However the boards are based on a different schematic that has some amplifiers / trigers for my custom servos and a different H bridge driver and H bridge.
    The board and schematic are designed with express PCB and will be very simple for someone to change as desired.

    Mike



  18. #18
    Member sdantonio's Avatar
    Join Date
    Nov 2005
    Location
    USA
    Posts
    938
    Downloads
    0
    Uploads
    0

    Default

    Hi Mike,

    Thank you in advance for your work. Can you post detailed information about your custom servos too if it is not to much trouble. Will it also work with standard off-the-shelf servos or has it been to customized?

    Thank you
    Steven



  19. #19
    Registered
    Join Date
    May 2006
    Location
    germany
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default boards ready?

    Hi Mike,


    have you finished your boards. Do you have some more informations about your servos?

    greetings from germany

    ralf



  20. #20
    Registered hesham morsy's Avatar
    Join Date
    Apr 2006
    Location
    egypt
    Posts
    169
    Downloads
    0
    Uploads
    0

    Default

    Hi Mike


    have you finished your boards. Do you have some more informations about your servos?

    greetings from egypt
    hesham



Page 1 of 22 123411 ... LastLast

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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Elm Dc Servo Controller???

Elm Dc Servo Controller???