MOTOR SPEED CONTROLLER USING FUZZY LOGIC METHOD FOR PCB DRILLING OPERATION KHAIRUL AZMIL BIN ADZMI UNIVERSITI MALAYSIA PAHANG

Similar documents
PRODUCT DESIGN IMPROVEMENT USING DESIGN FOR MANUFACTURE AND ASSEMBLY (DFMA) METHODOLOGY

NURSYAHIDA ASHIKIN BINTI NOR IZLANIN

ARDUINO BASED SPWM THREE PHASE FULL BRIDGE INVERTER FOR VARIABLE SPEED DRIVE APPLICATION MUHAMAD AIMAN BIN MUHAMAD AZMI

ARDUINO BASED WATER LEVEL MONITOR- ING AND CONTROL VIA CAN BUS TUAN ABU BAKAR BIN TUAN ISMAIL UNIVERSITI MALAYSIA PAHANG

ARDUINO-BASED TEMPERATURE MONITOR- ING AND CONTROL VIA CAN BUS MOHAMMAD HUZAIFAH BIN CHE MANAF UNIVERSITI MALAYSIA PAHANG

Faculty of Mechanical Engineering UNIVERSITI MALAYSIA PAHANG

DEVELOPMENT OF REMOTELY OPERATED UNDERWATER VEHICLE AFIQ FIKRI BIN HAMID UNIVERSITI MALAYSIA PAHANG

STRESS DETECTION USING GALVANIC SKIN RESPONSE SHAHNAZ SAKINAH BINTI SHAIFUL BAHRI UNIVERSITI MALAYSIA PAHANG

DEVELOPMENT OF THREE PHASE INDUCTION MOTOR CONTROLLER AHMAD FAKHRUZZAMAN B M ZAWAWI. This report is submitted as partial fulfillment of the

SPEED CONTROL OF BUCK-CONVERTER DRIVEN DC MOTOR USING PD-TYPE FUZZY LOGIC CONTROLLER ZAKARIA BIN ABDUL RAHMAN

FINAL YEAR PROJECT REPORT TITLE: MODELING AND PSO-BASED LQR CONTROLLER DESIGN FOR COUPLED TANK SYSTEM FIONA SERINA DAUD B

BORANG PENGESAHAN STATUS TESIS

DETERMINATION OF LEAKAGE IN AN OIL AND GAS PIPELINE NOR AZIAN BINTI MOHIDEEN ABDUL KADIR

FABRICATION OF PERPETUAL MOTION WATER DRINKING TOY BIRD CHEE SAI HOW UNIVERSITI MALAYSIA PAHANG

VALVE CONDITION MONITORING BY USING ACOUSTIC EMISSION TECHNIQUE MOHD KHAIRUL NAJMIE BIN MOHD NOR BACHELOR OF ENGINEERING UNIVERSITI MALAYSIA PAHANG

Signature : NOR MANIHA BINTI ABDUL GHANI

Nur Athykah binti Basiran

DESIGN AND DEVELOPMENT OF SOLAR POWERED AERATION SYSTEM WU DANIEL UNIVERSITI MALAYSIA PAHANG

SLIDING MODE CONTROL FOR DC-AC CONVERTER POUYA IZADIFAR

DESIGN AND FABRICATE A FLEXIBLE TOILET HOSE WITH SPOOL ABDULLAH MUNZIR BIN ZUL SAFARUDDIN UNIVERSITI MALAYSIA PAHANG

SYSTEM IDENTIFICATION AND POSITION CONTROL OF PNEUMATIC ACTUATOR USING EMBEDDED SYSTEM TAHA MOHAMMED AHMED SADEQ

Signature. Supervisor :.. ~.~H-.~.~0~P..?.j.~H~~~.. ~.~.~ Date :...?./!!./~~ ~

18V TO 1000V BOOST CONVERTER BENNEDICT BALLY ANAK NAROK UNIVERSITI MALAYSIA PAHANG

FACULTY OF ELECTRICAL ENGINEERING UNIVERSITI TEKNIKAL MALAYSIA MELAKA FINAL YEAR PROJECT REPORT (FYP II)

CHARACTERIZATION OF LASER BEAM INTENSITY USED FOR MACHINING MOHD SYIMIR HAZIQ BIN NOOR ZAINAL

SPACE VECTOR MODULATION FOR FIVE-PHASE INDUCTION SPEED DRIVE CONTROL NORAZELINA BINTI KAMISMAN. of Bachelor in Electrical Engineering

OPTIMAL PROPORTIONAL INTEGRAL DERIVATIVE CONTROLLER FOR AUTOMATIC VOLTAGE REGULATOR SYSTEM USING PARTICLE SWARM OPTIMIZATION ALGORITHM

Experiment Of Speed Control for an Electric Trishaw Based on PID Control Algorithm

HOUMAN OMIDI. A project report submitted in partial fulfilment of the. Master of Engineering (Electrical-Power) Faculty of Electrical Engineering

PID CONTROL SYSTEM IMPLEMENTATION IN EMBEDDED SYSTEM FOR DC MOTOR SPEED CONTROL ARIFF BIN CHE MOHD NOOR

SPEED CONTROL OF DC MOTOR USING PID CONTROLLER IMPLEMENTATION WITH VISUAL BASIC NURUL IZZATI BINTI PANDAK JABO

MOHD ZUL-HILMI BIN MOHAMAD

HARMONIC MODELING IN POWER DISTRIBUTION SYSTEM USING TIME SERIES SIMULATION CHE KU FARHANA BINTI CHE KU AMRAN UNIVERSITI TEKNOLOGI MALAYSIA

OBJECT CLASSIFICATION USING DEEP LEARNING FONG SOON FEI

THERMAL ANALYSIS OF H.V INSULATION OIL DURING PARTIAL DISCHARGE DETECTION RASOOL ABDELFADIL GATEA UNIVERSITI TEKNOLOGI MALAYSIA

CARBON NANOTUBE FIELD-EFFECT TRANSISTOR FOR A LOW NOISE AMPLIFIER NGU KEK SIANG UNIVERSITI TEKNOLOGI MALAYSIA

NON-LINEAR WATER LEVEL FORECASTING OF DUNGUN RIVER USING HYBRIDIZATION OF BACKPROPAGATION NEURAL NETWORK AND GENETIC ALGORITHM SITI HAJAR BINTI ARBAIN

PRODUCTIVITY IMPROVEMENTS USING LEAN PRACTICES AT JAPANESE ELECTRICAL AND ELECTRONICS MANUFACTURING AFIF AIMADUDDIN BIN PARNON

SMART BOOST CONVERTER FOR DC ENERGY SOURCE APPLICATION MUNIRAH BT AYUB

WIRELEES VIBRATION MONITORING SYSTEM (WVMS) WONG YOON KHANG APRIL 2007

PWM PIC16F877A DIMMING ELECTRONIC BALLAST FOR HPS LAMP NATRA BINTI ISMAIL

MAZE SOLVING BALBOT SOON CHI WEI

GRAPHICS PROCESSING UNIT BASED PARALLEL COPY MOVE IMAGE FORGERY DETECTION SCHEME AHMAD UWAYS BIN ZULKURNAIN

COMPARISON BETWEEN PIEZOELECTRIC AND CAPACITIVE SENSORS FOR PD DETECTION AND SIGNAL MONITORING IN PALM OIL

PARTICLE SWARM OPTIMIZATION FOR MPPT : SIMULATION AND ANALYSIS NOOR DZULAIKHA BINTI DAUD UNIVERSITI TEKNOLOGI MALAYSIA

Eliakim Bin Che Yaacob

PERFORMANCE OF INVERSE RESPONSE PROCESS WITH VARIATION OF PROCESS PARAMETERS AND TUNING METHODS LOW YEOK CHAN

MESOPYME-IEMA SOFTWARE PROCESS EVALUATION MODEL FOR SMALL AND MEDIUM SOFTWARE INDUSTRIES IMRAN BASHA

BORANG PENGESAHAN STATUS TESIS

BTST THIN FILM SENSOR APPLICATION: HEAT INDICATOR NUR FAIZAH BINTI JAAFAR

PRODUCT DESIGN EVALUATION OF LUCAS HULL DFMA METHOD MOHD NAFIS BIN MOHAIZI

DESIGN A WIDEBAND LOW-NOISE AMPLIFIER FOR WIRELESS COMMUNICATION USING 0.35-µm CMOS TECHNOLOGY MOHD HAFIZ BIN ABU

EFFECTIVENESS OF SAFETY PROGRAMS IN MALAYSIAN CONSTRUCTION INDUSTRY JAIMEY ATTAU

INTELLIGENT HOME AUTOMATION SYSTEM (IHAS) WITH SECURITY PROTECTION NEO CHAN LOONG UNIVERSITI MALAYSIA PAHANG

PINEAPPLE DISTRIBUTION CLASSIFICATION USING RGB AND FUZZY EZRIN TASNIM BIN ABDUL GANI

STRUCTURE AND TUNING INTERNAL MODEL CONTROL FOR INTEGRATING PROCESS

SOFTWARE PROCESS FOR INTEGRATED PATTERN ORIENTED ANALYSIS AND DESIGN (POAD) AND COMPONENT ORIENTED PROGRAMMING (COP) ON EMBEDDED REAL-TIME SYSTEMS

FUZZY ACTIVE VIBRATION CONTROL FOR LATHE MACHINE MUHAMAD FAISAL EZUARIE BIN DRAMAN

SPDT SWITCH DESIGN USING SWITCHABLE RESONATOR AT 5GHZ FOR WIRELESS COMMUNICATIONS MOHD HAIDIL BIN ZURAIMI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

TRACKING PERFORMANCE OF A HOT AIR BLOWER SYSTEM USING PID CONTROLLER WITH PSO AND HARMONIC SEARCH ALGORITHM ANDY HENG POH SENG

UNIVERSITI TEKNIKAL MALAYSIA MELAKA

SYSTEM IDENTIFICATION AND INTELLIGENT CONTROL OF AUTOMOTIVE AIR CONDITIONING SYSTEM. MOHD FIRDAUS BIN MOHAMED

ELECTRONIC WAU CONTROLLER NOR HASYIMAH BINTI MAT ALI

DESIGN AND FABRICATE STORAGE CABINET FOR TURRET PUNCH TOOL MUHAMMAD AFIQ BIN AHMAD MUSTAZA

TO DESIGN AND FABRICATE A MOVABLE MULTIFUNCTION TABLE MOHAMAD ILME BIN AHMAD BAHRI. Report submitted in partial fulfillment of the requirements

STATIC AND DYNAMIC CONTROL OF NETWORK BASED ROTARY INVERTED PENDULUM SYSTEM ZAID BIN YAAKOB

PID IMPLEMENTATION OF UMP MINI AUTOMATION PLANT PART 1 - HEATING TANK LEE MING JIE

A DESIGN METHODOLOGY FOR A SELF-OSCILLATING ELECTRONIC BALLAST AMIRA BINTI MUSTAPA

POSITION TRACKING OF SLIDER CRANK MECHANISM BY USING PID CONTROLLER. MOHAMAD ZAHARUDIN BIN SARIMAN UNIVERSITI TEKNIKAL MALAYSIA MELAKA

ANALYSIS OF MARINE INCIDENTS IN MALAYSIA SURHAN JAMIL BIN HARON

A 10-BIT 50 MEGA-SAMPLES-PER-SECOND PIPELINED ANALOG-TO-DIGITAL CONVERTER YUZMAN BIN YUSOFF UNIVERSITI TEKNOLOGI MALAYSIA

THE PRE-SIZING APPROACH OF DC-DC CONVERTER AS THE APPLICATION TO DESIGN A BUCK CONVERTER FOR THE AUTOMOTIVE DOMAIN NOOR SUHADA BINTI AB RAZAK

WIRELESS POWER TRANSFER MONITORING. Ahmad Faiz Bin Ahmad Azahar Bachelor of Electrical Engineering. (Control, Instrumentation & Automation)

DIGITAL CODING SIMULATION USING MICRO-RING RESONATOR FOR LONG DISTANCE COMMUNICATION MASOUD RANJBAR. Universiti Teknologi Malaysia

DESIGN AND IMPLEMENTATION OF AN AUTONOMOUS SUMO ROBOT

MODELING, SIMULATION AND DESIGN OF AN IMPROVED HIGH POWER FACTOR BRIDGELESS SEPIC CONVERTER IZNI BINTI MUSTAFAR UNIVERSITI TEKNOLOGI MALAYSIA

OPTIMAL HEAT TRANSFER OF HEAT SINK DESIGN BASED ON ELECTRONIC PACKAGE THERMAL DISTRIBUTION USING COMSOL PACKAGE SOFTWARE

MITIGATING INTER-CARRIER INTERFERENCE IN ORTHOGONAL FREQUENCY DIVSION MULTIPLEXING SYSTEM USING SCALED ALPHA PULSE SHAPING TECHNIQUE

EXPERIMENTAL AND SIMULATION STUDY OF WIND TURBINE GRID CONNECTED NURUL IZZATI YUSOP

FREQUENCY RECONFIGURABLE ARCHIMEDEAN SPIRAL ANTENNA MASMURNI BINTI ABDUL RAHMAN

DEVELOPMENT OF AN AUTOMATED SELECTION SYSTEM FOR CUTTING TOOLS AND MACHINING PARAMETERS OF MILLING OPERATIONS

PERFORMANCE STUDY OF VIRTUAL FENCING USING WIRELESS SENSING NETWORK CHAN HUI TING UNIVERSITI TEKNOLOGI MALAYSIA

AMIRUL NUR RASHID BIN MOHAMAD AHYAT

FACULTY OF ELECTRICAL ENGINEERING UNIVERSITI TEKNIKAL MALAYSIA MELAKA FINAL YEAR PROJECT II PERFORMANCE ANALYSIS OF 100 W BOOST CONVERTER

SELECTION OF THE INDUSTRILIZED BUILDING MATERIAL SUPPLIER BY ANALYTIC HIERARCHY PROCESS METHOD MOHAMMAD YOUSEF MORAVVEJI

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FINAL YEAR PROJECT 2 BEKU 4894

COMPARATIVE EVALUATION OF EXISTING PRODUCT FOR ECO-DESIGN AHMAD ARIF FAHMI BIN TURIN B BMCD.

Mohd Hafizi Bin Ab Rahim

BORANG PENGESAHAN STATUS TESIS

MODELING OF IMAGE PROCESSING ALGORITHMS FOR HARDWARE-SOFTWARE CO-SIMULATION IBRAHIM ISA UNIVERSITI TEKNOLOGI MALAYSIA

THE DEVELOPMENT OF INTENSITY DURATION FREQUENCY CURVES FITTING CONSTANT AT KUANTAN RIVER BASIN

PATTERN AND FREQUENCY RECONFIGURABLE ANTENNA FOR WIRELESS APPLICATIONS DELPHINE ABIJURU. requirements for the award of the degree of

SURVEILLANCE ROBOT MUHAMMAD BUKHARI BIN KAMAROZAMAN

RESONANT CONTROL OF A FLEXIBLE MANIPULATOR SYSTEM

AN IMPROVED ACCURACY OF WEB SERVICE SELECTION BASED ON MULTI-CRITERIA DECISION MAKING AND WEB SERVICE MODELING ONTOLOGY

HIRZI BIN MOHD ISHAK UNIVERSITI TEKNOLOGI MALAYSIA

IMPROVING THE DOCUMENTATION OF USER S REQUIREMENTS FOR E-SERVICE SYSTEMS USING SERVICE RESPONSIBILITY TABLE IBRAHIM SALIHU ANKA

FIR FILTER FOR MAKHRAJ RECOGNITION SYSTEM AIMI NADIA AZMI

PSO-TUNED PID CONTROLLER FOR COUPLED-TANK SYSTEM (CTS) VIA PRIORITY-BASED FITNESS SCHEME

Supervisor s Name : Dr. Mohd Hendra Bin Hairi

Transcription:

MOTOR SPEED CONTROLLER USING FUZZY LOGIC METHOD FOR PCB DRILLING OPERATION KHAIRUL AZMIL BIN ADZMI UNIVERSITI MALAYSIA PAHANG

MOTOR SPEED CONTROLLER USING FUZZY LOGIC METHOD FOR PCB DRILLING OPERATION KHAIRUL AZMIL BIN ADZMI A report submitted in partial fulfilment of the requirements for the award of the degree of Bachelor of Mechanical Engineering Faculty of Mechanical Engineering UNIVERSITI MALAYSIA PAHANG NOVEMBER 2008

We hereby declare that we have checked this project and in our opinion this project is satisfactory in terms of scope and quality for the award of the degree of Bachelor of Mechanical Engineering Signature :... Name of Supervisor : PROF. MADYA DR. WAN AZHAR BIN WAN YUSOFF Position : Deputy Dean of Faculty of Manufacturing Engineering and Technology Management Date : 4 November 2008 Signature :... Name of Panel Position : FADZIL FAISAE BIN AB. RASHID : Lecturer Date : 4 November 2008

I hereby declare that this thesis entitled Motor Speed Controller using Fuzzy Logic Method for PCB Drilling Operation is the result of my own research and observation except quotations and summaries which have been duly acknowledged. The thesis has not been accepted for any degree and is not concurrently submitted for award of other degree. Signature :... Name : KHAIRUL AZMIL BIN ADZMI ID Number : 861219-56-6493 Date : 4 November 2008

For my love Puteri Emme Marina, Family, Lecturers and Friends

ACKNOWLEDGEMENT I am grateful and would like to express my sincere gratitude to my supervisor Professor Madya Dr. Wan Azhar bin Wan Yusoff for his germinal ideas, invaluable guidance, encouragement and constant support in making this research possible. He has always impressed me with his outstanding professional conduct, his strong encouragement that he gave me. Without all his guidance and knowledge this project may not complete on time. I also would like to give a gratitude to my university and also Mechanical Engineering Faculty for giving me an opportunity to do this project. In this project I have learn many new knowledge and experience. Not to forget to the University Malaysia Pahang for their entire relevant source that I use for this project I also would like to give very special thanks to my family for their guidance, love, dream and sacrifice throughout my life. I am also wanted to give very special thanks to my love one for giving me the never ending support for me to finish this project. I am also grateful with my friends that never stop in helping me to complete this project. Thank you for all the support. Last but not least, i would like to thanks to all people that involve indirectly with this project. I hope this project can give a lot of benefit to the people and make new world a better place to live.

ABSTRACT This thesis is generally about how the mechanical system reacts when a load is given or friction is happen to touch the mechanical system. Every mechanical system will always be affected when there is a disturbance. Drilling operation is one of the common operations in the industry. When the drilling operation works, there must be a friction occurs when the work is done. Thus, there will be lack of performance for the drilling machine. The lack of the performance of the drilling machine will lead to the speed of the machine that will decrease slightly. That is the main part of this project. To make the performance of the drilling machine maintain, the speed must be increase as soon the friction is given to the drilling machine. To solve the problem, the Fuzzy Logic Method is use in this project. Using Fuzzy Logic Method, new equation will be finding and use it for this project. From the method, the speed of the motor will increase when the drilling operation is given a friction. There will be feedback for the error that the sensors detect from the drilling machine. The feedback will calculate the error and from the calculation the new increasing voltage will be determined. For the conclusion, the method is trying to find the new voltage for the drilling machine to maintain the speed of the machine. From the fact, we know that when the voltage in increase, the speed will also increase. Thus, the performance of the drilling machine will become more efficient.

ABSTRAK Tesis ini secara menyeluruh menceritakan mengenai bagaimana system mekanikal bertindak apabila beban atau daya geseran dikenakan pada sistem mekanikal. Setiap mekanikal sistem sentiasa akan terdedah dengan ganguan. Operasi mengerudi adalah salah satu operasi yang banyak di dalam industri kita. Apabila operasi mengerudi dijalankan, geseran pasti akan berlaku apabila kerja sedang dilakukan. Oleh itu, kebolehan mesin gerudi akan berkurang. Kebolehan mesin gerudi akan menyebabkan kelajuan mesin tersebut berkurang. Ini adalah bahagian paling penting dalam projek ini. Untuk meningkatkan kebolehan mesin gerudi. Kelajuan mesin gerudi mesti ditingkatkan apabila geseran dikenakan pada mesin gerudi. Untuk menyelesaikan masalah ini, Fuzzy Logic akan digunakan dalam projek ini. Menggunakan Fuzzy Logic, persamaan baru akan diwujudkan dan akan digunakan dalam projek ini. Daripada Fuzzy Logic, kelajuan motor akan meningkat apabila operasi mengerudi dikenakan geseran. Tindak balas akan berlaku apabila bacaan yang dikesan oleh pengesan mengenal pasti sedikit perbezaan dalam bacaan. Tindak balas tersebut akan mengira perbezaan tersebut dan daripada pengiraan tersebut, voltan baru akan dikenal pasti. Untuk kesimpulan, Fuzzy Logic akan cuba mengira voltan baru untuk mesin gerudi mengekalkan kelajuan asalnya. Daripada fakta, kita mengetahui bahawa apabila voltan dinaikkan, kelajuan turut akan ditingkatkan. Ini boleh menyebabkan kebolehan mesin gerudi turut meningkat.

TABLE OF CONTENTS Page SUPERVISOR S DECLARATION STUDENT S DECLARATION ACKNOWLEDGEMENTS ABSTRACT ABSTRAK TABLE OF CONTENTS LIST OF FIGURES LIST OF SYMBOLS LIST OF APPENDICES i ii iv v vi vii xi xiii xv CHAPTER 1 INTRODUCTION 1.1 Project Motivation 1 1.2 Project Background 2 1.3 Project Problem Statement 3 1.4 Project Objective 4 1.5 Project Scope 4 1.6 Project Report Organization 5

CHAPTER 2 LITERATURE REVIEW 2.1 Drilling Operation 6 2.2 Feedback Control System 8 2.2.1 Sampled Data System 8 2.2.2 Phased Locked Control 9 2.3 Speed Controller 9 2.4 Type of Controller 10 2.4.1 Digital PID controller 2.4.2 Design of PID like Fuzzy Controllers 10 11 2.5 Driver Amplifier 11 2.5.1 Linear Amplifier 2.5.2 Pulse Width Modulation 11 11 2.6 Motors 12 2.6.1 DC motor 2.6.2 AC motor 13 16 2.7 Sensors 16 2.7.1 Tachometer 2.7.2 Encoder 17 17

2.8 Fuzzy Controller Design 18 2.8.1 Fuzzy Logic Control 2.8.2 Fuzzy Rules 2.8.3 Fuzzification 2.8.4 Defuzzification 18 19 19 20 CHAPTER 3 METHODOLOGY 3.1 Introduction 21 3.1.1 Methodology Flowchart 22 3.2 Building the Digital Circuit 23 3.3 Creating the Program for the Motor Speed Controller 23 3.4 Find the Mathematical Model for Fuzzy Logic Method 24 3.5 Fuzzy Logic Tuning 27 3.6 The system performance of the Fuzzy Logic method with the PCB drilling operation 28 CHAPTER 4 RESULTS AND DISCUSSION 4.1 Introduction 29 4.2 Building the Digital Circuit 29 4.2.1 The Programmable Integrated Circuit (PIC) 30

4.2.2 The Digital to Analog Converter (DAC) 34 4.2.3 Operational Amplifier 36 4.2.4 Transistor 38 4.2.5 The Encoder and Light Sensors 39 4.2.6 The multichannel RS232 driver 41 4.3 The Digital C Program 43 4.4 The Mathematical Model for Fuzzy Logic 47 CHAPTER 5 CONCLUSION AND RECOMMENDATIONS 5.1 Conclusions 53 5.2 Recommendations 55 REFERENCES 56 APPENDICES A B 58 59

LIST OF FIGURES Figure No. Page 2.1 Drilling Operation 7 7 2.2 PCB Drilling 7 2.3 Velocity Control system with feedback 8 2.4 Motor Speed Controller Phased Locked Loop 9 2.5 Typical PWM signal 12 2.6 DC Motor 13 2.7 Assemble Part of DC Motor 13 2.8 Relationship between Speed and Voltage 14 2.9 Equivalent Circuit of a Permanent Magnet DC Motor 16 2.10 Encoder Diagram 18 2.11 Block Diagram of a typical Fuzzy Logic Controller 19 3.1 Fuzzy Logic first model 25 3.2 Fuzzy Logic second model 25 3.3 Fuzzy Logic third model 26 3.4 Fuzzy Logic fourth model 26 3.5 Example Model when there is Friction 27 4.1 PIC Circuit 32 4.2 Digital to Analog Converter 35 4.3 Operational Amplifier 37 4.4 Transistor 38 4.5 Encoder Light Sensors 39

4.6 Encoder and Light Sensors Diagram 40 4.7 RS232 Computer Cable 41 4.8 Multichannel RS232 Driver 42 4.9 Downloader 44 4.10 Mechanical Part 44 4.11 Fully Digital Circuit 45 4.12 Power Supply 45 4.13 Flow Chart for the Digital C Program 46 4.14 Fuzzy Logic Model 48 4.15 Basic Model of Fuzzy Logic 49 4.16 Basic Model of Fuzzy Logic for Voltage 49 4.17 Graph Frequency vs cycle at 6V 50 4.18 Graph Frequency vs cycle at 7V 51 4.19 Graph Frequency vs cycle at 8V 51 4.20 Graph Frequency vs cycle when Drilling process 52

LIST OF SYMBOLS π - pi ω - Rotational Speed in rad/s ω m - Shaft Velocity of the Motor φ - Magnetic Flux AC motor - Alternate Current motor D - Diameter D - Duty Cycle DAC - Digital to Analog DC motor - Direct Current motor e b - Back EMF F - Feed I a - Armature Current i a - Armature Current K e - Voltage Constant K m - Proportional Constant MRR - Material Removal Rate N - Rotational Speed in RPM PCB - Printed Circuit Board PD - Proportional Derivatives PI - Proportional Integral PV - Process Variable PIC - Programmable Integrated Circuit

PID - Proportional Integral Derivatives PWM - Pulse Width Modulation R - Armature Resistance RPM - Revolution Per Minute RTCC - Real Time Clock Counter SP - Set Point T - Torque T - Overall Pulse Length T m - Motor Torque T pulse - On Pulse length V - Applied Voltage

LIST OF APPENDICES APPENDIX PAGE A Digital Circuit 58 B C Program for Fuzzy Logic 59 C Gantt chart for Final Year Project 1 62 D Gantt chart for Final Year Project 2 63

CHAPTER 1 INTRODUCTION 1.1 PROJECT MOTIVATION Drilling Machines is used to make a hole and it is widely used in industry. Other processes for producing holes are punching and various advanced machining processes. The cost of holes making is one of the highest machining costs. There are several types of drilling which are gun drilling, twist drill, and trepanning. The most common drill is the conventional twist drill. Many products used drilling as their major processes. Without drilling operation, the work cannot be done successfully. Drilling operation has been used in many sectors of industries such as automotive, piping, major industries also minor industries. The importance of drilling is increase by time because of the modern world and the used of high speed product in our life. Drilling operation also used in electronic industries. One of the examples is to produce a hole on a circuit board. Even as tiny as a ants, it also need to use drilling operation. That show us how important is drilling operation. Motor is a device that converts electrical energy to mechanical energy. Most of our activities will use motor to reduce the usage of human energy. This will reduce human responsible in daily life, not like the old days that many used human energy to produce works. There are two types of motor that are DC motor and AC motor.

Motor speed controller is used to maintain the speed, increase or decrease the speed. It can give use our demanded speed. It used sensors to detect the right speed. This device is important to the society. The sensor detects the problem and recover it automatically without human command at that time but it is already calculated it the programming. The scope of motor speed controller is very wide, such as in domestic applications, office equipments, medical equipments, commercial applications, industrial applications, vehicle applications and many more. 1.2 PROJECT BACKGROUND In drilling operation, there is many error can occur if the step to use drilling machine is not followed. The friction that occurs between the drill and workpiece will reduce the speed of the motor. When the speed is reduce, the performance of the drilling machine will also decrease and it will operate less efficient. This will affect to the workpiece. To avoid it, the rpm of the motor must be increase. To increase the speed, the voltage also must be increase. Increase in voltage will increase the speed. To control the speed to the demanded speed or maintain the speed, Proportional integral derivatives (PID) controller can be use in the drilling machines. PID controller is the combination of PD controller and PI controller. PD controller can add damping to a system, but the steady state response is not affected while PI controller can improve the relative stability and improve the steady state error also but the rise time is increased. To increase the voltage, the driver amplifier can be use in the drilling machine. Amplifier will make the input resistance is higher than output resistance. When the ratio of input over output resistance is high, the voltage will also increase (Ryan Sherry, 1995; Hulick T.P., 1989). There are 2 types of motor which are DC motor and AC motor. There are several type of DC motor such as permanent magnet DC motor, separately excited DC motor and series DC motor. Permanent magnet DC motor will be used in this project. The magnetic field of a permanent magnet DC motor will collide with electromagnetic field

and produce a rotation of the motor. This motor will make the drilling rotates and the higher voltage means the increasing in speed of the rotation (Germanton et al, 1999). To detect whether the speed is reduce or not, the sensor can be use in this project. The sensors that will be use are encoder. Incremental encoders are used for converting linear or rotary displacement into digital coded or pulse signals (Benjamin C. Kuo, 1995). When the signal is receive, it will go back to the speed controller, amplifier and permanent magnet DC motor. This is to increase the voltage and to achieve to the demanded speed. Fuzzy logic will be use as the method to solve the problem. Fuzzy logic will be applied in the speed controller. A programming code will be created in the system. In this project, an efficient and reliable DC motor will be build based on Fuzzy logic method to control the speed of the DC motor in the drilling machine. 1.3 PROJECT PROBLEM STATEMENT The problem in this project is the decreasing speed of the drilling machine. Reducing in speed will affect the performance of the drilling machines. The performance of the machines also will affect the efficiency of the machine. This phenomenon occurs when there is friction between the drill and the workpiece. When the speed is reduces, means the RPM of the drills is reduces. When the RPM is reduces, the material removal rate also will reduce. Means, this also will affect to the power of the drill. Thus, the torque of the drill also will be decrease (Serope Kalpakjian, 2001). The excellent drilling operations happen when the speed of the drill is maintain. Means, the rpm of the drill must be increase to the demanded speed. To increase the speed, the voltage of the motor also must be increase. The problem will be detected by the sensors and when the sensors sense the decreasing of the speed, amplifier will increase the voltage of the motor (Germanton et al, 1999). Thus, it will also increase the

speed of the drill. This process required programming code to go through with the process. The problem for this project is to correct the speed of the motor and it will be solve by using fuzzy logic method. 1.4 PROJECT OBJECTIVES The project research objectives are:- i. To build the circuit of motor speed controller. ii. iii. iv. To make a programming code for fuzzy logic method. To make sure the PCB drilling works accurately. To maintain the speed of drilling machine. 1.5 Project Scope The project research scopes are listed as below:- i. The motor speed controller is only an experimental and not readily use for commercial product. ii. iii. iv. The motor speed controller can be use only for PCB drilling Permanent magnet DC motor is the only type of motor will be used in this model The parameter that will be considered is only the frequency of the motor v. Sensors that will be use is encoder

1.6 PROJECT REPORT ORGANIZATION The rest of the reports are organized as follows: Chapter 2: literature review and background knowledge of motor speed controller and fuzzy logic method. Explain briefly about the methods on how to use fuzzy logic. Find the easiest way to find the solution using fuzzy logic method. The project will be discussed about the advantage and disadvantage of using fuzzy logic method at motor speed controller. Chapter 3: Design and Methodology of the motor speed controller will be built in the simplest design and using the simplest equation to make the product is working perfectly. Finally all the components will be assemble and ready to use for the presentation. Chapter 4: Results will be taken twice and are presented Chapter 5: Project Conclusion and the recommendation will be added and the device will be improved from time to time for the future project works. All the recommendation will be presented.

CHAPTER 2 LITERATURE REVIEW 2.1 DRILLING OPERATION Hole making is one of the most important process in manufacturing (Serope Kalpakjian, 2001). One of the methods to make a hole is by drilling operation (Osawa et al, 2005). Drills basically have high length to diameter ratios, thus they are capable to produce a deep holes (Serope Kalpakjian, 2001). However, the friction will occur when the drills touches the surface of the work piece (Serope Kalpakjian, 2001). This situation will make the rpm of the motor decreasing and this will make the hole making less accurate as it should be from theoretically. There are several type of drilling which are gun drilling, twist drill, and trepanning. Material removal rate (MRR) in drilling is the volume of material removed per unit time. Below is the equation for MRR; MRR = (π*d 2 /4)FN Where, D = diameter of the drill F= feed (the distance the drill penetrates per unit revolution) N = rotational speed in rpm From MRR equation, reduce in speed will reduce the value of MRR. This will make the performance of the drill less efficient and power. To make the drilling operation increase, the rpm of the drill must be increase. We can see the lack of power

using power equation. Below is the equation to calculate power required for drilling machines; Power = MRR * specific energy Furthermore, speed also affect on the torque of the drill. Below is the equation to calculate the torque of the drill; T = power/ω Where, ω = rotational speed in rad/s (speed of one rotational per unit time) Figure 2.1: Drilling operation (http://www.electricstuff.co.uk/drill.jpg) Figure 2.2: PCB drilling (http://www.techsoftuk.co.uk/pcb_drilling.jpg)