In order to explore a new algorithm for CPG neural network,an algorithm of neural network based on self-growing of neuron is proposed.First of all,establishing the movement equations of grown cone based on the universal gravitation.And then in order to establish a connection algorithm of the neuron the global searching algorithm is uesed.Finally,the paper uses the quadruped as the simulation object to construct the network of gait control.And the simulation experiment shows the proposed approach can creat t...