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! > Electronics > Stepper Motors and Drives


Stepper Motors and Drives Discuss stepper motors, drivers and related topics here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 03-30-2010, 09:56 AM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road
Motion controller recommendation?

Hi all,

I am looking for a device (which I believe is a motion controller) that will let me control stepper motors from a PC. I will be using this with custom software, and would like to tell the device to move to some X,Y,Z (possibly X,Y,Z,A) coordinate, and the device will generate the *simultaneous* step/dir signals to send to the drivers ( for a smooth diagonal path).

Yes, I can have the PC and custom SW generate the correct pulse trains for the motors, but being able to do this with an external device would be nice, as it would save me from having to piddle around with real-time extensions to the OS (I'll be using C on Linux).

I can also build my own device to do this (using a microcontroller), but being able to purchase a ready-to-go device will save me lots of time, which is an issue nowadays.

Google got me a device called the SmoothStepper, which I think will do what I need, but it seems to be in development still -- there's a lack of detailed info and the manual states that some sections are pending. It also talks about working with Mach3 only, and does not explain how to control it direcly. I'd prefer a mature, proven product.

Any other ideas? I don't need it to have stepper drivers, as I can get those separately. And BTW, is it really a "motion controller" that I'm looking for?

Cheers,
-Neil.
Reply With Quote

  #2  
Old 03-30-2010, 09:59 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

Could you not go with Mach direct from PP port to stepper drive, as is usually the basic method with Mach.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3   Ban this user!
Old 03-30-2010, 10:23 AM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road

Not using Mach3 -- will be linux OS with custom code in C. The code will have to control a number of other things, which won't be easy with any other generic machine controller program anyway. This is for a homebrew PnP system, BTW.
Reply With Quote

  #4  
Old 03-30-2010, 10:47 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

You could design around a Galil Motion card, there are several options with their products, also libraries and s/w for design in VB or C++.
Built in vector or interpolated motion.
Plus PLC options and servo's or stepper option.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 03-30-2010, 11:32 AM
 
Join Date: May 2007
Location: US
Posts: 779
Andre' B is on a distinguished road

You could also give the people at Mesa a call.
http://www.mesanet.com/index.html

Edit:
http://www.mesanet.com/motioncardinfo.html
Quote:
The SoftDMC firmware converts any of our FPGA based I/O cardsto a high performance DSP based motion control system. The SoftDMC system supports up to 8 axis simultaneous motion. Features include Position and Velocity control modes, trapezoidal motion profiles, cubic motion profiles, 32 bit position range, 32 bit acceleration and velocity parameters, high sample rates (>60 KHz for 4 axis, >30 KHz for 8), two quadrature encoder inputs per axis for dual feedback systems, 32 bit gearing, velocity, acceleration and friction feed forward terms in PID loop, breakpoint/event logic for flexible real time (within one sample period) handling of internal and external events (such as limit switches), efficient FIFOed host interface with multichannel command queueing, and much more. SoftDMC supports Brush motors, 2 phase stepper motors in closed loop and open loop modes, and 3 phase AC and DC brushless motors in closed and open loop modes. The SoftDMC firmware is included free with all Mesa FPGA based cards and can be licensed for a nominal charge for non-Mesa cards and embedded FPGA designs. SoftDMC is an ideal replacement for LM629 and other ASIC based motion controllers, assuring long term availability and ease of modification due to its open FPGA based design.
End Quote:
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-30-2010, 11:47 AM
H.O H.O is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 886
H.O is on a distinguished road

Hi,
Have you looked at EMC2? It is for Linux what Mach3 is for Windows - and more in some respects. It can use the LPT-port directly (for step- and direction) or talk to various hardware boards available. It's open source and seeing you are a C programmer perhaps you can make it do what you want, if it doesn't already do it.

There are several low-ish cost boards available from MESA (EMC2 has drivers for a few of them a believe) perhaps one of those might do the trick if you're writing software from scratch. Also, have a look at the boards from Dynomtion, on their downloadpage they have what they call a KMotion Coordinated Motion and Trajectory Planner Library (Includes Source code).

Regarding the Smoothstepper. It was designed specifically for use with Mach3 and it's protocol is not available. But AFAIK it does not work the way you want anyway, it's pretty much 6 frequency generators at the end of the USB-cable and it's up to the PC to plan and calculate axis velocities and send it to the Smoothstepper which then updates it's "step generators" with the info from the PC at a rate of 1000-4000times/second thus generating motion. All the interpolation stuff etc is handled by the PC.

/Henrik.
Reply With Quote

  #7   Ban this user!
Old 03-30-2010, 11:53 AM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road

Found Galil -- will need to read/research. Also found these, but also need to read/research to see what control-API details are provided...
http://deskcnc.com/gen2.pdf
http://www.arcus-technology.com/pmx-...621776bfbbce59

Andre -- funny, I have seen the Mesanet website in the past, but never thought they had anything to do with steppers -- just servos. Will contact them.

Thanks,
-Neil.
Reply With Quote

  #8   Ban this user!
Old 03-30-2010, 12:02 PM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road

Henrik,

I spent a good part of last week trying to get EMC2 to run on my PC (Mini-ITX w/CLE chipset), but it seems Ubuntu just does not like this. But EMC2 won't be my final answer anyway, because of the other requirements of the software (need to integrate a camera later for accurate positioning).

My requirements are fairly basic, btw. I don't mind having the PC calculate the positions, but really want to relieve the PC from having to generate the accurate pulsetrains. Acceleration will be tricky with something basic though, as the PC will need to update the controller quickly, and in a timely basis until constant speed is achieved, so any of the cards that handles acceleration will be preferred.

Ideally, I want the PC to calculate the offset distance (or number of X,Y,Z steps) to the destination, and I can specify max speed and acceleration values, and then let the controller handle the simultaneous pulsetrains to smoothly accelerate, move to, then decelerate to the destination point. The only thing I'd need after that is a signal back from the controller that the destination has been reached.

Cheers,
-Neil.
Reply With Quote

  #9  
Old 03-30-2010, 12:24 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

The problem you may run into with steppers is there is no closed loop, so no confirmation back to the controller, you could add encoders, then it would be feasible to go with servo control, with the Galil card you can constantly read the position, or just be advised when the position has been reached.
Also a nice feature is the Gearing and Electronic Cam functions, these allow one or more motors to be geared of another's encoder, with varying gear ratios on the fly if needed.
As far as position commands, these can be issued in absolute or incremental.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #10   Ban this user!
Old 03-30-2010, 03:16 PM
 
Join Date: Mar 2004
Location: USA
Posts: 548
cnczoner is on a distinguished road

Correctamundo. I've thought about adding encoders, but figured I'd deal with that later, as I'd really consider linear encoders to verify accuracy.

FWIW, I spoke with Galil an hour ago and they've got a few products that would serve my purposes incredibly well, including the ability to verify against encoders. But any of these that meet my specs are in the $1000-$2000 range... ack!
Reply With Quote

Sponsored Links
  #11  
Old 03-30-2010, 03:26 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,544
Al_The_Man is on a distinguished road
Buy me a Beer?

There is always ebay, I have picked up incredible deals, especially for the legacy cards, which perform equally as well.
Although lately some of the prices asked are unreal, but obviously they do not end up being sold.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12  
Old 03-30-2010, 04:55 PM
Gold Member
 
Join Date: Oct 2005
Location: Australia
Posts: 2,251
RomanLini is on a distinguished road

I think your earlier idea of coding your own with a microcontroller sounds best.

PNP is one of the easier motion control apps, you wont have complex toolpaths like cutting text (or even curves!) it's basically a 2D format that only needs some basic XY coding.

Rolling your own will have other benefits, as you will probably want to customise some special features like you might want to add a paste dot dispenser with specific timing, temperature compensation or special vacuum pickup timing etc.

It's a MUCH less demanding app than writing an indexer for 3D cutting, you don't even need exact tool speed or an exact linear path.
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CNC USB motion controller Kroko Product Announcements & Manufacturer News 89 02-27-2012 04:17 AM
Yaskawa Motion Controller curtisturner General CNC (Mill and Lathe) Control Software (NC) 0 05-08-2008 01:27 PM
the Motion group Controller 47MLB Machines running Mach Software 1 07-23-2007 04:16 PM
3-4 axis motion controller grebator Stepper Motors and Drives 5 04-19-2007 03:15 PM
PARKER 6K2 or 6K4 Motion controller TUCSONCNC Post Processors for MC 0 02-02-2007 12:07 AM




All times are GMT -5. The time now is 02:12 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