ECM controlled cooling questions

ashman

------
I’m currently using the Ram Charger setup with ‘in cab’ switches to engage HI/LO speeds and would like to use the ECM to control the cooling. $58/59 only have one output, so HI/LO control is probably out without some type of external controller.

My truck runs really cold in the winter, rarely getting above 150F with zero fan assistance (only road speed wind) and in the summer it runs around 170F using only LO speed. I’ve changed thermostats from 160F to 180F with no differences in winter temps.

Most of the fan controls are pretty straight forward but I need help with the following:

---== Electric Fan/Intercooler Pump ==---

Hot Fan Enable TEMP Threshold (Lower) (KFANCTHL)
Hot Fan Enable TEMP Threshold (Higher) (KFANCTHH)
Cold Fan Enable Coolant TEMP Threshold (Low) (KFANCTCL)
Cold Fan Enable Coolant TEMP Threshold (High) (KFANCTCH)
Cold Fan Enable MAT TEMP Threshold (Low) (KFANMTCL)
Cold Fan Enable MAT TEMP Threshold (High) (KFANMTCH)


1ST Time Decay Rate - Fan Anticipated Recovery (KFANCLC1)
Decay Rate Fan Anticipated Recovery (NOT 1ST) (KFANCLC2)


MAP Threshold For Incrementing Fan Timer (KMAPINC)
MAP Threshold For Decrementing Fan Timer (KMAPDEC)


Can someone put these in laymen terms?

thanks
 

skwayb

NWSTP
Re: ECM controlled cooling questions

Here is what I have up on the Dev section of $59 that I came up with. They could be wrong.

Constants
Fan Off Delay If A/C On (KFANTIM2) - Delay fan start if A/C On.
Fan Enable MPH Threshold (Lower) (KFANVSLK) - The Low MPH when to turn the fan on
Fan Enable MPH Threshold (Higher) (KFANVSHK) - The high MPH when to turn the fan off
Fan Enable TEMP Threshold (Higher) (KFANCLTH) - The Temp when to turn the fan on
Fan Enable TEMP Threshold (Lower) (KFANCLTL) - The temp when to turn the fan off
Hot Fan Enable TEMP Threshold (Lower) (KFANCTHL) - ?
Hot Fan Enable TEMP Threshold (Higher) (KFANCTHH)- ?
Cold Fan Enable Coolant TEMP Threshold (Low) (KFANCTCL) - Not quite sure, the cold temp when the fans come ON?
Cold Fan Enable Coolant TEMP Threshold (High) (KFANCTCH) - Not quite sure, the cold temp for when the fan goes OFF?
Cold Fan Enable MAT TEMP Threshold (Low) (KFANMTCL) - If MATs are high turn fan OFF temp
Cold Fan Enable MAT TEMP Threshold (High) (KFANMTCH)- If MATs are high turn fan ON temp

I think one of these settings is how much ground to pull to turn fan on....but not sure what they are used for.
Fan Anticipated Motor Position Offset (KFANDS1) - Think this effects how much ground to apply
Fan Anticipated Mode Decay Delta (KFANDS2) - ?
1ST Time Decay Rate - Fan Anticipated Recovery (KFANCLC1) - ?
Decay Rate Fan Anticipated Recovery (NOT 1ST) (KFANCLC2) - ?



Fan On Delay After Conditions Met (KFANTIM1) - How soon after conditions met to turn fan on
MAP Threshold For Incrementing Fan Timer (KMAPINC) - kPa to increment coutner to turn on fan
MAP Threshold For Decrementing Fan Timer (KMAPDEC) - kPa to decrease counter to turn on fan

These 2 don't really work becuase the ECM shuts off after 5-10secs so the fans do also
Max Time For Fan On After Ignition Off (KMAXTIME) - Max time to run fan when igniton is off and conditions met
Min Time For Fan On After Ignition Off (KMINTIME) - Min time to run fan when igntion is off and conditions met

Flags
Options Flag 2 - MAT Option for V5 Cooling Fan Logic (Cold) - Turns on MAT Temp control Constants for when the MATs are high turn on the fan
Options Flag 2 - A/C V5 Fan Discrete Option - Not Sure

Tables
Fan On Timer Adjust VS ADMATK1 (F83) - Not Sure
Fan On Timer Adjust VS ADMATK1 (F84) - Not Sure
 

jwaller

Evil Genius/SyTy Guru
Re: ECM controlled cooling questions

if all else fails cover the rad with a piece of cardboard.
 

2kwik4u

Resident slow guy
Re: ECM controlled cooling questions

When I was dealing with Hardmans truck and his fan. I set ALL of the enables to one value, and all of the disables to a slightly lower one. Worked just as intended, and would cycle the fan in the wintertime to keep it cooled off.

Not sure how to help it warm up though without blocking some of the radiator. Running that cool is typically not a problem?!?!?!
 

SBNova

New member
Re: ECM controlled cooling questions

I tried and tried and tried to get some of those fan constants to work for me, namely the MAT (IAT) constants. I could only get ONE constant to work at all, and I think it was the "Hot fan...." I must have burned 10 gallons idling trying to get that stuff to work as its labeled and never had much luck. One thing new to me here, is the flag for MAT's. Ive never seen that before, so maybe I need to try it again. I was trying to cycle my IC pump with IAT's so it doesnt run constantly and draw on my battery as soon as the truck is started every time.
 

Daron

Active member
Re: ECM controlled cooling questions

2kwik4u said:
When I was dealing with Hardmans truck and his fan. I set ALL of the enables to one value, and all of the disables to a slightly lower one. Worked just as intended, and would cycle the fan in the wintertime to keep it cooled off.

Not sure how to help it warm up though without blocking some of the radiator. Running that cool is typically not a problem?!?!?!


I used Dooby's data to make my ECM control my efan gooder.
 

ashman

------
Re: ECM controlled cooling questions

Daron said:
I used Dooby's data to make my ECM control my efan gooder.

WWWWHAT????
icon_eek.gif
 

2kwik4u

Resident slow guy
Re: ECM controlled cooling questions

Dooby = smoke filled drug that leads to unplanned babies, and the munchies

Dobie = my nickname from Daron

It's a long story :D :D
 

Daron

Active member
Re: ECM controlled cooling questions

2kwik4u said:
Dooby = smoke filled drug that leads to unplanned babies, and the munchies

Dobie = my nickname from Daron

It's a long story :D :D

Hmm... no.
http://dictionary.reference.com/browse/doobie

1. doobie:
synonymous with joint. Popular in the 60's and early 70's.
Usage:You got a doobie? I'm all out.

2. doobie:
Scooby Doo's middle name.

3. doobie:
a marijuana cigarette

Dooby is your nickname. Dont forget it.
 

skwayb

NWSTP
Re: ECM controlled cooling questions

SBNova said:
I tried and tried and tried to get some of those fan constants to work for me, namely the MAT (IAT) constants. I could only get ONE constant to work at all, and I think it was the "Hot fan...." I must have burned 10 gallons idling trying to get that stuff to work as its labeled and never had much luck. One thing new to me here, is the flag for MAT's. Ive never seen that before, so maybe I need to try it again. I was trying to cycle my IC pump with IAT's so it doesnt run constantly and draw on my battery as soon as the truck is started every time.

You need to have the
Options Flag 2 - MAT Option for V5 Cooling Fan Logic (Cold) - Turns on MAT Temp control Constants for when the MATs are high turn on the fan

Set for the MAT Constants to work. Also just figured out that F83 and F84 become active when that option is turned on and allow you to adjust how long to run the fan when that MAT Tempurature is reached. I am pretty sure that is what those tables are for. I am reading through the 59 ASM code to make sure that is how those tables are used (it would work the same way in 58). If I see otherwise I will let you know.
 

skwayb

NWSTP
Re: ECM controlled cooling questions

Ok I was wrong F83 and F84 look like they affect the time the fans stay on after the ignition is off by adjusting Constant Max Time For Fan On After Ignition Off (KMAXTIME). F83 is subtracted from the Fan Timer when ign is off and F84 is added to the Fan Timer when ign is off based on the current tempurature.

That is what the code looks like it does...

Here is the code
Code:
; Decrement Fan On Timer
	ldX	#F83				; Fan On Timer Adjust vs. MAT (sec)
	callr	LE2B3				; Line Count lookup based on inv MAT
	pushB	
	pushA	
	ldD	L00EE				; Fan On Timer
	tSX	
	subD	0, X				; Fan On Timer - Fan On Timer Adjust(MAT)
	popX	
	bcc	LE2B0
	clrA					; Protect for underflow, if needed
	clrB	
	jr	LE2B0

; Increment Fan On Timer
LE2A0	ldX	#F84				; Fan on Timer Adjust
	callr	LE2B3				; Line count lookup based on inv MAT
	addD	L00EE
	cmpD	KMAXTIME			; Max time for fan on after ign off
	bcs	LE2B0
	ldD	KMAXTIME			; Max time for fan on after ign off

; Save the new value for Fan On timer
LE2B0	stD	L00EE
LE2B2	ret
 

skwayb

NWSTP
Re: ECM controlled cooling questions

Here is the complete FAN logic. This will help you figure out what the variables do. Just read the descriptions to the right of each line.

Code:
;******************************************************************
;* Cooling Fan Logic
;******************************************************************
LE67B	brset	L002C, #%00001000, LE6F7
	ldD	KFANCTHL			; A = Electric Fan Hot Enable Temp Low
						; B = Electric Fan Hot Enable Temp High
	brset	L0027, #%00100000, LE68B	; Branch if 1st time hot flag is set
	brset	L0027, #%00000001, LE68B	; Branch if fan is on
	tBA					; A = B	
LE68B	cmpA	VCOOLTMP			; Coolant Temp
	bhi	LE694				; Branch if Coolant Temp < Threshold
	bset	L0027, #%00100000		; Set 1st Time Hot Flag
	jr	LE6F7

LE694	ldaA	$8333				; AFR Option Flag 2
	bitA	#%00000100			; MAT option for V5 cooling fan logic (cold)
	bne	LE6BE				; Branch if this bit is set
	
	ldX	L0178				; A/C Timer fan delay
	brclr	L0032, #%00100000, LE6AA	; A/C startup delay hasn't expired
	bset	L0029, #%00000010
	ldX	#$0000				; Zero out the A/C Timer for fans
	jr	LE6B4

LE6AA	brclr	L0029, #%00000010, LE710
	cmpX	KFANTIM2			; Delay before fan is turned off if A/C was on
	bcc	LE6B9
	incX					; Increment the A/C Timer for fans
LE6B4	stX	L0178				; A/C Timer for fans
	jr	LE6C2

LE6B9	bclr	L0029, #%00000010
	jr	LE710

LE6BE	brclr	L001F, #%00010000, LE710	; (BRAKE Input (D10/Pulldown) Not used on Sunbird.  Probably on Sy/Ty though...  
                                                ; it likely has to do with intercooler?)
LE6C2	ldX	#KFANCTCL			; Electric Fan Cold Enable Coolant Temp Low
	ldaB	$8333				; AFR Option Flag 2
	bitB	#%00001000			; MAT transient fuel filter temp threshold
	beq	LE6CE				; Branch if bit not set
	incX					; Electric Fan Cold Enable Coolant Temp High
	incX					; Electric Fan Cold Enable MAT Temp Low
LE6CE	brset	L0027, #%00000001, LE6D3	; Branch if fan is on
	incX					; Electric Fan Cold Enable MAT Temp High
LE6D3	bitB	#%00001000			; MAT transient fuel filter temp threshold bit set
	bne	LE6DF
	ldaB	VCOOLTMP			; Coolant Temp
	cmpB	0, X				; 
	bls	LE710				; Branch if Coolant < Threshold
	jr	LE6E5

LE6DF	ldaB	L0035				; MAT
	cmpB	0, X
	bcc	LE710				; Branch if MAT > Threshold
	
; At this point, we've satisfied the CTS or MAT conditions to turn on the fans.  Now, we need to 
; determine whether or not the VSS conditions are met.
LE6E5	ldD	KFANVSLK			; Fan Enable MPH Threshold (Low)
	brclr	L0027, #%00000001, LE6EF	; Branch if fan is off
	ldD	KFANVSHK			; A = Fan Enable MPH High Threshold (High)
						; B = Fan Enable Temperature High Threshold
LE6EF	cmpA	L0050				; Vehicle Speed ???	
	bhi	LE6F7				; Branch if Calibration VSS Threshold > VSS
	cmpB	VCOOLTMP			; Coolant Temp
	bhi	LE710				; Branch if Calibration > Coolant
LE6F7	brset	L0027, #%00000001, LE71C	; Branch if fan is on
	bset	L0033, #%01000000
	ldaA	VFANONDLYTMR			; Fan on Delay Timer
	cmpA	KFANTIM1			; Fan on delay after conditions met
	bcs	LE70B				; Branch if Delay Timer is less than calibration
	bset	L0027, #%00000001		; Indicate fans are on when Delay timer > calibration
	jr	LE71C				; Get out of this and go to NV/TCC logic

LE70B	inc	VFANONDLYTMR			; Fan on Delay Timer
	jr	LE71C				; Get out of this and go to NV/TCC logic

LE710	clr	VFANONDLYTMR			; Fan on Delay Timer (cleared)
	ldX	#$0000
	stX	L0178				; A/C Timer for fans (cleared)
	bclr	L0027, #%00100001		; Indicate fans off and 1st time hot is not active
						; Reset 1st time hot flag
 

ashman

------
Re: ECM controlled cooling questions

2kwik4u said:
Dooby = smoke filled drug that leads to unplanned babies, and the munchies

Dobie = my nickname from Daron

It's a long story :D :D

now we're on the same page
Ok.gif
 

2kwik4u

Resident slow guy
Re: ECM controlled cooling questions

Daron said:
Hmm... no.
http://dictionary.reference.com/browse/doobie

1. doobie:
synonymous with joint. Popular in the 60's and early 70's.
Usage:You got a doobie? I'm all out.

2. doobie:
Scooby Doo's middle name.

3. doobie:
a marijuana cigarette

Dooby is your nickname. Dont forget it.

Doesn't the double o's make a OOOO sound like pool though? I thought you wanted a long O sound like in loan?!?!

I'll take whats given to me. Nicknames are no fun if you pick them out yourself :D


As for ECM cooling control. I've contributed as much as I can :(
 

ashman

------
Re: ECM controlled cooling questions

skwayb said:
Here is the complete FAN logic. This will help you figure out what the variables do. Just read the descriptions to the right of each line.


thanks Paul, i'm sure the answer is in here....i've just got to figure it out.
 

skwayb

NWSTP
Re: ECM controlled cooling questions

I am still looking into this and seeing if Dig can help me figure out the settings in the code59 dev forum. I read on the GMECM list that the code is there to control 2 fans but the hardware isn't. So some settings are for fan1 and others are for fan2. Unclear which ones are for what fan. Trying to figure it out.

From what I read the 749 doesn't have the hardware to run the fans with the key off until it cools down. There are settings there in the constants for MIN/MAX time ON when they key is off and the F83/F84 settings are suppose to adjust how long to run the fans when they temp is X degrees and key is off. The fans will shut off the minute the ECM turns off.

I thought I had got it working lastnight. I played with the F83/F84 tables and I got it to turn the fans back on and run for 90 secs when they key was off. (Ran till hot, Key off, fans spun down, then they kicked back on and ran for the time I set in F83 at that temp). I was like sweet it does work. But now today it isn't working. So I think it was just a fluke. I'll let you know what we figure out.
 
Top