A way to track knock on Z32

Nistune topics related specifically to the 6303 cpu

Moderator: Matt

Post Reply
RomChip200
 

Posts: 426
Joined: Mon May 11, 2009 7:58 pm
Location: FRANCE

A way to track knock on Z32

Post by RomChip200 »

Matt,

I modified the consult registers table @EA00 to log some other registers instead the standard ones, with log player.
I can only use the AFR LHS&RHS and AFR learn LHS&RHS fields to report the values faithfully.
On all other fields, you make some post-processing on hex values to make them meaningful (injection times in ms, digital 1-4 with some bit fields, ...).

1) Could you plan an enhancement in Nistune ?: the capability to log some addresses w/o post processing (I need 0x0-0xFF value range in these fields). The purpose is to replace the standard registers @EA00 with some addresses I need to trace. It's a kind of ad-hoc mode. You "just" have to extend the capabilities of the panel "Select Consult registers" with "Select Consult registers or own locations" to trace.

2) With this trick (only 4 bytes fully available: AFR LHS&RHS and AFR learn LHS&RHS fields), I managed to highlight when knock starts to appear. Let me explain:

Here is my registers table @EA00:
Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F

00006A00 14 0A 14 0B 16 4D 16 4E 14 08 14 09 FF FF FF FF .....M.N....ÿÿÿÿ
00006A10 14 0C 15 DA 15 D9 14 07 00 92 14 A7 FF FF 14 28 ...Ú.Ù...’.§ÿÿ.(
00006A20 FF FF FF FF FF FF 15 3C 15 6E 15 6F 14 10 14 E1 ÿÿÿÿÿÿ.<.n.o...á
00006A30 FF FF FF FF 16 14 16 15 16 10 16 11 00 F0 00 F1 ÿÿÿÿ.........ð.ñ
00006A40 FF FF 15 3D 15 70 15 71 FF FF FF FF 14 8C 14 8D ÿÿ.=.p.qÿÿÿÿ.Œ.
Attachments
NIStune_2009-10-26_1927_41.xls
(611 KiB) Downloaded 150 times
NIStune_2009-10-26_1934_27.xls
(2.89 MiB) Downloaded 140 times
Peace
 

Posts: 60
Joined: Tue Sep 15, 2009 8:03 pm
Contact:

Post by Peace »

Really interesting if we can have knock monitoring inside nistune.
Matt
Site Admin
 

Posts: 8961
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

some ECUs have it but i"ve stopped looking at it temporarily because we found the ECU missing actual knock as well as reporting false positives. I will still finish the rest off in due time but not as high priority as it used to be
RomChip200
 

Posts: 426
Joined: Mon May 11, 2009 7:58 pm
Location: FRANCE

Post by RomChip200 »

Some progress here:

0x1614-1615 is timing_offset2
0x1610-1611 is knock_value

When knock starts to occur, 1611 starts to increase from 0 up to 200 and more. This is light knock here, read below to understand.
The ECU has an additive behavior regarding knock, this is really powerful and well-brained. 1611 and 1610 reflect this behavior.
If knock goes on, 1610 starts to be decreased (1611 continues to evolve, sometimes it restarts from 0) from 0, 255, 254 .... down to 248: 248 is the knock threshold for which, knock_timing_map is definitively entered.
If 1610 is in the 255-249 area and if you manage to perform some strong accelerations w/o producing knock for a time (=safe condition restored), 1610 is incremented ... 253 ... 254 ... 255: knock fully disappeared.
1615 gives you the importance of knock when occurring, when small value (50-150)= light knock, above 200 is stronger knock.
1614 reflects more or less the number of degrees for retard, it's 0 by default:
254 is 1 degree
253 is 2 degrees
...
This last behavior is validonly when the value decreases.

Have a look to the file attached. This is my log with 1610, 1611, 1614 and 14CF. I got some knock at the beginning of my trip.
14CF is knock_inc, has a link with the knock table, not really relevant for me.

But be careful, this is really normal for an engine to get knock sometimes (engine cold, strong accel and low octane, ...), this is why the ECU is adaptative, the regular timing map is only some reference values, the ECU constantly decrease from 1° or 2° in some conditions on a cold engine. This is why the threshold is 248 ... if prolongated knock occurs ==> knock_timing_map
Attachments
NIStune_2009-11-05_0906_09.xls
(2.66 MiB) Downloaded 155 times
Last edited by RomChip200 on Fri Nov 06, 2009 3:50 am, edited 2 times in total.
RomChip200
 

Posts: 426
Joined: Mon May 11, 2009 7:58 pm
Location: FRANCE

Post by RomChip200 »

I confirm the number of degrees of retard is symbolized in 1614.
Line 1751 in file attached: targeted advance was 17°, I got 13° only and 1614 = 251 at this time (255-251= 4° retard)
Attachments
NIStune_2009-11-05_0842_12.xls
(1.49 MiB) Downloaded 140 times
RomChip200
 

Posts: 426
Joined: Mon May 11, 2009 7:58 pm
Location: FRANCE

Post by RomChip200 »

Matt,

Does it help you to go further ?
[b] Custom tunes S13/Z32/GTIR. First Z32 flex fuel (E85/unleaded) [/b]
[b] 300ZX Z32 '90 400ch 100% E85[/b]
[b] 200SX S13 '92 220ch 100% E85[/b]
[b] Audi S4 B5 '99 400ch 100% E85[/b]
Bernardd
 

Posts: 253
Joined: Thu Jan 26, 2006 3:20 am

Post by Bernardd »

Rom, I'm not familar with how you got the knock bits into the datalog, please explain for myself and others.
Last edited by Bernardd on Fri Nov 20, 2009 12:56 am, edited 1 time in total.
Matt
Site Admin
 

Posts: 8961
Joined: Sun Jan 29, 2006 1:45 am
Location: Adelaide, Australia
Contact:

Post by Matt »

yes it will help me. thanks for posting this here. im strained for time at the moment due to family matters. hopefully all gets better soon

bernard - would be for 8 bit
Bernardd
 

Posts: 253
Joined: Thu Jan 26, 2006 3:20 am

Post by Bernardd »

:oops: i noticed it was posted in the type 2 section....i hope all is well the family
RomChip200
 

Posts: 426
Joined: Mon May 11, 2009 7:58 pm
Location: FRANCE

Post by RomChip200 »

Z32_VG30 is Type 2 and my post concerns 300zx, then everything is right, no ?
[b] Custom tunes S13/Z32/GTIR. First Z32 flex fuel (E85/unleaded) [/b]
[b] 300ZX Z32 '90 400ch 100% E85[/b]
[b] 200SX S13 '92 220ch 100% E85[/b]
[b] Audi S4 B5 '99 400ch 100% E85[/b]
Post Reply