AUTOMATIC TEMPERATURE BASED FAN CONTROLLER
K Sai Kumar, Sirolla Rajasekhar, Shaik Haseeb Tanveer, S Venkata Prasad Reddy, Valthati Allababu, K A Rahman
B.Tech Students, Assistant Professor, Dept of ECE, Dr.K.V.Subbareddy Institute of Technology, Kurnool
Abstract
This project is a standalone automatic fan speed controller that controls the speed of an electric fan according to our requirement. Use of embedded technology makes this closed loop feedback control system efficient and reliable. Microcontroller (ATMega8 / 168 / 328) allows dynamic and faster control. Liquid crystal display (LCD) makes the system user-friendly. The sensed temperature and fan speed level values are simultaneously displayed on the LCD panel. It is very compact using few components and can be implemented for several applications including air-conditioners, waterheaters, snow-melters, ovens, heat-exchangers, mixers, furnaces, incubators, thermal baths and veterinary operating tables. ARDUINO microcontroller is the heart of the circuit as it controls all the functions. The temperature sensor DHT11 senses the temperature and converts it into an electrical (analog) signal, which is applied to the microcontroller. The sensed and set values of the temperature are displayed on the 16x2-line LCD. The micro controller drives Transistor to control the fan speed. This project uses regulated 12V, 2A power supply. This project is useful in process industries for maintenance and controlling of Boilers temperature. Here we are controlling manually through Mobile App using Wifi and Automatically controlled through sensor. It will Operated mode beased on set up switch.
Introduction
With the advancement in technology, intelligent systems are introduced every day. Everything is getting more sophisticated and intelligible. There is an increase in the demand of cutting edge technology and smart electronic systems. Microcontrollers play a very important role in the development of the smart systems as brain is given to the system. Microcontrollers have become the heart of the new technologies that are being introduced daily. A microcontroller is mainly a single chip microprocessor suited for control and automation of machines and processes. Today, microcontrollers are used in many disciplines of life for carrying out automated tasks in a more accurate manner. Almost every modern day device including air conditioners, power tools, toys, office machines employ microcontrollers for their operation. Microcontroller essentially consists of Central Processing Unit (CPU), timers and counters, interrupts, memory, input/output ports, analog to digital converters (ADC) on a single chip. With this single chip integrated circuit design of the microcontroller the size of control board is reduced and power consumption is low. This project presents the design and simulation of the fan speed control system using PWM technique based on the room temperature. A temperature sensor has been used to measure the temperature of the room and the speed of the fan is varied according to the room temperature using PWM technique. The duty cycle is varied from 0 to 100 to control the fan speed depending upon the room temperature, which is displayed on Liquid Crystal Display. Nowadays, everyone is looking towards the new technologies by replacing the manual operations to automatic controlled devices. One of the basic requirements of the people during summer is a cooling fan. But, the speed of the fan can be controlled by manual operation using a manual switch i.e. fan regulator or dimmer. By turning the dimmer, the fan speed can be altered. It can be observed that during daylight temperature usually rises and during night the temperature falls. The users do not understand the difference in temperature. So to overcome the speed of the fan here is a solution to vary according to temperature. This concept is particularly applicable for the areas like where temperature changes radically during day and night time. This work will convert the manual fan into automatic fan. The automatic fan will change its speed according to the temperature in the room. Automated systems that have less manual operation are flexible, reliable and accurate. Due to these demands every field prefer automated control systems especially in the field of electronics where automated systems are giving good result. Microcontroller is one of the major devices in the field of electronics.
Literature Review
The circuit exploits the property of sensor to operate the DC Fan. A sensor is a type of transducer. In a broader sense, a transducer is sometimes defined as any device that converts energy from one form to another. Besides that, the component that made up the temperature sensor is known as thermistor. Thermistor is a kind of temperature dependent resistor and its resistance varies depending on the temperature in its vicinity. There are two types of Thermistors- Negative Temperature Coefficient Thermistor (NTC) and Positive Temperature Coefficient Thermistor (PTC).
NTC Thermistor decreases its resistance when the temperature increases while PTC Thermistor increases its resistance when the temperature increases. Thermistors are bead like resistors available from 100 ohms to 10K or more values. In this circuit, a 1K (25°C) NTC Thermistor is used. A small DC fan increases or decreases its speed as per the temperature change. When the temperature decreases below a certain level, Fan automatically turns off.
Proposed System
In the proposed systems, microcontroller plays a vital role in the smart systems development. Microcontrollers have become an essential part in the present technologies that are being presented daily. This article discusses temperature based fan speed control and monitoring system using an Arduino system. This system is used to control the cooling system automatically based on the room temperature. The system uses an Arduino board to implement a control system. Since this system is proposed to control the cooling system and it is very important to know Arduino controlled system well.
Design of Hardware
ARDUINO UNO
The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.
The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter. Uno board has a resistor pulling the 8U2 HWB line to ground, making it easier to put into DFU mode. Arduino board has the following new features:
- 1.0 pin out: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible both with the board that use the AVR, which operate with 5V and with the Arduino Due that operate with 3.3V. The second one is a not connected pin, that is reserved for future purposes.
- Stronger RESET circuit.
- Atmega 16U2 replace the 8U2.
"Uno" means one in Italian and is named to mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the reference versions of Arduino, moving forward. The Uno is the latest in a series of USB Arduino boards, and the reference model for the Arduino platform; for a comparison with previous versions, see the index of Arduino boards.
Figure: ARDUINO UNO A visual representation of the Arduino Uno board, showing its various pins and components, including digital I/O, analog inputs, power connectors, and the ATmega328 microcontroller.
POWER SUPPLY
The power supplies are designed to convert high voltage AC mains electricity to a suitable low voltage supply for electronic circuits and other devices. A power supply can by broken down into a series of blocks, each of which performs a particular function. A d.c power supply which maintains the output voltage constant irrespective of a.c mains fluctuations or load variations is known as “Regulated D.C Power Supply".
Figure: Block Diagram of Power Supply Illustrates a typical linear power supply setup, showing the flow from AC input through a transformer, rectifier, filter, and regulator to the DC output (Vout) connected to a load.
LCD DISPLAY
A model described here is for its low price and great possibilities most frequently used in practice. It is based on the HD44780 microcontroller (Hitachi) and can display messages in two lines with 16 characters each. It displays all the alphabets, Greek letters, punctuation marks, mathematical symbols etc. In addition, it is possible to display symbols that user makes up on its own. Automatic shifting message on display (shift left and right), appearance of the pointer, backlight etc. are considered as useful characteristics.
Figure: LCD A visual representation of a typical character-based LCD display, showing text like 'LCD display' and 'CONTROLLER'.
BUZZER
Digital systems and microcontroller pins lack sufficient current to drive the circuits like relays, buzzer circuits etc. While these circuits require around 10milli amps to be operated, the microcontroller's pin can provide a maximum of 1-2milli amps current. For this reason, a driver such as a power transistor is placed in between the microcontroller and the buzzer circuit.
TEMPERATURE SENSOR (LM35)
LM35 series sensors are precision integrated-circuit temperature sensors whose output voltage is linearly proportional to the Celsius temperature. The LM35 requires no external calibration since it is internally calibrated. The LM35 does not require any external calibration or trimming to provide typical accuracies of ±1/4°C at room temperature and ±3/4°C over a full -55 to +150°C temperature range.
The LM35's low output impedance, linear output, and precise inherent calibration make interfacing to readout or control circuitry especially easy. It can be used with single power supplies, or with plus and minus supplies. As it draws only 60 μΑ from its supply, it has very low self-heating, less than 0.1°C in still air.
Pulse Width Modulation
Pulse Width Modulation (PWM) is the most effective means to achieve constant voltage battery charging by switching the solar system controller's power devices. When in PWM regulation, the current from the solar array tapers according to the battery's condition and recharging needs Consider a waveform such as this: it is a voltage switching between 0v and 12v. It is fairly obvious that, since the voltage is at 12v for exactly as long as it is at 0v, then a 'suitable device' connected to its output will see the average voltage and think it is being fed 6v exactly half of 12v. So by varying the width of the positive pulse we can vary the 'average' voltage.
So, how do we generate a PWM waveform? It's actually very easy, there are circuits available in the TEC site. First you generate a triangle waveform as shown in the diagram below. You compare this with a d.c voltage, which you adjust to control the ratio of on to off time that you require. When the triangle is above the 'demand' voltage, the output goes high. When the triangle is below the demand voltage, the output goes low.
Diagram: Pulse Width Modulator Waveform Depicts a comparison between a triangle waveform and a DC voltage level. The output is shown as a square wave that switches high when the triangle wave is above the DC level and low otherwise, illustrating PWM generation.
DC FAN
A fan is a powered machine used to create flow within a fluid, typically a gas such as air. A fan consists of a rotating arrangement of vanes or blades which act on the air. The rotating assembly of blades and hub is known as an impeller, a rotor, or a runner. Usually, it is contained within some form of housing or case. This may direct the airflow or increase safety by preventing objects from contacting the fan blades. Most fans are powered by electric motors, but other sources of power may be used, including hydraulic motors, handcranks, internal combustion engines, and solar power.
Mechanically, a fan can be any revolving vane or vanes used for producing currents of air. Fans produce air flows with high volume and low pressure (although higher than ambient pressure), as opposed to compressors which produce high pressures at a comparatively low volume. A fan blade will often rotate when exposed to an air fluid stream, and devices that take advantage of this, such as anemometers and wind turbines, often have designs similar to that of a fan.
Typical applications include climate control and personal thermal comfort (e.g., an electric table or floor fan), vehicle engine cooling systems (e.g., in front of a radiator), machinery cooling systems (e.g., inside computers and audio power amplifiers), ventilation, fume extraction, winnowing (e.g., separating chaff of cereal grains), removing dust (e.g. sucking as in a vacuum cleaner), drying (usually in combination with a heat source) and to provide draft for a fire.
Project Description
This chapter deals with working and circuits of "IOT BASED Speed control of Fan ". It can be simply understood by its block diagram & circuit diagram.
BLOCK DIAGRAM
Figure: Block Diagram A schematic showing the interconnection of key components: Power Supply, DHT11 sensor, Switch, Arduino microcontroller, LCD display, Fan, Wi-Fi module, and a mobile App, indicating data flow and control.
SOFTWARE REQUIREMENTS
- Arduino
- Embedded C language
HARDWARE REQUIREMENTS
- LM 35
- ARDUINO
- DC FAN
- LCD
- Wi-Fi
- APP
WORKING
I used an LCD shield to display the current temperature and speed of the fan, but you can use the circuit without the LCD display. You also need to select the transistor by the type of fan that you use. In my case I used the well-known BD139 transistor and a 9V battery to provide power to the fan and transistor. The LM35 temperature sensor and red led are powered with 5V from the Arduino board. As you can see in the sketch on the first line I included the LiquidCrystal library (header) that includes useful functions to use when an LCD is connected to the Arduino board. Then I set the pins for the sensor, led and fan. The most important part is to set the variables tempMin and tempMax with your desired values. TempMin is the temperature at which the fan starts to spin and tempMax is the temperature when the red led lights warning you that the maximum temp was reached. For example if you set tempMin at 30 and tempMax at 35 then the fan will start spinning at 30°C and reach its maximum speed at 35°C. We store the temperature value in the temp variable and then use some if() functions to check if temp is lower than tempMin and if so let the fan OFF (LOW). The next if() is to check if temperature is higher than the minTemp and lower than the tempMax and if so then use the map() function to re-map the temp value from one value to another. In our case fanSpeed will have a value of 32 at tempMin and 255 at tempMax. These values are used to control the speed of the fan using PWM and the analog Write(). The fan LCD re-maps the temp to allow the display of fanSpeed in a 0 to 100% range so you can say that the speed of the fan is directly dependent of the LM35's temperature. When the temperature reaches the value set in tempMax the fan will be at its maximum spinning velocity and the LCD will display FANS: 100% even though the temperature might increase above tempMax. The rest of the explanation can be read in the comments area of the Arduino sketch. In the next project I will make a temperature protection circuit that will turn off the power of equipment when its temperature has reached a certain value.
In this work we are designing the temperature based speed controlled fan. The surrounding temperature is sensed by LM35 sensor the sensed signal is sent as voltage pulses to microcontroller ATMEGA 328P and converts into an electrical signal which is applied to micro controller. The micro controller on arduino drives the motor driver to control the fan. ESP8266 Wi-Fi module is interfaced with arduino by using UBIDOTS free cloud storage website it is possible to switch the fan using mobile phone or laptop. Firstly when the supply is given to arduino, ESP8266 Wi-Fi module is connected to the specified network and by using mobile, fan can be switched. When fan is turned ON using phone the fan starts running LM35 sensor senses the surrounding temperature and according to temperature it controls the speed of the fan as specified in the arduino program.
Application
Temperature based fan speed controller is useful for cooling the processor in the laptops and personal computers “more efficiently". Generally fan in laptop comes with only two or three possible speeds. So it results in more power consumption. The fan designed in this project, has different values of speed according to temperature change. This can be also used in small scale industries for cooling the electrical/mechanical equipment. The whole circuit except motor and fan can be manufactured on a single PCB, and it can be used for temperature based control operations.
Advantages
- This project can be used in Home.
- This project can be used in Industry.
- This will help in saving the energy / electricity.
- To monitor the environments that is not comfortable, or possible, for humans to monitor, especially for extended periods of time.
- Prevents waste of energy when it's not hot enough for a fan to be needed.
- To assist people who are disabled to adjust the fan speed automatically.
Disadvantages
- It can only be maintained by technical person. Thus, it becomes difficult to be maintained.
- Due to temperature variation, after sometimes its efficiency may decrease.
Future Scope
- We can monitor more parameters like humidity, light and at the same time control them.
- We can send this data to a remote location using mobile or internet.
- We can draw graphs of variations in these parameters using computer.
- When temperature exceeds the limit, a call will be dialed to the respective given number by an automatic Dialer system.
Conclusion
This fan designed for reducing the manual operation of fan that is altering the speed of fan automatically. This fan can be switched from different places using mobile phones through IoT technology. Aim of this project is to increase the safety feature for coal miners. This system can monitor most important dangerous events. Monitoring the dangerous event and performing rescue operation for miners safety made easy with this project. In this project we used FAN For control the heat in coal miners. All the sensors can be easily place on coal mines that helps in continuous monitoring.
REFERENCES
- M. A. Hermanus, —Occupational health and safety in mining-status, new developments, and concerns,|| The Journal of The Southern African Institute of Mining and Metallurgy, vol. 107, pp. 531-538, Aug. 2007.
- CHENG Qiang, SUN Ji-ping, ZHANG Zhe, ZHANG Fan “ZigBee Based Intelligent Helmet for Coal Miners” World Congress on Computer Science and Information Engineering 2009
- D. Kock and J. W. Oberholzer, "The development and application of electronic technology to increase health, safety, and productivity in the South African coal mining industry,” IEEE Trans. on Industry Applications, vol. 33, no. 1, pp. 100- 105, Jan/Feb. 1997.
- "Head and neck injury criteria a consensus workshop" Research information and publications center. University of Michigan transportation research institute.
- R. S. Nutter, -Hazard evaluation methodology for computer-controlled mine monitoring/control systems,|| IEEE Trans. on Industry Applications, vol. IA-19, no. 3, pp. 445-449, May/June 1983