Simulation of Temperature Controller for an Injection Mould Machine using Fuzzy Logic

Similar documents
Resistance Furnace Temperature Control System Based on OPC and MATLAB

Digital Control of MS-150 Modular Position Servo System

Load Frequency Control of Multi Area Hybrid Power System Using Intelligent Controller Based on Fuzzy Logic

Development of a Fuzzy Logic Controller for Industrial Conveyor Systems

Performance Analysis of Fuzzy Logic And PID Controller for PM DC Motor Drive Khalid Al-Mutib 1, N. M. Adamali Shah 2, Ebrahim Mattar 3

Fuzzy Adapting PID Based Boiler Drum Water Level Controller

Design of an Intelligent Pressure Control System Based on the Fuzzy Self-tuning PID Controller

CONTROLLER DESIGN ON ARX MODEL OF ELECTRO-HYDRAULIC ACTUATOR

Study on Synchronous Generator Excitation Control Based on FLC

1. Governor with dynamics: Gg(s)= 1 2. Turbine with dynamics: Gt(s) = 1 3. Load and machine with dynamics: Gp(s) = 1

FUZZY LOGIC CONTROL FOR NON-LINEAR MODEL OF THE BALL AND BEAM SYSTEM

CHAPTER 6 NEURO-FUZZY CONTROL OF TWO-STAGE KY BOOST CONVERTER

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: 1.852

Control Of Three Phase BLDC Motor Using Fuzzy Logic Controller Anjali. A. R M-Tech in Powerelectronics & Drives,Calicut University

ISSN Vol.04,Issue.06, June-2016, Pages:

Fuzzy Logic Controller on DC/DC Boost Converter

Modeling and simulation of feed system design of CNC machine tool based on. Matlab/simulink

INTEGRATED PID BASED INTELLIGENT CONTROL FOR THREE TANK SYSTEM

Review Paper on Comparison of various PID Controllers Tuning Methodologies for Heat Exchanger Model

ADJUSTMENT OF PARAMETERS OF PID CONTROLLER USING FUZZY TOOL FOR SPEED CONTROL OF DC MOTOR

Design of Different Controller for Cruise Control System

is the angular velocity (speed) and friction in rotor of motor is very small (can be neglected) so Bm = 0.

International Journal of Multidisciplinary Research and Modern Education (IJMRME) ISSN (Online): (

VARIABLE STRUCTURE CONTROL DESIGN OF PROCESS PLANT BASED ON SLIDING MODE APPROACH

ANFIS-based Indoor Location Awareness System for the Position Monitoring of Patients

Performance Analysis of Boost Converter Using Fuzzy Logic and PID Controller

Comparative Analysis Between Fuzzy and PID Control for Load Frequency Controlled Power

Comparative Analysis of Room Temperature Controller Using Fuzzy Logic & PID

FUZZY AND NEURO-FUZZY MODELLING AND CONTROL OF NONLINEAR SYSTEMS

Study and Simulation for Fuzzy PID Temperature Control System based on ARM Guiling Fan1, a and Ying Liu1, b

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

1, 2, 3,

PID Controller Design for Two Tanks Liquid Level Control System using Matlab

Simulation of Optimal Speed Control for a DC Motor Using Conventional PID Controller and Fuzzy Logic Controller

Intelligent Fuzzy-PID Hybrid Control for Temperature of NH3 in Atomization Furnace

Speed control of a DC motor using Controllers

Md. Aftab Alam, Dr. Ramjee Parsad Gupta IJSRE Volume 4 Issue 7 July 2016 Page 5537

Range Free Localization of Wireless Sensor Networks Based on Sugeno Fuzzy Inference

CHAPTER 6 ANFIS BASED NEURO-FUZZY CONTROLLER

Simulationusing Matlab Rules in Neuro-fuzzy Controller Based Washing Machine

Control Applications Using Computational Intelligence Methodologies

VECTOR CONTROL SCHEME FOR INDUCTION MOTOR WITH DIFFERENT CONTROLLERS FOR NEGLECTING THE END EFFECTS IN HEV APPLICATIONS

Replacing Fuzzy Systems with Neural Networks

High Frequency Soft Switching Boost Converter with Fuzzy Logic Controller

DC Motor Speed Control: A Case between PID Controller and Fuzzy Logic Controller

IJITKM Special Issue (ICFTEM-2014) May 2014 pp (ISSN )

Fuzzy Controller Algorithm for 3D Printer Heaters

TWO AREA CONTROL OF AGC USING PI & PID CONTROL BY FUZZY LOGIC

TO MINIMIZE CURRENT DISTRIBUTION ERROR (CDE) IN PARALLEL OF NON IDENTIC DC-DC CONVERTERS USING ADAPTIVE NEURO FUZZY INFERENCE SYSTEM

A PID Controlled Real Time Analysis of DC Motor

Design of Synthetic Optimizing Neuro Fuzzy Temperature Controller for Dual Screw Profile Plastic Extruder Using Labview

Design of Joint Controller for Welding Robot and Parameter Optimization

Northumbria Research Link

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Model Reference Adaptive Controller Design Based on Fuzzy Inference System

ADVANCES in NATURAL and APPLIED SCIENCES

Fuzzy Logic Control of a Magnetic Suspension. System Using xpc Target

LOAD FREQUENCY CONTROL FOR TWO AREA POWER SYSTEM USING DIFFERENT CONTROLLERS

Fuzzy Control of a Gyroscopic Inverted Pendulum

Comparison Effectiveness of PID, Self-Tuning and Fuzzy Logic Controller in Heat Exchanger

New PID Tuning Rule Using ITAE Criteria

Implementation of Fuzzy Controller to Magnetic Levitation System

Modelling for Temperature Non-Isothermal Continuous Stirred Tank Reactor Using Fuzzy Logic

Adaptive Fault Tolerant Control of an unstable Continuous Stirred Tank Reactor (CSTR)

Speed Control of DC Motor Using Fuzzy Logic Application

Application of Fuzzy Logic Controller in Shunt Active Power Filter

Fuzzy logic control implementation in sensorless PM drive systems

Tuning Of Conventional Pid And Fuzzy Logic Controller Using Different Defuzzification Techniques

Automatic Control of Fan Speed using Fuzzy Logic

CHASSIS DYNAMOMETER TORQUE CONTROL SYSTEM DESIGN BY DIRECT INVERSE COMPENSATION. C.Matthews, P.Dickinson, A.T.Shenton

A FUZZY EXPERT SYSTEM FOR QUANTIFYING VOLTAGE QUALITY IN ELECTRICAL DISTRIBUTION SYSTEMS

DESIGNING POWER SYSTEM STABILIZER FOR MULTIMACHINE POWER SYSTEM USING NEURO-FUZZY ALGORITHM

PERFORMANCE ANALYSIS OF SVPWM AND FUZZY CONTROLLED HYBRID ACTIVE POWER FILTER

Voltage Sag and Swell Mitigation Using Dynamic Voltage Restore (DVR)

CURRENT FOLLOWER APPROACH BASED PI AND FUZZY LOGIC CONTROLLERS FOR BLDC MOTOR DRIVE SYSTEM FED FROM CUK CONVERTER

A Fuzzy Knowledge-Based Controller to Tune PID Parameters

DSPACE BASED FUZZY LOGIC CONTROLLED BOOST CONVERTER

Design of Controller for Metal Linear Expansion Coefficient Tester Yufei FU1, a

A PID Controller Design for an Air Blower System

Implementation of a Choquet Fuzzy Integral Based Controller on a Real Time System

CONCLUSIONS AND SCOPE FOR FUTURE WORK

Structure Specified Robust H Loop Shaping Control of a MIMO Electro-hydraulic Servo System using Particle Swarm Optimization

Embedded Robust Control of Self-balancing Two-wheeled Robot

Adaptive Fuzzy Logic PI Control for Switched Reluctance Motor Based on Inductance Model

Design of Smart Controller for Speed Control of DC Motor

Design of Non-Linear Systems using Fuzzy Logic Techniques

CHAPTER 4 FUZZY LOGIC CONTROLLER

COMPARATIVE STUDY OF PID AND FUZZY CONTROLLER ON EMBEDDED COMPUTER FOR WATER LEVEL CONTROL

Fuzzy Self-Adaptive PID Controller Design for Electric Heating Furnace

Comparative Analysis of Air Conditioning System Using PID and Neural Network Controller

Boundary Controller Based on Fuzzy Logic Control for Certain Aircraft

POWER TRANSFORMER PROTECTION USING ANN, FUZZY SYSTEM AND CLARKE S TRANSFORM

Governor with dynamics: Gg(s)= 1 Turbine with dynamics: Gt(s) = 1 Load and machine with dynamics: Gp(s) = 1

Control of DC-DC Buck Boost Converter Output Voltage Using Fuzzy Logic Controller

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

DC motor position control using fuzzy proportional-derivative controllers with different defuzzification methods

UNIVERSITY OF JORDAN Mechatronics Engineering Department Measurements & Control Lab Experiment no.2 Introduction to Fuzzy Logic Control

GA-ANFIS PID COMPENSATED MRAC FOR BLDC MOTOR

Design and Implementation of Self-Tuning Fuzzy-PID Controller for Process Liquid Level Control

Simulation Analysis of Control System in an Innovative Magnetically-Saturated Controllable Reactor

Transcription:

Journal of mathematics and computer Science 7 (2013) 33-42 Simulation of Temperature Controller for an Injection Mould Machine using Fuzzy Logic Seyed Kamaleddin Mousavi Mashhadi Iran University of Science and Technology, school of Electrical Engineering, Tehran, Iran Sk_Mousavi@iust.ac.ir Mehdi Zahiri Savzevar Khorasan Institute of Higher Education, Mashhad, Iran Zahiry.mahdi@yahoo.com Article history: Received February 2013 Accepted March 2013 Available online April 2013 Jamal Ghobadi Dizaj Yekan Khorasan Institute of Higher Education, Mashhad, Iran Jamal_Ghobadi@yahoo.com Abstract This research introduces a method for designing a linear fuzzy controller to control the temperature in an injection mould machine. First, a time-delay system is introduced as the temperature control system. The fuzzy controller system is composed of a heater transfer function controller and a decision maker. Both the controller and the decision maker are designed using fuzzy logic, and simulated in MATLAB. For facilitating the implementation of the fuzzy circuit, a linear equation is estimated from fuzzy equations using regression method, and its response is compared to that of the fuzzy controller. Finally, a PID controller is designed and its response is compared to the response of the fuzzy system. Keywords: Fuzzy-PID, Temperature Control, Fuzzy Controller, PID Controller. 1. Introduction. Fuzzy logic plays such a special role in control issues that it is considered as an intelligent controlling method. In this paper the fuzzy method is used to control the temperature and as we see the response gets better in this method. Three articles are used as basic references to complete this paper. In [1], Prabha has modeled the heater of injection mould machine as a transfer function with time delay as follow: G(S) = Ke τs TS+1 In this paper the same transfer function has been used to model the heater. In [2], Zhou has considered input/output membership functions of the fuzzy controller in terms of temperature and of triangle type. 33

The same method has been used to design the fuzzy controller system described in section. in [3],hanamane, has implemented a controller using microprocessor to control the injection mould machine temperature. In aforementioned paper the implementation of this controller using fuzzifier and defuzzifier has been argued and a flowchart algorithm with a fuzzy controller has been proposed. In this paper we have used the same algorithm to simulate the fuzzy controller. Implementing fuzzy rules in integrated circuits has some difficulties such as complex input/output rules and computing decimal numbers. In this paper a linear time invariant equation has been estimated from fuzzy rules using regression method. This equation facilitates modeling the fuzzy system and implementation of fuzzy rules in integrated circuits [4]. 2. System transfer function The system transfer function in general is as follow: G(s) = Ke τs TS+1 Where, k represents the gain, τ system delay and T time constant. Analyzing injection mould machine concludes that the transfer function possesses one degree of freedom and a time delay as follow: G(s) = 0.92 144s+1 e 3s (2) The open loop system is stable and tracks the set point after a time constant, which is about 560 seconds. To see the advantages of the fuzzy controller, the close loop system results of a pid compensator is compared with that of the fuzzy compensator. Then a fuzzy controller and a switch as a controller are designed and the results are compared to analyze now fuzzy logic act as a controller. (1) 3-Controller design For aforementioned system a fuzzy and a pid controller are designed in MATLAB and the step results are plotted for each system. 3-1-PID compensator design The pid compensator is designed so that the setting time of close loop system is reduced. The closed loop system with pid compensator is shown in fig 1. System specifications with PID compensator are: Figure1. closed loop system with pid compensator 34

PID compensator specifications are: The closed loop system output whit PID compensator is shown in fig 2. Figure2. closed loop system output whit PID compensator According to fig 2, the setting time is reduced to approximately 300 seconds and overshoots is 35% for this system. 3-2-Fuzzy compensator design In a closed loop system with step inputs, the compensator outputs are 0 and the plant outputs are 1 ideally. Therefor, the input variable set point of compensator is assumed 0 and the output variable set point of compensator is assumed 1. The membership functions are considered triangle type. Inputs/Outputs membership functions of fuzzy compensator are specified as follow: Table1. Inputs/Outputs membership functions VN LN Z LP VP Very negativ Low negativ zero Low positiv Very positiv Inputs/Outputs membership functions are shown in fig 3 and fig 5, and their rules are shown in fig 4. Figure3. Inputs membership functions 35

Figure4. Outputs membership functions Figure5. surface controller in the state mamdani The closed loop system with fuzzy compensator is simulated in MATLAB. The schema of simulation is shown in fig 6. Figure6. schema of simulation The step response of the close loop system with fuzzy compensator is shown in fig 7 36

Figure7. step response of the close loop system with fuzzy compensator Comparing the step results of close loop system with pid and fuzzy compensator we can see that the setting time is reduced from 300 seconds to 60 seconds and overshoot is reduced to 0.06. 4-temperature controller design Command circuit designed based on oven temperature which is red bye tristor (sensor). This output fed info command circuit. The temperature controller specifies the system input based on oven temperature to simulate this system. It is assumed that the desired oven temperature is 5 degree. To model the noise of the system we assume that the oven temperature variate alternatively between zero and 10 degrees. To simulate this noise a sinous wave with an average of 5, amplitude of 5and a frequency of 0.1 rad/s is added to system outputs as shown in fig 8. When the oven temperature is higher than 5 degrees, the temperature controller feeds a negative signal to the system to reduce the temperature and vice versa. The temperature controller is designed using a switch and fuzzy logic and the results are compared. 4-1-Tempeature controller design using a switch Here an on-off switch is used as the temperature controller. So that when the oven temperature is higher than 5 degrees (u>5), the switch applies a signal with a value of -4.9 to the system input and vice versa. It is expected that this negative value is compensate the oven temperature variations and a constant temperature of 5degrees (the desired temperature) is achieved. The simulated temperature controller circuit with a switch is shown in fig 8. Figure8. simulated temperature controller circuit with a switch 37

To relay the system output a voltage gain is used. The oven temperature variations using a pid compensator and a switch as the controller is plotted and show in fig 9. Figure9. pid compensator and a switch as the controller The oven temperature variates between 3.3 and 6.8 degrees. It means that the tolerance is 1.8 degrees. But in critical situation, it needs to be almost constant or with a tolerance less than 0.5 degrees. 4-2-Temperature controller design using fuzzy logic Here a temperature controller is design using the fuzzy logic. So that when the oven temperature rises, the fuzzy temperature controller applies a negative signal to reduce the temperature and vice versa. The value of the output signal of the controller computes according to fuzzy rules. Input and output variable membership functions are nominated as follow: Table2.parameter of membership vvl vl l ll lh h vh vvh Very very low Very low low About low About High High Very High Very very High The fuzzy rules bank is shown in table 3. 38

Table3. fuzzy rules bank Then vhh vh h lh ll l vl vll If vll vl l ll lh h vh vvh The degree of input and output member ship function and the relation of input-output rules are respectively shown in fig 10, 11, 12. Figure10. Inputs membership functions Figure11.output membership functions 39

Figure12. surface controller in the state mamdani The system with fuzzy controller is simulated in MATLAB and shown in fig 13. Figure13. with fuzzy controller is simulated in MATLAB To modeling the noise of the system a sinous wave whit an average of 5, amplitude of 5 and a frequency of 0.1 rad/s is added to system output as shown in fig 14. Figure14. amplitude of 5 and a frequency of 0.1 rad/s is added to system output The oven temperature variates between 4.55 and 5.45 degrees. It means that the tolerance is 0.45 degree. 5-Implimentation of fuzzy system using regression Here a linear equation is obtained from complicated fuzzy equation using regression method and compared with fuzzy methods response. The linear equation is formulated as: y = p 0 x + p 1 40

MATLAB is used in order to obtain coefficients of regression equation. The regression equations are: p 0 = 0.9318 p 1 = 4.6591 In fig 15, obtained equation is ploted. It is obvious that the regression, estimates the fuzzy rules, truly. Figure15. obtained equation is ploted To compare the results of fuzzy system and regression equation the system is simulated using a polynomial block as the temperature controller, shown in fig 16. Figure 16. polynomial block as the temperature controller The oven temperature as results of fuzzy controller and regression equation are shown in fig 17. Figure17. as results of fuzzy controller and regression equation 41

Comparing the output of fuzzy and it s regression we conclude that the regression of fuzzy system can be used instead of fuzzy rules with comfort implementation and almost well respons. References: [1] Dr. I Santi Prabha, K Durga Rao, D Siva Rama Krishna Fuzzy Logic Based Intelligent Controller Design for an Injection Mould Machine Process Control Department of ECE, EOW&G Director of University, Vol No. 10, Issue No. 1, 098 103 (2011). [2] H. Zhourll Simulation on Temperature Fuzzy Control in Injection Mould Machine by Simulink IMechanical School in South China U. of Technology, Guangzhou 510641(2008). [3] M.D. Hanamane Implementation of fuzzy temperature control using microprocessor journal of scientific. Journal of scientific & industrial researchvol.65, February, pp.142-147 (2006). [4] Curve Fitting Toolbox User s Guide COPYRIGHT 2001 2010 by The MathWorks, Inc. [5] C.F. Juang, An automatic building approach to special Takagi-Sugeno fuzzy network for unknown plantmodeling and stable control, Asian J. Control 5 (2), pp. 176-186 (2003). [6] C.F. Juang and C.T. Lin, An on-line self-constructingneural fuzzy inference network and its applications, IEEE Trans. Fuzzy Systems 6, pp. 12-32 (1998). [7] P.J. King, E.H. Mamdani, the Application of Fuzzy Control Systemto Industrial Processes. in IFAC world Congress.MIT.Boston (1975). [8] K. Tanaka, M. Sugeno, Stability analysis and design of fuzzy control systems Fuzzy sets and systems, (1992). 42