My 87 toyota supra hardware build

All home-built FreeEMS implementations without a forum of their own, usually TA-based.
Post Reply
via
QFP80 - Contributor
Posts: 57
Joined: Mon Dec 02, 2013 5:57 pm

Re: My 87 toyota supra hardware build

Post by via »

I still haven't had any luck with emstudio giving me valid logs. I specifically set a number of data logs to keep to see if that made a difference. The log directory is filled with files, but the sizes are more or less all the same. I watched one grow and then stop growing at the same size as the rest.

Code: Select all

-rw-r--r--. 1 via via    0 Dec 15 23:16 2013.12.15-23.16.03.bin
-rw-r--r--. 1 via via  651 Dec 15 23:16 2013.12.15-23.16.03.both.bin
-rw-r--r--. 1 via via  388 Dec 15 23:16 2013.12.15-23.16.03.meta.json
-rw-r--r--. 1 via via  651 Dec 15 23:16 2013.12.15-23.16.03.toecu.bin
-rw-r--r--. 1 via via    0 Dec 16 00:07 2013.12.16-00.07.09.bin
-rw-r--r--. 1 via via  651 Dec 16 00:07 2013.12.16-00.07.09.both.bin
-rw-r--r--. 1 via via  388 Dec 16 00:07 2013.12.16-00.07.09.meta.json
-rw-r--r--. 1 via via  651 Dec 16 00:07 2013.12.16-00.07.09.toecu.bin
-rw-r--r--. 1 via via    0 Dec 16 00:09 2013.12.16-00.09.26.bin
-rw-r--r--. 1 via via  651 Dec 16 00:09 2013.12.16-00.09.26.both.bin
-rw-r--r--. 1 via via  388 Dec 16 00:09 2013.12.16-00.09.26.meta.json
-rw-r--r--. 1 via via  651 Dec 16 00:09 2013.12.16-00.09.26.toecu.bin
-rw-r--r--. 1 via via    0 Dec 16 00:11 2013.12.16-00.11.44.bin
-rw-r--r--. 1 via via  651 Dec 16 00:12 2013.12.16-00.11.44.both.bin
-rw-r--r--. 1 via via  388 Dec 16 00:11 2013.12.16-00.11.44.meta.json
-rw-r--r--. 1 via via  651 Dec 16 00:12 2013.12.16-00.11.44.toecu.bin
-rw-r--r--. 1 via via    0 Dec 16 20:49 2013.12.16-20.49.39.bin
-rw-r--r--. 1 via via  651 Dec 16 20:50 2013.12.16-20.49.39.both.bin
-rw-r--r--. 1 via via  388 Dec 16 20:49 2013.12.16-20.49.39.meta.json
-rw-r--r--. 1 via via  651 Dec 16 20:50 2013.12.16-20.49.39.toecu.bin
-rw-r--r--. 1 via via    0 Dec 18 22:16 2013.12.18-22.16.27.bin
-rw-r--r--. 1 via via  651 Dec 18 22:17 2013.12.18-22.16.27.both.bin
-rw-r--r--. 1 via via  388 Dec 18 22:16 2013.12.18-22.16.27.meta.json
-rw-r--r--. 1 via via  651 Dec 18 22:17 2013.12.18-22.16.27.toecu.bin
-rw-r--r--. 1 via via    0 Dec 19 22:36 2013.12.19-22.36.55.bin
-rw-r--r--. 1 via via 1.3K Dec 19 22:37 2013.12.19-22.36.55.both.bin
-rw-r--r--. 1 via via  388 Dec 19 22:37 2013.12.19-22.36.55.meta.json
-rw-r--r--. 1 via via 1.3K Dec 19 22:37 2013.12.19-22.36.55.toecu.bin
-rw-r--r--. 1 via via    0 Dec 19 23:02 2013.12.19-23.02.23.bin
-rw-r--r--. 1 via via  651 Dec 19 23:02 2013.12.19-23.02.23.both.bin
-rw-r--r--. 1 via via  388 Dec 19 23:02 2013.12.19-23.02.23.meta.json
-rw-r--r--. 1 via via  651 Dec 19 23:02 2013.12.19-23.02.23.toecu.bin
-rw-r--r--. 1 via via    0 Dec 19 23:19 2013.12.19-23.19.10.bin
-rw-r--r--. 1 via via  659 Dec 19 23:19 2013.12.19-23.19.10.both.bin
-rw-r--r--. 1 via via  388 Dec 19 23:19 2013.12.19-23.19.10.meta.json
-rw-r--r--. 1 via via  659 Dec 19 23:19 2013.12.19-23.19.10.toecu.bin
-rw-r--r--. 1 via via    0 Dec 20 20:40 2013.12.20-20.40.39.bin
-rw-r--r--. 1 via via  651 Dec 20 20:41 2013.12.20-20.40.39.both.bin
-rw-r--r--. 1 via via  388 Dec 20 20:40 2013.12.20-20.40.39.meta.json
-rw-r--r--. 1 via via  651 Dec 20 20:41 2013.12.20-20.40.39.toecu.bin
-rw-r--r--. 1 via via    0 Dec 20 20:44 2013.12.20-20.44.24.bin
-rw-r--r--. 1 via via  651 Dec 20 20:44 2013.12.20-20.44.24.both.bin
-rw-r--r--. 1 via via  388 Dec 20 20:44 2013.12.20-20.44.24.meta.json
-rw-r--r--. 1 via via  651 Dec 20 20:44 2013.12.20-20.44.24.toecu.bin
-rw-r--r--. 1 via via    0 Dec 20 22:06 2013.12.20-22.06.09.bin
-rw-r--r--. 1 via via  683 Dec 20 22:06 2013.12.20-22.06.09.both.bin
-rw-r--r--. 1 via via  388 Dec 20 22:06 2013.12.20-22.06.09.meta.json
-rw-r--r--. 1 via via  683 Dec 20 22:06 2013.12.20-22.06.09.toecu.bin
-rw-r--r--. 1 via via    0 Dec 23 23:05 2013.12.23-23.05.35.bin
-rw-r--r--. 1 via via  694 Dec 23 23:06 2013.12.23-23.05.35.both.bin
-rw-r--r--. 1 via via  388 Dec 23 23:05 2013.12.23-23.05.35.meta.json
-rw-r--r--. 1 via via  694 Dec 23 23:06 2013.12.23-23.05.35.toecu.bin
-rw-r--r--. 1 via via    0 Dec 24 01:06 2013.12.24-01.06.40.bin
-rw-r--r--. 1 via via  651 Dec 24 01:07 2013.12.24-01.06.40.both.bin
-rw-r--r--. 1 via via  389 Dec 24 01:06 2013.12.24-01.06.40.meta.json
-rw-r--r--. 1 via via  651 Dec 24 01:07 2013.12.24-01.06.40.toecu.bin
-rw-r--r--. 1 via via    0 Dec 24 01:35 2013.12.24-01.35.08.bin
-rw-r--r--. 1 via via  651 Dec 24 01:35 2013.12.24-01.35.08.both.bin
-rw-r--r--. 1 via via  389 Dec 24 01:35 2013.12.24-01.35.08.meta.json
-rw-r--r--. 1 via via  651 Dec 24 01:35 2013.12.24-01.35.08.toecu.bin
-rw-r--r--. 1 via via    0 Dec 26 20:54 2013.12.26-20.54.33.bin
-rw-r--r--. 1 via via  651 Dec 26 20:55 2013.12.26-20.54.33.both.bin
-rw-r--r--. 1 via via  389 Dec 26 20:54 2013.12.26-20.54.33.meta.json
-rw-r--r--. 1 via via  651 Dec 26 20:55 2013.12.26-20.54.33.toecu.bin
-rw-r--r--. 1 via via    0 Dec 26 23:19 2013.12.26-23.19.39.bin
-rw-r--r--. 1 via via  885 Dec 26 23:25 2013.12.26-23.19.39.both.bin
-rw-r--r--. 1 via via  389 Dec 26 23:19 2013.12.26-23.19.39.meta.json
-rw-r--r--. 1 via via  885 Dec 26 23:25 2013.12.26-23.19.39.toecu.bin
-rw-r--r--. 1 via via    0 Dec 26 23:26 2013.12.26-23.26.43.bin
-rw-r--r--. 1 via via  815 Dec 27 17:55 2013.12.26-23.26.43.both.bin
-rw-r--r--. 1 via via  389 Dec 26 23:26 2013.12.26-23.26.43.meta.json
-rw-r--r--. 1 via via  815 Dec 27 17:55 2013.12.26-23.26.43.toecu.bin
-rw-r--r--. 1 via via    0 Dec 27 18:21 2013.12.27-18.21.08.bin
-rw-r--r--. 1 via via  897 Dec 27 19:14 2013.12.27-18.21.08.both.bin
-rw-r--r--. 1 via via  389 Dec 27 18:21 2013.12.27-18.21.08.meta.json
-rw-r--r--. 1 via via  897 Dec 27 19:14 2013.12.27-18.21.08.toecu.bin
-rw-r--r--. 1 via via    0 Dec 27 19:20 2013.12.27-19.20.50.bin
-rw-r--r--. 1 via via  701 Dec 27 19:25 2013.12.27-19.20.50.both.bin
-rw-r--r--. 1 via via  389 Dec 27 19:20 2013.12.27-19.20.50.meta.json
-rw-r--r--. 1 via via  701 Dec 27 19:25 2013.12.27-19.20.50.toecu.bin
-rw-r--r--. 1 via via    0 Dec 27 19:29 2013.12.27-19.29.43.bin
-rw-r--r--. 1 via via  651 Dec 27 19:30 2013.12.27-19.29.43.both.bin
-rw-r--r--. 1 via via  389 Dec 27 19:29 2013.12.27-19.29.43.meta.json
-rw-r--r--. 1 via via  651 Dec 27 19:30 2013.12.27-19.29.43.toecu.bin
-rw-r--r--. 1 via via    0 Dec 28 02:43 2013.12.28-02.43.25.bin
-rw-r--r--. 1 via via 1.7K Dec 28 02:59 2013.12.28-02.43.25.both.bin
-rw-r--r--. 1 via via  389 Dec 28 02:43 2013.12.28-02.43.25.meta.json
-rw-r--r--. 1 via via 1.7K Dec 28 02:59 2013.12.28-02.43.25.toecu.bin
-rw-r--r--. 1 via via    0 Dec 29 03:12 2013.12.29-03.12.29.bin
-rw-r--r--. 1 via via  651 Dec 29 03:13 2013.12.29-03.12.29.both.bin
-rw-r--r--. 1 via via  389 Dec 29 03:12 2013.12.29-03.12.29.meta.json
-rw-r--r--. 1 via via  651 Dec 29 03:13 2013.12.29-03.12.29.toecu.bin
-rw-r--r--. 1 via via    0 Jan  2 14:20 2014.01.02-14.20.33.bin
-rw-r--r--. 1 via via  651 Jan  2 14:21 2014.01.02-14.20.33.both.bin
-rw-r--r--. 1 via via  390 Jan  2 14:20 2014.01.02-14.20.33.meta.json
-rw-r--r--. 1 via via  651 Jan  2 14:21 2014.01.02-14.20.33.toecu.bin
-rw-r--r--. 1 via via    0 Jan  2 17:22 2014.01.02-17.21.48.bin
-rw-r--r--. 1 via via  651 Jan  2 17:22 2014.01.02-17.21.48.both.bin
-rw-r--r--. 1 via via  390 Jan  2 17:22 2014.01.02-17.21.48.meta.json
-rw-r--r--. 1 via via  651 Jan  2 17:22 2014.01.02-17.21.48.toecu.bin
-rw-r--r--. 1 via via    0 Jan  3 18:25 2014.01.03-18.25.51.bin
-rw-r--r--. 1 via via  651 Jan  3 18:26 2014.01.03-18.25.51.both.bin
-rw-r--r--. 1 via via  390 Jan  3 18:26 2014.01.03-18.25.51.meta.json
-rw-r--r--. 1 via via  651 Jan  3 18:26 2014.01.03-18.25.51.toecu.bin
-rw-r--r--. 1 via via    0 Jan  3 18:36 2014.01.03-18.36.31.bin
-rw-r--r--. 1 via via  651 Jan  3 18:37 2014.01.03-18.36.31.both.bin
-rw-r--r--. 1 via via  386 Jan  3 18:36 2014.01.03-18.36.31.meta.json
-rw-r--r--. 1 via via  651 Jan  3 18:37 2014.01.03-18.36.31.toecu.bin
-rw-r--r--. 1 via via    0 Jan  3 18:45 2014.01.03-18.45.38.bin
-rw-r--r--. 1 via via  651 Jan  3 18:46 2014.01.03-18.45.38.both.bin
-rw-r--r--. 1 via via  386 Jan  3 18:45 2014.01.03-18.45.38.meta.json
-rw-r--r--. 1 via via  651 Jan  3 18:46 2014.01.03-18.45.38.toecu.bin
I'll compile it on fedora and see if I do any better.

So in the meantime I have a non-emstudio log. Once I get emstudio logging working it won't continue.

In the log the only sync losses I see are at the beginning and end of cranking. Yesterday I could have sworn the number incremented during cranking, but that hasn't happened yet today. If it does I'll get it.

Is that amount of flutter in the sensors during cranking acceptable?
Also, regarding BRV fluctuations, it is my understanding it are sampled to be able to compensate for changes in battery voltage. However, since all the sensors are powered off 5V switched from the ECU, why is that necessary? It almost seems to me like the sensor deviation flutters the opposite of BRV during cranking. Of course I might be completely wrong and my 5V supply is fluttering too.

Also, cutecom built fine.


EDIT: I totally forgot to attach. Attaching now, along with another one.
Attachments
fifth.24plus1.log.bin.bz2
(26.46 KiB) Downloaded 866 times
crankattempt.via.24plus1.log.bin.bz2
(26.82 KiB) Downloaded 861 times
User avatar
Fred
Moderator
Posts: 15432
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: My 87 toyota supra hardware build

Post by Fred »

Noise bad, cause discussed in IRC, and on the phone, via can explain the fix(es) if they/it work(s).

BRV is important because it defines the correct pulse widths for both coils and injectors. This is SUPER important, as is the matching data, one of which you're well on top of (dwell).

Re EMStudio, try dev and unstable branches (possibly the same hash on each) as master is usually out of date (assuming you're using master).

Nice talking to you! :-) Next time, though, plug in some headphones, it's super distracting listening to your own voice lagging reality ;-)

EDIT: added screeny of the behaviour described above:

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!
via
QFP80 - Contributor
Posts: 57
Joined: Mon Dec 02, 2013 5:57 pm

Re: My 87 toyota supra hardware build

Post by via »

I've changed the wiring so that all the sensor grounds come straight back to the ecu, where it is shared with the ecu power supply ground. I've also changed the power supply ground from the battery ground to the lower manifold, right next the head. There aren't a lot of good places directly on the head, I can try to make it work if its necessary. I have confirmed there are two battery ground straps, one to the block, one to chassis.

With that, the first log below is after changing that. Its better, still not 100% clean. Not sure whats going on with IAT at the beginning there. Is that clean enough to continue?

Second attachment is after also changing the sync confirmation settings. Seems to me that its looking correct, and I have ok to schedule during all of cranking. I'm going to start wiring up ignition now.
Attachments
2014.01.05-13.40.06.bin.bz2
(40.27 KiB) Downloaded 845 times
2014.01.05-13.26.54.bin.bz2
(31.7 KiB) Downloaded 897 times
User avatar
Fred
Moderator
Posts: 15432
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: My 87 toyota supra hardware build

Post by Fred »

Perfection is possible, but you don't need it. IAT and CHT and TPS have single bit jitter, which is OK enough.

MAP never reads any significant vacuum, but this is quite likely until it fires.

BRV, if accurate, tells me you need to keep that sucker on charge/warm :-)

It should start, even if it has to crank for a second each time. With time you can improve the setup :-)

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!
via
QFP80 - Contributor
Posts: 57
Joined: Mon Dec 02, 2013 5:57 pm

Re: My 87 toyota supra hardware build

Post by via »

I've wired up the ignition, and went at it with a timing light. I do get flashes at what appear to be the correct 10ish degrees, so I think its right, but its hard to tell. I'll do it again tomorrow when I have more light. In other news I incorrectly connected the fuel pump, so I'll have to fix that.

However, something is happening that I cannot explain, and is scaring me a bit. I have attached the log of one such occurance. During cranking, it seems like it gets sync, then fires a coil. When this happens it makes a noise as if its trying to start. This happens with or without fuel pressure, and the fuel injectors are connected to nothing, so I don't see how this can happen -- there should be no fuel. In addition to sounding like it might catch, it makes a pretty horrific noise (but not loud like a backfire), along with a puff of air coming out the intake. This is visible as the massive MAP spike in the log. It seems like the engine wants to stop turning around this time.

I'm hoping you might be able to tell me what is happening here. My first guess is thatfor some reason the intake valve is opening during compression for some reason. Is it possible to determine which cylinder is TDC when this happens? The reason I said last night I was planning to do a rebuild was I have slightly low compression in #4, and believe it to be piston ring failure due to a failed wet compression test, but maybe a valve is sticking instead?

I'm a little afraid to continue trying to crank until I figure out whats going on.

EDIT:
After looking over the differences in wiring between the '87 and '90 supra, and reading over forum posts, I think that the cold start injector is wired to fire when it is cold and cranking regardless of the ecu input -- the ecu input is to prolong the pulse if its really cold. So after talking with malcom2073, it was probably backfiring, combined with fuel from the csi. I'll disconnect it completely and repeat tomorrow.
Attachments
2014.01.05-16.59.32.bin.bz2
(26.93 KiB) Downloaded 859 times
via
QFP80 - Contributor
Posts: 57
Joined: Mon Dec 02, 2013 5:57 pm

Re: My 87 toyota supra hardware build

Post by via »

In addition to the small fueling problem, I believe I'm 180* off on the cam wheel. Looks like I may have chosen the wire that triggers on #6 tdc instead of #1. Instead of changing the wiring, could I just change the decoderoffset? Would 360* be appropriate?
User avatar
Fred
Moderator
Posts: 15432
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: My 87 toyota supra hardware build

Post by Fred »

Ouch re cold start injector! Definitely stop cranking until you disable that. Your rods and head gasket are in danger until then.

Re timing, there is no correct place for the CAS unit, nor a correct sensor to use. Your job is to find the correct decoder offset by trial and error WITHOUT fuel present. With the timing light on cylinder one's lead, you should get flashes at whatever the firmware is using, or close to it. If you can't see the notch at first, change by half of your decoder total angle, etc. Does that make sense?

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!
via
QFP80 - Contributor
Posts: 57
Joined: Mon Dec 02, 2013 5:57 pm

Re: My 87 toyota supra hardware build

Post by via »

Because of the wasted spark setup, won't it show the correct timing even if its off by 180*? Since both 1 and 6 will fire at the same time. I'm pretty confident that I picked the cam sync that triggers at #6 tdc. I just want to verify that in this case half the decoder angle is 360*, right? Because one full cam turn is 720 crank degrees.
User avatar
Fred
Moderator
Posts: 15432
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: My 87 toyota supra hardware build

Post by Fred »

Each correctly configured output will fire once every 360 degrees, or twice per decoder cycle, in your case. Due to this changing your offset by 360 will make exactly no difference. Until you eventually go COP/Sequential... :-) So if it's wrong, change by either what you think is good, or 180 to find the mark at all.
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: 15432
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: My 87 toyota supra hardware build

Post by Fred »

Or your config if that's at fault. I've not checked yet, 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!
Post Reply