Hi again,
Yes, the Vce is the saturation voltage of the output transistor used in the comparator and yes it is spec'd as 0.25v at 4ma. With 1k pullup
and 5v supply that's 5ma but the exact value of the pullup depends on what you are trying to drive (NOR gate). If the nor gate doesnt
take much current (CMOS) then a larger value resistor is ok too, but remember you need to go through the calculations for R16 and R17
again if you change any resistor. Also, it may help to measure the Vce sat voltage and enter that into the calculation too.
Using a CMOS gate might be a good idea as it will not load the pullup much.
OK, got it! I'll make sure to size my pullup and output resistors accordingly and recalc the other values. Also, I was planning on using a CMOS NOR gate.
That's great that you intend to put the entire circuit into the environment to be monitored, because that means the whole circuit will
track the temperature and that takes many of the unknowns out of the picture. That's the best way to do it as you can not always
depend on the ambient outside of the freezer to be stable. You do have to use parts that can work at those temperatures however.
I test EVERYTHING. It might just be a reflection of my lack of confidence as a result of my lack of knowledge at this point but I haven't built too much yet that worked right the first time.
Also, I have been trying to remain fairly diligent about ensuring my components are rated for the environment I plan to use the circuit in. That's why I'm using an 293 instead of a 393. It's a good reminder though, thanks.
I think we covered everything now, but one thing to note is that the calculation for R17 came out close to 81k, not 811k which you have
drawn in your new schematic. Double check that in case it was not simply a typo.
Oppps. I read your post late last night and I guess I wasn't paying close enough attention. It was just a transcription error but would have become a mistake in my circuit if you hadn't said something. Thanks.
Lastly, even though we have calculated this circuit out completely you may require calibration anyway since you want to work with
such a tight temperature range. Also since you want such a range as that you may wish to take a look at your dv/dT for the thermistor
with various upper resistors (your 415k resistor) and see that you are getting the maximum voltage variation possible for the
chosen range (in case you havent done that already). That will increase the resolution of the measurements to the best possible or
at least to pretty good. You dont need super great linearity here but you do want good resolution.
I kind of intuitively assumed that the maximum voltage variation would occur when the upper resistor was sized so that the voltage divider would give about half of the supply voltage. I'll dust off my calculus brain though and make certain of that.
Ok one more quick tip (chuckle)...
In temperature applications like this it is usually a good idea to have a back up plan in case the primary system goes down.
These electronic components are usually pretty good but can change over time. A simple method would be to build up a duplicate
of the system you are currently building and set the range just outside of the primary system (by say 2 degrees). That will
trigger an alarm just in case something goes wrong with the first system. It also should be powered from a separate power
supply to be sure just in case the first one goes down, and should also be checked periodically to make sure it can do it's
job properly when needed.
As far as I know, there's no life and death situation dependent on my circuit properly functioning but I'll give the backup idea some thought. the simplest way to do this might be with a mechanical thermostat. What do you think?
If it turns out that the resolution isnt good enough to get good repeatability or good results in general, you may have to move
to a digital temperature sensor and use a micro controller.
My first idea was to use a
TC621CEPA. I requested some samples from Microchip but while I was waiting for them to arrive I started working on the LM293 idea. I am already using the LM293 for a very similar light sensing function in the same circuit and since it's a dual comparator, I thought it might be better to use that instead of adding an additional IC. I may go back to using the TC621 though if the testing doesn't go well. Even if don't end up using the 293 for the temperature, I'm glad I explored it because I feel I understand them much better now.
I could also use a µcontroller and in all honestly that would have been my first choice but this circuit will become a set of DIY plans. I think a majority of the people who might be building this circuit won't have the knowledge or resources to program a PIC and I don't want to sign up to having to mail programmed PICs to the four corners of the Earth.
Thanks for your thorough reply. I think this is coming together.