In real insects, spiking pattern of the neural system are used for the general purposes of information transmission and processing. The controller in the proposed model is modelled as a network of spiking neurons. The unit model is based on the model proposed in the work by Izhikevich20. The model is endowed with both biologically plausibility of Hodgkin–Huxley-type dynamics and computational efficiency of integrate-and-fire neurons.