linear1 forums
[part of the linear1 network]
+ [linear1 case mods]
+ [LED Center]
+ [privacy policy]
Welcome, Guest. Please login or register.
March 21, 2010, 04:00:12 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Login Register

linear1 forums  |  LED discussion  |  Electronics discussion  |  Topic: Help with Differential Temperature Switch « previous next »
Pages: [1] Print
Author Topic: Help with Differential Temperature Switch  (Read 805 times)
jfuredy
Strong like bull
*
Offline Offline

Posts: 2


« on: September 11, 2006, 07:12:07 PM »

I have been bouncing this idea around in my head for years, but I have never been able to find enough information about how to make it work to make me comfortable enough to try it.

I am trying to build a fan controller for my attic that will turn on the fan in the attic if the temperature in the attic is greater than the temperature outside.  I think this is a much better solution than a simple temperature switch to activate the fan when it's "hot" in the attic, especially here in AZ where the ambient air temp can be 115*F.

I suspect that what I want to use is an LM358 to compare the signal from two temperature sensors, and use the output of the op amp to trigger a relay tyo activate the fan.  I know the logic that I want, but my problem is in determining all of the exact parts that I need to put together to make it work, including pull-up/down resistors, diodes, etc.

Can anyone direct me to something that can do this (off the shelf would even be fine) or to a circuit diagram for a circuit to do this?

Thanks in advance,
Joe
Logged
Rob
LED guy
Administrator
Smart like tractor
*****
Offline Offline

Posts: 1970


The constant-current gardener


WWW
« Reply #1 on: September 11, 2006, 09:55:01 PM »

Welcome to the boards.

Do you know about the LM335? It's a direct-readout temp sensor. So your comparator has one of these at one input, and a pot at the other for your temp setpoint. So two chips for the whole enchilada, plus the relay you mention. I'd sort of expect you to need a transistor to handle the current to close the relay contacts, and a clamping diode on the relay coil, but we're still talking about a <$20 project.
Logged

jfuredy
Strong like bull
*
Offline Offline

Posts: 2


« Reply #2 on: September 12, 2006, 12:21:00 PM »

Yeah, I guess it would be something like that.  But I don't want it to react to a temperature setpoint.  I want it to trigger the relay only when it is hotter in the attic than outside.  So I think would need two of these LM335s, each feeding into one input of the LM358?

It's the other stuff like the clamping diode that you mention and adding some resistors? to add some hysteresis and a pot or two to adjust the start and stop temperature differentials that I don't know how to hook up.

I was finally able to find this circuit http://www.radiolocman.com/electrical-engineering/circuit-cache.html?di=11169 .  Does anyone have any comments on using the circuit in Figure 2?  Does this include any hysteresis to avoid relay chatter?

Thanks again for your guidance,
Joe
Logged
justDIY
Microcontroller Madman
Administrator
Smart like tractor
*****
Offline Offline

Posts: 1652


UFOric


WWW
« Reply #3 on: September 12, 2006, 01:37:12 PM »

you won't find a circuit any simpler than that, without cheating and using a microcontroller!

most comparators have some degree of hystersis in them, but I don't know off the top of my head how you'd add more easily.
Logged

Want to contact me directly? gmail gordonthree
My Project Blog - http://projects.dimension-x.net

Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
cpemma
Global Moderator
Smart like tractor
*****
Offline Offline

Posts: 122



WWW
« Reply #4 on: September 12, 2006, 07:51:00 PM »

LM335 and similar semiconductor sensors would do the job, but they're a bit expensive compared to two similar thermistors which would also work in a much simpler circuit. At worst you'd need to add a series trimpot to null out the two's tolerance variation at around the operating temperature.

Looking at the link, I wouldn't start from there; he's had to go complicated with a PNP switcher and biasing resistors as the 741 won't swing below about 1.5V so won't turn an NPN switcher off without extra components. An LM358 will swing down to 0V and is cheap and common.

A bit like this (the CA3140 will also work)



but the second thermistor in place of VR1 and a 10k pot between the two, wiper to inverting (-) input, to balance the thermistors.

Hysteresis can be added with a high-value resistor between opamp output pin and R1/R2 junction - it will be set in parallel with either R1 or R2 (depending on whether the opamp output is high or low) changing the reference voltage on the non-inverting (+) input whenever the switch operates.

If you're switching the fan through a relay, add an inverse diode across the coil as shown at the link.

The circuit's expanded on here.


« Last Edit: September 12, 2006, 08:02:38 PM by cpemma » Logged
Pages: [1] Print 
linear1 forums  |  LED discussion  |  Electronics discussion  |  Topic: Help with Differential Temperature Switch « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.18 seconds with 20 queries.