STD Tuning Engine Electronic gov on Mercedes OM606 controlled by arduino board

Electronic gov on Mercedes OM606 controlled by arduino board

Electronic gov on Mercedes OM606 controlled by arduino board

 
  • 1 Vote(s) - 5 Average
 
300SD81
GT2559V

187
05-01-2011, 09:09 PM #7
(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 :-)

PID code for an arduino should be fairly common, Amtel might even have a library, I know Microchip does for the PIC microcontroller series. See if you can borrow some code from electric motor control projects, it might need some tuning to account for different response times of an engine vs an electric motor, but should be close enough for idle speed control.

Ich liebe meine Autos!

1981 Mercedes-Benz 300SD | 156K Miles | 2nd Owner | EGR Disabled [Removal Pending] | ALDA Removed | Straight Pipes | GT2256V??? | Laser Interceptor | Engine swap over summer, hopefully with GT2256V attached...

1981 Mercedes-Benz 300SD | Odo Stopped at 160K (at least 50K more) | EGR Disabled | ALDA All The Way Out | Straight pipes | FM-870 Remote Start Alarm System | B100 Biodiesel | AC Fixed x2 | Trunk crushed in Sad | Retired to garage.

Excessive speeding? It ain't excessive till I redline!
300SD81
05-01-2011, 09:09 PM #7

(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 :-)

PID code for an arduino should be fairly common, Amtel might even have a library, I know Microchip does for the PIC microcontroller series. See if you can borrow some code from electric motor control projects, it might need some tuning to account for different response times of an engine vs an electric motor, but should be close enough for idle speed control.


Ich liebe meine Autos!

1981 Mercedes-Benz 300SD | 156K Miles | 2nd Owner | EGR Disabled [Removal Pending] | ALDA Removed | Straight Pipes | GT2256V??? | Laser Interceptor | Engine swap over summer, hopefully with GT2256V attached...

1981 Mercedes-Benz 300SD | Odo Stopped at 160K (at least 50K more) | EGR Disabled | ALDA All The Way Out | Straight pipes | FM-870 Remote Start Alarm System | B100 Biodiesel | AC Fixed x2 | Trunk crushed in Sad | Retired to garage.

Excessive speeding? It ain't excessive till I redline!

 
  • 1 Vote(s) - 5 Average

Messages In This Thread
Electronic gov on Mercedes OM606 controlled by arduino board - by olefejer - 04-30-2011, 12:41 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by yankneck696 - 04-30-2011, 05:16 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by aaa - 04-30-2011, 07:58 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by 300SD81 - 05-01-2011, 01:35 AM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by olefejer - 05-01-2011, 03:14 AM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by 300SD81 - 05-01-2011, 09:09 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by olefejer - 05-02-2011, 09:45 AM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by jeemu - 05-01-2011, 01:57 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by olefejer - 05-14-2011, 01:14 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by tomnik - 05-15-2011, 02:11 AM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by olefejer - 05-15-2011, 01:16 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by E300TSC - 05-15-2011, 02:48 PM
RE: Electronic gov on Mercedes OM606 controlled by arduino board - by tomnik - 05-15-2011, 03:16 PM
Users browsing this thread:
 2 Guest(s)
Users browsing this thread:
 2 Guest(s)