CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > OpenSource CNC Design Center > Open Source Controller Boards


Open Source Controller Boards Discussion for Open Source CNC type Controller Boards and other related items. (for personal use only)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 02-20-2006, 08:11 AM
 
Join Date: Aug 2005
Location: Slovenia
Posts: 12
smartgsm is on a distinguished road
Thumbs up Elm Dc Servo Controller???

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
Reply With Quote

  #2   Ban this user!
Old 03-07-2006, 01:48 AM
 
Join Date: May 2005
Location: Australia
Posts: 32
patndel is on a distinguished road

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
Reply With Quote

  #3   Ban this user!
Old 05-05-2006, 02:59 AM
 
Join Date: May 2006
Location: Romania
Posts: 29
mcm_xyz is on a distinguished road
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!
Reply With Quote

  #4   Ban this user!
Old 05-05-2006, 03:25 AM
 
Join Date: May 2005
Location: Australia
Posts: 32
patndel is on a distinguished road

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
Reply With Quote

  #5   Ban this user!
Old 05-05-2006, 07:25 AM
 
Join Date: May 2006
Location: Romania
Posts: 29
mcm_xyz is on a distinguished road
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
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-05-2006, 07:43 AM
 
Join Date: May 2006
Location: Romania
Posts: 29
mcm_xyz is on a distinguished road

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
Reply With Quote

  #7   Ban this user!
Old 05-05-2006, 09:06 AM
 
Join Date: Mar 2004
Location: Iowa, USA
Posts: 264
rippersoft is on a distinguished road

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
Reply With Quote

  #8   Ban this user!
Old 05-05-2006, 09:26 AM
 
Join Date: May 2006
Location: Romania
Posts: 29
mcm_xyz is on a distinguished road

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...
Reply With Quote

  #9   Ban this user!
Old 05-05-2006, 09:42 AM
sdantonio's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 904
sdantonio is on a distinguished road

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
Reply With Quote

  #10   Ban this user!
Old 05-05-2006, 11:54 AM
 
Join Date: May 2006
Location: Romania
Posts: 29
mcm_xyz is on a distinguished road
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
File Type: jpg DSC00399.JPG‎ (39.3 KB, 1801 views)
File Type: jpg DSC00401.JPG‎ (44.7 KB, 1395 views)
File Type: jpg DSC00402.JPG‎ (39.0 KB, 1011 views)
File Type: jpg DSC00403.JPG‎ (43.4 KB, 1125 views)
File Type: jpg DSC00405.JPG‎ (46.3 KB, 856 views)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-05-2006, 12:26 PM
sdantonio's Avatar  
Join Date: Nov 2005
Location: USA
Posts: 904
sdantonio is on a distinguished road

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
Reply With Quote

  #12   Ban this user!
Old 05-05-2006, 12:54 PM
 
Join Date: May 2006
Location: Romania
Posts: 29
mcm_xyz is on a distinguished road
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
Reply With Quote

Reply

Tags
pid




Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
rudypb
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 05:18 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361