View Single Post
  #854  
Old 18-12-2017, 11:21 PM
gehelem (Gilles)
Registered User

gehelem is offline
 
Join Date: Sep 2016
Location: Rambouillet - France
Posts: 112
Quote:
Originally Posted by Astrococo View Post
Hi guys! Thank you for your wellcome. I hope to keep contributing to this great project.
Rough-tuning the PID controller is quite easy. First, increase the value of Kp (in steps of 5 units) until setpoint is overshooted. Then, come back to the previous value. Now we must have a stable control, but setpoint is not reached. Then increase the Ki value in steps of 0,05 until setpoint is reached. By now, I don't see as neccesary to use the derivative term.

I think that you can safely use a value of 40 to start tuning the Kp. When Kp is tuned, a starting 0,2 value for Ki can be used. Of course, these values can be too much for your camera, use with caution and at your own risk ;-)

Oscar
Thank you Oscar

May i suggest to have a look at my little Excel game :
https://www.diycam.fr/index.php/fr/1...ure-avec-excel
(use the english flag top right to translate)
It should be adapted with new driver, but it's a very simple way to batch a few tests

I'll get back to that once i'll have finished my second cam

Gilles.
Reply With Quote