Maker Pro
Maker Pro

Implementing fuzzy logic in PIC18F4431 in MPLAB using c language programming

Hi,

My project is 'optimum solar cell implementation using dc-dc boost converter controlled by fuzzy logic controller'. I'm using MPLAB IDE for programming the PIC18F4431. I really don't have any idea about the c programming for fuzzy logic controller. I had done the inference rules in Matlab fuzzy logic toolbox. The input is error, E and change in error, CE. The output is the duty ratio, D of the boost converter. Below is the rules.

For example, If E is NB and CE is ZE then D is NB.
If E is NB and CE is NB then D is NB.
where NB is Negative Big and ZE is zero.
So any examples of fuzzy logic controller c programming which are related to this project will be helpful to me. Thank you.:confused:
 
what??? Already tried google it but can't get the c coding.I'm still a student. Not so expert in c programming. :(
 
Top