LOGO2 Thermostat Circuit

Electronic Circuits


[see below for simpler alternative to long-tailed pair circuit]



The electronics have evolved somewhat since the early days & have been kept as simple as possible.

I decided to use a 10 kHz [NOW 27.8kHz] square wave, rather than the more common sine wave, to give a cleaner switch-over of voltage. The long-tailed pair with 2 x BC548 transistors [now updated to an OPAMP, see below] seemed to work well in many respects but is not good for removal of unwanted transients in the input signal. When the square wave signal frequency was raised from 10kHz to 28kHz a larger transient appeared on the rising edge of the output of the NE555 timer. The long-tailed pair is poor at nulling this transient, which led to a significant AC input to the precision rectifier & hence a voltage at balance that was not near zero.  On further analysis the 741 opamp differential amplifier shown below proves to be superior to the long-tailed pair; particularly in common mode (i.e. input transient) rejection. The distortion previously seen using the 741 proved to be the result of electrode polarisation (see Low Cost Electrodes), not a failure to follow the input signal.


The precision rectifier is from a design by Analog Innovations with a x 10 gain amplifier added. It gives a precisely linear response. There is a zero offset voltage of 50 mV, which could not be eliminated by using the offset null pin on the amplifier 741. The precision rectifier is required because the output voltage from the long tailed pair (or OPAMP) is too low for the use of a simple diode rectifier, i.e. it is often below the threshold voltage of a diode.


The AC bridge  components were wired with shielded cable with equal cable lengths for the two cells & the two sides of the 1k pot. [Wire-wound 10-turn pot can be replaced with a simple inexpensive version].


POWER SUPPLY 12V. The main power supply is a stabilised 12V source but I have also used a Li ion battery pack recovered from a laptop power supply that gives power for 8 hours running of the apparatus. Power consumption is a max of 12 watts during warmup. A useful power supply is from Electrocomponents RS [413-667] that gives 1.3A, 12V & costs £8.94.


A drawback to the use of this particuar precision rectifier design is that a 9V dual rail power supply is required, supplied by 2 x PP9 batteries, the current draw is modest, so the batteries last for several weeks of use. Designs of rectifier are available that use a single rail, see link above. However the 741 OPAMP differential amplifier is now also powered from this source.


The temperature of the system is controlled to +/- 0.02 deg but can drift upwards slowly if the ambient temperature is close to 25 deg. The drift can be 0.5 - 1 deg over 8 hours but this has little effect on initial rate measurements. Only the addition of a cooling system can overcome this, as far as I am aware. Normally the drift is below 0.04 deg/hour.




The Thermostatic Control System


Precision Rectifier AC Bridge & long Tail circuits


The Precision Rectifier

The AC Bridge and Long Tailed Pair Circuits - NOT USED NOW.


Square Wave Generator 10kHz Sq wave gen 28kHz Bridge & OPAMP differential amplifier

NEW Bridge with 741 OPAMP differential amplifier

The 1k pot shown here is used with the equivalent conductivity [2mS/cm] of 0.1% NaCl. 100 ohms with 1% NaCl equiv., 10k with 0.01% NaCl, 100k with 0.001% NaCl & 1M with 0.0001% NaCl - see Calibration (sub-page from RESULTS) for further details

Original Signal Generator Circuit - not used now

It would be better to use a 6.7k resistor & 1k pot for ease of adjustment of the output voltage.