Fuzzy Logic Control Implementation On Pic Microcontroller Computer Science Essay

Conventional PID accountants were used as a control scheme for assorted industrial procedures from many old ages due to their simpleness in operation. They used mathematical theoretical accounts to command the works for different procedure control applications. Fuzzy logic based control systems were introduced by Lotfi Zadeh to optimise the procedure control parametric quantities in better manner. In this paper, we have implemented a DC motor control scheme with the aid of PID controller.Then we will optimise it with the aid of fuzzed logic accountant.

The fuzzed logic control scheme shows the betterment in assorted control parametric quantities like maximal wave-off, settling clip for the DC motor control as compared with PID control scheme. This shows the high quality of fuzzed logic accountant over relative built-in derivative accountant.

I. Introduction

PID ( relative built-in derived function ) control is one of the earlier control schemes. Its early execution was in pneumatic devices, followed by vacuity and solid province parallel electronics, before geting at today ‘s digital execution of microprocessors.

Get quality help now
KarrieWrites
Verified writer
5 (339)

“ KarrieWrites did such a phenomenal job on this assignment! He completed it prior to its deadline and was thorough and informative. ”

+84 relevant experts are online
Hire writer

It has a simple control construction which was understood by works operators and which they found comparatively easy to tune. Since many control systems utilizing PID control have proved satisfactory, it still has a broad scope of applications in industrial control. PID control has been an active research subject for many old ages. Since many procedure workss controlled by PID accountants have similar kineticss it has been found possible to put satisfactory accountant parametric quantities from less works information than a complete mathematical theoretical account.

Get to Know The Price Estimate For Your Paper
Topic
Number of pages
Email Invalid email

By clicking “Check Writers’ Offers”, you agree to our terms of service and privacy policy. We’ll occasionally send you promo and account related email

"You must agree to out terms of services and privacy policy"
Write my paper

You won’t be charged yet!

Fuzzy logic is a method of rule-based determination devising used for adept systems and procedure control that emulates the rule-of-thumb idea procedure used by human existences. Due to these belongingss, fuzzed logic can be used to command a procedure that a human can command manually with expertness gained from experience. The lingual control regulations that a human expert can depict in an intuitive and general mode can be straight translated to a regulation base for a fuzzed logic accountant. In this paper DC motor is foremost tuned utilizing fuzzed logic accountant and so we will be utilizing fuzzed logic accountant to better the assorted procedure parametric quantities follow.

II. PROPORTIONAL INTEGRAL

DERIVATIVE CONTROLLER

The PID accountant is the most common signifier of feedback. It was an indispensable component of early governors and it became the criterion tool when procedure control emerged in the 1940s. In procedure control, more than 95 % of the control loops are of PID type, most cringles are really PI control. PID accountants are today found in all countries where control is used. The accountants come in many different signifiers. There are standalone systems in boxes for one or a few cringles, which are manufactured by the 100 1000s annually. PID control is an of import ingredient of a distributed control system. The accountants are besides embedded in many particular purpose control systems. PID control is frequently combined with logic, consecutive maps, pickers, and simple map blocks to construct the complicated mechanization systems used for energy production, transit, and fabricating. Many sophisticated control schemes, such as theoretical account prognostic control, are besides organized hierarchically. PID control is used at the lowest degree ; the multivariable accountant gives the setpoints to the accountants at the lower degree. It is an of import constituent in every control applied scientist ‘s tool box. PID accountants have survived many alterations in engineering, from mechanics and pneumatics to microprocessors via electronic tubings, transistors, integrated circuits. The microprocessor has had a dramatic influence on the PID accountant. Practically all PID accountants made today are based on microprocessors. This has given chances to supply extra characteristics like automatic tuning, addition programming, and uninterrupted version.

Accountants are designed to extinguish the demand for uninterrupted operator attending. Cruise control in a auto and a house thermoregulator are common illustrations of how accountants are used to automatically set some variable to keep the measuring ( or procedure variable ) at the set-point. The set-point is where you would wish the measuring to be. Error is defined as the difference between set-point and measuring.

mistake = set-point – measuring

The variable being adjusted is called the manipulated variable which normally is equal to the end product of the accountant. The end product of PID accountants will alter in response to a alteration in measuring or set-point. Manufacturers of PID accountants use different names to place the three manners. These equations show the relationships:

P ( Proportional ) = 100/gain

I ( Integral ) = 1/reset ( units of clip )

D ( Derivative ) = rate = pre-act ( units of clip )

Depending on the maker, built-in or reset action is set in either time/repeat or repeat/time. One is merely the reciprocal of the other. Note that makers are non consistent and frequently use reset in units of time/repeat or built-in in units of repeats/time. Derivative and rate are the same. Choosing the proper values for P, I, and D is known as PID Tuning.

A feedback control system measures the end product variable and sends the control signal to the accountant. The accountant compares the value of the end product signal with a mention value and gives the control signal to the concluding control component.

The equation of ideal PID accountant is

$ $ C ( s ) = K_ { P } + frac { K_ { I } } { s } + K_ { vitamin D } s = frac { K_ { vitamin D } s^2 + K_ { P } s + K_ { I } } { s } $ $

III. FUZZY LOGIC CONTROLLER

Fuzzy logic is a method of rule-based determination devising used for adept systems and procedure control that emulates the rule-of-thumb idea procedure used by human existences. The footing of fuzzed logic is fuzzed set theory which was developed by Lotfi Zadeh in the sixtiess. Fuzzy set theory differs from traditional Boolean ( or two-valued ) set theory in that partial rank in a set is allowed. Traditional Boolean set theory is two-valued in the sense that a member belongs to a set or does non and is represented by 1 or 0, severally. Fuzzy set theory allows for partial rank, or a grade of rank, which might be any value along the continuum of 0 to 1. A lingual term can be defined quantitatively by a type of fuzzed set known as a rank map. The rank map specifically defines grades of rank based on a belongings such as temperature or force per unit area. With rank maps defined for accountant or expert system inputs and end products, the preparation of a regulation base of IF-THEN type conditional regulations is done. Such a regulation base and the corresponding rank maps are employed to analyse accountant inputs and find accountant end products by the procedure of fuzzed logic illation. By specifying such a fuzzed accountant, procedure control can be implemented rapidly and easy. Many such systems are hard or impossible to pattern mathematically, which is required for the design of most traditional control algorithms. In add-on, many procedures that might or might non be modeled mathematically are excessively complex or nonlinear to be controlled with traditional schemes. However, if a control scheme can be described qualitatively by an expert, fuzzed logic can be used to specify a accountant that emulates the heuristic rule-of-thumb schemes of the expert. Therefore, fuzzed logic can be used to command a procedure that a human can command manually with expertness gained from experience. The lingual control regulations that a human expert can depict in an intuitive and general mode can be straight translated to a regulation base for a fuzzed logic accountant.

IV. PROBLEM FORMULATION

A DC motor is taken as a instance survey and the control is achieved utilizing conventional PID accountant and intelligent fuzzy logic based accountant. The comparing of both the accountant public presentation is analyzed.After analysing, implement it on microcontrollers.

V. DC MOTOR CONTROL USING FUZZY LOGIC CONTROLLER

In classical control techniques PID accountant was used as a standard control construction.

Due to nonlinearities in the procedure the public presentation of the industrial machinery is greatly distorted and the efficiency is reduced. The new technique which uses fuzzy and PID accountants is considered as the extension of the conventional technique, because it preserves the additive construction of PID accountant. These accountants are designed utilizing the basic rule of fuzzed logic control to obtain a new accountant that possesses analytical expressions similar to digital PID accountants. Fuzzy PID accountants have variable control additions in their additive construction. These variable additions are nonlinear map of the mistakes and altering rates of mistake signals. These variable additions help in bettering the overall public presentation due to their features characteristics like self-tuned mechanism which can accommodate to rapid alterations of the mistakes and rate of alteration of mistake caused by clip hold effects, nonlinearities and uncertainnesss of the procedure.

Figure 1: Architecture of fuzzy control

Simulation utilizing SIMULINK

Figure 2: Simulation theoretical account

Figure 3: Measure response of procedure with feedback PID

accountant

Execution utilizing microcontroller

After imitating the accountant on simulink, we started with execution utilizing PIC 18F4520 microcontroller but yet non done with it.

Conventional

Figure 4: State diagram

Figure 5: Conventional

VI. Comparison of Maximum wave-off and subsiding clip for PID and FLC accountants

Accountant

Maximal Overshoot

Settling Time

PID Controller

44.6 %

11.42 sec

Fuzzy logic accountant

7.21 %

7.78 sec

VII. Decision

In this paper a DC motor is controlled utilizing fuzzed logic and PID accountant. A mathematical theoretical account to command the DC motor is developed and the motor is controlled utilizing conventional PID accountant. The simulation consequences so obtained show that the PID accountant gives high wave-off and settling clip. Hence, fuzzed logic accountant design was proposed and implemented utilizing the rules of unreal intelligence. The fuzzed logic control will be implemented and the response will be compared with conventional PID accountant. The fuzzed logic control shows a better control of motor parametric quantities as compared with the conventional PID accountant

VII. ACKNOWLEDGMENT

It gives us huge pleasance to show our gratitude to each person associated straight or indirectly with the successful completion of the study. We would wish to show our thanks towards our undertaking Guide Prof. Dr. R.B.Ghongade for his priceless cooperation and counsel that he gave us throughout our undertaking. We would besides wish to thank our Head of Department, Prof.P.D.Khandekar for animating us and supplying us all the lab installations with the cyberspace, which made the undertaking work really convenient.

VIII. Reference

[ 1 ] Erdal Kayacan and Okyay kaynak, “ An Adaptive Grey Fuzzy PID Controller With Variable Prediction Horizon, ” SCIS & A ; ISIS2006 @ Tokyo, Japan ( September 20-24, 2006 ) ; 760-765

[ 2 ] B.G. Hu, G.K.I Mann and R.G Gosine, “ New methodological analysis for analytical and optimum design of fuzzed PID accountants, ” IEEE Transaction of fuzzed systems, vol. 7, no. 5, pp. 521-539, 1999

[ 3 ] Awang N.I. Wardana, “ PID-Fuzzy Controller for Grate Cooler in Cement Plant, ” IEEE dealing of fuzzy system, no.7, vol. 32, 2005, 1345-1351.

[ 4 ] Han-Xiong Li, Lei Zhang, Kai-Yuan Cai, And Guanrong Chen, ” An Improved Robust Fuzzy-PID Controller With Optimal Fuzzy Reasoning, ” IEEE Transactions On Systems, Man, And Cybernetics Part B: Cyberneticss, Vol. 35, No. 6, December 2005 ; 1283-1292

[ 5 ] Isin Erenoglu, Ibrahim Eksin, Engin Yesil and Mujde Guzelkaya, “ An intelligent intercrossed fuzzy PID accountant, ” in Proceedings of 20th European Conference on Modeling and Simulation, 2006.

[ 6 ] [ 6 ] Leehter Yao and Chin-Chin Lin, “ Design of Gain Scheduled Fuzzy PID Controller, ” World Academy of Science, Engineering and Technology 1 2005, 152-156

Cite this page

Fuzzy Logic Control Implementation On Pic Microcontroller Computer Science Essay. (2020, Jun 02). Retrieved from https://studymoose.com/fuzzy-logic-control-implementation-on-pic-microcontroller-computer-science-new-essay

Fuzzy Logic Control Implementation On Pic Microcontroller Computer Science Essay

👋 Hi! I’m your smart assistant Amy!

Don’t know where to start? Type your requirements and I’ll connect you to an academic expert within 3 minutes.

get help with your assignment