Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Project overview:

The built temperature control circuit is an integration of electronic components that function in a proper manner. It was designed for the intention of monitoring room temperature using a thermistor, and limiting its highest value to 25C. This is achieved by turning an indicator lamp and fan ON, through a transistor switch, when the comparator (LM339) identifies a temperature greater than 25C. As mentioned above three main tasks are needed to be accomplished in order to carry out the desired outcome.

Measuring Temperature (T)


An NTC thermistor, whose resistance RT decreases as temperature increase, is utilized to sense the room temperature. A voltage divider is then used to obtain an electrical signal associated with the measured temperature. As a result an output voltage Vs is obtained ready to serve as one of the two inputs required by the comparator. Circuit Analysis: Aim:
-

Choosing an appropriate reference resistor RC based on an assumed value of Vs

Components: Power supply providing an input voltage (Vin) of 12v NTC Thermistor ttc-502 Resistor RC

Figure 1 (voltage divider circuit of the thermistor)

Using the data sheet of the thermistor we found that for a temperature T=25C the equivalent resistance is RT= 5000 . Using voltage divider: Assume Vs= 6;

Vs =

* Vin

Page 1

6=

* 12

=5000

Since a 5000 K resistor is not available with us, we chose two make a parallel connection of two 10k resistors which gives the intended 5000 resistance . ( Select =5k =5 K

Check if T > 25C


An Op-Amp is employed to compare actual temperature with the required 25C temperature. The comparator is provided by two inputs Vs, output of thermistor connected to the non inverting input pin (pin 6) and VR , a fixed reference output of a voltage divider(In our case) connected to the inverting input pin (pin7). Note that the location of the input, output, ground and Vcc are provided by the op-amp data sheet. The output voltage Vo is then obtained at pin 1.

Figure 2

Circuit Analysis:
Aim: Choosing appropriate V+, V- values based on the chosen comparator specifications. Choosing appropriate values for the resistances which compose the voltage divider

at VR.
Components: Power supply providing an input voltage (Vin) of 12v (same supply used above) Comparator LM339 Resistors From the data sheet of the comparator, it is shown that V+, V- ranges between (1 to 18) or

(2 to 36)

Page 2

choose 0 to 12 volt. Making reference temperature 25C With Vs=6V at 25C VR=6 V at 25C

Figure 3

Finding R2 and R3: VR =

* VIN ) VR = VIN *

* VR = (VIN - VR)* =

Select R1 =100 k & R2 =100 k

Turn ON a Motor and a LED


A resistor RB is connected at output of the comparator, according to the output of the Op-Amp and resistance RB, current IB will flow forming the input of transistor. If this current is greater than IBs the transistor is saturated and acts as switch hence providing the motor with required current. The motor in turn drives the fan. Motor specifications: RM=9.5 k measured by DMM VM= 12v IM= = = 1.26 * A

IM=1.26mA

Page 3

We chose a green diode having Vturn ON=1.65V, RD(typical)=19 Vin =12 V Rlimitting = 220 Rlimitting is formed from a combination of series and parallel connections of resistances. ( = 110

Note that the LED was connected in parallel with the motor.

Component table:
Table 1. Specifications of components employed in the system Part 1 2 3 4 5 6 7 8 Description Thermistor Comparator Transistor DC motor Resistor Resistor Resistor Green LED Part # and manufacturer ttc-502 LM 339N 2N3904 MM1-6S2R 13 July 9851 Specifications NTC type; =3950 ; At 25C RT =5000 Vcc =12 V npn-BJT type; 40 V, 200 mA, 20-200 gain VM = 12V; IM = 1.26 mA; RM = 9.5 K R=100 k; PR =3 W; 5% R=5 k; PR =3 W; 5% R= 220 Vturn ON=1.65V, RD(typical)=19

Possible Applications of the system


This system can be also used for parked car ventilation. Where inside temperature of car is monitored and fans are turned on when a parked car temperature go above 25C. Solar panels can be used as a power source in this case.

Reference
www.alldatasheets.com

Page 4

You might also like