[-]
Need new front pic donations!
Please, if you have a fun pic for the front page lets see it!


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Electronic gov on Mercedes OM606 controlled by arduino board
Author Message
olefejer Offline
GT2256V
***


Posts: 118
Joined: Nov 2009
Location: Denmark
Post: #1
Electronic gov on Mercedes OM606 controlled by arduino board
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 Homemade gearbox controller, Arduino Mega controls (Turbo VNT, EGT, BOOST, EGP. LCD 4X20)
04-30-2011 12:41 PM
Find all posts by this user Quote this message in a reply
yankneck696 Offline
Build it so strong & blow it up good !!!
****


Posts: 366
Joined: Aug 2009
Location: Pt. Charlotte FL
Post: #2
RE: Electronic gov on Mercedes OM606 controlled by arduino board
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
04-30-2011 05:16 PM
Find all posts by this user Quote this message in a reply
aaa Offline
GT2256V
******


Posts: 900
Joined: May 2009
Location:
Post: #3
RE: Electronic gov on Mercedes OM606 controlled by arduino board
If only DervTuning were still around.
04-30-2011 07:58 PM
Find all posts by this user Quote this message in a reply
300SD81 Offline
GT2559V
***


Posts: 185
Joined: Jun 2008
Location: University of Georgia
Post: #4
RE: Electronic gov on Mercedes OM606 controlled by arduino board
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!
05-01-2011 01:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
olefejer Offline
GT2256V
***


Posts: 118
Joined: Nov 2009
Location: Denmark
Post: #5
RE: Electronic gov on Mercedes OM606 controlled by arduino board
(05-01-2011 01:35 AM)300SD81 Wrote:  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 Homemade gearbox controller, Arduino Mega controls (Turbo VNT, EGT, BOOST, EGP. LCD 4X20)
(This post was last modified: 05-01-2011 03:52 AM by olefejer.)
05-01-2011 03:14 AM
Find all posts by this user Quote this message in a reply
jeemu Offline
"some people do, some people talk."
****


Posts: 458
Joined: Nov 2009
Location: Finland
Post: #6
RE: Electronic gov on Mercedes OM606 controlled by arduino board
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
05-01-2011 01:57 PM
Find all posts by this user Quote this message in a reply
300SD81 Offline
GT2559V
***


Posts: 185
Joined: Jun 2008
Location: University of Georgia
Post: #7
RE: Electronic gov on Mercedes OM606 controlled by arduino board
(05-01-2011 03:14 AM)olefejer Wrote:  
(05-01-2011 01:35 AM)300SD81 Wrote:  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!
05-01-2011 09:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
olefejer Offline
GT2256V
***


Posts: 118
Joined: Nov 2009
Location: Denmark
Post: #8
RE: Electronic gov on Mercedes OM606 controlled by arduino board
(05-01-2011 09:09 PM)300SD81 Wrote:  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 Homemade gearbox controller, Arduino Mega controls (Turbo VNT, EGT, BOOST, EGP. LCD 4X20)
05-02-2011 09:45 AM
Find all posts by this user Quote this message in a reply
olefejer Offline
GT2256V
***


Posts: 118
Joined: Nov 2009
Location: Denmark
Post: #9
RE: Electronic gov on Mercedes OM606 controlled by arduino board
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 Homemade gearbox controller, Arduino Mega controls (Turbo VNT, EGT, BOOST, EGP. LCD 4X20)
05-14-2011 01:14 PM
Find all posts by this user Quote this message in a reply
tomnik Offline
Holset
****


Posts: 588
Joined: May 2008
Location: Germany
Post: #10
RE: Electronic gov on Mercedes OM606 controlled by arduino board
(05-14-2011 01:14 PM)olefejer Wrote:  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
05-15-2011 02:11 AM
Find all posts by this user Quote this message in a reply
olefejer Offline
GT2256V
***


Posts: 118
Joined: Nov 2009
Location: Denmark
Post: #11
RE: Electronic gov on Mercedes OM606 controlled by arduino board
(05-15-2011 02:11 AM)tomnik Wrote:  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 Homemade gearbox controller, Arduino Mega controls (Turbo VNT, EGT, BOOST, EGP. LCD 4X20)
05-15-2011 01:16 PM
Find all posts by this user Quote this message in a reply
E300TSC Offline
Turbo-Supercharged
****


Posts: 321
Joined: Oct 2009
Location: Location: Location:
Post: #12
RE: Electronic gov on Mercedes OM606 controlled by arduino board
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.
(This post was last modified: 05-15-2011 02:51 PM by E300TSC.)
05-15-2011 02:48 PM
Find all posts by this user Quote this message in a reply
tomnik Offline
Holset
****


Posts: 588
Joined: May 2008
Location: Germany
Post: #13
RE: Electronic gov on Mercedes OM606 controlled by arduino board
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
05-15-2011 03:16 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)