You are on page 1of 4

PSOC PROJECT REPORT

CPU FAN CONTROLLER

Submitted by,
ASHNA. K M100342EC SUSHMITA DANDELIYA M100275EC HEMALATHA. N. R M100152EC

Guided by,
Mr. RAGHU. C. V ECE Dept.

ABSTRACT

Computers convert most of its electrical power into heat generated by all major components. A computer fan is any fan inside a computer case used for cooling purpose. The fan draw cooler air into the case from the outside, expel warm air from inside. The simplest method that is used in desktop PC is simply to leave the fan on all the time. This creates quite a bit of noise and increases power requirements, but keeps the system the coolest. In this project the speed of the fan is varied according to the temperature variation inside the system. Pulse-width modulation (PWM) is used for controlling fan speed. PWM switches the input voltage between (nearly) fully on and fully off. This means there is practically no voltage or power loss and associated heat output.

CPU fan controller


The block diagram of CPU fan controller is shown in fig 1. The temperature sensor LM35 and CPU fan is interfaced with PSOC. The temperature sensor output voltage varies with temperature variation inside CPU due to heat produced by CPU components. The ON-period of PWM is programmed accordingly. As temperature increases the ON-period of PWM is increased and with decrease in temperature PWM is decreased.

Temperature sensor

PSOC KIT

CPU fan

Fig 1: Block diagram of CPU fan controller

The detailed circuit diagram of CPU fan controller is shown in fig 2.


12V P0(1) LM35 PGA ADC LCD CPU fan

P0 (0) PWM 330

BC547

GND

Fig 2: Detailed circuit diagram of CPU fan controller.

The LM35 is precision integrated-circuit temperature sensor, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large constant voltage from its output to obtain convenient Centigrade scaling.

The temperature sensor output voltage variation is 10mV/C. The output voltage corresponds to temperature inside the CPU. The output voltage of LM35 is fed to PGA by port P0(1). The amplified voltage is given to ADC. The ADC output is digital form of the input voltage and is displayed on LCD. The digital output is used to program the PWM. When temperature inside CPU is at room temperature, the fan is in OFF condition (PWM ON-period=00). Above the room temperature the CPU fan is turned on. As temperature is increased the ON-period of PWM is

increased and fan speed is increased. The output of PWM module is connected to base of BC547 NPN transistor. The BC547 NPN transistor drives the CPU fan which is provided with 12V dc supply.The circuit setup is shown in fig 3.

CIRCUIT SETUP:

Fig.3

You might also like