Electronic gov on Mercedes OM606 controlled by arduino board
Electronic gov on Mercedes OM606 controlled by arduino board
(05-01-2011, 03:14 AM)olefejer(05-01-2011, 01:35 AM)300SD81 Arduino might not be fast enough for pump control, especially on an unloaded engine where rpm will change very quickly with a small change in fuel. It sounds like your setting the PWM based purely on measured inputs, causing the unstable idle because of the response time and over/undershooting the speed repeatedly. Ideally you'd want something like a PID loop which will quickly stabilize at a constant frequency.The Arduino is more then fast enogth i can set the PWM frequency every 88 microsec yes every 1000,000 / 88 Sec (i messured how long a loop took in the code, LCD disabled)
and i get 6 RPM readings at every engine revolution , thats means only every 10 milisec (1000 RPM).
But Thanks ALOT for the link to PID controller, need to reed some more about that. For shure that the way to go.
iam reading about PID rigth now. more testing on the engine next weekend :-)
(05-01-2011, 03:14 AM)olefejer(05-01-2011, 01:35 AM)300SD81 Arduino might not be fast enough for pump control, especially on an unloaded engine where rpm will change very quickly with a small change in fuel. It sounds like your setting the PWM based purely on measured inputs, causing the unstable idle because of the response time and over/undershooting the speed repeatedly. Ideally you'd want something like a PID loop which will quickly stabilize at a constant frequency.The Arduino is more then fast enogth i can set the PWM frequency every 88 microsec yes every 1000,000 / 88 Sec (i messured how long a loop took in the code, LCD disabled)
and i get 6 RPM readings at every engine revolution , thats means only every 10 milisec (1000 RPM).
But Thanks ALOT for the link to PID controller, need to reed some more about that. For shure that the way to go.
iam reading about PID rigth now. more testing on the engine next weekend :-)