ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post your project vehicles here! One thread per vehicle please.
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by Fred »

Hey, I just had a look at your other thread on your Renault wheel and according to the diagram it should work just fine. If you look at the diagram, it shows the "missing teeth" as the distance between two *rising* edges. This is what we pay attention to anyway. IE, the falling edges are ignored. So unless you have something inverting the signal in your PCB or the diagram matches something other than the CPU pin stage of processing, then it should be OK. If you have access to a logic analyser (like the saleae) then you could prove that you have a good signal, or not, by recording the CPU pin while cranking.

You still need to push up your config changes, though. As a clean commit over the existing code base rather than a tarball.

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
ruzki
QFP80 - Contributor
Posts: 86
Joined: Thu Jun 20, 2013 4:24 pm

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by ruzki »

10. Post here again :-)
Here it is : https://github.com/ruzki/freeems-vanilla-ruzki

I´ve build the firmware today and everything seems to be alright.
Hopefully i can work out the tigger problem ...
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by Fred »

Tomorrow is a write-off for me. I will try to look at your config on Thursday and ensure it's good. If you can get me a log from a committed version of firmware that is pushed to github, that'd be good. See this: viewtopic.php?f=54&t=2323
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
ruzki
QFP80 - Contributor
Posts: 86
Joined: Thu Jun 20, 2013 4:24 pm

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by ruzki »

If you can get me a log from a committed version of firmware that is pushed to github, that'd be good.
Maybe this is not necessary, i think i solved the sync problem!
I´ve added a 10k shunt between VR + and - and now it seems to sync without errors.
I´ve also took everything up to my "ECU test rig" and found out that the injectors are not working.
The tachometer is not working too. ( but this not a real issue ). :lol:
This is definitely a configuration error, but at the moment i don't have a idea how to solve it :indiff:
Neither i have a idea where to start searching ..
User avatar
ruzki
QFP80 - Contributor
Posts: 86
Joined: Thu Jun 20, 2013 4:24 pm

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by ruzki »

OK ! i have found the wrong settings ..

Code: Select all

#elif CONFIG == RUZKI_ID // http://forum.diyefi.org/viewtopic.php?f=3&t=2380 Ruzki´s Megane 2.0 16v Atmo
        anglesOfTDC: {ANGLE(84), ANGLE(264)}, // 1 and 4, 2 and 3
        outputEventPinNumbers:                     {0,1}, // Ignition only
        schedulingConfigurationBits:               {0,0}, // Ditto
        decoderEngineOffset:                 ANGLE(0), // To verify from source build!
        numberOfConfiguredOutputEvents:          2, // Wasted spark
        numberOfInjectionsPerEngineCycle:        2  // Ditto
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by Fred »

Are we about to add Germany to the list of FreeEMS infected countries??? :-D Good work! Shunts are magic. Toyota uses 5k as the standard value for dozens of models/types.
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
ruzki
QFP80 - Contributor
Posts: 86
Joined: Thu Jun 20, 2013 4:24 pm

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by ruzki »

Are we about to add Germany to the list of FreeEMS infected countries???
:D
the car is already coughing -> http://www.youtube.com/watch?v=rMBWv63fjQQ :lol2:
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by Fred »

Have you had a read of this thread: viewtopic.php?f=54&t=2369 especially re the first row of lambda, timing and VE. Got a log to match that video? bz2 it and attach here :-)
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
ruzki
QFP80 - Contributor
Posts: 86
Joined: Thu Jun 20, 2013 4:24 pm

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by ruzki »

still cant get the car running :( i tried to change the:

Code: Select all

syncConfirmationsRunning: 10, 
syncConfirmationsStarting: 0, 
and

Code: Select all

accelerationInputEventTimeTolerance: ACCEL_TIME_TOL(100),
decelerationInputEventTimeTolerance: DECEL_TIME_TOL(100),
But i´m still getting snyc loss errors when i crank the engine with spark plugs, but it sync´s fine when i take the plugs out.
It seems to me that the unsteady engine speed causes the problems

I don´t have a logic analyser. But i could take the Triggerwheel in a Lathe and Log it with emstudio.
Or i could log it with and without spark plugs ..
I dont know what to do .. i mean it runs with the M$-II Board and Revs up to 8000 rpms with no probs .. the hardware config remains the same with the FreeEms Board.. :indiff:
User avatar
Fred
Moderator
Posts: 15431
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: ruzki´s Megane Coupe 2.0 16V F7R and Turbo

Post by Fred »

ruzki wrote:still cant get the car running :(
Gutted.
i tried to change the:

Code: Select all

syncConfirmationsRunning: 10, 
syncConfirmationsStarting: 0, 
and

Code: Select all

accelerationInputEventTimeTolerance: ACCEL_TIME_TOL(100),
decelerationInputEventTimeTolerance: DECEL_TIME_TOL(100),
Keep these changes, and also try changing this:

Code: Select all

		missingToothTolerance: 2048 // 2048 is 50% right now...
But i´m still getting snyc loss errors when i crank the engine with spark plugs, but it sync´s fine when i take the plugs out.
Definitely try the above figure (IIRC, larger is more tolerant, I have a spreadsheet somewhere).
It seems to me that the unsteady engine speed causes the problems
Likely right, but what else did you change? Were your plugs still connected to coils firing to ground? Or did you kill the ignition relay for these plug-less tests? How about injectors, left em going or killed them? If you didn't have fuel/spark firing, it could be noise from them.
I dont know what to do .. i mean it runs with the M$-II Board and Revs up to 8000 rpms with no probs .. the hardware config remains the same with the FreeEms Board.. :indiff:
Don't expect to be able to rev a 60-2 setup that high with the current code. It needs some optimisations/changes to reach those speeds. Set your limiter to 2500 for the time being, and focus on getting it tuned/dialed in below that.

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!
Post Reply