Results 1 to 1 of 1

Thread: PID Autotuning

  1. #1
    Join Date
    Sep 2008
    Posts
    586

    Default PID Autotuning

    The LabVIEW Control Design and Simulation Module (which teams were given) has a PID Autotuning wizard. Unfortunately, it will not work when targeted to the cRIO (see http://digital.ni.com/public.nsf/all...256AE3006768CE).

    One way to work around this is to run the Autotuning wizard on your computer, and have it communicate with the cRIO through the network. I implemented this method using UDP and autotuned our arm. See this video for it in action.

    The attached example requires an understanding of PID, and in fact needs a set of PID constants that produce stable control before autotuning can take place. PLEASE read the instructions on the front panels. If you don't understand PID control, this isn't the example to learn it from. NI has promised a PID tutorial (http://decibel.ni.com/content/docs/DOC-2511) and there is a lot of material already on the chiefdelphi forums for all levels.

    This example has both the part to run on your computer and on the cRIO. Unfortunately, I was not happy with the results for PI tuning, and PID was horrible. I expect that adding in the network latency affected the timing too much. Maybe somebody much better with LabVIEW then I am could add in some synchronization to make it work better.
    Attached Files Attached Files
    Team 330 beta tester

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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