Go to Post I volunteered to be the person responsible for the electronics and raised my hand before realizing that I have had almost no electronics experience. I hope our robot turns out alright... - Blue_Mist [more]
Home
Go Back   Chief Delphi > CD-Media > White Papers
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

photos

papers

everything



3-Axis PID control

ttedrow

By: ttedrow
New: 21-01-2003 13:44
Updated: 21-01-2003 13:44
Total downloads: 254 times


*** Upgraded to PBasic 2.0 ****

This may be useful to some. I wrote a program that will control 3 seperate loops using a PID algorithm while still having enough room left in RAM to run the rest of the robot. I have tested it using Rob's emulator program but not in a real bot.

This program coul...

*** Upgraded to PBasic 2.0 ****

This may be useful to some. I wrote a program that will control 3 seperate loops using a PID algorithm while still having enough room left in RAM to run the rest of the robot. I have tested it using Rob's emulator program but not in a real bot.

This program could be used for a 3-Axis arm or maybe steering and a 2-Axis Arm. If you would like to use my code feel free. Please let me know of any bugs or fixes that you find.

I have updated the code to use mechanical limit switches. They will stop the movement and prevent integral windup.

Attached Files

  • zip 3-Axis PID control

    1043174657pid_control_2_0.zip

    downloaddownload file

    uploaded: 21-01-2003 13:44
    filetype: zip
    filesize: 6.03kb
    downloads: 252



Recent Downloaders

Discussion

Tags

loading ...



All times are GMT -5. The time now is 06:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi