Faniah
Newbie level 3
- Joined
- Feb 21, 2014
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 20
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.
CE
E NB NS ZE PB PS
NB NB NB NB NS ZE
NS NB NB NS ZE PS
ZE NB NS ZE PS PB
PB NS ZE PS PB PB
PS ZE PS PB PB PB
For example, If E in NB and CE is ZE then D is NB.
So any examples of fuzzy logic controller c programming which are related to this project will be helpful to me. Thank you. :roll:
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.
CE
E NB NS ZE PB PS
NB NB NB NB NS ZE
NS NB NB NS ZE PS
ZE NB NS ZE PS PB
PB NS ZE PS PB PB
PS ZE PS PB PB PB
For example, If E in NB and CE is ZE then D is NB.
So any examples of fuzzy logic controller c programming which are related to this project will be helpful to me. Thank you. :roll: