Pmdc motor speed control with fuzzy logic algorithm using pıc16f877 micro controller and plotting data on monitor
Abstract
In this study, speed of permanent magnet dc (PMDC) motor is controlled with Fuzzy Logic (FL) algorithm at real time. For real time closed loop control, it has been used a PIC16F877 micro controller usage with 8 bit resolution. Only 3 membership functions which are called Negative (N), Zero (Z) and Positive (P) are used definition for FL algorithm, because of the difficulty to write the software to the micro controller via compiler program. Membership degrees of the functions are defined from 0 to 255 which is 8 bit unsigned maximum value. Integer numbers are used for programming algorithm, because compiler program using to write the software program to the micro controller is not enough sensitive for floating point number. Instantaneous values of the speed of the motor are transferred to PC with another PIC16F877 micro controller and plotting on monitor using interface program developed from DELPHI.