DESIGN AND CONSTRUCTION OF A SPEED CONTROL OF A DC FAN USING A FUZZY CONTROLLER
INTRODUCTION1.1 BACKGROUND STUDY1.2 STATEMENT OF PROBLEM1.3 AIM AND OBJECTIVES OF WORK1.4 SIGNIFICANT OF WORK1.5 SCOPE OF WORK
CHAPTER 2LITERATURE REVIEW2.1 Temperature2.2 Fuzzy logic2.3 TWO APPROACHES OF CONTROL SYSTEM2.4 FUZZIFICATION AND DEFUZZIFICATION METHODS2.5 Review of past works
CHAPTER 3METHODOLOGY AND DESIGN ANALYSIS3.1 METHODOLOGY3.1.1 Fuzzification:3.1.2 RULES AND INFERENCE ENGINE:3.1.3 DEFUZZIFICATION:3.2 SYSTEM DESIGN AND ANALYSIS3.2.1 DESIGN ANALYSIS OF THE POWER SUPPLY UNIT188.8.131.52 MAINS INPUT:184.108.40.206 TRANSFORMER:220.127.116.11 BRIDGE RECTIFIER18.104.22.168 FILTER CIRCUIT.2.1.5 VOLTAGE REGULATOR3.2.2 Design analysis of the processing unit3.2.3 DESIGN ANALYSIS OF THE SENSORY UNIT3.2.4 DESIGN ANALYSIS OF THE LCD UNIT3.2.5 DESIGN ANALYSIS OF THE FAN UNIT3.2.6 DESIGN ANALYSIS OF THE BULB (HEATER) UNIT.3 REVIEW OF MATERIALS USED3.3.1 Temperature sensor(LM 35):3.3.2 Analog to digital converter (ADC0804)3.3.3 AT89C52 MICROCONTROLLER:3.3.4 LIQUID CRYSTAL DISPLAY:3.3.5 ULN2004 DRIVER:3.3.6 CAPACITORS:22.214.171.124 Working principle of capacitors:3.3.7 RESISTORS126.96.36.199 Colour coding of a resistor 3.3.8 L239D MOTOR DRIVER IC188.8.131.52Working principle 184.108.40.206 VOLTAGE SPECIFICATION3.3.9 RELAY3.3.10 Diode3.3.11 CRYSTAL OSCILLATOR3.4 MODE OF OPERATION3.5 CALCULATIONS3.5.1 POWER CIRCUIT CALCULATION3.5.2 Calculations for the filter circuit3.5.3 Calculation for Microcontroller circuit3.5.4 Calculation for the lamp circuit3.6 SOFTWARE DESIGN3.6.1 DESIGN OF THE FUZZY ALGORITHM220.127.116.11 Implementation of the fuzzy algorithmFUZZIFICATION:Input variables:Deviation from current temperature:Output variables:FAN speed: Heater:RULE BASE:DefuzzificationFLOWCHART OF THE CONTROL PROCESSCIRCUIT DIAGRAM
CHAPTER 4CONSTRUCTION, TESTING, AND RESULT4.1 IMPLEMENTATION ON VERO BOARD4.1.1IMPLEMENTATION OF THE PROCESSING UNIT4.1.2IMPLEMENTATION OF THE DISPLAY UNIT4.1.3IMPLEMENTATION OF THE SENSORY UNIT4.1.4IMPLEMENTATION OF THE POWER SUPPLY CIRCUIT4.1.5IMPLEMENTATION OF THE HEATER LOAD UNIT4.1.6IMPLEMENTATION OF THE FAN LOAD UNIT 4.2 TESTING4.2.1 CONTINUITY TEST:4.2.2SHORT CIRCUIT TEST:4.2.3 OPEN CIRCUIT TEST:4.2.4 OPERATIONAL TEST:4.2.5 PROGRAM CODE TEST:4.3RESULT AND DISCUSSION4.3.1 OPEN CIRCUIT FAULT:4.3.2 SHORT CIRCUIT FAULT:4.4 BILLS FOR ENGINEERING MEASUREMENT AND EVALUATION
CHAPTER 5CONCLUSION AND RECOMMENDATION5.1 CONCLUSION5.2 PROBLEMS ENCOUNTERED5.3 RECOMMENDATIONREFERENCES
CHAPTER 1 INTRODUCTION
1.1 BACKGROUND STUDY
Temperature Control cuts through a variety of Industrial and domestic processes such as temperature-controlled heat exchangers, baths, green houses, incubators. A DC motor may be used as Fan in accomplishing temperature control. An Electric Fan is basically a device which comprises of three blades at 120 degrees mounted on the DC motor spindle. An electric fan circulates the air around its environment while an air-conditioning system changes the temperature of the air in it environment. Many system used in our daily life which require controlling are non-linear in nature; hence, a detailed system dynamics is difficult to represent mathematically. Temperature control is stochastic and a slowly changing process that requires heuristic-based control. Many authors have proposed a Fuzzy Logic Inference System in dealing with temperature control. In households during summer which is analogous to dry season in West Africa, Air conditioners are responsible for 60-70% of summer electricity bill. A window air-conditioning unit uses 500 to 1440 watts, while a 2.5-ton central system uses 3500 watts. However, an electric fan uses only 90 watts, depending upon the speed and size (Ali Newaz Bahar et al, 2012). An electric fan is a device that on the long run will on the one hand help in keeping us cool in summer and on the other hand help in saving money as well as protecting the environment by limiting the release of Carbon-monoxide (Lakshya Kumar et al, 2015).
In this project, a Fuzzy logic controller design is proposed for deployment of the process variable due to the fact that temperature is a slowly changing variable. Hence, for precision control of a stochastic process variable Fuzzy logic-based control suffices. While all the regularly used systems are defined by mathematical equations. The temperature of the metal plate decides the amount of current that can pass through it. Temperature of the metal plate is measured with the help of temperature sensors (Lakshya Kumar et al, 2015). The amount of energy supplied to the fan is to be controlled by SVM or PWM technique.
The human brain has an unpredictable way of reasoning and thus has a high adaptive approach with recourse to control. It does not reason as computers do. Computers reason in a clear statement that uses true or false (0 or 1) - an element is either a number of a given set or it is not. There are many complex systems which do not fit into the precise categories of conventional set theory. This is because of the fact that there is no way to define a precise threshold to represent their complex boundary, and as such their control system is complex. Fuzzy logic was developed owing to this imprecise nature of solving control problems by computer. In a fuzzy logic-based system, a variable can take any truth value from a close set [0, 1] of real numbers thus generalizing Boolean truth values . But the fuzzy facts are true only to some degrees between 0 and 1, and they are false to some degrees (Isizoh A. N., et al, 2012). The Fuzzy inference is based on Human heuristic reasoning pattern. But computers cannot do so because its logic is based on approximate reasoning in a more familiar Boolean forms of logic used in conventional set theory. Fuzzy logic allows the use of labels like “slightly”, “moderately”, medium, and “very” so that statements may be made with varying degree of precision. This flexibility is useful in coping with the imprecision of real-world situations such as designing precision environmental control systems. In a broad sense, fuzzy logic refers to fuzzy sets - a set with non-sharp boundaries. Fuzzy logic is widely used in machine controls, as it allows for a generalization of conventional logic and provides for terms between “true” and “false”, like “almost true” or partially false”. This makes the logic not to be directly processed on computers but must be emulated by special codes. A fuzzy logic-based design control system offers flexibility in system design and implementation, since its implementation uses “if-then” logic instead of sophisticated differential equations. It’s technology that provides room for graphical user interface, which makes it understandable by people who do not have process control backgrounds. Another key significance of a fuzzy logic-based control design is the ability to automatically and smoothly adjust the priorities of a number of controlled variables. Finally, it helps to achieve a process that is stable for a long period of time without a need for intervention. However, because of the rule-based operation of fuzzy systems, any reasonable number of inputs can be processed and numerous outputs generated; although defining the rule-base quickly becomes complex if too many inputs and outputs are chosen for a single implementation, since rules defining their inter-relations must also be defined. There are countless applications of fuzzy logic. In fact many researchers still claim that fuzzy logic is an encompassing theory over all types of logic .Fuzzy logic can control non-linear systems that would be difficult or impossible to model mathematically. This opens the door for a control system that would normally be deemed unfeasible for automation. There are many approaches to implement fuzzy logic systems; they can be software only, hardware only or the combination of software and hardware. In recent years, fuzzy logic has been implemented using several technologies to solve real-world problems such as image processing, robotics/motion control, pattern recognition, fuzzy database and industrial engineering applications. Fuzzy logic is also spreading applications in the field of telecommunications, particularly in broad band integrated networks, based on ATM Technology.
1.2 STATEMENT OF PROBLEM
The control modes used varies like ON/OFF control, the linear predictive control (LPC) and PID control system.
The ON/OFF system regulator is not accurate enough. This control mode is the simplest form of control Low accuracy and quality leads the system to become unstable due to mismatch error generated by inaccurate time delay parameter used in the model. Transient and overshoot are present when the controller is used to control the cooling system because it exceeded the required control for certain period.
Figure 1: Block diagram of an ON/OFF system for temperature control system
The linear predictive control is capable of controlling the indoor temperature within the required limits most of the time but not all the time, the linear predictive control in the relative short prediction periods are used which do not cause any problem, but it is obvious that with larger prediction periods more computing time is necessary and the linear programming problems require more memory.
Figure 2: optimal predictive control system for temperature control
The proportional integral derivative (PID) controller structure is mostly widely used thanks to its structural simplicity and applicability in solving practical control problems but is not however almighty in many cases, it provide disturbance ,this disturbance is unknown ,making it difficult to attenuate.
Figure 3: Block diagram of a PID controller
Traditional proportional integral derivative (PID) controller sometimes doesn’t satisfy the control purpose for the object which has larger inertia delays and non- linear characteristics and uncertain disturbances factors like the tall and big space, because of the dissatisfaction of the tuning parameter, the effect of dissatisfying performance and the adaptability to a different medium.
But the used PD controller is better than PID control because the strictly limit and the overshoot and easy deals gives us good result than PID control.
So in this project, we choose to use fuzzy logic control (FLC) because the fuzzy logic control provides good performance without transient and overshoot and the use of appropriate automatic control strategies such as fuzzy control system is based on the operational experience of human expert, the system is robust to changes in the environment.
Figure 4: Block diagram of fuzzy logic controller
The main advantage of fuzzy logic controller as compared to conventional control approaches resides in the fact that no mathematical modeling is required for the design of the controller. Fuzzy controllers are designed on the basis of the human knowledge of the system's behavior.in addition the controllers that directly regulate humans thermal comfort have advantages over the thermostatic controller. The main advantages are increased comfort and energy saving.
1.3 AIM AND OBJECTIVES OF WORK
The aim of the project is to control the speed of a DC fan using a fuzzy controller based on variation in temperature, to achieve good response during changes in load demand, self- tuning fuzzy controller is designed to reduce overshoot, undershoot during command speed variations and transient.
The objectives of this project are:
To develop a cooling ventilation system integrated with speed controller based on temperature sensor. To improve the cooling system in a room using fan rather than using air conditioner associated with sustainability and environmental friendly using fuzzy control logic To design a controller using MAT-LAB Fuzzy Logic tool box To evaluate the performance of the controller for both the experimental and Simulated model
1.4 SIGNIFICANT OF WORK
The needs for the design of an automatic room temperature control fan are as follows:
It helps in controlling fluctuating room temperature by adjusting Fan to achieve the desired set point. It eliminates the need for human intervention as opposed to constant watching on the device by set controlling the temperature of the system It overcomes the disadvantages of thermostatic analogue system in terms of accuracy. It is used where it is important to maintain a precise temperature. It overcome the limitation of conventional control that how to be operated by physically going near them and switch on the button. The designed controller may be deployed for other slowly changing controlled process variables.
1.5 SCOPE OF WORK
The project scopes relate to
Development of model house included the dimension and high ceiling using solid work Design and Construction of the Prototype Simulation of the process using MAT LAB AND PROTEUS Microcontroller programing of Fuzzy logic Inference Construction and Soldering of the Temperature Control Circuitry (e.g Power Supply based SVM or PWM ).