Forced Induction Superchargers | Turbochargers | Intercoolers

Variable Speed PWM Fan Control under $25 or less DIY

Thread Tools
 
Search this Thread
 
Old Jul 22, 2021 | 01:34 PM
  #301  
LSswap's Avatar
Thread Starter
TECH Fanatic
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2014
Posts: 1,301
Likes: 658
Default

Originally Posted by V8 Supra Builder

Put a couple of zip ties around the wires going through the grommet, on the inside of the box, so they can't pull out and there is no pressure on any single wire.

BTW, Personal Preferance, I always solder directly the the board and never use screw terminals. I've had screw terminals loosen up on me before.

Nice Job!
Reply
Old Jul 22, 2021 | 02:10 PM
  #302  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

Originally Posted by LSswap
Put a couple of zip ties around the wires going through the grommet, on the inside of the box, so they can't pull out and there is no pressure on any single wire.

BTW, Personal Preference, I always solder directly the the board and never use screw terminals. I've had screw terminals loosen up on me before.

Nice Job!
Thanks. Soldering to the board was my original thought, but my soldering small things skills leave a lot to be desired, and the price for a pair of those terminal adapters was like $8 shipped. These seem to be better than others I have used- maybe deeper sockets? The PWM tester box I bought has similar terminals, but not as deep. The wires pull out of it very easy. The added advantage is I can pop out the Nano for replacement or reprogramming if needed.

I was also debating on making this project into its own thread since this one has grown so large, what do you think?
Reply
Old Jul 22, 2021 | 02:37 PM
  #303  
G Atsma's Avatar
TECH Senior Member
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2016
Posts: 22,288
Likes: 3,615
From: Central Cal.
Default

Originally Posted by V8 Supra Builder
I was also debating on making this project into its own thread since this one has grown so large, what do you think?
I've been following, and though getting long, it still all relates to the core subject. There's been no hijacking, just good solid related info.
I leave it up to you, but I would just carry on as you are....
Reply
Old Jul 22, 2021 | 03:51 PM
  #304  
Shownomercy's Avatar
Man-Crush Warning
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (1)
 
Joined: Jun 2009
Posts: 3,193
Likes: 129
Default

Are you guys letting the DC approach the target ECT, or hitting the ECT then ramping in fan DC?
Reply
Old Jul 22, 2021 | 07:58 PM
  #305  
LSswap's Avatar
Thread Starter
TECH Fanatic
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2014
Posts: 1,301
Likes: 658
Default

Originally Posted by V8 Supra Builder
I was also debating on making this project into its own thread since this one has grown so large, what do you think?
Your choice, I'm ok either way. Thanks for asking.

Originally Posted by Shownomercy
Are you guys letting the DC approach the target ECT, or hitting the ECT then ramping in fan DC?
Let's say I want 200 Degrees... I'll set the fan to lowest speed at 190 and highest speed at 210. That's a 20 degree range. Of course you can set it narrower.
Reply
Old Jul 22, 2021 | 08:13 PM
  #306  
Shownomercy's Avatar
Man-Crush Warning
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (1)
 
Joined: Jun 2009
Posts: 3,193
Likes: 129
Default

So as a follow up, would it be acceptable to have fans stay at 20% if it stabilizes ECT?

Mindset is used to on/off fan setup with on at 190, off when ECT drops to 180, not a constant low power on.
Reply
Old Jul 22, 2021 | 08:36 PM
  #307  
LSswap's Avatar
Thread Starter
TECH Fanatic
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2014
Posts: 1,301
Likes: 658
Default

Originally Posted by Shownomercy
So as a follow up, would it be acceptable to have fans stay at 20% if it stabilizes ECT?

Mindset is used to on/off fan setup with on at 190, off when ECT drops to 180, not a constant low power on.
I think we're saying the same thing. Anything out of the range I set is either off or full blast. Let me say it another way with a narrower range.
0 to 180, fan is off. 181 to 195 fan adjusts. Anything over 195 full blast. The engine might settle in at around 189 this way. If you find that your temp is higher or lower than you want, shift the range up or down to your liking. The engine and fan combo will reach an equilibrium. If that temp is to high, shift the range down.

This will give the engine a more constant temperature instead of with just on and off......engine gets hot, fan turns on full, so now it gets cold, fan turns off.... repeat...
Reply
Old Jul 22, 2021 | 08:42 PM
  #308  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

Originally Posted by Shownomercy
Are you guys letting the DC approach the target ECT, or hitting the ECT then ramping in fan DC?
My truck on the gauge runs like 200-210. I set the 25% DC to kick on around 212, and ramp up fairly quickly after that, 50% @ 219, 75 @ 230 and 100 @ 239. I'm trying to avoid having the fan run while the truck is going down the road.
For comparison, the OEM setting for the C6 (per a file I downloaded at HP Tuners) are as follows:
15% @ 199, 23% @ 203, 31% @ 206, 39% @ 210, 47% @ 214, 56% @ 217, 74% @ 221, and 100% over 224.

I have yet to collect data but will be interested to see how close my calculated values work. I suspect I'll be dialing some down, but since I'm in the south, the AC pressure will usually override ECT except in the winter. One other thing I noticed after I installed the Mercedes fan on my truck was how well it worked. I never saw it go over about 50% in the garage when the IAT was around 140 F.
Reply
Old Jul 22, 2021 | 09:45 PM
  #309  
LSswap's Avatar
Thread Starter
TECH Fanatic
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2014
Posts: 1,301
Likes: 658
Default

BTW, I have different temperature ranges that automatically kick in for coolant, oil cooler, trans cooler and intercooler fans, depending on the driving mode (cruise mode, sport, burnout, drag mode). 7" touch screen selects driving mode.
Reply
Old Jul 23, 2021 | 09:11 AM
  #310  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

Latest update- I ran the engine today using HP Tuners Scanner. My goal was to get it to operating temp to check fan operation. In summary, I need to lower the kick-in values, as it got to 220 and never came on (gauge was still around 210).
Other findings:

The fan does a great job maintaining AC pressure. I think I saw a maximum of around 250 PSI when I turned it on with a hot engine. The initial cycle was up to around 226 PSI. It then stabilized in the 180-190 PSI range.

When I turned on the AC at 220 degree ECT, the pressure spiked as noted above until the fan got up to speed. The pressure then dropped back to around 190-200 PSI. ECT dropped as well, and it bottomed out at 187. I checked specs, and the OEM thermostat here is 186-187, so that's pretty decent. While I can't monitor fan speed, by sound it was around 50%.

The next task is to drop the ECT settings and reflash the Nano. I'm satisfied with the AC pressure. For reference, the OEM setup cuts off the compressor @ 350 PSI and turns it back on @ 229. I want to also grab some data going down the road to compare numbers.

UPDATE- I found that I had reversed the ECT values. Since the resistance goes down as the temp goes up, the ADC here also decreases. I have updated the Arduino file that is attached to the earlier post. I also added some code to average the readings from both sensors for smoother operation.
I tested the ECT side with a warm engine and it kicked on right below the normal operating temp (did not have HPT connected). The fan ran at 25% and then shut off after it had cooled the engine.

Last edited by V8 Supra Builder; Jul 23, 2021 at 01:09 PM.
Reply
Old Jul 24, 2021 | 06:00 PM
  #311  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

*** UPDATE 7/25/21: The diagram has been updated to remove the Arduino resistor. This resistor caused a DTC error on the truck's sensor that caused a dash ECT gauge error. The sensor wire now runs straight to pin A1 on the Arduino.
No other programming changes were needed. ***

Operational update
: I took the truck for a 60 mile round trip drive today in a mix of rural and urban driving, to include sitting at lights for a minute or two. The AC never warmed up, and I could hear the fan running if I turned the radio down. Ambient Florida temp was 89 degrees with high humidity. I'm going to call this a success for now. I'll post further if there are any hiccups. I also thought a parts/tips list may be handy. Prices are current as of July 2021. I did not post any links since AFAIK there is still a non-vendor link policy here.
  1. Arduino Nano (genuine), about $20. Clones are cheaper, but I have read about compatibility issues with them. I'm as cheap as most, but didn't think saving $10 on this component was worth the risk.
  2. Nano screw terminal boards, about $8 for 2. If you are good with a pencil soldering iron, you can wire direct to the legs of the Nano, but then you'll have to figure out how to mount it and it won't be easy to swap if you ever need to do so. As the prophet Harry Callahan said:
    Mini/micro soldering is one of mine.
  3. Plastic project box with mounting tabs on each side, about $6. The size is listed as 3.9 x 2.68 x 1.97 inch (100 x 68 x 50 mm).
  4. 12V to 9V power supply, 4 wire, about $10. If using the above box, get one that has all the wires going in/out the same end, otherwise it may be too wide.
  5. For the Metri-Pack 5-way terminal, it is PN MP150-5P and the mating connector is MP150-5S. You can get each side complete with terminals and seals for around $10 plus postage. It literally pays to shop here, as the prices vary widely for connectors. Keep in mind it is not just the connector, it is also the terminals, seals, and the protection piece that goes on the rear. Some vendors sell the entire set for a reasonable price.
  6. I used 22 gauge wire for most of the internal wiring, with some 18 gauge. Make sure it is automotive-grade wire such as TXL (thinnest wall). Parts store wiring is junk for under hood applications, it can't stand the heat. I used 18 gauge for the wiring outside the box. As with connectors, prices vary. Some places will only sell a minimum of 100 feet. The place I bought the connectors from (Google is your friend) sells wire both striped and plain for anywhere from 25 to 44 cents per foot.
  7. To protect the wiring, I have been using nylon mesh split loom, the brand was Alex Tech. It's easier to work with then corrugated nylon and gives a nice finished look. I used both 1/8 ID (single wires such as to the PWM connector) and 1/4 ID (multiple wires) on this project. You cut it to size with scissors and use a pocket lighter to cauterize the ends. These run about $8 each for a 10 foot length, which was more than enough for this project. If you do a lot of wiring work, it's cheaper to buy it in 25 foot lengths.
  8. Miscellaneous parts like zip ties, a screw to mount the board in the box, a bracket to hold the box, a ring terminal for ground, and a nylon standoff for the other end of the board.
  9. YMMV: I found that after operating this setup, my truck began to throw a "P1482" Code. In HP Tuners, this is called a catalyst temp code, however for the GMT360 platform (Rainier, Envoy, Trailblazer etc.), it relates to the cooling fan. I found that I needed to disable (no error reported) the several fan-related MIL codes using HPT. This won't affect anyone not using this in a GMT 360.
All told with shipping, you're looking at around $100-$110 for all of this.

Finally, I'll re-attach the code file and my wiring diagram as zip attachments so as to have all of this in one place. I still have not figured out the math error on my spreadsheet. I have ruled out the sensor resistance, as I found an actual table for my truck in the Service Information DVD I bought. It was within 1 ohm in the normal operating range to the GM one I used for the spreadsheet. As it stands, it's relatively simple to read the data coming from the Arduino and your vehicle via the OBD2 port and then set matching values for both pressure and temp. The values in the Arduino file will get you ballpark for many GM sensors.
Attached Files

Last edited by V8 Supra Builder; Jul 27, 2021 at 06:45 PM.
Reply
Old Jul 24, 2021 | 06:16 PM
  #312  
G Atsma's Avatar
TECH Senior Member
5 Year Member
Liked
Loved
Community Favorite
 
Joined: Jun 2016
Posts: 22,288
Likes: 3,615
From: Central Cal.
Default

One of my favorite Callahan/Eastwood quotes.... lotsa truth! LOL
Looks like you have a working setup!
Reply
Old Jul 24, 2021 | 07:20 PM
  #313  
Shownomercy's Avatar
Man-Crush Warning
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (1)
 
Joined: Jun 2009
Posts: 3,193
Likes: 129
Default

What MPH (if any) are you folks turning the fan(s) off at ?
Reply
Old Jul 24, 2021 | 10:35 PM
  #314  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

Originally Posted by Shownomercy
What MPH (if any) are you folks turning the fan(s) off at ?
The box I built has no MPH input, it is based only upon pressure and temp. When moving, those both drop so the fan is only scheduled to come on when sitting.
I know when I built the Supra and other Gen 3 cars based on the 1998 PCM, there was a setting for speed to cut off the fans. On the newer stuff like this E40 PCM in the 2005 Rainier there is no such setting. It is likewise based only on pressure and temp. I think the "411" (circa 2001) PCM in my Durango swap is the same as the E40.

I loaded a stock 1998 F-body tune and the fan cutoff (disable) speed was 35 MPH with an enable speed of 30.
Reply
Old Jul 25, 2021 | 12:27 PM
  #315  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

The update today is not so good... everything worked OK yesterday. I made a 30 mile trip, shut it off for about an hour and then drove it back OK. Today about 10 minutes into the trip, the check gauges icon came on and my temp gauge is not working. Every other gauge is fine. Shutting down and re-starting made no difference. After it cools off, I'll do some analysis. I suspect what is happening here is the Arduino's trying to send it's signal over the ECT sensor at the same time the PCM is doing so. I didn't think this through enough- the wiring I used would be fine for a standalone ECT sensor, but since the PCM already supplies 5V, I think all I needed to do was tap into the supply/signal wire like I did the AC sensor.

I'll update after I get some more info.

EDIT-
Collected some data:
Sensor & Arduino disconnected, key off, I get 4.164 K ohms and 0 V on the two coolant sensor wires.
Same, ignition on, I get infinity ohms and 5.0x V.
Plugging in the Arduino saw the ohms rise to 29.9 K.

Testing just the PCM connected sensor via the ECT wire on the disconnected Arduino plug with the other lead grounded, I saw 3.62V. This is consistent with the 0-5V range the Arduino pin A1 expects to see.
I started the engine and as it warmed up, the voltage dropped.

I then scanned for DTCs and sure enough got a coolant sensor code.

With the Arduino unplugged, I cleared the DTCs and restarted the engine. The gauge began working as normal, the dash icon was off.
The next step was to remove the resistor in the A1 pin circuit and disconnect the 5V output that made the voltage divider. I removed the MP 150 terminal and ran a new yellow 18G wire in to the board.

After doing that, I re-scanned using the same process as before, with my laptop connected to both the Arduino through it's Windows interface and the PCM via HPT scanner.

I collected ADC values at certain points and matched them to the temp in F shown on HPT. Here are some examples:
ADC-Temp F
626-151 (warm engine start)
537-170
475-183
460-187
430-192
418-196
390-200
385-205
356-212 (I shut off the engine at this point)

I then looked at my current programming:ECT (these decline as temp increases)
Above 450 should keep fan off
25% range should begin @ 449 and go to 415
50% range should begin @ 414 and go to 350
75% range should begin @ 349 and go to 300
100% range is anything under 299

Using the existing settings, it looks like nothing changed. The fan would have kicked on @ 25% between 187 and 192 degrees, and then sped up to 50% around 197. I know from previous testing that 50% gives enough air to maintain 187 degrees, so this should work as-is.
Next step is to update the diagram yet again.

Update 7/26:
I made a 30 mile round trip today and the controller and temp gauge both worked OK. As an unrelated matter, I had restored the original calibration from HPT with a modified fan quantity of 0. This ended up triggering a P1482 code via the MIL, for catalyst temp low. Apparently for the GMT360 this code has something to do with the clutch fan, which was removed. I reinstalled the former HPT stock calibration and also set the fan quantity as 0. That did away with the MIL for now anyway.

Update 7/27:
I am currently running the OEM tune with no mods to the fan settings. I have disabled the several fan-related MIL codes using HP Tuners, to include the stealth P1482. I made another 30 mile round trip today and no more MIL. Will update again if any more hiccups arise.

Last edited by V8 Supra Builder; Jul 27, 2021 at 06:48 PM. Reason: Update
Reply
Old Jul 25, 2021 | 12:37 PM
  #316  
Shownomercy's Avatar
Man-Crush Warning
15 Year Member
Photogenic
Photoriffic
Shutterbug
iTrader: (1)
 
Joined: Jun 2009
Posts: 3,193
Likes: 129
Default

Originally Posted by V8 Supra Builder
The box I built has no MPH input, it is based only upon pressure and temp. When moving, those both drop so the fan is only scheduled to come on when sitting.
I know when I built the Supra and other Gen 3 cars based on the 1998 PCM, there was a setting for speed to cut off the fans. On the newer stuff like this E40 PCM in the 2005 Rainier there is no such setting. It is likewise based only on pressure and temp. I think the "411" (circa 2001) PCM in my Durango swap is the same as the E40.

I loaded a stock 1998 F-body tune and the fan cutoff (disable) speed was 35 MPH with an enable speed of 30.
Thanks, my car seems to have a dead zone between 40mph and say 55-60mph when the air flow without fans is lousy. I just changed the tune to turn fans off now at 55mph and we shall see how it does.
Reply
Old Jul 25, 2021 | 12:54 PM
  #317  
V8 Supra Builder's Avatar
TECH Enthusiast
15 Year Member
iTrader: (37)
 
Joined: Apr 2006
Posts: 573
Likes: 58
From: N Florida
Default

Originally Posted by Shownomercy
Thanks, my car seems to have a dead zone between 40mph and say 55-60mph when the air flow without fans is lousy. I just changed the tune to turn fans off now at 55mph and we shall see how it does.
One thing my first (Gen 1) RX-7 V8 swap taught me & the 95 TA has reinforced is the importance of forcing as much air as possible thru the condenser/radiator. My TA had a similar problem when it had the rear mount turbo and intercooler and an oil cooler in in front of the condenser. I had to modify/remove some of the stock air ducting. I did away with the turbo and IC and reinstalled OEM ducting. Even with a Be Cool radiator and a rubber seal around the fan shroud it still seems to run hotter than it should. The AC worked until it didn't one really hot day after an extended idle, and the shop tech said the compressor was seeing too much heat. IMO, another sign of not enough airflow through the bay (my Mac mid-length headers are wrapped). I now have a side mount smaller oil cooler with a duct under the driver side lower front fender to force air thru it when moving. The oil heats up quick when sitting still.
Reply
Old Sep 3, 2021 | 05:46 PM
  #318  
Joshlc1988's Avatar
Registered User
 
Joined: Aug 2021
Posts: 3
Likes: 0
Default Can on nano

Originally Posted by LSswap
Yup, that's how it runs in my car for 4 out of 5 of my fans.
do you use a can module the nano or on your mega?

Also I’ve got a few Audi fan control modules that came from 2006 a4’s I’d like to get working. They are 600w dual fan controllers and only need power, ground, key on power, and a pwm signal. They are expensive new but can be found easily in junkyards. However I’ve found very little info online about the pwm scheme. Is there any way to tell if it’s 5v or 12v pwm by looking at the chip board inside? Pn 8E0 959 501R01.
Reply
Old Sep 3, 2021 | 10:05 PM
  #319  
LSswap's Avatar
Thread Starter
TECH Fanatic
10 Year Member
Liked
Loved
Community Favorite
 
Joined: Nov 2014
Posts: 1,301
Likes: 658
Default

Originally Posted by Joshlc1988
do you use a can module the nano or on your mega?
The CAN connects the Mega the AEM. There are 2 Nanos that are used as frequency translation slaves. My setup needs too many different PWM frequencies than 1 mega can provide, so I use the slaved Nanos to translate the default Mega PWM frequency the special frequency needs of various components. For example, the force motor in the transmission wants 614hz. the lock up solenoid 31hz. The alternator 128 hz and so on.


Originally Posted by Joshlc1988
Also I’ve got a few Audi fan control modules that came from 2006 a4’s I’d like to get working. They are 600w dual fan controllers and only need power, ground, key on power, and a pwm signal. They are expensive new but can be found easily in junkyards. However I’ve found very little info online about the pwm scheme. Is there any way to tell if it’s 5v or 12v pwm by looking at the chip board inside? Pn 8E0 959 501R01.
Looked up the part number and looks like it controls 2 fans.

Connect the 12V power lines and the ignition line. Then a voltmeter between the ground and the control wire. If it reads 12V, then it has an internal 12V pullup and odd are that all you need is a ground sourced pwm signal. If it's 5V, then a 5V pwm should do it. If it's zero, then try a 5V pwm first and then a 12V if it doesn't work. My gut feel says it just needs a ground based one. I use an inexpensive PWM generator to test them.
Reply
Old Sep 4, 2021 | 06:09 PM
  #320  
Joshlc1988's Avatar
Registered User
 
Joined: Aug 2021
Posts: 3
Likes: 0
Default

Originally Posted by LSswap
The CAN connects the Mega the AEM. There are 2 Nanos that are used as frequency translation slaves. My setup needs too many different PWM frequencies than 1 mega can provide, so I use the slaved Nanos to translate the default Mega PWM frequency the special frequency needs of various components. For example, the force motor in the transmission wants 614hz. the lock up solenoid 31hz. The alternator 128 hz and so on.




Looked up the part number and looks like it controls 2 fans.

Connect the 12V power lines and the ignition line. Then a voltmeter between the ground and the control wire. If it reads 12V, then it has an internal 12V pullup and odd are that all you need is a ground sourced pwm signal. If it's 5V, then a 5V pwm should do it. If it's zero, then try a 5V pwm first and then a 12V if it doesn't work. My gut feel says it just needs a ground based one. I use an inexpensive PWM generator to test them.
Ok so I did what you said, first with a power supply and then on the car. This controller has an emergency running mode, as soon as I hook key on power to it, it ramps voltage up on the outputs and pulses output voltage. Grounding the pwm pin didn’t change it. I did not have the outputs hooked to the fans though, just to a meter. I’ve ordered a pwm generator for better testing.

Anyways, with a meter on the pwm wire and ground, I got strange readings. Pwm wire voltage would pulse from 0v to 5v then 0v to 12v repeatedly is idk what pull-up it has yet. I did ask on a well known Audi page and it seems this controller does use a 5v pwm signal form what the standalone ecu guys are saying.
here’s the stats I have found so far-
-600w=300w per output
-input signal is 25hz.
-outputs are at 20,000hz
- less than 5% duty emergency modes starts. As soon as 10s
- 15%= low speed, 95%= high speed
- controller has 2 processors that use the same pwm signal

So until my pwm generator gets here I’m stuck. I believe the controller needs the pwm signal prior to the key on power to keep it out of emergency mode. I read where it self diagnoses anywhere from 10 to 1 second after power on.
Reply



All times are GMT -5. The time now is 01:35 AM.