Results 1 to 6 of 6

Thread: Q: Motor tuning. Servo/Encoders

  1. #1
    Registered
    Join Date
    Sep 2004
    Location
    USA
    Posts
    412
    Downloads
    0
    Uploads
    0

    Q: Motor tuning. Servo/Encoders

    Hello,

    I tried to look this up, but didn't seem to have much lock.

    How do I calculate the information needed for the motor tuning page.

    I have 250oz servos, equiped with 300CPR encoders.

    They are attached to 5mm ballscrews.

    How do I calculate my "steps per" Velocity and Acceleration?

    Finally have my machinics all done, trying to get mach 3 setup so I can watch the machine make magic.

    Thanks in advance.


  2. #2
    H.O
    H.O is offline
    Registered
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    886
    Downloads
    0
    Uploads
    0
    Hi Deviant,

    If you don't have any belt reduction or anything between your motor and screw and you have a servodrive with 4X quadrature decoding (most common) you get 1200 steps per rev. So 1200 steps will give you 5mm and 240steps will give you 1mm...(1200 / 5 = 240)

    The acceleration and velcoity tuning is mostly done by trial and error.

    Have you looked at the Setup Tutorial on the MachSupport website? It should cover pretty much everything.

    /Henrik Olsson.


  3. #3
    Registered
    Join Date
    Sep 2004
    Location
    USA
    Posts
    412
    Downloads
    0
    Uploads
    0
    Awesome, that's what I was thinking... but I wasn't 100%...

    I've been out in the garage driving the axis around. *grins*

    I have a 2to1 on the zaxis. I'm going to assume that it would 480 steps to go 1mm on the Z?

    Thanks for the prompt reply.


  4. #4
    H.O
    H.O is offline
    Registered
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    886
    Downloads
    0
    Uploads
    0
    Yes, 480 would be right for the Z axis.

    Basicly it's A * B * C / D where
    A is the number of lines on encoder
    B is decoding scheme of servo drive, usually 4
    C is reduction ratio
    D is screw pitch in mm/rev

    So in you your case with the Z axis:
    300 * 4 * 2 / 5 = 480

    Have fun!


  • #5
    Registered
    Join Date
    Sep 2004
    Location
    USA
    Posts
    412
    Downloads
    0
    Uploads
    0
    Any ideas on how to calculate the velocity/acceleration?

    Currently, I have the steps per set to 240 on the x/y.

    I have the velocity/acceleration set to the max, which is somewhere around 6000.

    Little mill will scoop back and forth. But what should I be using?


  • #6
    H.O
    H.O is offline
    Registered
    Join Date
    Jul 2007
    Location
    Sweden
    Posts
    886
    Downloads
    0
    Uploads
    0
    There's really not much to calculate. You just start out with quite low values and work your way up until either you or the machine can't take it anymore ;-) If you have a servodrive where you can monitor following error you can use that to determine if you have the accelration set to high but other that that it's just trial and error.

    The speed you set in the motor tuning is the rapid speed. When you are machining you set speed with the F word, something like:G1 X25 Y10 F75 will move the machine to X25, Y10 at a speed of 75mm per minute.


  • Similar Threads

    1. Servo Tuning Problems?
      By RYANPB in forum Gecko Drives
      Replies: 1
      Last Post: 11-27-2008, 01:43 PM
    2. G320 servo motor tuning
      By robhrzic in forum Gecko Drives
      Replies: 12
      Last Post: 11-01-2007, 02:35 AM
    3. Servo system tuning problem??
      By REVCAM_Bob in forum CNCzone Club House
      Replies: 2
      Last Post: 12-17-2006, 08:20 AM
    4. appropriate servo tuning.... help?
      By howling60 in forum Servo Motors and Drives
      Replies: 6
      Last Post: 02-27-2006, 09:48 AM
    5. Tuning a G340 servo drive
      By chas in forum Gecko Drives
      Replies: 1
      Last Post: 04-07-2005, 08:15 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.