Self Balancing Robot

Hi,

have build yet another balance bot... well, it dies trying so far...

have a kalman filter and a PID controller.

The kalman works a treat, as I can see on PC. The PID works fine as well, except that I dont seem to get the K values right, everytime it seems to get better, I change a bit and its worth again, it drives me crazy.

has someone a hint how the Kp Ki and Kd values are in relation to each other? Maybe some example values would be nice to have something to compare.

I get a bluetooth chip tomorrow, I plan to controll the values wirelessly... its so timeconsuming to always reflash the arduino with new totally guessed values.

thanks in advanced, Mulder