Re: implementing matlab fuzzy logic toolbox models to microcontrollers



hello again,

I am interested in designing and implementing the fuzzy system on a
micro-controller such as Atmel or AVRs. I am doing the designing of a
charge controller (for pv arrays), so the micro-controller will be
dealing with inputs from ADCs and outputs to DACs. I am a student so
there are real secrects to hide, infact i would love if someone comes
and works with me or atleast help me :)

I have designed the system in MATLAB fuzzy toolbox, and it is working
great. Somewhere i have read about the implementation of the matlab
fuzzy system in C.

If you go into the matlab\toolbox\fuzzy\fuzzy directory, you will find
two files; names are probably fis.h
and fismain.c (find the two files.. one is .h and other is .c).
As you were talking about finding the class implementation of fuzzy in
c, so matlab has provided. But there is the problem of mapping inputs
and outputs of the microcontroller to this class. Is there any way
out???

So precisely speaking, i need to convert that matlab model to C, and
then make it compatible to work with my microcontroller (Atmel 8052
most probably)!



regards
zubair

.