585,708 active members*
3,759 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > has anyone built their own encoder system to work with step motors and mach3
Results 1 to 13 of 13
  1. #1
    Join Date
    Jun 2004
    Posts
    33

    Unhappy has anyone built their own encoder system to work with step motors and mach3

    has anyone built their own encoder system to work with step motors and mach3?

    Ive looked in the forum but I haven't found any thing

    any recommendations or webpage that can give all the details of building one
    I will appreciate it



    thank you

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    You can wire the encoders directly to a second parallel port or breakout board. Then you'll need to write a plugin or macro to read the encoders and tell mach what to do. However, the only thing you can really do is pause or stop the machine if you detect an error.

    There is a commercial product that does this, at www.rogersmachine.net
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Jun 2004
    Posts
    33
    I emailed Rogers twice but haven't gotten a response yet
    so I thought with all the creative people in this forum (except for me)
    I would be lucky to find something

  4. #4
    Join Date
    Jul 2005
    Posts
    14
    I have no answer for u but I am also interested in exactly this. maybe if two seek they shall find

  5. #5
    Join Date
    Jan 2006
    Posts
    2985
    Why exactly do you want feedback from your steppers? If they are properly sized and not overloaded, they will never miss a step. Seems like wasted effort for the most part.

    My $.02

    Matt

  6. #6
    Join Date
    Jul 2005
    Posts
    14
    yes nice logic but as they say ... the best laid plans... And I have had issues due to miss judgement and other unforseen. An encoder would be the simplest form of reset / feedback control method.




    as far as wasted effort - why do humans do? isnt it all (90%) wasted effort?

    I mean really as far as effort goes this diy cnc is not a stroll before lunch anyway.

    I think, 'how much effort involved' is part of the search anyway. An encoder doesnt seem too difficult - every ball mouse has two a wheel mouse has another.

    Matt

  7. #7
    Join Date
    Jan 2004
    Posts
    105
    GeckoDrive is developing such a system. Here is a link to a thread on cnczone describing it

    http://www.cnczone.com/forums/showthread.php?t=43359

    Sounds like summer/fall ETA maybe?

    Monte

  8. #8
    Join Date
    Oct 2007
    Posts
    4
    There is a note on the rogersmachine page that says the encoders can also be used as a DRO to manual machine.

    G1

  9. #9
    Join Date
    Jan 2006
    Posts
    2985
    Quote Originally Posted by opusinwood View Post
    yes nice logic but as they say ... the best laid plans... And I have had issues due to miss judgement and other unforseen. An encoder would be the simplest form of reset / feedback control method.

    Matt
    All I'm saying is an encoder would be a band aid to a poorly designed machine. For the cost of a standard us digital encoder (~$40) you could just buy a bit bigger motor to overcome any overload situation,which is the only time when a stepper motor should miss a step.

    The encoders would not provide realtime feedback, not to mach anyway, so that it could send extra steps to correct for the problem. It would not realize the difference until it is too late, and then add then on later, which probably means your part is ruined anyway, so I say why bother. If you're stuck on a closed loop system, get some servos, that will give you the most bang for your buck.


    Quote Originally Posted by Monte View Post
    GeckoDrive is developing such a system. Here is a link to a thread on cnczone describing it

    http://www.cnczone.com/forums/showthread.php?t=43359

    Sounds like summer/fall ETA maybe?

    Monte

    Read the thread, this is not a stepper with an encoder for feedback. Gecko is essentially running a stepper as a brushless servo. With this new drive, there will not be any feedback to mach3 and the motor will not be operated by stepping. The drive will feed a sinusoidal current to the motor so that the motion is continuous. The encoder here is used just as on a servo.

    It will be a great drive for sure, but has little relation to this threads topic.


    Matt

  10. #10
    Join Date
    Jan 2004
    Posts
    105
    Quote Originally Posted by keebler303 View Post
    sniped

    Read the thread, this is not a stepper with an encoder for feedback. Gecko is essentially running a stepper as a brushless servo. With this new drive, there will not be any feedback to mach3 and the motor will not be operated by stepping. The drive will feed a sinusoidal current to the motor so that the motion is continuous. The encoder here is used just as on a servo.

    It will be a great drive for sure, but has little relation to this threads topic.


    Matt
    It is still a stepper motor with an encoder. If you run the new drivers with the G100, the G100 will read the feedback from the encoder and make corrections real time. Sure, Mach doesn't know about it, but the feedback from the encoders is being used for corrections for lost steps and such. It would do what the OP was asking for as far as I can tell. Maybe in a slightly different manner, but the end is the same, real time encoder feedback with stepper motors.

    Why doesn't it relate to this thread/topic?

    Monte

  11. #11
    Join Date
    Jan 2006
    Posts
    2985
    Monte

    It is indeed a stepper motor with encoder, but it is not used as one. The encoder feedback is used directly by the drive itself. The G-100 is not needed at all. The drive makes corrections real time, just like in the G320. The main difference is it is outputting a sinusoidal waveform to the motor instead of an on off step pattern, think of it as a stepper motor with super small microsteps. The encoder is needed because the microstepping performance of stepper motors is not completely linear. Each motor will perform slightly differently so you need the encoder to maintain accuracy.

    I said that the "new Gecko" doesn't relate to the thread because:

    1) Its not "built your own"
    2) Its not "really" a stepper motor anymore, but it does use an encoder.
    3) Mach is in no part involved in the performance of the "new Gecko", unless you decide to use mach to send step/dir commands to it. Even with this drive, there is no sort of closed loop back to mach, which is what the OP was originally looking for.

    The "new gecko" would prevent "missed steps" but it is not really a stepper motor drive, I guess it is just a matter of semantics. I say its not a stepper drive, more a brushless drive. You say its a stepper drive because its using a stepper motor. Either way, it would provide closed loop performance from a stepper motor, so I agree on that regard. But I think the main purpose of this new drive is to pull more power from a stepper motor, it is just necessary to have an encoder as well. If Mariss' intention was to add an encoder to a stepper, he would have made a "G204V" or something like that. This is a whole new type of control algorithm.

    Cheers
    Matt

  12. #12
    Join Date
    Mar 2003
    Posts
    35538
    Isn't the G380 the replacement for the G320? I don't think the stepper / servo drive has a number yet, does it? Or am I wrong?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  13. #13
    Join Date
    Jan 2006
    Posts
    2985
    Thanks Gerry, fixed.

    All these new gecko products, I get confused.

    Matt

Similar Threads

  1. Help, how to set step per unit in Mach3
    By ata in forum Syil Products
    Replies: 6
    Last Post: 03-30-2014, 09:57 PM
  2. How does a 3D printer work? Could one be home built
    By garrick in forum Printing, Scanners, Vinyl cutting and Plotters
    Replies: 27
    Last Post: 09-26-2012, 03:54 PM
  3. deepgroove1 step dir for mach3
    By fartsnostink in forum Benchtop Machines
    Replies: 10
    Last Post: 11-20-2007, 08:14 AM
  4. Which Ready Built CNC Milling System Would You Buy?
    By antsals in forum Benchtop Machines
    Replies: 0
    Last Post: 10-11-2006, 12:57 PM
  5. giant scale stepper with built in encoder
    By gcamlibel in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 10-28-2004, 04:56 PM

Posting Permissions

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