Room Temperature based Fan Speed Control System using Pulse Width Modulation Technique



Similar documents
CELL PHONE CONTROL ROBOT CAR

Android based Alcohol detection system using Bluetooth technology

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

Accurate Measurement of the Mains Electricity Frequency

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Development of Low Cost Private Office Access Control System(OACS)

SMART DRUNKEN DRIVER DETECTION AND SPEED MONITORING SYSTEM FOR VEHICLES

Digital Electronics Detailed Outline

Intelligent Home Automation and Security System

Real Time Monitoring System based on Embedded Linux Application

Microcontroller-based experiments for a control systems course in electrical engineering technology

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

International Journal of Advancements in Research & Technology, Volume 3, Issue 5, May ISSN THROUGH MOBILE

Conversion Between Analog and Digital Signals

STEPPER MOTOR SPEED AND POSITION CONTROL

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

Micro-Step Driving for Stepper Motors: A Case Study

MECE 102 Mechatronics Engineering Orientation

Agricultural Robot (Irrigation System, Weeding, Monitoring of Field, Disease Detection)

Automated Bottle Filling System

Chapter 2 Logic Gates and Introduction to Computer Architecture

Automatic Ration Material Distributions and Payment System Based on GSM and RFID Technology

REMOTE HOST PROCESS CONTROL AND MONITORING OF INDUSTRY APPLIANCES

3. Identification of water pumps through RFID technology. 4. Wireless control of remote water pump using RF technology.

International Journal of Electronics and Computer Science Engineering 1588

Keywords: rainfall detection, rain sensor, buzzer and alarm system.

8051 MICROCONTROLLER COURSE

CHAPTER 11: Flip Flops

Innovative Practices in Optimal Utilization of Solar Energy (Solar Tracking System)

A Digital Timer Implementation using 7 Segment Displays

Programming Logic controllers

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

Accident Notification System by using Two Modems GSM and GPS

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

Introduction to Electronic Signals

Feasibility Study of Implementation of Cell Phone Controlled, Password Protected Door Locking System

Smart Home System Using Android Application

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

Lab Experiment 1: The LPC 2148 Education Board

AC : PRACTICAL DESIGN PROJECTS UTILIZING COMPLEX PROGRAMMABLE LOGIC DEVICES (CPLD)

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

A Prepaid Energy Meter for Efficient Power Management

Design of Wireless Home automation and security system using PIC Microcontroller

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

Programmable Logic Controller PLC

Microtronics technologies Mobile:

Remote Patient Monitoring- An Implementation in ICU Ward

Cell Phone Based Liquid Inventory Management Using Wireless System

Experiment 8 : Pulse Width Modulation

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

Experimental Study of Automated Car Power Window with Preset Position

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Simulation and Analysis of PWM Inverter Fed Induction Motor Drive

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

PLC Based Liquid Filling and Mixing

Designing an Induction Cooker Using the S08PT Family

INTRODUCTION: ABSTRACT:

Microcontroller Based Anti-theft Security System Using GSM Networks with Text Message as Feedback

A PSTN Terminal for FSK Decoding and DTMF Dialing Applications

Ignition Alert Anti-Theft Security System for Motorbikes with Remote Control Amit Yadav, Anushri Jha, Neelesh Gupta

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Phase-Control Alternatives for Single-Phase AC Motors Offer Smart, Low-Cost, Solutions Abstract INTRODUCTION

Automatic Street Light Control System Using Microcontroller

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

Designing an efficient Programmable Logic Controller using Programmable System On Chip

Closed Loop PWM Control for Induction Motor Drive Using Dual Output Three Phase Inverter

Hello and welcome to this training module for the STM32L4 Liquid Crystal Display (LCD) controller. This controller can be used in a wide range of

DESIGN FOR MONITORING AND OPTIMIZATION OF POWER DEMAND FOR WIRELESSLY COMMUNICATING ELECTRIC LOADS

Design and Construction of Variable DC Source for Laboratory Using Solar Energy

Microcontroller based speed control of three phase induction motor using v/f method

Android Phone Controlled Robot Using Bluetooth

Wireless Sensor Network Based Low Power Embedded System Design For Automated Irrigation System Using MSP430

Decimal Number (base 10) Binary Number (base 2)

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Tamura Closed Loop Hall Effect Current Sensors

Design and Construction of Microcontroller Based Charge Controller for Photovoltaic Application

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY

Design of an Insulin Pump. Purpose of an Insulin Pump:

Rotating Machinery Diagnostics & Instrumentation Solutions for Maintenance That Matters

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Automated Profile Vehicle Using GSM Modem, GPS and Media Processor DM642

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

APPLICATION NOTES: Dimming InGaN LED

Original Research Articles

Features DISPLAY DECODING INPUT INTERFACING

DEVELOPMENT OF E-PUBLIC DISTRIBUTION SYSTEM (E-PDS) USING SMART CARD

Design and Simulation of Soft Switched Converter Fed DC Servo Drive

New Pulse Width Modulation Technique for Three Phase Induction Motor Drive Umesha K L, Sri Harsha J, Capt. L. Sanjeev Kumar

Project Plan. Project Plan. May Logging DC Wattmeter. Team Member: Advisor : Ailing Mei. Collin Christy. Andrew Kom. Client: Chongli Cai

HT46R14A Single Phase AC Induction Motor Frequency Converter Application

GSM Based Electrical Control System for Smart Home Application

HIGH SECURED VEHICLE WITH INTERIOR VENTILATION CONTROL AND PERIMETER MONITORING SYSTEM

A Surveillance Robot with Climbing Capabilities for Home Security

Sensor-Based Robotic Model for Vehicle Accident Avoidance

Efficient Interconnect Design with Novel Repeater Insertion for Low Power Applications

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Transcription:

Room Temperature based Fan Speed Control System using Pulse Width Modulation Technique Vaibhav Bhatia Department of Electrical and Electronics Engg., Bhagwan Parshuram Institute of Technology, New Delhi-110089, India Gavish Bhatia Department of Computer Science & Engg., Amity School of Engg. & Technology, Noida, India ABSTRACT This paper presents the design and simulation of a novel fan speed control system based on room temperature using Pulse width Modulation Technique. The duty cycle is made to vary according to the room temperature and the fan speed is controlled accordingly. This paper elucidates how the autonomous speed control of fan is done based on data from the temperature sensor. The design proposed here is appropriate according to the modern lifestyle. The simulation of the system has been done on Proteus Professional Software v 8.0 and the various graphs showing relationship between temperature and different parameters have been plotted in MATLAB R2013a v8.1 to validate the accuracy of the system. General Terms Simulation, Temperature, Speed, Fan Keywords Microcontroller, Pulse Width Modulation (PWM), Temperature Sensor, Duty Cycle, Liquid Crystal Display (LCD) 1. INTRODUCTION With the advancement in technology, intelligent systems are introduced every day. Everything is getting more sophisticated and intelligible [1-2].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 [3-5]. Almost every modern day device including air conditioners, power tools, toys, office machines employ microcontrollers for their operation [6-8]. The block diagram of the microcontroller system is shown in Fig 1. Fig.1. Microcontroller System 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 [9]. With this single chip integrated circuit design of the microcontroller the size of control board is reduced and power consumption is low [10]. This paper 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. 2. PULSE WIDTH MODULATION Pulse Width Modulation (PWM) is a technique in which the width of the periodic sequence pulses is varied in accordance with the baseband signal. PWM is also known as Pulse Duration Modulation. The leading edge of the pulse is held constant and the change in pulse width with signal is measured with respect to leading edge. In PWM, the pulse width is proportional to the amplitude of the signal. By varying the duty cycle of the pulse, the speed of the fan can be controlled. Duty cycle may be defined as the amount of time in a particular period during which the pulse is active or high. The speed is made slow, medium, fast, very fast and zero by having different duty cycles. Fig 2 shows the pulses with varying duty cycles: 35

2. Temperature Sensor- The LM35 is a precision IC temperature sensor, whose output voltage is proportional to the temperature in Celsius. LM35 sensor is interfaced with the microcontroller to measure the room temperature. 3. Liquid Crystal Display- The LCD is a dot matrix liquid crystal display that displays alphanumeric characters and symbols. 16X2 LCD digital display has been used in the system to show the room temperature. Fig.2. Different Duty Cycles 4. Motor Driver- Motor driver IC is used to control motors through a microcontroller. L293D IC is used as a motor driver IC. It provides different logic to control the direction of the motor. It is assembled in a 16 pin lead plastic package, which has 4 center pins connected together. 4. POWER SUPPLY Five volts power supply w.r.t ground is needed for the operation of the microcontroller. Fig 4 shows the schematic of the power supply used by the microcontroller. 3. BLOCK DIAGRAM Fig.4. Power Supply Schematic Fig.3. Block Diagram The block diagram of the system has been shown in Fig 3.It consists of: 1. Crystal Oscillator- A crystal oscillator is an oscillator circuit, which uses the mechanical resonance of a vibrating to create an electrical signal with a very precise frequency. The crystal oscillator is used in the system to provide clock signal to the microcontroller. The power supply consists of a step down transformer which is used to convert 230 V, 50 Hz AC voltage to 12 V AC, 50 Hz. This 12 V AC voltage is given to the bridge rectifier, which converts it into 12 V dc. A voltage regulator 7805 is used to convert the 12 V dc into 5 V dc which is needed by the microcontroller. Capacitors are used for smoothening the output voltage. This five volts dc thus produced is given to the microcontroller for its operation. 5. CIRCUIT SIMULATION The simulation of the system has been done on Proteus Professional Software v8.0. PIC16F877A microcontroller based on Modified Harvard architecture is used in the system. Coding of the system has been done in Embedded C language. 16X2 LCD display has been used which is connected to PORT B of the microcontroller. The simulation of the circuit is shown in Fig 5: 36

Fig.5. Circuit Simulation 37

The temperature sensor senses the room temperature and it is displayed on the LCD. The speed of the fan is controlled by using PWM technique according to the room temperature. For processing analog signals, microcontroller has analog to digital converter which converts analog signals to digital ones. The temperature sensor LM 35 interfaced to the analog port acquires the room temperature and converts it into digital voltage signal. Fig 6 shows the relationship between digital voltage and the temperature. Fig.7. Temperature (in o C) vs Duty Cycle Variation of duty cycle with temperature (in Fahrenheit) has also been shown in Fig 8. The duty cycle is varied according to the room temperature and speed is controlled accordingly. Fig.6. Digital Voltage vs. Temperature (in Fahrenheit) The microcontroller used in this system has inbuilt PWM module which is used to control speed of the fan by varying the duty cycle. According to the readings from the temperature sensor duty cycle is varied automatically thus controlling fan speed. Table 1 shows the duty cycles varying with the temperature. Table 1: Duty cycle and Temperature Fig.8. Temperature (in o F) vs. Duty Cycle The medium speed corresponds to 50 percent duty cycle and very fast corresponds to 100 percent duty cycle. The variation of the duty cycle with temperature (in Celsius) is shown in the Fig 7. The fan is in full swing when the duty cycle is made 100 percent. 6. FLOWCHART OF THE SYSTEM The logical representation of the software code has been presented in the flowchart form. Fig 9 shows the flowchart of the logic implemented in the modeled system. The temperature is read from the temperature sensor and the condition is checked and the following processes are done: 1. When temperature is greater than zero and less than 10 degree Celsius, the fan speed is slow. 2. When temperature is greater than 10 and less than 20 degree Celsius, the fan speed is medium. 3. When temperature is greater than 20 and less than 30 degree Celsius, the fan speed is fast. 4. When temperature is greater than 30 and less than 40 degree Celsius, the fan speed is very fast. 5. When temperature is less than zero degree Celsius, the fan stops. 38

START READ TEMPERATURE TEMP<=20 TEMP<=10 TEMP>=0 TEMP<=30 TEMP<=40 SLOW MEDIUM VERY FAST FAST STOP END Fig.9. Flowchart of the System 7. RESULTS The speed of the fan has been controlled using PWM technique according to the room temperature. The simulation of the system has been done on Proteus Professional v 8.0 software packages and it is running in good agreement.the logic used in the system is verified and shown in the flowchart form. The duty cycle is varied according to room temperature and speed of the fan is controlled accordingly. The graphs 39

showing the relationship between duty cycle and the room temperature are plotted in MATLAB and accuracy of the system is validated. The design of the system presented in this paper is appropriate according to the modern technology. 8. CONCLUSIONS AND FUTURE SCOPE A novel design of speed control of fan based on room temperature using PWM technique is proposed in this paper. The simulation of the system is working properly and the design is appropriate according to the modern needs and technology. The speed of fan depends on the room temperature and there is no need for regulating the speed manually. Various graphs have been plotted to show the varying relationships between different parameters. PWM technique is found to be appropriate for controlling fan speed according to room temperature. This design can be further extended in terms of area and power at layout and characteristic level by using Advanced VLSI applications. 9. REFERENCES [1] Vaibhav Bhatia and Pawan Whig, A Secured Dual Tone Multifrequency Based Smart Elevator Control System," International Journal of Research in Engineering and Advanced Technology, Volume 1, Issue 4, Aug-Sept, 2013. [2] F. Luo, X. Zhao, and Y. Xu, "A new hybrid elevator group control system scheduling strategy based on particle swarm simulated annealing optimization algorithm", Intelligent Control and Automation (WCICA), 2010, pp. 5121-5124. [3] T.-H Hsu, J.-F. Liu, P.-N Yu, W.-S. Lee, and J.-S. Hsu, "Development of an automatic parking system for vehicle," in Proc. of the International Conference on the IEEE Vehicle Power and Propulsion, Sept. 3-5 Harbin, China, 2008, pp. 1-6. [4] I. Panagopoulos, C. Pavlatos and G. Papakonstantinou, "An Embedded Microprocessor for Intelligent Control," Journal of Intelligent and Robotic Systems. Springer Netherlands, vol. 42, 2005, pp. 179-211. [5] Md. M. Islam, F. H. Md. Rafi, A. F. Mitul and M. Ahmad, "Development of a Noninvasive Continuous Blood pressure Measurement and Monitoring system", Proceedings of the International conference on ICIEV, May- 2012,pp. 1085-1090. [6] S. Kwakyea and A. Baeumner An embedded system for portable electrochemical detection", Sens. Actuat. B, vol. 123, no. 1, 2007, pp.336-343. [7] L. J. Fu Remote control system using infrared technology based on PIC16F873 microcontroller", Electron. Technol., vol. 45, no. 10, 2008, pp.68-70. [8] B. Ismail, S. Taib, A. R. M. Saad, M. Isa and C. M. Hadzer, "Development of a Single Phase SPWM Microcontroller-Based Inverter", Proceedings of the Annual International Conference of the PECon, November 2006,pp. 437-440. [9] Xiaodong Xia, Based on Single Chip MicrocomputerRemote Wireless Control System Design. Coal Mine Machinery, vol. 32 (8), 2011, pp. 202-204. [10] T. R. F Fulford-Jones, W. Gu-Yeon, and M Welsh, "A portable, low power, wireless two-lead EKG system," Proceedings of the 26th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC-04), 1-5 Sept. 2004, pp.2141-2144. IJCA TM : www.ijcaonline.org 40