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
 
olefejer
GT2559V

197
04-30-2011, 12:41 PM #1
I want to control the OM 606 Width Electronic gov.
I got it to idle today, but not wery well.
I am controlling width PWM between 45%to 55% regarding RPM, if the RPM slows down i raise the RPM. if the engine pick up speed i lower PWM.
But i think i need a high resolution log file of the original way mercedes controlling it.
It should be logged at around every 1/1000 of a second anybody have a log file ?
I only have a weary slow Scoope, and not have the possibility to make a logfile

Or anybody has an idea how to log RPM vs PWM, it would help a lot to have this in EXCEL :-)

http://www.youtube.com/watch?v=vXUgPWelwRg

1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)
olefejer
04-30-2011, 12:41 PM #1

I want to control the OM 606 Width Electronic gov.
I got it to idle today, but not wery well.
I am controlling width PWM between 45%to 55% regarding RPM, if the RPM slows down i raise the RPM. if the engine pick up speed i lower PWM.
But i think i need a high resolution log file of the original way mercedes controlling it.
It should be logged at around every 1/1000 of a second anybody have a log file ?
I only have a weary slow Scoope, and not have the possibility to make a logfile

Or anybody has an idea how to log RPM vs PWM, it would help a lot to have this in EXCEL :-)

http://www.youtube.com/watch?v=vXUgPWelwRg


1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)

yankneck696
Build it so strong & blow it up good !!!

395
04-30-2011, 05:16 PM #2
Might be worthwhile to get a PC based ohsillyscope. There are many different ones availible. Some have multiple inputs. All use the computer to create a log file of some sort.

Ed
yankneck696
04-30-2011, 05:16 PM #2

Might be worthwhile to get a PC based ohsillyscope. There are many different ones availible. Some have multiple inputs. All use the computer to create a log file of some sort.

Ed

aaa
GT2256V

913
04-30-2011, 07:58 PM #3
If only DervTuning were still around.
aaa
04-30-2011, 07:58 PM #3

If only DervTuning were still around.

300SD81
GT2559V

187
05-01-2011, 01:35 AM #4
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.

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, 01:35 AM #4

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.


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!

olefejer
GT2559V

197
05-01-2011, 03:14 AM #5
(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 :-)


This post was last modified: 05-01-2011, 03:52 AM by olefejer.

1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)
olefejer
05-01-2011, 03:14 AM #5

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



1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)

jeemu
"some people do, some people talk."

457
05-01-2011, 01:57 PM #6
That is nice, hope you get it work good. I personally not know electricity that much but if that car runs, its not bad deal make it idle good.

You may have one customer over here when it works Wink

OM605 600hp diesel drag car build with BMW E30 chassis
jeemu
05-01-2011, 01:57 PM #6

That is nice, hope you get it work good. I personally not know electricity that much but if that car runs, its not bad deal make it idle good.

You may have one customer over here when it works Wink


OM605 600hp diesel drag car build with BMW E30 chassis

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!

olefejer
GT2559V

197
05-02-2011, 09:45 AM #8
(05-01-2011, 09:09 PM)300SD81 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.
Yes you were so rigth there was an arduino libery :-), Thanks "300SD81"
Its alredy in the code, ready to test next weekend.
probaly it is going to take som time to tune it in.

1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)
olefejer
05-02-2011, 09:45 AM #8

(05-01-2011, 09:09 PM)300SD81 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.
Yes you were so rigth there was an arduino libery :-), Thanks "300SD81"
Its alredy in the code, ready to test next weekend.
probaly it is going to take som time to tune it in.


1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)

olefejer
GT2559V

197
05-14-2011, 01:14 PM #9
Well positiv progres today idel fine but still some problem width the RPM signal, but this video show that is it possible to control it. :-)

http://www.youtube.com/watch?v=99XeXM79GkY

1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)
olefejer
05-14-2011, 01:14 PM #9

Well positiv progres today idel fine but still some problem width the RPM signal, but this video show that is it possible to control it. :-)

http://www.youtube.com/watch?v=99XeXM79GkY


1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)

tomnik
Holset

587
05-15-2011, 02:11 AM #10
(05-14-2011, 01:14 PM)olefejer Well positiv progres today idel fine but still some problem width the RPM signal, but this video show that is it possible to control it. :-)

http://www.youtube.com/watch?v=99XeXM79GkY

do you know what kind of PWM you need?
I have a source for PWM generators for >5 EUR.
Very small, you can tell the guy the frequency you need and the PWM % is altered with a poti (manually).
Now you can eliminate the poti and input a 0-12V (or whatever) to change the PWM %.
The signal shape is pretty good.
This was my thought when we were discussing VTG control with arduino to avoid providing the PWM directly out of the arduino.

Let me know if this could help you and I'll send you one or two of these after you defined the frequency.

Tom
tomnik
05-15-2011, 02:11 AM #10

(05-14-2011, 01:14 PM)olefejer Well positiv progres today idel fine but still some problem width the RPM signal, but this video show that is it possible to control it. :-)

http://www.youtube.com/watch?v=99XeXM79GkY

do you know what kind of PWM you need?
I have a source for PWM generators for >5 EUR.
Very small, you can tell the guy the frequency you need and the PWM % is altered with a poti (manually).
Now you can eliminate the poti and input a 0-12V (or whatever) to change the PWM %.
The signal shape is pretty good.
This was my thought when we were discussing VTG control with arduino to avoid providing the PWM directly out of the arduino.

Let me know if this could help you and I'll send you one or two of these after you defined the frequency.

Tom

olefejer
GT2559V

197
05-15-2011, 01:16 PM #11
(05-15-2011, 02:11 AM)tomnik do you know what kind of PWM you need?
I have a source for PWM generators for >5 EUR.
Very small, you can tell the guy the frequency you need and the PWM % is altered with a poti (manually).
Now you can eliminate the poti and input a 0-12V (or whatever) to change the PWM %.
The signal shape is pretty good.
This was my thought when we were discussing VTG control with arduino to avoid providing the PWM directly out of the arduino.

Let me know if this could help you and I'll send you one or two of these after you defined the frequency.

Tom

Why do you want to avoid the PWM directly out of arduino ?.
The PWM from the arduino works great no problem there.
And also I have to change PWM % very fast, when the engine idle. i think i have better control having all on one board.
But for Controlling the Hella Actuator people talk about it would be great, as you can control the frequency, what it accept

1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)
olefejer
05-15-2011, 01:16 PM #11

(05-15-2011, 02:11 AM)tomnik do you know what kind of PWM you need?
I have a source for PWM generators for >5 EUR.
Very small, you can tell the guy the frequency you need and the PWM % is altered with a poti (manually).
Now you can eliminate the poti and input a 0-12V (or whatever) to change the PWM %.
The signal shape is pretty good.
This was my thought when we were discussing VTG control with arduino to avoid providing the PWM directly out of the arduino.

Let me know if this could help you and I'll send you one or two of these after you defined the frequency.

Tom

Why do you want to avoid the PWM directly out of arduino ?.
The PWM from the arduino works great no problem there.
And also I have to change PWM % very fast, when the engine idle. i think i have better control having all on one board.
But for Controlling the Hella Actuator people talk about it would be great, as you can control the frequency, what it accept


1996 MB SL320 Now OM606 7 mm pump elements (myna), KKD manifold, HE341VE, 3,5" downpipe, 3" exhaust, big IC, 722.6 gearbox controller, also controls (Turbo VNT, EGT, BOOST, EGP.)

E300TSC
Turbo-Supercharged

321
05-15-2011, 02:48 PM #12
Here's a video I shot of the waveform of the OM606 at idle:



It's 14 volts and about 40hz.
This post was last modified: 05-15-2011, 02:51 PM by E300TSC.

1998 MB E300 - 194,000 miles. Current/future mods: 7.5mm pump elements, Holset HX40 Turbo feeding Eaton M90 supercharger through custom fabbed intake system. Aeroturbine muffler, scratch-built 4" stainless exhaust. EGR eliminated, ECM recalibrated, modified rack position feedback circuit. Porterfield RS brake pads, Bilstein sport shocks, VDO EGT, oil and boost gauges.

2000 Ford F250 - 150,000 miles. Current/future mods: DP Tuner 3 map chip, scratch-built high flow intake, high output IDM, open circuit fuel system, ball bearing turbo, South Bend full metal clutch, slotted and drilled rotors. Autometer Sport Comp EGT and boost gauges.
E300TSC
05-15-2011, 02:48 PM #12

Here's a video I shot of the waveform of the OM606 at idle:



It's 14 volts and about 40hz.


1998 MB E300 - 194,000 miles. Current/future mods: 7.5mm pump elements, Holset HX40 Turbo feeding Eaton M90 supercharger through custom fabbed intake system. Aeroturbine muffler, scratch-built 4" stainless exhaust. EGR eliminated, ECM recalibrated, modified rack position feedback circuit. Porterfield RS brake pads, Bilstein sport shocks, VDO EGT, oil and boost gauges.

2000 Ford F250 - 150,000 miles. Current/future mods: DP Tuner 3 map chip, scratch-built high flow intake, high output IDM, open circuit fuel system, ball bearing turbo, South Bend full metal clutch, slotted and drilled rotors. Autometer Sport Comp EGT and boost gauges.

tomnik
Holset

587
05-15-2011, 03:16 PM #13
O.k. I read "PWM" instead of "RPM" -problems...
You see how bad I am in electronics?!

... I have an Arduino board and 2-3 606 turbo pumps and lots of elements but don't know how to combine the first to the rest.

My goal is to make my 603 idiot proof in sense of avoiding black puffs when slapping the pedal.

Tom
tomnik
05-15-2011, 03:16 PM #13

O.k. I read "PWM" instead of "RPM" -problems...
You see how bad I am in electronics?!

... I have an Arduino board and 2-3 606 turbo pumps and lots of elements but don't know how to combine the first to the rest.

My goal is to make my 603 idiot proof in sense of avoiding black puffs when slapping the pedal.

Tom

 
  • 1 Vote(s) - 5 Average
Users browsing this thread:
 12 Guest(s)
Users browsing this thread:
 12 Guest(s)