Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,etc)

For discussing and developing different RPM/Position decoders using our superior modular architecture! One thread per pattern, please.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

Logging is all added, and tools are up to date. Tonight, with the new tools, I confirmed that it's not working, however it's time for bed. I will attempt to diagnose and fix tomorrow.
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: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

I got shafted by the JimStim today, but made some good progress and should have a fully functional missing tooth decoder committed and pushed tomorrow :-)

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!
tpsretard
QFP80 - Contributor
Posts: 99
Joined: Thu Mar 19, 2009 3:05 am

Re: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by tpsretard »

viewtopic.php?p=18429#p18429

I did not see it right away so added the link to your problem
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

Fixed and working as of today! :-)

http://issues.freeems.org/view.php?id=302

Some performance limitations exist, but nothing worth worrying about. I can solve that easily.

Image

Next steps other than optimising are adding secondary sync options, but not for a little while.

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
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

Woops, never updated this thread! It actually wasn't working for outputs, only reading the wheels. But it should be now, or at least, much closer. Results are still a little inconclusive but I suspect my test setup is broken, not the code, could be wrong. Available in dev branch now for building.
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: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

Also, 60-2 is untested on the bench, and cam only mode is untested too. Either could be broken, more testing to come.
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: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

Confirmed fixed, 60-2 and cam still untested, but N-1 definitely works fine :-)

Image

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
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

6-2 Cam speed was tested by user Peter yesterday and confirmed to produce fairly accurate RPM. We're still waiting for a good binary log from any of the three users with missing tooth attached to an engine, though. It certainly looks promising that both minus two and cam speed modes work correctly. Hip hip hooray! I've just implemented a new addition to my test suite that enables fully configurable missing teeth test patterns to be made up to 5 missing and down to zero (for testing even + sync), so I'll bench test all modes in the next few days, or maybe even few hours.
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: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by Fred »

Sync over 40 or so teeth was broken and is now fixed. Performance is miserable, though, with 60 minus 2 only capable of 3000 RPM. Clearly it needs some significant optimisations to be usable on a twin cam turbo BMW, or even a single cam fiat palio. If someone wires one up, I'll look at it. In the mean time it can stay like this.
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!
nicholas
TO220 - Visibile
Posts: 10
Joined: Fri May 08, 2015 2:51 pm

Re: Generic M-N Missing Teeth Decoder (12-1,24-1,36-1,60-2,e

Post by nicholas »

How did this end ?
was this code made part of the "release" or still under development ?

This specific functionallity of an ECU, knowing the flywheel position, acceleration , deceleration of the same.
Being able to handle the jerkiness during crank and even due to high compression engines etc etc.

Very interesting topic and the most fundamental one IMHO.

not only how you aquire flywheel position but also how the rest of the code gets this information.
A virtual flywheel inside the cpu trying to follow the real.

Not sure how rest of code working, if routines waits for an alarm, a que of alarms and when the time comes they are fired off, next in alaram que is moved forward, etc.

I guess i find out as I read along.

A mems sensor inside the ECU should be able to give you the load of the enginge.
If you know the weight more or less, give the power.

I also want the ECU to inform about the amount of engergy in the fuel, as it varies between diffrent types of gas and brands.

sorry for rambling a bit OT.


/Nicholas
Post Reply