Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I'll have to give some thought about changing R19. At first glance it seems that replacing R19 with a thermistor would cause the set point and hysteresis band (am I using the correct term there?) to drift with changing temperature. Maybe that's where the increased resolution is coming from tha you're talking about. The affect it would have on the circuit is not intuitively understood by me yet so I'll have to mull it over. I'm going to test the circuit either tonight or tomorrow and hopefully the testing will show that the increased complexity of adding an extra thermistor will not be necessary.
Thanks for the comments everyone.
Note what I said about the fixed resistor/variable pot for those two resistors.
I'll have to give some thought about changing R19. At first glance it seems that replacing R19 with a thermistor would cause the set point and hysteresis band (am I using the correct term there?) to drift with changing temperature. Maybe that's where the increased resolution is coming from tha you're talking about. The affect it would have on the circuit is not intuitively understood by me yet so I'll have to mull it over. I'm going to test the circuit either tonight or tomorrow and hopefully the testing will show that the increased complexity of adding an extra thermistor will not be necessary.
Thanks for the comments everyone.
Hello again,
I suggested changing R18 (the upper resistor) in order to increase the sensitivity of the circuit (it's ability to sense the temperature changes).
I did say that it may not be necessary too if you remember (read back a bit), however it does not CHANGE the hysteresis, at least not the way
one might think at first. The reason it does not change like that is because there are only two points in the circuit characteristic that have to
be right, and they will in fact be right because we will factor that in with our (new) calculations. For another thought experiment, replace the
original thermistor with a fixed resistor and change R18 instead to a thermistor and note that we still get the same two set points assuming
we factor the change of R18 into the equation(s).
Using both thermistors, the second thermistor pulls the voltage on the non inverting terminal 'up' while the first thermistor pulls the voltage
on the inverting terminal 'down'. With the one voltage going up and the other going down, the voltage change seen by the comparator is twice
what it was before with only one thermistor. This is a relatively simple concept and can be proven mathematically. This action means we get
twice the sensitivity than with only one thermistor because the comparator sees 2 times the voltage change (dV/dT).
hi vne,
Another very important point you must consider is the loading effect of a NPN transistor base drive on the high output voltage of the LM293.
The LM293 output will not swing between 0.25V and +5V, the NPN base load will pull the +5V down to a much lower value, the effect is that the hysteresis switching levels will be changed.
A quick fix is to use a N MOSFET as the relay driver in place of the NPN.
MrAl,
Thanks for the suggestion and explaination. I think I understand. However, I'd like to keep things simple for my first attempt at a circuit like this. If it doesn't work as is, I'll definelty be doing some head scratching and giving this idea some more thought.
Eric,
I'm sorry I misspoke in my earlier reply. For my testing, since I want the heater to turn on when the comparator output is low, I'm using a PNP transistor with a 1KΩ base resistor. Like this:
With the correction to my previous post, does your recommendation to use a MOSFET still apply? I'm pretty sure it does, I just want to make sure. For the finished circuit the ouput of the comparator with feed into the input of a CMOS NOR gate.
What!? If R18 is allowed to drift with the temperature, then the hysterisis drifts too. What resistors are connected to the "+" terminal? R16, R17 and R18. Allowing any of these resistors to drift ( as well as R20) changes the voltage on the positive input. It doesn't matter if you account for changing the thermistor for R18, because you have to re-calculate the new values each time the temperature changes. The results are difficult to quantify, so best to just not mess with it.
The other senario, where the therm is replaced with a fixed resistor and R18 is a therm is a bad situation as well. That's why you don't see circuits configured that way.
hi vne,
If in the FINAL circuit the LM293 drives directly into a CMOS gate input then the existing circuit will be OK.
If you connect a NPN relay driver then the temperature switching points will not be as you expect.
With a PNP the temperature switching points will be close to expectation.
What type of PNP transistor are you going to use also what is the resistance of the relay coil,, is it really 10R as shown in your last drawing.???
In other news, I think I figured out how I'm going to test the circuit. I breadboarded the comparator circuit and soldered the thermistor to some 2 conductor shielded wire and I grounded the shield. I got a cheap Tupperware container and cut a few holes in it. I mounted the thermistor inside, right next to the temperature probe from my multimeter which is also inside the Tupperware container. Last but not least I placed a 10Ω 10W power resistor inside the container. I also built an output circuit with an NPN and another resistor so when the comparator output is low, the NPN will conduct and the resistor will pump out about 2W.
I hope it should allow me to calibrate the set point and hysteresis band or at least make it equally inaccurate as my multimeter.
Thanks again everyone for the help and explanations. They are really helpful.
Edit: I forgot to mention a somewhat minor but extremly important detail about the testing. I'm going to stick the Tupperware container with everything inside into my freezer.
Eric,
I'm sorry but it appears that I've created some confusion. It may have stemmed from when I said I was using an NPN at the comparator output when I really meant PNP. Anyway, the 10Ω 10W resistor shown as R22 in my last drawing is a power resistor, not a relay coil. The power resistor will be used as a heating element and is part of the circuit for testing only.
Upon placing the test circuit in the freezer, the output of the 293 will go low at ~ -5C causing the NPN to conduct. Roughly .5A should then flow through the power resistor causing it to dissipate about 2W of power as heat. That will heat back up the tupperware cotainer that my test circuit is placed in past -1 C and the 293 output will go back high turning off the NPN. Wash, rinse, repeat.
At least that's how I hope an expect it to work. Referrence the explaination of how I plan to do the testing from ye old reply #31 below:
Does that clear things up or am I missing something? Thanks again.
hi,
My error, misread your earlier text...
The point I was trying to make is what transistor are you going to use to drive the 10R resistor, remember you have only about 4mA base current available for the drive transistor.
Why dont you fit the relay that you are going to use in the final version and use that to switch the 10R heater test resistor.??
Eric,
As for the relay, I'm not planning on using a relay in either the test circuit or finished circuit. In the finished circuit, the ouput of the 293 will input into a CMOS NOR gate. The ouput of the NOR gate will drive a opto-coupler and traic arrangemet to turn on AC power to the heater.
I'm confused where the relay is coming from. Should I be using one?
In the attached diagram, the hysterisis is represented by the red trace, which is taken at the comparator's "+" terminal. R2, which is placed the same as R18 in the previous discussion, is allowed to drift between 5k and 20k, as it might if it were a thermistor. At R2=20k, hysterisis is nearly 1V, while at R2=5k it is less than 1/2V. Clearly, allowing this resistor to change in turn changes the hysterisis. You might be able to minimize the effect of drifting hysterisis through the switching band by adjusting the feedback network ( the effect is probably not all that severe in the switching band as it already is ). Personally, I would never do it that way.