Help with spark advance tables

JayLo

Sir Boost-a-Lot
I'll try to keep this brief. I?m MegaSquirting my Syclone (in another thread) and would like to start out with the stock spark tables for baseline tuning.

Another member was nice enough to post this (thanks leroy):

http://sunflower.com/~leroy/P4/BBZB%201580.htm#F1

This is very helpful, but only part of the story. I found this calculation that the PCM makes when determining spark advance:

"Spark timing advance calculations are the sum of the following terms:

Main Spark Advance Table (*F1*)
Coolant Temperature Correction Table (*F2)
EGR Correction Table (*F4*)
Power Enrichment Spark Advance
Spark Advance Boost Table (*F3*)

Minus the Following Bias Values:

Coolant Advance Bias (*KCTBIAS*)
Manifold Air Temperature Bias (*KMATBIAS*)
Boost Advance Bias (*KBSTBIAS*)
Spark Advance Run Time-out
EGR Advance Bias (*KEGRBIAS*)
Malfunction 32 Test term (*KKEGRSPK*), if applicable."

My question is, what are the variables that are subtracted?

More specifically, how are they calculated?

Is there more supporting documentation that I am missing?

If this is proprietary information, I understand. I?m not trying to deconstruct an ?Ultimate Chip? or compete with any of the tuner chip manufacturers. I would just like to make as simple a spark table I can to input into my personal MS unit.

Thanks for any and all help.

Regards,
________
Live Sex
 
Last edited:

JayLo

Sir Boost-a-Lot
Re: Help with spark advance tables

Thanks for the link.

Do you have any further insight on how the PCM determines *KCTBIAS*, *KMATBIAS*, *KBSTBIAS*, Spark Advance Run Time-out, *KEGRBIAS*, and *KKEGRSPK*?

That's the part that really has me stumped.
________
Web shows
 
Last edited:

leroy

Donating Member
Re: Help with spark advance tables

I don't know much about them, except they are constants set in the chip. They are not usually changed for tuning purposes. The multipliers set in the software (like Promgrammer) for those values may not be correct, so you can't rely on them.

HTH,
Jim
 

BillC

New member
Re: Help with spark advance tables

leroy said:
The multipliers set in the software (like Promgrammer) for those values may not be correct, so you can't rely on them.
?????????????????

A comment like that needs explanation, especially when you're singling out that particular application.

I can't vouch for any other tuning program, but I used genuine smuggled-out GM documentation in coding Promgrammer. It's about as correct and accurate as you're gonna get without original source code. :p :p :p

If I've missed something, please let me know.
 

leroy

Donating Member
Re: Help with spark advance tables

My apologies Bill. I shouldn't single Promgrammer out. In fact, I'm guessing some of the other tuning software used promgrammer to develop definition files. That is what I used for my first ecu file for promedit.

I have no particular knowledge about the spark bias values or multipliers being incorrect. However, if you go through the P4 document and try to use them to calculate spark advance, I don't think they add up.

What smuggled out documentation did you use? Can I have a copy?

Jim
 

BillC

New member
Re: Help with spark advance tables

Jim,

No big deal, don't worry about it. I just couldn't let a shot like that go by, without at least saying "Hey! WTF?!?". :)

I believe Promgrammer shows the values correctly, at least as specified in the old documentation. However, since I've never tried to decompile the code in the bin, I have no idea if the code is using the values the same way described in the P4 document or in the old documentation. For that matter, the softcopy version of the P4 document we've all been using has a lot of typos in it, from the OCR software used on the hardcopy scans -- it's possible that some of the variables and conversions in the P4 document were also typo'ed.

I know for a fact that at least one other definition file out there was directly derived from Promgrammer, since Craig Moates specifically asked me for permission to do that. However, I suspect most, if not all, of the other tuners out there have at least updated their definition files using the v1.0 download of Promgrammer (maybe I should have done a demo version, with hidden addresses or something....).

I'll try to send you an email tonight.
 
Top