This circuit optimises the operation of a solar hot  water system. When the water in the solar collector is hotter than the  storage tank, the pump runs. The circuit comprises two LM335Z  temperature sensors, a comparator and Mosfet. Sensor 1 connects to the  solar collector panel while Sensor 2 connects to the hot water panel.  Each sensor includes a trimpot to allow adjustment of the output level.  In practice, VR1 and VR2 are adjusted so that both Sensor 1 and Sensor 2  have the same output voltage when they are at the same temperature. The  Sensor outputs are monitored using comparator IC1.
When Sensor 1 produces a higher voltage than  Sensor 2, which means that sensor 1 is at a higher temperature, pin 1 of  IC1 goes high and drives the gate of Mosfet Q1. This in turn drives the  pump motor. IC1 includes hysteresis so that the output does not  oscillate when both sensors are producing a similar voltage. Hysteresis  comprises the 1MO feedback resistor between output pin 1 and  non-inverting input pin 3 and the input 1kO resistor. This provides a  nominal 12mV hysteresis so that voltage at Sensor 1 or Sensor 2 must  differ by 12mV for changes in the comparator output to occur.
Circuit diagram:
Pump Controller For Solar Hot Water System
Since the outputs of Sensor 1 and Sensor 2  change by about 10mV/°C, we could say that there is a degree of  hysteresis in the comparator. Note that IC1 is a dual comparator with  the second unit unused. Its inputs are tied to ground and pin 2 of IC1  respectively. This sets the pin 7 output high. Since the output is an  open collector, it will be at a high impedance. Mosfet Q1 is rated at  60A and 60V and is suitable for driving inductive loads due to its  avalanche suppression capability. This clamps any inductively induced  voltages exceeding the voltage rating of the Mosfet.
The sensors are adjusted initially with both  measuring the same temperature. This can be done at room temperature;  adjust the trimpots so that the voltage between ground and the positive  terminal reads the same for both sensors. If you wish, the sensors can  be set to 10mV/°C change with the output referred to the Kelvin scale  which is 273K at 0°C. So at 25°C, the sensor output should be set to  (273 + 25 = 298) x 10mV or 2.98V.
Note:
The  sensors will produce incorrect outputs if their leads are exposed to  moisture and they should be protected with some neutral cure silicone  sealant. The sensors can be mounted by clamping them directly to the  outside surface of the solar collector and on an uninsulated section of  the storage tank. The thermostat housing is usually a good position on  the storage tank.
Source by : Streampowers 
 
