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 09-24-2005, 09:50 PM
wsc wsc is offline
 
Join Date: Aug 2005
Location: USA
Posts: 28
wsc is on a distinguished road
High current bipolar stepper drive

Hi guys, first post here.

Seems I'm in a bit of a pickle. My current project requires the use of bipolar steppers with 2.8 amps per phase. This application demands super smooth, super quiet low speed operation. I've been researching for a few days and have looked at LMD18245, L297, L6506, etc. They each have their own flaws that I believe rules them out for my application.

I think the best solution is to design a discrete controller based on a processor (AVR) and MOSFETs. Ideally, similar to a linistepper for bipolar motors, which isn't quite a direct correlation. Right now I've got a few questions as I'm pouring over documents and racking my brain for ideas.

- Anyone working on such a project at the moment?
- Any ideas for sensing current through each winding in a more elegant fashion than a sense resistor?

I'm open to any comments or suggestions.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 09-24-2005, 11:19 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Take a look at Alan's PICstep. The LMD18245's will do 3A. While it's not AVR based, it something you can get up and running in a short time. Construct your own code if you want to different functionality.
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 09-24-2005, 11:19 PM
wsc wsc is offline
 
Join Date: Aug 2005
Location: USA
Posts: 28
wsc is on a distinguished road

Well, heh.. here is what I have in mind.

The 1, 2, 3, 4 and enable lines are all pulse width modulated by the AVR. The filters after the gates convert the digital pulses to an analog voltage. The idea being that the MOSFETs are smoothly driven from saturation to cutoff, instead of just slammed on and off. The only reason I'm considering the filtering is because I've got to reduce noise and get the motor to run as smoothly as possible. I'm hoping I'm not totally off my rocker here...

Please let me know what you think guys!
Attached Images
File Type: jpg ckt.jpg‎ (34.5 KB, 500 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 09-24-2005, 11:24 PM
wsc wsc is offline
 
Join Date: Aug 2005
Location: USA
Posts: 28
wsc is on a distinguished road

Phil the only reason I don't want to use LMD18245's is that eventually we will be moving to even larger motors in the future. Might as well just skip right ahead to a design that's more future proof.

Edit: and we have space and cost constraints that rule out something like a geckodrive.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 09-25-2005, 07:05 AM
jerber's Avatar
Gold Member
 
Join Date: Nov 2004
Location: Netherlands
Posts: 140
jerber is on a distinguished road

On this site, http://www.sb-microstep.com/ , there is a board that uses two LMD18245's in parallel to get 6 amps.

Maybe a modular design is the way to go in order to get higher amperages (3,6,9...).

What kind of AVR are you using ?
__________________
____________________________________
Jeroen

Last edited by jerber; 09-25-2005 at 07:32 AM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 09-25-2005, 07:47 AM
Garfield2's Avatar  
Join Date: Sep 2004
Location: Australia
Posts: 232
Garfield2 is on a distinguished road

Originally Posted by jerber
On this site, http://www.sb-microstep.com/ , there is a board that uses two LMD18245's in parallel to get 6 amps.
Err I'm pretty sure from my reading of the LMD18245's spec sheet that parallel LMD18245's on a common coil ain't such a good idea. Their MOSFET based current sensor and limiting circuit will all be screwed up with devices switching the same load in parallel. In fact I remember the datasheet saying that you can't do this (unlike the L298 which can happily do this as pminmo has skillfully shown).

Designing a high-powered microstepping bi-polar driver that can do > 3 amps is possible, but you get to a point where you are spending more time designing and using expensive exotic parts on something you're not 100% sure will work, if it doesn't just blow all those said nice expensive parts up in smoke. You'd almost be able to justify an off the shelf driver from a reputable manufacturer with a proven track record for less.

Building a MOSFET based bi-polar microstepper shouldn't be to hard, but you need some form of current sensing system, which for my money I hate using a big fat nasty resistor. Plus at the current ratings you're after it'll need to be a fairly hefty resistor too!

Laws of diminishing returns and all that come into play for my money.

Cheers,
Alan.
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 09-25-2005, 08:34 AM
jerber's Avatar
Gold Member
 
Join Date: Nov 2004
Location: Netherlands
Posts: 140
jerber is on a distinguished road

Originally Posted by Garfield2
Err I'm pretty sure from my reading of the LMD18245's spec sheet that parallel LMD18245's on a common coil ain't such a good idea. Their MOSFET based current sensor and limiting circuit will all be screwed up with devices switching the same load in parallel. In fact I remember the datasheet saying that you can't do this (unlike the L298 which can happily do this as pminmo has skillfully shown.

...

Cheers,
Alan.
But how do they do it/get away with it then ?

From the schematic from their site, "Building instructions 6A" under document (It's a flash site so I can't link ), I understand it's 2 LMD18245's in parallel.

Maybe I just buy the card and see what it does.
__________________
____________________________________
Jeroen
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 09-25-2005, 11:39 AM
wsc wsc is offline
 
Join Date: Aug 2005
Location: USA
Posts: 28
wsc is on a distinguished road

Originally Posted by jerber
On this site, http://www.sb-microstep.com/ , there is a board that uses two LMD18245's in parallel to get 6 amps.

Maybe a modular design is the way to go in order to get higher amperages (3,6,9...).

What kind of AVR are you using ?
Those are L298s, not LMD18245s. I'm thinking of using a mega48 or mega88. Hopefully I can squeeze control of two motors into one chip, I'm not sure though. Here's an updated schematic.
Attached Images
File Type: jpg ckt.jpg‎ (33.4 KB, 225 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 09-25-2005, 04:25 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

couple of things. #1 if your planning on implementing the bipolar drives in COTS logic, you diagram won't work. #2 I think your going to put to much real time activity on the avr. You talk of smoothness, what is your real need?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 09-25-2005, 05:49 PM
wsc wsc is offline
 
Join Date: Aug 2005
Location: USA
Posts: 28
wsc is on a distinguished road

Phil, I dont see it, how would it not work? I think the AVR would be loaded down, but these chips have instruction rate as high as 20Mhz. Thats alot of processing power. The application is film related, really demands smooth low speed operation. Has to be as silent as possible too.

Edit: mega48/88/168 have 6 channels of hardware PWM. No overhead there.

Last edited by wsc; 09-25-2005 at 06:06 PM.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 09-26-2005, 04:48 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

wsc,
Your pullup bipolar is biased through the inductive motor coil. How do you intend to close the loop for pwm?
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 09-28-2005, 03:03 PM
wsc wsc is offline
 
Join Date: Aug 2005
Location: USA
Posts: 28
wsc is on a distinguished road

Yeah, the circuit has alot of problems as drawn. Too many exams right now, will post majorly redesigned circuit in a few days.
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 08:23 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