Feature request - Trigger auto discovery.

FreeEMS topics that aren't specific to hardware development or firmware development.
Locked
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Feature request - Trigger auto discovery.

Post by BenFenner »

I don't know if this is in the right sub-forum. Move at will.

I don't know if this is possible with the hardware currently spec'd. I don't know if this is likely with the current firmware. I don't know if this is even possible?

I hear the Link brand of stand-alone engine management systems have the ability to auto-discover the trigger pattern while the engine is cranking. I would imagine you have to input whether it is a cam or crank mounted sensor, and maybe make some guesses about the trigger layout? All I know is that it sounds really nice to have. Maybe it's a band-aid though? I don't know. A member of another forum said they've set up many Nissans with the Link EMS and one of them didn't work out properly so he put it into self-learn mode for the trigger or whatever and from then on it was golden.

Thoughts?
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Feature request - Trigger auto discovery.

Post by Fred »

It's certainly possible, however, that aside, there are many things you can do automatically, and many of those you *shouldn't* do automatically. This is one of them.

Pattern type is something the tuner/modder/owner should KNOW explicitly along with other critical operating parameters. Such things should be setup carefully, once, and forgotten.

Even if it was desirable and we did that, you'd still need to setup the offset angle, for the vast majority of sensor types.

Not a fan, others thoughts may vary.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
jbelanger
LQFP144 - On Top Of The Game
Posts: 387
Joined: Sat Feb 23, 2008 8:58 pm
Contact:

Re: Feature request - Trigger auto discovery.

Post by jbelanger »

The feasibility of this also depends if it is discovery of known patterns or establishing the pattern from the trigger input. In the last case, I don't see how you could do anything other than using even teeth with some missing teeth. And in the first case, if your pattern is not in the ECU the feature is useless for you.

So I'm not a fan either for the reasons Fred mentions and the effort needed to implement something like this which could also introduce erroneous data.

Jean
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Feature request - Trigger auto discovery.

Post by BenFenner »

Yah, the more I think about it, the more I think the reward (rarely used, and possibly only a band-aid for failing trigger components) isn't nearly worth the effort.

Forget I mentioned it. =]
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Feature request - Trigger auto discovery.

Post by Fred »

BenFenner wrote:and possibly only a band-aid for failing trigger components
It wouldn't do that. The best you could hope for is to compare recorded timing data with known patterns for which code exists (or doesn't and give an "sorry, no can do" message) and match one of them. You couldn't just record the pattern and use it. All patterns require different approaches, some from logic, others timing, others both, etc.

Fred.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
BenFenner
LQFP144 - On Top Of The Game
Posts: 360
Joined: Wed Jul 09, 2008 3:15 pm

Re: Feature request - Trigger auto discovery.

Post by BenFenner »

Well this person put in the correct trigger info for the Nissan engine, and it wouldn't start. He put it in "learn" mode or "auto discover" mode or whatever and magically it would start. I'm likely missing many of the details. Seems odd that it would work after likely auto discovering the same exact trigger data he input manually. Again, I'm sure I'm missing some details. Maybe he thought he put in the right configuration but didn't...
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Feature request - Trigger auto discovery.

Post by Fred »

BenFenner wrote:Maybe he thought he put in the right configuration but didn't...
Probably yes :-)
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Feature request - Trigger auto discovery.

Post by Fred »

viewtopic.php?f=11&t=1341

Locking this thread.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
Locked