I'm looking to build something that will detect when I have a layer of ice build up.
I'm thinking of using an LM34DZ Farenheit temp sensor hooked to a resistor with a -Vs supply (as shown in the datasheet), so I can read 0 deg F and below. As the ice builds out into a room temperature area, I think the temperature will stay around 60-70 degF until it builds out enough to actaully touch the sensor at which point the readings will drop to 0. The IC is in a TO-92 package. I'm thinking of orienting it such that the top is pointed toward the ice build up, thus preventing the ice from reaching the leads.
Obviously it was late when I posted that (11pm). Oops. No it's for detecting ice build up on the coils of a dehumidifier. I had to install a filter in front of the coils, so I can't see them any more. I've been using a mechanical timer to cycle it to melt the ice. But I'm thinking of connecting the temp sensor to a comparator to drive a contactor to turn on/off the dehumidifier.
That will change the fact that I won't need the -Vs either since it will operate between 30 and 70 deg F. I'm thinking I'll add 5x gain to amp the signal from 300-700mV to 1.5-3.5V. If using a 5v supply, I might as well use some of the range.
You don't need to go down to 0 °F. Freezing point is 32 °F so the LM34DZ will output 320 mV at freezing point. It can't output less than about 50 mV, but that is 5 °F which is far colder than you are interested in, so you don't need the negative supply.
It was 11pm when the idea occurred to me. I usually work in deg C and forgot (at that hour) the freezing was 32 degF. Your correct, I won't need the negative supply.
I was thinking of an IA Opamp with 5x gain. Instead of 320 and 600-700mv, I'll have 1.6 and 3-3.5V. I have some IAs from another project, but I'll have to figure out if they can accept 300mV in. I don't remember off hand which parameter I need to check on the datasheet.
Apparently. Most IAs I've found that aren't rail-to-rail are (V-) +1.0V and then some.
For achieving the 5x gain, what is the best mthod? Single transistor, OpAmp, or IA? I can't remember why I can't use a simple single transistor to get my 5x gain.
As another possible solution, I would attach the sensor to the coils, then use a closed loop temperature control that keeps the coil always above 0'C, probably around 2'C.
It should give exactly the same result, that the dehumidifier runs at the maximum possible power level while never allowing ice to form.
You can use it. Vbe for a transistor is ~600mV but drops at ~ 2mV per degree C. So the drop is a significant fraction of the Vbe voltage and would normally be considered an error. Since in this application you don't need to know the actual temperature except when it is zero Centigrade you could just use this Vbe drop to detect icing and omit the LM34DZ.
I was thinking of replacing the LM34 with a transistor. I was wondering about the design trade-offs between using a transistor, vs OpAmp, vs IA. I'm drawing a blank right now.
I was thinking of an IA Opamp with 5x gain. Instead of 320 and 600-700mv, I'll have 1.6 and 3-3.5V. I have some IAs from another project, but I'll have to figure out if they can accept 300mV in. I don't remember off hand which parameter I need to check on the datasheet.
hi,
For as simple Set point of 0C/32F all you need is a comparator circuit with a wide hysteresis.
So as the LM34 input drops below say 1C/33F, it switches OFF the de-humidifier and it remains OFF until the LM34 temperature reaches say 5C/41F
My concern is there is only 80mV between 32F and 40F. Not much room to install hysteresis.
Only the LM34 will be subject to the temprature change. The LM34 will be mounted as a sensor, away from the main circuit. The remainder of the circuit will be kept at room temperature.
My concern is there is only 80mV between 32F and 40F. Not much room to install hysteresis.
Only the LM34 will be subject to the temprature change. The LM34 will be mounted as a sensor, away from the main circuit. The remainder of the circuit will be kept at room temperature.
Apparently. Most IAs I've found that aren't rail-to-rail are (V-) +1.0V and then some.
For achieving the 5x gain, what is the best mthod? Single transistor, OpAmp, or IA? I can't remember why I can't use a simple single transistor to get my 5x gain.
Use an Op-Amp. The transistor's bias voltage will change a lot as the transistor temperature changes, so you will be measuring the transistor temperature not the sensor temperature.
It appears that both comparators need to trip at the exact same point for proper operation of the circuit. But, in practice, they will not due to differences in their offset voltage.
To resolve this you could use U2 as just an inverter by connecting the negative input of U2 to the output of U3 and adding a resistive divider to set the threshold of the positive input of U2 at about 0.3V.