Thread: PID Help
View Single Post
  #5   Spotlight this post!  
Unread 25-12-2014, 20:45
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: PID Help

I made a PID simulator to teach some of our programmers. It simulates an arm with or without gravity pulling it down.

Check out my post about it here: http://www.chiefdelphi.com/forums/sh...d.php?t=130801

For a sample of a well tuned loop, try setting a setpoint of 200, a mass of 0.03, kP of .35, and kD to 5, then click start.

The simulation is fairly realistic, and takes into account motor torque curves and the inertia of the arm.

Last edited by Jared : 25-12-2014 at 20:47.
Reply With Quote