586,058 active members*
4,270 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > Stepper Motors / Drives > Motion controller recommendation?
Results 1 to 13 of 13
  1. #1
    Join Date
    Mar 2004
    Posts
    576

    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.

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    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 Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Mar 2004
    Posts
    576
    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.

  4. #4
    Join Date
    Dec 2003
    Posts
    24221
    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 Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  5. #5
    Join Date
    May 2007
    Posts
    781
    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:

  6. #6
    Join Date
    Jul 2007
    Posts
    887
    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.

  7. #7
    Join Date
    Mar 2004
    Posts
    576
    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.

  8. #8
    Join Date
    Mar 2004
    Posts
    576
    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.

  9. #9
    Join Date
    Dec 2003
    Posts
    24221
    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 Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  10. #10
    Join Date
    Mar 2004
    Posts
    576
    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!

  11. #11
    Join Date
    Dec 2003
    Posts
    24221
    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 Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  12. #12
    Join Date
    Oct 2005
    Posts
    2392
    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.

  13. #13
    Join Date
    Mar 2004
    Posts
    576
    I'm slowly kicking the ebay habit, as I'm running into more and more unethical sellers, but it's a great place to find out about products that exist, such as a National Semi LM629 motor controller chip. That's for a DC motor, but it sent me off on a chase for a stepper motor controller chip.

    This does indeed have me re-considering doing a custom circuit, but I do all my PIC programming in assembly, and for something like this I'll have to use C or some other high-level language to make the math reasonably manageable. Just not sure I'm up for all of this right now .... way too much else going on.

    BTW, I will definitely have other switches, actuators, paste dispenser, etc, but for those I am building an I2C converter and I2C modules. Just need the stepper controller for the X, Y and A axes (as I expect I'll raise Z first, then move X,Y,A simultaneously, then lower Z once in place, etc, etc).

    Cheers,
    -Neil.

Similar Threads

  1. CNC USB motion controller
    By Kroko in forum News Announcements
    Replies: 92
    Last Post: 01-03-2014, 01:58 PM
  2. Yaskawa Motion Controller
    By curtisturner in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 0
    Last Post: 05-08-2008, 07:27 PM
  3. the Motion group Controller
    By 47MLB in forum Machines running Mach Software
    Replies: 1
    Last Post: 07-23-2007, 10:16 PM
  4. 3-4 axis motion controller
    By grebator in forum Stepper Motors / Drives
    Replies: 5
    Last Post: 04-19-2007, 09:15 PM
  5. PARKER 6K2 or 6K4 Motion controller
    By TUCSONCNC in forum Post Processors for MC
    Replies: 0
    Last Post: 02-02-2007, 07:07 AM

Posting Permissions

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