VI THE EXPERIMENTAL SETUP
The fuzzy logic model, the neural network model and
the vector control model are all encoded using C++. A
personal computer is used to perform the mathematical
processing. The power switch control signals are sent to a
power driver based on IR 2130 [7] via an 8255 PPI. IR
2130 then switches the power MOSFETs to achieve the
desired three phase waveforms. The motor speed is
detected by an optical encoder, which sends digital
signals to a counter. The counter output will be read in a
fixed interval by the computer via the 8255 PPI. After
reading in the counter output, the counter is reset to zero
and it starts counting the optical encoder pulses again.
Thus the read in value will be proportional to the motor
speed. The faster the motor rotates, the higher will be the
read in value. The overall block diagram of the
experimental setup is shown in fig. 8