View unanswered posts | View active topics It is currently Sat Dec 15, 2018 7:28 pm



Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Clockwise Hall effect 4/2 DSM/Miata/MX-5 pattern CAS 
Author Message
QFP80 - Contributor

Joined: Sun Jan 22, 2012 10:52 pm
Posts: 57
Location: Scotland
I happen to be rather envious of that particular vehicle! Though if I had it I'm not sure how long it would be before the cylinder head was swapped onto the Amazon.
Fred wrote:
[...] how did you come up with the *relative* timings of the inner/outer sections without that or without spinning it and scoping it?

I wish I could say I scoped it, that would have been much cooler. I wired the CAS up, fixed a ~300mm dia cam/crank timing wheel to it, and rotated it very slowly.
Fred wrote:
if you want to duplicate work for your own edification, look for the lines around 'correctEvent' and modify those if statements and contents thereof.

Thanks. I'll see if knowing where to look helps me out :)


Sat Jun 09, 2018 4:29 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15204
Location: Home sweet home!
OK, your method of figuring out the angles should be close enough at worst. I'll push my work up later today (probably, though very slow start, up at 1pm... sigh) and you can compare notes with what you did.

I got the bulk of it changed to be correct last night, but didn't suss out either the old or new variant of the blue tick. Maybe it was the wine. :-p

_________________
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!


Sun Jun 10, 2018 2:12 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15204
Location: Home sweet home!
Didn't happen, will try to get it done tonight. Sorry.

_________________
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!


Sun Jun 10, 2018 8:56 pm
Profile WWW
QFP80 - Contributor

Joined: Sun Jan 22, 2012 10:52 pm
Posts: 57
Location: Scotland
No wozza mate.


Sun Jun 10, 2018 9:48 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15204
Location: Home sweet home!
Ended up writing some corner-case fixes for the tip in enrich code that someone was having some drama with. He can work around it with data changes, but I wanted to serialise my thoughts ASAP. And now it's midnight. Sorry again. Maybe Tuesday night is *your* night :-)

_________________
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!


Mon Jun 11, 2018 12:42 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15204
Location: Home sweet home!
Doing extra hours at work, and getting through chores at home, didn't touch any of the three software goals I had tonight. Maybe tomorrow will differ. Still waiting on your attempt, though :-)

_________________
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!


Wed Jun 13, 2018 1:02 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15204
Location: Home sweet home!
Code complete! But...

Your diagram is wrong. Tsk tsk tsk. Please leave the old diagram online, provide a new one with red whereever black/blue occur, and post it below this and I'll link your original as EDIT: Wrong: http... and replace the old one with the new one. Okay? :-)

Basically, the two sequences of unknowns are absolutely identical in sequential state, so it's not possible to determine sync from either of them except by recording primary unknowns seen and on the fourth declaring sync. BUT, that is of SUPER minor benefit as the next positive sync is just after it. I won't bother. Or will I? Not today, anyway. Proof:

Image





Code pushed! Notes:

Combined your two UI commits and gave them a decent comment, ish.
Fixed the logic up.
Added some infrastructure to allow easy build of it.
Tested build works okay on my box (it compiles, it must be okay... ;-))

do this:

git remote add fred-github git@github.com:fredcooke/freeems-vanilla.git
git fetch fred-github
git checkout mazda-backwards
profit

:-)

Sorry for the delay...

_________________
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!


Wed Jun 20, 2018 11:38 am
Profile WWW
QFP80 - Contributor

Joined: Sun Jan 22, 2012 10:52 pm
Posts: 57
Location: Scotland
That is the business. Thank you. And sorry for the false lead with the diagram. Is this how you mean to have red replacing wherever black/blue were?
Image


Fri Jun 29, 2018 9:43 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 15204
Location: Home sweet home!
You're welcome, and no apology necessary at all. My pleasure. :-)

Keep that one there, and add another with either:

10, 0, 1 black and 2 blue

OR

10, 11, 0, 1 black, 2 blue

As technically that could happen and save a fraction of a second in starting time. I don't think checking 11 is necessary at all, hence the former, but you could maybe mark 11 grey to indicate optional/pointless usage slash being part of the sequence.

That leaves 4, (5), 6, 7 as a false sequence (red is fine) that will be counted up to and then overridden by 8 occurring first. Whereas the identical sequence as listed above for black/blue will end with the count reaching the blue one and syncing before 3.

Make sense?

_________________
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!


Sat Jun 30, 2018 4:36 am
Profile WWW
QFP80 - Contributor

Joined: Sun Jan 22, 2012 10:52 pm
Posts: 57
Location: Scotland
Grey either looked too washed out or like black at a glance so I fancied it up.
Image


Sun Jul 01, 2018 10:09 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.