Welcome to Our Community

Some features disabled for guests. Register Today.

need help calibrating my ox

Discussion in 'CNC Mills/Routers' started by symmas20, Sep 29, 2015.

  1. symmas20

    symmas20 New
    Builder

    Joined:
    Sep 16, 2015
    Messages:
    6
    Likes Received:
    2
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,489
    Likes Received:
    1,925
  3. symmas20

    symmas20 New
    Builder

    Joined:
    Sep 16, 2015
    Messages:
    6
    Likes Received:
    2
    well yes ive seen that but im trying to tune in the steppers to the cnc shield, but im tuning the voltage and sometimes they work and then they stop working.. is there a set voltage that the steppers need to work or a range??
     
  4. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,489
    Likes Received:
    1,925
    steppers like high voltage, so use about 80% of what your drivers can do. most small drivers are rated to 30 volts, so use 24 volts.

    however, the steppers don't like more current than they are designed for.
    the openbuilds NEMA23's for example, are rated for 2.8 amps so you have to limit the current to no more than that. even so, at over 2 amps they will get very hot (which is why industrial drivers go to half power when standing still).

    most small drivers don't really have enough heatsink for that much current , even if they can do it, so try for about 1.5 amps.
    if you cannot put a finger on the chip for more than 5 seconds it is too hot, lower the current (not the voltage).

    now, if your steppers are running fine and then go a bit wild the problem it probably interference. all the pulsing to make them step makes a lot of electrical noise which can get into the input circuits and can cause crazyness.
    have a look at this
    http://openbuilds.com/resources/cnc-electronics-training-videos.44/
    and this
    http://www.openbuilds.com/threads/electronics-101.693/

    to minimize electrical interference:
    • separate the signal wires from the power wires, never run them parallel to each other.
    • shield the signal wires
    • have only one common earth point
    the other factor is speed, acceleration and binding.
    any binding in the mechanism will cause missed steps, especially at higher speed/acceleration.
    stepper motors get weaker the faster they go, and are weaker with more microsteps, so use the smallest microstep setting that still gives you the resolution you want.
    reference http://www.openbuilds.com/threads/micro-stepping-myths-and-realities.2478/

    so, disconnect the belts etc and move the carriage by hand to make sure there are no rough spots.
    then, set your top speed fairly low, say 1000mm/min and a low acceleration too, and test end to end motion using G0 commands
    increase acceleration (just double it each time) until the motor stalls during the startup.
    go back to the previous setting that worked properly.

    now, increase the top speed and test again until it stalls or even loses a few steps. reduce to 80% of that setting.

    so say you have a 1 meter long travel on X you should be able to do: (starting at 0)
    G0 X1000
    G0 X0
    and the carriage must return to exactly the same place. if it does not, reduce speed until it does, then try to increase acceleration and find that limit then reduce to 70 or 80% of the max you found.
    THEN test while cutting something at a normal cutting speed, cutting forces can make you reduce the acceleration further to where it is reliable.
     
  5. Jonny Norris

    Jonny Norris Well-Known
    Builder

    Joined:
    Aug 17, 2014
    Messages:
    491
    Likes Received:
    95
    Important tip: before playing with your motors velocity etc, use a steps per calculator to set your steps per setting.

    As with each new steps per setting your motors behave differently.

    The calculation should be to more than 8 decimal places and using a calculator will give you the most accurate setting.
     
  6. Jonny Norris

    Jonny Norris Well-Known
    Builder

    Joined:
    Aug 17, 2014
    Messages:
    491
    Likes Received:
    95
    Ahh just spotted your using grbl, most likely you have a setting wrong, I had same problem with it when I tried, tried what I thought was everything and still it ran like crap so it went in the bin. Hope you have more luck with it.
     
  7. symmas20

    symmas20 New
    Builder

    Joined:
    Sep 16, 2015
    Messages:
    6
    Likes Received:
    2
    yeah johnny im almost at that stage my self. what are you using now?
     
  8. Jonny Norris

    Jonny Norris Well-Known
    Builder

    Joined:
    Aug 17, 2014
    Messages:
    491
    Likes Received:
    95
    There are guys running grbl successfully, i Just got the feeling it was always going to run it clunky.

    Maybe one of them can post up their config? Hint hint

    Uc300 with hg08 Bob, cw5045 drivers and uccnc.
     
  9. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,489
    Likes Received:
    1,925
    strange, I had no problem doing a number of test setups with GRBL. default settings ran all the motors I tried, and tuning for speed etc 'just worked'.
    maybe it is because I read the manual? (-:

    I did find that some motors do not like microstepping and will do odd things. set your microstepping to '2' to check that this is not the problem. this happened with some motors recovered from old printers. the NEMA23's from Openbuilds 'just work'.
     
  10. Jonny Norris

    Jonny Norris Well-Known
    Builder

    Joined:
    Aug 17, 2014
    Messages:
    491
    Likes Received:
    95
    Can you share your config file please, may be useful to symmas. And Be interesting to see if anything stands out that I may have missed
     
  11. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,489
    Likes Received:
    1,925
    I will have a look when I dig out the arduino, but I don't think i have a record of the settings that worked well since jumped around a bit testing various motors and cable drives.
     
  12. symmas20

    symmas20 New
    Builder

    Joined:
    Sep 16, 2015
    Messages:
    6
    Likes Received:
    2
    thanks for all the help i ended up throwing it in the bin and went and got the G540 and smoothstepper - and is all working now :D
     
    Joe Santarsiero likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice