Inside the heat shirk sits LM1815 - this did not go well with 2nd VR channel so far so we have withdrawn to "7 without 6" Subaru trigger decoder.
Open question N1: where the hell is TDC on this 7/6 trigger wheel or maybe where the hell is it on this specific vehicle? Internet give us this magic picture of the symmetrical 6 tooth wheel which we cannot use due to it's symmetrical nature
Open question N2: what is the source of this sweet picture? How official is it?
image.png
You do not have the required permissions to view the files attached to this post.
Next traumatic episode was trying to figure out which coil wire is routed to which coil, and which injector wire was routed to what injector. On all the wiring diagrams wires come in and out of a magic igniter without any clarity on which signal ignites what coil.
In the end it turned out that injectors were numbers in the natural cylinder numbering sequence while coils were numbered in the 1-3-2-4 firing order.
Fast forward four hours of banging head at an unknown TDC location we found some random offset which was at least firing up the car somewhat.
While we have https://rusefi.com/forum/viewtopic.php?f=2&t=1883 just start right away (that EJ18 is wasted spark) this EJ20 seems to have TDC in a very different spot, or SOMETHING is very different. It makes no sense. Unfortunately I did not save tune and log of EJ18 since well, there was no tune - it was just starting right away. Weird.
Could it be that flipped VR wires on the TLE8888 level is still not 100% same as inverting signal on the firmware level?
We have two or three people thinking that physical inverted VR on TLE8888 is not compensated by just "inverted" in settings
And we might have data to prove that point - once we've flipped the wires we got better sync!
2021-05-26_03_51_49_536: EngineState: TRG rpm=0 time=187 index=0: gap=0.002 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_49_537: EngineState: TRG rpm=0 time=187 index=1: gap=96.702 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_49_537: EngineState: TRG duty 0.000000000 195949956
2021-05-26_03_51_49_539: EngineState: TRG rpm=0 time=187 index=0: gap=0.865 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_49_539: EngineState: TRG rpm=0 time=187 index=1: gap=0.002 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_49_722: EngineState: TRG duty 0.000000000 196034429
2021-05-26_03_51_49_723: EngineState: TRG rpm=0 time=187 index=0: gap=7.273 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_49_723: EngineState: TRG rpm=0 time=187 index=1: gap=0.865 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_49_914: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_49_914: EngineState: TRG rpm=253 time=187 index=0: gap=1.009 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_49_915: EngineState: TRG rpm=253 time=187 index=1: gap=7.273 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_49_915: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_49_915: EngineState: TRG rpm=196 time=187 index=0: gap=0.126 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_49_916: EngineState: TRG rpm=196 time=187 index=1: gap=1.009 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_021: EngineState: TRG duty 128.444000244 78240
2021-05-26_03_51_50_021: EngineState: TRG rpm=197 time=187 index=0: gap=3.759 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_022: EngineState: TRG rpm=197 time=187 index=1: gap=0.126 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_022: EngineState: TRG duty 232.111999511 78240
2021-05-26_03_51_50_023: EngineState: TRG rpm=356 time=187 index=0: gap=1.213 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_023: EngineState: TRG rpm=356 time=187 index=1: gap=3.759 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_023: EngineState: TRG duty 1091.681762695 435222
2021-05-26_03_51_50_024: EngineState: TRG rpm=301 time=187 index=0: gap=0.161 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_024: EngineState: TRG rpm=301 time=187 index=1: gap=1.213 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_124: EngineState: TRG duty 1073.547485351 435222
2021-05-26_03_51_50_124: EngineState: TRG rpm=296 time=187 index=0: gap=0.890 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_125: EngineState: TRG rpm=296 time=187 index=1: gap=0.161 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_125: EngineState: TRG duty 1171.557861328 486460
2021-05-26_03_51_50_125: EngineState: TRG rpm=289 time=187 index=0: gap=5.015 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_126: EngineState: TRG rpm=289 time=187 index=1: gap=0.890 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_230: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_50_230: EngineState: TRG rpm=280 time=187 index=0: gap=1.203 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_231: EngineState: TRG rpm=280 time=187 index=1: gap=5.015 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_231: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_50_231: EngineState: TRG rpm=280 time=187 index=0: gap=0.175 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_232: EngineState: TRG rpm=280 time=187 index=1: gap=1.203 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_340: EngineState: TRG duty 126.613670349 54263
2021-05-26_03_51_50_340: EngineState: TRG rpm=280 time=188 index=0: gap=5.574 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_340: EngineState: TRG rpm=280 time=188 index=1: gap=0.175 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_442: EngineState: TRG duty 126.613670349 54263
2021-05-26_03_51_50_442: EngineState: TRG rpm=280 time=188 index=0: gap=1.267 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_442: EngineState: TRG rpm=280 time=188 index=1: gap=5.574 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_443: EngineState: TRG duty 1021.281372070 437692
2021-05-26_03_51_50_443: EngineState: TRG rpm=280 time=188 index=0: gap=0.146 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_443: EngineState: TRG rpm=280 time=188 index=1: gap=1.267 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_443: EngineState: TRG duty 1021.281372070 437692
2021-05-26_03_51_50_444: EngineState: TRG rpm=280 time=188 index=0: gap=0.906 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_449: EngineState: TRG rpm=280 time=188 index=1: gap=0.146 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_546: EngineState: TRG duty 1140.120361328 488623
2021-05-26_03_51_50_546: EngineState: TRG rpm=280 time=188 index=0: gap=7.662 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_547: EngineState: TRG rpm=280 time=188 index=1: gap=0.906 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_652: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_50_653: EngineState: TRG rpm=310 time=188 index=0: gap=1.087 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_653: EngineState: TRG rpm=310 time=188 index=1: gap=7.662 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_653: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_50_653: EngineState: TRG rpm=310 time=188 index=0: gap=0.164 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_654: EngineState: TRG rpm=310 time=188 index=1: gap=1.087 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_764: EngineState: TRG duty 180.549148559 69890
2021-05-26_03_51_50_765: EngineState: TRG rpm=310 time=188 index=0: gap=5.350 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_765: EngineState: TRG rpm=310 time=188 index=1: gap=0.164 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_865: EngineState: TRG duty 180.549148559 69890
2021-05-26_03_51_50_865: EngineState: TRG rpm=310 time=188 index=0: gap=1.127 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_865: EngineState: TRG rpm=310 time=188 index=1: gap=5.350 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_865: EngineState: TRG duty 1270.108642578 491655
2021-05-26_03_51_50_866: EngineState: TRG rpm=310 time=188 index=0: gap=0.145 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_866: EngineState: TRG rpm=310 time=188 index=1: gap=1.127 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_866: EngineState: TRG duty 1270.108642578 491655
2021-05-26_03_51_50_866: EngineState: TRG rpm=310 time=188 index=0: gap=0.899 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_866: EngineState: TRG rpm=310 time=188 index=1: gap=0.145 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_50_975: EngineState: TRG duty 1412.447753906 546754
2021-05-26_03_51_50_975: EngineState: TRG rpm=310 time=188 index=0: gap=7.567 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_50_976: EngineState: TRG rpm=310 time=188 index=1: gap=0.899 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_077: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_51_078: EngineState: TRG rpm=263 time=188 index=0: gap=1.107 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_078: EngineState: TRG rpm=263 time=188 index=1: gap=7.567 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_078: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_51_080: EngineState: TRG rpm=263 time=188 index=0: gap=0.161 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_088: EngineState: TRG rpm=263 time=188 index=1: gap=1.107 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_187: EngineState: TRG duty 163.458862304 74582
2021-05-26_03_51_51_188: EngineState: TRG rpm=263 time=188 index=0: gap=5.719 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_191: EngineState: TRG rpm=263 time=188 index=1: gap=0.161 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_396: EngineState: TRG duty 163.458862304 74582
2021-05-26_03_51_51_397: EngineState: TRG rpm=263 time=189 index=0: gap=1.157 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_397: EngineState: TRG rpm=263 time=189 index=1: gap=5.719 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_397: EngineState: TRG duty 1245.721313476 568390
2021-05-26_03_51_51_405: EngineState: TRG rpm=263 time=189 index=0: gap=0.138 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_406: EngineState: TRG rpm=263 time=189 index=1: gap=1.157 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_407: EngineState: TRG duty 1245.721313476 568390
2021-05-26_03_51_51_408: EngineState: TRG rpm=263 time=189 index=0: gap=0.877 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_409: EngineState: TRG rpm=263 time=189 index=1: gap=0.138 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_511: EngineState: TRG duty 1377.567626953 628548
2021-05-26_03_51_51_512: EngineState: TRG rpm=263 time=189 index=0: gap=7.745 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_514: EngineState: TRG rpm=263 time=189 index=1: gap=0.877 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_609: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_51_609: EngineState: TRG rpm=234 time=189 index=0: gap=1.158 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_609: EngineState: TRG rpm=234 time=189 index=1: gap=7.745 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_609: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_51_610: EngineState: TRG rpm=234 time=189 index=0: gap=0.154 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_611: EngineState: TRG rpm=234 time=189 index=1: gap=1.158 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_821: EngineState: TRG duty 162.889358520 83533
2021-05-26_03_51_51_822: EngineState: TRG rpm=234 time=189 index=0: gap=5.671 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_822: EngineState: TRG rpm=234 time=189 index=1: gap=0.154 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_932: EngineState: TRG duty 162.889358520 83533
2021-05-26_03_51_51_933: EngineState: TRG rpm=234 time=189 index=0: gap=1.118 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_934: EngineState: TRG rpm=234 time=189 index=1: gap=5.671 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_934: EngineState: TRG duty 1195.716674804 613188
2021-05-26_03_51_51_938: EngineState: TRG rpm=234 time=189 index=0: gap=0.137 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_957: EngineState: TRG rpm=234 time=189 index=1: gap=1.118 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_51_959: EngineState: TRG duty 1195.716674804 613188
2021-05-26_03_51_51_959: EngineState: TRG rpm=234 time=189 index=0: gap=0.863 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_51_961: EngineState: TRG rpm=234 time=189 index=1: gap=0.137 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_033: EngineState: TRG duty 1318.055786132 675926
2021-05-26_03_51_52_033: EngineState: TRG rpm=234 time=189 index=0: gap=7.806 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_033: EngineState: TRG rpm=234 time=189 index=1: gap=0.863 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_248: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_52_249: EngineState: TRG rpm=213 time=189 index=0: gap=1.170 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_250: EngineState: TRG rpm=213 time=189 index=1: gap=7.806 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_250: EngineState: TRG duty 0.000000000 0
2021-05-26_03_51_52_254: EngineState: TRG rpm=213 time=189 index=0: gap=0.153 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_259: EngineState: TRG rpm=213 time=189 index=1: gap=1.170 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_352: EngineState: TRG duty 155.718978881 87729
2021-05-26_03_51_52_353: EngineState: TRG rpm=213 time=190 index=0: gap=5.635 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_353: EngineState: TRG rpm=213 time=190 index=1: gap=0.153 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_462: EngineState: TRG duty 155.718978881 87729
2021-05-26_03_51_52_463: EngineState: TRG rpm=213 time=190 index=0: gap=1.114 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_464: EngineState: TRG rpm=213 time=190 index=1: gap=5.635 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_487: EngineState: TRG duty 1133.358886718 638512
2021-05-26_03_51_52_489: EngineState: TRG rpm=213 time=190 index=0: gap=0.136 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_490: EngineState: TRG rpm=213 time=190 index=1: gap=1.114 expected from 0.600 to 1.250 error=No
2021-05-26_03_51_52_567: EngineState: TRG duty 1133.358886718 638512
2021-05-26_03_51_52_567: EngineState: TRG rpm=213 time=190 index=0: gap=0.860 expected from 4.900 to 9.000 error=No
2021-05-26_03_51_52_567: EngineState: TRG rpm=213 time=190 index=1: gap=0.136 expected from 0.600 to 1.250 error=No
On the Subaru the VR sensor wires are shielded and the shield is connected to signal ground too. If you swap the wires you are basically using the shield to carry the signal and this can pick up noise like an antenna.
On the Subaru the VR sensor wires are shielded and the shield is connected to signal ground too. If you swap the wires you are basically using the shield to carry the signal and this can pick up noise like an antenna.
Last thing we have tested - AEM AFR gauge connection through CAN. Work like a charm.
Did not have much time to run long VE auto-tune but also seems to work.
Next step is to run my custom board on Subaru SVX...
That was....pretty good actually. Sounds like there's a lean spot, then it richens up.
This start is on 7+6 trigger. Previously we have been using 7 minus 6 - and cranking was a bit better.
We suspect some offset between 6 and 7 patterns that cause such start. Also trigger error blinks few time on first rotations.
Nope, that's completely reasonable. Remember that free air is infinite lambda/afr, and at that instant you were lifting off the throttle (big transient!) so a matching transient on AFR isn't unreasonable.
Yep, that's just full scale lean. Maximum output of the AEM X-Series is 6.5535 lambda (2^16-1 / 10000), which is an AFR of 96.33.
Thanks!
I'm going to flash updated FW and try new IDLE fixes.
Was not able to reflash ECU today. Seems STM32F427 has bug in USB flashing mode that cause dfu-util to fail flashing under linux...
$ dfu-util -a 0 -D deliver/rusefi.dfu
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
Match vendor ID from file: 0483
Match product ID from file: df11
Opening DFU capable USB device...
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
dfu-util: Could not read name, sscanf returned 0
dfu-util: Failed to parse memory layout
I'm going to flash updated FW and try new IDLE fixes.
not all changes are merged yet, but in theory you could rip a bin out of the github artifacts for this PR (or checkout and build yourself): https://github.com/rusefi/rusefi/pull/2745