owner
Oz '03 316CDI LWB ex-Ambo Patient Transport
Some of you may be aware I have gotten the MB smooth running check woking on my modded NautaBox on my CDI2 T1N. So this applies to ROW OM612 (and possibly NAFTA OM612 but this needs to be tested).
The background is that Im modding my NautaBox to emulate an ELM327 Bluetooth adapter so that I can use the Android Torque app to view/monitor/log interesting stuff like oil and trans temps. (https://sprinter-source.com/forums/index.php?threads/79732/)
I can trigger this to start monitoring and read the individual injector corrections at-will. But Star diagnosis only allows this to happen when ECT is above 80DegC.
I need help deciding on what steady state conditions I should trigger the tests with. The actual results I can do a rolling/timed/filtered average via BT in the Torque Android app, and can log and set alerts etc.
At the moment Im thinking only trigger when all these conditions are met:
1. ECT above 80DegC and drift within +/-2DegC.
2. RPM above 500 and below 1200rpm. With no more than +/-50rpm drift during the test.
3. LOD above 10% and below 50% with +/- 10%.
4. Vehicle speed must be and remain zero.
In terms of drift, I will latch the channel values at the start of the test, and those values must not drift beyond the amounts specified. Assuming other conditions are still met, new run would occur with newly latched values. The aim is to only acquire the inj corrections under steady state so that they are relevant and relative to each other.
So a test will begin, and remain active while all of those conditions are met.
During a test the individual inj corrections will be filtered and logged in Torque. Once conditions are not met the test will stop, and the values in torque will no longer be collected (essentially frozen), until next time conditions are met and they are accumulated again continuing from the previously frozen values.
So this should give a good filtered long term average for each injector correction under steady state conditions.
Im wanting it so that it will be collecting inj corrections every time the engine is idling.
Are there any issues or omissions you can see with those conditions?
Edit:
Post #46 text added with permission from Owner. AP
(If I copied the reply with post #46 click link the text would be condensed/chopped off.)
"WARNING. I had a bit of a runaway situation today. The only thing I can think of that could cause it is the smooth running test.
I was coasting to a stop at some traffic lights, up a slight incline. Then suddenly it was like the van applied the "throttle" a bit, instead of continuing to coast down to a stop. The brake wouldn't stop it, in fact the van actively fought against the brake, trying to maintain speed! I immediately knocked it into N and the engine then idled as if no code-brown had just happened.
I think what may have happened is the OBD command to stop smooth running may have failed. I only try it once in the code, and don't check for failure. I have changed the code now to fix this, so that it will keep trying to stop the smooth running function. Don't use the code I attached earlier without doing this change. And the code I released in post #42 has been deleted now.
I'm not sure how to safely fix it. Probably do one retry of stopping the smooth running test, then if that fails, go into a reset state for 10s. I'm hoping the ECM will drop the connection (and smooth running mode) after the KWP2000 specified 5s, then I can restart my code. I can't do anything else really.
In any case, the code I re-upload will have the smooth running disabled."
The background is that Im modding my NautaBox to emulate an ELM327 Bluetooth adapter so that I can use the Android Torque app to view/monitor/log interesting stuff like oil and trans temps. (https://sprinter-source.com/forums/index.php?threads/79732/)
I can trigger this to start monitoring and read the individual injector corrections at-will. But Star diagnosis only allows this to happen when ECT is above 80DegC.
I need help deciding on what steady state conditions I should trigger the tests with. The actual results I can do a rolling/timed/filtered average via BT in the Torque Android app, and can log and set alerts etc.
At the moment Im thinking only trigger when all these conditions are met:
1. ECT above 80DegC and drift within +/-2DegC.
2. RPM above 500 and below 1200rpm. With no more than +/-50rpm drift during the test.
3. LOD above 10% and below 50% with +/- 10%.
4. Vehicle speed must be and remain zero.
In terms of drift, I will latch the channel values at the start of the test, and those values must not drift beyond the amounts specified. Assuming other conditions are still met, new run would occur with newly latched values. The aim is to only acquire the inj corrections under steady state so that they are relevant and relative to each other.
So a test will begin, and remain active while all of those conditions are met.
During a test the individual inj corrections will be filtered and logged in Torque. Once conditions are not met the test will stop, and the values in torque will no longer be collected (essentially frozen), until next time conditions are met and they are accumulated again continuing from the previously frozen values.
So this should give a good filtered long term average for each injector correction under steady state conditions.
Im wanting it so that it will be collecting inj corrections every time the engine is idling.
Are there any issues or omissions you can see with those conditions?
Edit:
Post #46 text added with permission from Owner. AP
(If I copied the reply with post #46 click link the text would be condensed/chopped off.)
"WARNING. I had a bit of a runaway situation today. The only thing I can think of that could cause it is the smooth running test.
I was coasting to a stop at some traffic lights, up a slight incline. Then suddenly it was like the van applied the "throttle" a bit, instead of continuing to coast down to a stop. The brake wouldn't stop it, in fact the van actively fought against the brake, trying to maintain speed! I immediately knocked it into N and the engine then idled as if no code-brown had just happened.
I think what may have happened is the OBD command to stop smooth running may have failed. I only try it once in the code, and don't check for failure. I have changed the code now to fix this, so that it will keep trying to stop the smooth running function. Don't use the code I attached earlier without doing this change. And the code I released in post #42 has been deleted now.
I'm not sure how to safely fix it. Probably do one retry of stopping the smooth running test, then if that fails, go into a reset state for 10s. I'm hoping the ECM will drop the connection (and smooth running mode) after the KWP2000 specified 5s, then I can restart my code. I can't do anything else really.
In any case, the code I re-upload will have the smooth running disabled."
Last edited by a moderator: