Code59 fail safe

What are the fail safes in code59?
For example if you use the stock boost controller how can I pull boost based off of KR?
Can you think of any other fail safes to implement and what field can they be found in? Thanks
 

turbodig

Active member
Re: Code59 fail safe

What are the fail safes in code59?
For example if you use the stock boost controller how can I pull boost based off of KR?
Can you think of any other fail safes to implement and what field can they be found in? Thanks

That's actually there in the stock code... it reduces the desired boost at a certain knock threshold.

Kinda surprised more guys don't use it... might save a motor if it knocks when you're not watching so close...
 

JSM

Active member
Re: Code59 fail safe

Boost Reduction Retard Enable Threshold (KGEKCENA)

This is one of them, there is a disable also just below it.

Looks like most chips are set around 7.9deg of knock before boost is reduced.
 

WyoSyclone

Active member
Re: Code59 fail safe

You know, there seems to be enough guys using/experimenting with Code59 now, and talking about it here, that it would be nice to have a link to the Code59 site up in our tab/menu bar. Anyone agree??
 
Re: Code59 fail safe

I actually went on that forum before I came here. I have a hard time finding what I need from code59.org.
Its great for the bins and XML files and things like that. The main thing is Jeff. Jeff is like a Code59 tech support guy.
 
Last edited:

JSM

Active member
Re: Code59 fail safe

It would be good to construct sort of a manual of sorts. The P4 document is a must, but it could be expanded from that a lot.

Anybody tuning really needs to have a copy of the p4 doc, on the computer is nice as you can do a search for F28 and find it referenced.
 

WyoSyclone

Active member
Re: Code59 fail safe

It would be good to construct sort of a manual of sorts. The P4 document is a must, but it could be expanded from that a lot.

Anybody tuning really needs to have a copy of the p4 doc, on the computer is nice as you can do a search for F28 and find it referenced.

I started on a "How to Tune" manual a couple of years ago, but just ran out of time to pick it back up and finish it. I'll try and devote some time to it, Jeff, and you and Dig and Paul can pick it apart and maybe make a good resource out of it. I can take care of all the editing, graphics, etc. I can turn it into a PDF when finished.
 
Re: Code59 fail safe

Constanst/Scalars
Boost Wastegate Control
-------------------------------------------------
Boost Reduction Retard Enable Threshold (KGEKCENA) 4.04
Boost Reduction Retard Enable Threshold (KGEKCDIS) 4.04
Desired Boost Pressure Reduction Delta (KBSTDLT1) 5
Desired Boost Pressure Reduction Delta (KBTDLT2) 5

How will these settings work? Is the reduction delta a multiplier or is that was it pulls over 4.04 kr?
This gives me more confidence to tune myself now that I can put some safety features in place. Thanks again for everyones help.
 

turbodig

Active member
Re: Code59 fail safe

Constanst/Scalars
Boost Wastegate Control
-------------------------------------------------
Boost Reduction Retard Enable Threshold (KGEKCENA) 4.04
Boost Reduction Retard Enable Threshold (KGEKCDIS) 4.04
Desired Boost Pressure Reduction Delta (KBSTDLT1) 5
Desired Boost Pressure Reduction Delta (KBTDLT2) 5

How will these settings work? Is the reduction delta a multiplier or is that was it pulls over 4.04 kr?
This gives me more confidence to tune myself now that I can put some safety features in place. Thanks again for everyones help.

The top 2 are a hysteresis pair... the top one is the level at which it will start pulling desired boost, and the bottom one will be the level that it drops below before it stops pulling desired boost. They generally will be set 1 psi or so apart, so that the system doesn't sit and switch back and forth over the KR point.

The labels on the bottom 2 aren't the best (they weren't so good in the gm documents, either) .
Working from memory, DLT1 is the step amount that will be subtracted from desired boost when the knock threshold is reached, and DLT2 is the step amount that will be added back in once it's gone.

I'm fairly sure that I did a write-up on these and the other settings on code59 someplace, I'll see if I can find the link.

It's important to note that these are deltas to desired boost, *not* WG DC. So, these settings tie in to the step settings you have for general boost control rate. This also means that they're pretty slow in relation to the reaction to knock events. The code really needs to change to make these deltas to WG DC, so that you can more immediately open the WG when knock starts. Part of the plan with alky pump control was to tie this in to pump control, so that when knock crept in, boost would be pulled and alky delivery increased slightly.

A lot of the early chips disabled this, since it would do its job and pull back desired and eventually real boost. This made people think that the "chip didn't work", when the reality was that they didn't have necessary fuel system improvements or gas quality to support the additional timing and boost being run.
It became just another limiter that chip makers "removed".

All of this is really a reactionary approach to knock. My old friend Bruce used to say that the best way to get rid of knock was to never allow the conditions for it to start. Once it starts, it takes much more boost reduction and timing reduction to correct it than it would have to have avoided it in the first place - ie, you might have to pull 4 degrees and 3 psi to make it go away, when taking 1 psi and 1 degree out of the table would have kept it from starting in the first place.
 
Re: Code59 fail safe

Thanks Dig. That makes sense. I adjusted them accordingly.
Im not using that safety feature as a band aid. I just want it for pump failure or when Im tuning and make a mistake. Not having any major KR issues. Thanks again.
My target boost is at 23 psi right now. I will be targeting 25-26psi. If there is anyone that wants the throw out their settings on the sections that I listed above that would be great. Maybe something that has worked well for you. Im sure this is more of a Code59 forum request but since I already have this thread going what the heck.
 
Re: Code59 fail safe

How do I tune the boost controller to not let the truck get over 27psi; and if it does shut off spark.... Sort of like overboost for stock trucks.
 
Re: Code59 fail safe

I found the table to protect from over boost (KWGMAPH). It looks like it turns off fuel. My only question is say you hit boost cut and it shuts off fuel and you are still injecting alky, could that cause and extreme lean condition and still fire?
Is fuel cut the way to go?
 
Re: Code59 fail safe

Anyone?
Im also about ready to throw the stock boost controller out the window. Im not really sure how to get that thing to control a 15lb wastegate spring.
 

Aeroking

e.i.
Re: Code59 fail safe

I like using the F70_mph & F71_mph. When i do a WOT kickdown at low speed it keeps the boost low so there is minimal chance of overboost. Its also very useful for launching.

Ramp your VE up in the cells above your target boost, so if it overboosts it runs rich.

You can also make sure your Max Retard is set to 18*, i run mine lower because i get false knock all the time.

There is also a table to pulling timing when the IATs get too high. I like this table, cause IATs are something i dont monitor very close, but they can really affect performance.

as far as the boost solenoid, buy a 12v solenoid from grainger. and wire it into the stock harness. The ECM boost control parameters are better then a stand-alone boost controller.
 
Last edited:

JSM

Active member
Re: Code59 fail safe

I suggest for ANYBODY trying to run aftermarket springs, WG's, etc with stock controller to make a run with it at base boost first. If you can't get in your case a solid 15lb of boost with 15lb spring, you have issue and no boost controller in the world will fix it. If you get 15lbs of boost on 15lb spring, I will beat the stock control logic although not perfect can be tuned to work.
 
Re: Code59 fail safe

I have been thinking about this post more and more often. I there any more fail safes in Code59 that could be applied to possibly save a motor.
Also Dig mention something about the alky pump controller adding more alky based off of KR. Can someone elaborate on that please.

Could someone share the values that uses for KGEKCENA, KGEKCDIS, KBSTDLT1, KBSTDLT2, KGDCTIM1,and KGDCTIM2
 
Top