Ways to implement (optimize) an FLC with an 8bit controller

Chuck Bass (acrocad@ix.netcom.com)
Mon, 8 Jan 1996 14:38:08 +0100


I am looking at implementing an FLC using an 8bit controller and am
beginning to see that execution speed could become an issue (I need to
make control responses of around 2 msec) My system will be a 2 input 1
output system. It seems to me that I can completely remove to
requirement of rule evaluation at run time if a table of the control
surface is precomputed and stored in ROM. The control inputs could be
used to directly index into the 2D array and I'm off and running with 1
line of C code:

output = surface[sensor_1][sensor_2]

and a BIG array. Obviously an array of a quarter the size could be
used with the implementation of some trivial curve fitting.

Is this a reasonable way to go? What issues become important with this
type of a design?

Thank you for any input.

chuckb