. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Muzzer's Avatar
    Lives in Lytham St. Annes, United Kingdom. Last Activity: 16 Hours Ago Has been a member for 8-9 years. Has a total post count of 472. Received thanks 75 times, giving thanks to others 22 times.
    That would be mainly down to the integral "I" term in the PID controller. As Dean says, you could get a good looking response - but with an error if you don't tune it right.

    I've got a feeling the cncdrive software actually shows you the response graphically but I may be confusing it with DMM? You want a good response without a noticeable overshoot and no bouncing about afterwards (you want it to be "critically damped").

    Tuning a PID is a bit of an art. Here's how I do it:
    Start by turning I and D down to zero, then increase P until it's unstable and back off a bit. Then dial in some D until it's unstable and back it off a bit. Then fiddle with both until it feels about as good as you can get. At this point you will have a pretty snappy response - but without the I term, you may end up with a steady state error. So now dial in some I until it's unstable again and back off a bit. You may now need to back off the P and D a little more. Finally, you should check to see what it actually looks like.

    Naturally, cncdrive show a slightly different method http://www.cncdrive.com/downloads/help.pdf. It's not a perfect art but you get the general idea.

  2. #2
    Quote Originally Posted by Muzzer View Post
    Tuning a PID is a bit of an art. Here's how I do it:
    Start by turning I and D down to zero, then increase P until it's unstable and back off a bit. Then dial in some D until it's unstable and back it off a bit. Then fiddle with both until it feels about as good as you can get. At this point you will have a pretty snappy response - but without the I term, you may end up with a steady state error. So now dial in some I until it's unstable again and back off a bit. You may now need to back off the P and D a little more. Finally, you should check to see what it actually looks like.

    Naturally, cncdrive show a slightly different method http://www.cncdrive.com/downloads/help.pdf. It's not a perfect art but you get the general idea.
    Sounds good, I will give this a go a the weekend. I did have a bit of vibration develop on one of the axis when it was trying to hold it's position, so that's probably a pretty good indication something isn't right in the settings!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. eMachineShop Upgrade
    By Bladevane in forum CAD & CAM Software
    Replies: 184
    Last Post: 04-07-2025, 12:34 AM
  2. PC Upgrade Options?
    By Chaz in forum General Discussion
    Replies: 11
    Last Post: 31-08-2016, 04:53 PM
  3. Laser Upgrade
    By dcrowder in forum Laser Machines & Building
    Replies: 8
    Last Post: 06-05-2016, 01:06 PM
  4. VFD upgrade
    By paulus.v in forum Spindles & Drive Motors
    Replies: 11
    Last Post: 05-11-2014, 11:09 PM
  5. Upgrade
    By Dopy in forum General Discussion
    Replies: 0
    Last Post: 09-11-2011, 01:57 AM

Bookmarks

Posting Permissions

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