Abstract
A growing algorithm of neural network based on axon growth is developed in this article. At the beginning, the Newtonian gravitation and the Brownian motion are employed to establish an axon growth model, and the constraint function of the neural axon growth is derived according to the gravitational coefficient and the Brown coefficient. And then, the growing algorithm of neural network is obtained on the basis of the output function of neural network. Simulation experiments show that the developed algorithm can simulate the process that different neurons connect each other by their axon growth to establish neural network. And at the end, the developed algorithm is applied to the rhythmic motion control of a quadruped robot to verify the effectiveness in walk gait and in trot gait, respectively.
Introduction
The self-growing network which follows a predetermined or dynamically adjusted policy is a goal-driven approach unlike the conventional self-organizing networks.1,2 Axon growth is the foundation to establish the connections between neurons while developing the neuron networks. 3 It can perceive the chemical information in the extra-cellular, depending on the motion of its front-end growth cone. And on this basis, axon grows to the target neuron accurately. 4 Hence, simulating the process of axon growth can serve as the foundation for modeling the self-growing neural network. McLean et al. 5 developed a mathematical model focusing on microtubulin. By investigating the synthesis process in neuron’s soma, the transmission along axons, and the assembling near growth cones, the relationship between neuron growth and tubulin motion is discussed. Although this model considers the mechanism of axon growth in neuron, the axon steering mechanism and the effecting factors for axon extension are ignored. 5 Johannes and Arjen 6 proposed a model to simulate the diffusion process of chemical molecules in the growth environment by partial differential equations (PDEs) and ordinary differential equations (ODEs). The extension and the steering of axon in this model are considered as the distribution function of molecular concentration. 6 However, it lacks the corresponding biological validation and also causes the large amount of calculation. Randal et al. 7 proposed a simplified single-neuron growth model by describing the extension, the steering, and the bifurcation of axon as stochastic motions. Even the simplified model can approximate the synaptic distribution and the behavior of axon bifurcation in biological neural network from the aspect of morphology; the network generated by this model lacks the functions of biological neural network, 7 and so far, there is little public report on effective motion control of quadruped robot using the above models.
The above-mentioned models have a common problem that the axon growth and the connecting structure of network cannot be constrained to obtain neural network with specific functions. It is also the main challenge in self-growing neural network. Zubler and Douglas 8 developed a diffusion model of chemical molecules in the growth environment by the geometrical method and then proposed a mechanical model by describing the axon growth to approximate the neural network in cerebral cortex from the view of morphology. Even though it has shortcomings such as that the generated neural network lacks some characteristics of biological neural network, this approach still inspires us to introduce mechanics into the research of self-growing network. In this article, the universal gravitation is employed to describe the targeted effect from soma to growth cone, and the stochastic motion is employed to describe the noise while the growth cone is steering in the growth environment.9,10 Then, the axon growth model (a set of equations describing the general growth process of axon) based on the Newtonian gravity and the Brownian motion (the erratic random movement of microscopic particles in a fluid, as a result of continuous bombardment from molecules of the surrounding medium) is developed. By analyzing the gravitation coefficient and the Brownian coefficient, the constraint function of axon growth can be obtained. The neural network with motion control capability can be generated by connecting multiple neurons via different axon growth.
The remainder of this article is organized as follows. Section “Self-growing model of neuron axon” develops a goal-driven model of growth cone based on the gravitation and the Brown motion. Here, the gravitation is introduced to describe the goal-driven effect of target neuron soma on growth cone. In section “A growing algorithm of neural network,” it is detailed that when the motion of growth cone is controlled, the share of deterministic motion caused by gravitation and the stochastic motion caused by Brownian motion can be served as the constraint on the movement of growth cone. And it should be noted that the self-growing algorithm of neuron network is developed to realize the controllable growth. The developed algorithm covers the connection and the output of neuron network. Section “Results and discussion” details the experiments that rhythmic movements of quadruped robot are controlled by the developed self-growing algorithm when robot walks and trots and this is the first time self-growing network is applied to legged robot. Finally, section “Conclusion” contains the conclusion drawn from this study.
Self-growing model of neuron axon
According to the neurobiological studies, 10 axon growth process can be simplified into three crucial steps by external chemical guiding molecules as shown in Figure 1.
The direction of tubulin perception. The concentration distribution of external chemical molecules is converted into the corresponding internal ligand concentration distribution by tubulin in growth cone as shown by the pink line in the left subgraph of Figure 1.
The movement of filopodia. It is along the direction of gradient driven by the flow of actin in growth cone as shown by the middle subgraph of Figure 1.
The Polarization of axon. New axon segments are generated by the polarization of the back of growth cone along the movement direction of the front of growth cone as shown by the right subgraph of Figure 1.

The schematic diagram of axon growth process. The orange solid circles represent target neurons.
According to the above three steps, an axon growth model including three modules, that is, perception module, motion module, and growth module, is developed.
Perception module
The guidance effect of chemical molecules in external environment on the growth cone can be described as a force action.11,12 Hence, the main function of perception module is to simulate the spatial distribution of chemical guiding molecules, that is, to calculate the guiding force on the growth cone using the concentration field. For the complexity of concentration field, the gravitational field is introduced to simulate the concentration field and calculate guiding force. This approach provides two advantages that it can reduce computational complexity effectively and gain the guiding force on the growth cone via Newtonian gravity formula directly.
The steady-state diffusion of molecules and the potential distribution in the gravitational field are given by equations (1) and (2), respectively
where u represents the concentration field, △ represents the Laplace operator, D represents the diffusion coefficient, and W(x, y, z) represents diffusion sources
where ρ(x, y, z) represents the density of the material source, k represents the constant coefficient, U represents the gravitational potential, s represents the gravitational coefficient, r represents the length vector, and M represents the total mass of the field source material.
Comparing equation (1) with equation (2), it finds that the steady-state diffusion of molecules and the potential distribution in the gravitational field satisfy the Poisson equation. Hence, for concentration field distribution generated by different D and W in equation (1), it always finds a set of s and M to make the distribution of U in equation (2) equals to the distribution of u in equation (1). For example, when W = 15 mmol/L, D = 0.5 in equation (1), and s = 0.05 m3/(kg s2), M = 20 mg in equation (2), and the distributions of u and U are shown in Figure 2.

Distribution diagrams for concentration field and gravitational field: (a) distribution of the concentration field u and (b) distribution of the gravitational potential U.
As shown in Figure 2, the concentration distribution u and the gravitational potential U have similar amplitude and distribution radius. From another point of view, both the gravitational field and the concentration field meet the linear superposition principle. Hence, the vector synthesis method is acceptable for multiple gravitational fields and multiple concentration fields.13–15 It is reasonable to simulate the concentration field of chemical molecules using the gravitational field.
If there are k-field sources in gravitational field, the suffered gravity of the growth cone whose mass is m could be written as equation (3) according to Newton’s law of gravitation
where dj represents the distance between the growth cone and jth neuron,
Motion module
The motion state of the growth cone is calculated by motion module based on the gravity value P obtained by perception module. The corresponding motion equation is given by equation (4)
where Xs = Xs(x, y) represents the growth cone coordinate in the two-dimensional gravitational field. Denote time interval as Δt and start time as k. After Δt, the motion of the growth cone at time k+1 can be given by equation (5)
where αk+1 and Vk+1 represent the motion acceleration and the velocity vector, respectively;
The growth step Δsk+1 and the angle
Growth module
The axon growth within a time interval is completed by growth module based on motion module. Considering Pearson’s research results and the randomness of biological neuron growth process, 9 it is possible to study the randomness of axon growth by Brownian motion.
The randomness of axon growth mainly displays in its motion directions. In the condition of infinitesimal step, the random deflection angle can be described by equation (6)
where θs represents the random deflection angle, Bθ(s) represents Brownian motion, c represents Brownian coefficient, and s represents the arc length of the axon. Computing the integral of equation (6) yields equation (7)
while s = 0, the initial values of θs(0) and Bθ(0) are set to 0. As shown in equation (8), the increment of Brownian motion is independent and normally distributed. The mean value is 0 and the variance is constant
where N represents the normal distribution, the mean value is zero, and the variance is s.
The obtained random deflection angle θs is as follows by solving equation (9)
The random deflection angle
The total deflection angle θk+1 of the growth cone at time k+1 can be described by considering the certain deflection angle
Hence, the new position vector
Axon growth segments from time k to time k+1 can be obtained by connecting
As mentioned above, the continuous growth of axon is performed by the iteration loop of three modules as shown in Figure 3.

Flowchart of the axon growth model. rc represents the radius of the cell body.
In Figure 3, rc represents the radius of the cell body which is simplified as a circle for calculation convenience. First, according to the gravitational potential U and the distance d between the growth cone and target neuron, the sensing module outputs the gravity value P into movement module to get input parameters Δsk+1 and
A growing algorithm of neural network
Growth constraint of the neuron axon
The accurate and efficient connections among neurons are the foundation of neural network growth. It determines the function of neural network. Hence, it is crucial to constrain the axon growth.
In order to simplify the calculation, neurons are arranged symmetrically as shown in Figure 4. In this case, the neurons located on symmetrical positions share the same growth environment and follow the same growth rule, so the computational complexity goes down. Assume that the growth region of neural network is a square whose side length is 20 unit lengths and the circle with different numbers serves as neuron. After the selection of the origin point in the two-dimensional coordinate system, the coordinates determine the neuron position uniquely. A particle randomly generated by neuron in the direction from 0° to 360° serves as the growth cone. Each neuron generates a growth cone which is represented by particle in the direction from 0° to 360° randomly. The motion trajectory of the growth cone in two-dimensional gravitational field is the axon of that neuron. Each neuron generates only one axon to connect with another neuron as shown by the dashed lines in Figure 4. The neurons in Figure 4 are divided into the following four classes.
Class 1: No. 1, No. 2, No. 3, and No. 4 neurons in the four corners are of output control function.
Class 2: No. 5, No. 8, No. 10, and No. 13 neurons are on the vertex positions.
Class 3: No. 6, No. 7, No. 11, and No. 12 neurons are on the midpoint of the edge.
Class 4: No. 9 neuron is in the center of the neurons.
Neurons from No. 5 to No. 13 are intermediate neurons. The pathway of signal transmission is determined by connecting output neurons and intermediate neurons. According to equations (6) and (13), the trajectory of axon generated by each neuron and the target neuron of its axon is related to the gravitational coefficient s determined by other neurons and the Brown coefficient c determined by the axon itself. Hence, a certain neuron can be connected with the specific neuron by controlling the gravitational coefficient sij between neuron i and neuron j. It provides the opportunity to establish a network with specific function and control the connections among neurons to some extent.

Distribution of neurons.
Take as an example of No.5 and No.1 neurons. Count up the total number of connections for each s51 as shown in Figure 5. Even if the movements of growth cones are uncertain for introducing the Brownian motion. It also means that the ultimate connected target of each neuron axon is uncertain. In this case, a stable connection between specific neurons can be ensured by increasing the value of s. For example, in Figure 4, when the gravitational coefficient between No. 1 neuron and No. 5 neuron is 20, the connection probability between the two neurons is almost close to 0 even though the simulation was repeated many times. When 20 < s51 < 70, the connection probability increases approximately linearly as shown in Figure 5. The axon of No. 1 neuron can connect to No. 5 neuron almost every time when s51 > 80. Hence, as can be seen from Figure 5, the connection probability between No. 1 neuron and No. 5 neuron grows with the increase in s51, and it is almost equal to 1 to achieve a reliable connection when s51 > 80.

The relationship between the connection probability and the gravitational coefficient. The blue solid line illustrates the connection probability when 10 ≤ s51. The blue hollow circle illustrates the connection probability when s51 = 10, 20, …, 100.
Similarly, the change of connection probability of other neurons related to the gravitational coefficient is analyzed via Figure 4, and then, s values for reliable connections of other different neurons are obtained in Table 1.
Lower limited values of the gravitational coefficients when different types of neurons connect reliably.
According to equation (3) and Figure 5, the magnitude of gravitation is related to the distance between growth cone and target neuron, and a reliable connection between them is related to the gravitational coefficient. As shown in Figure 5, the connection between neuron class 1 and class 2 is reliable when s ≥ 80. Similar experiment shows that s values for reliable connections between neuron class 1 and class 3, class 3 and class 3, class 2 and class 4, class 2 and class 3, and class 3 and class 4 are s ≥ 60, s ≥ 80, s ≥ 70, s ≥ 50, and s ≥ 50.
Take the case of the connection between No. 1 neuron and No. 5 neuron to study the relationships among the axon growth length, the probability, and the Brown coefficient. Denote the axon length as L in the case of maximum probability. L is the expected axon length according to normal distribution. Then, Figure 6 shows the change in Brownian coefficient c, and the growing probability of different axon is obtained by statistic. The unit of length is 10 μm in Figure 6.

Relationships among the axon growth length, the connection probability, and the Brownian coefficient. (a) The relationship between the expected axon length L and the Brownian coefficient. When c51 is given, the axon length is between 9 and 15 and the occurring probability of corresponding length goes down as the length value increases. (b) The probability of expected length L for different axon. The expected axon length increases gradually as the Brownian coefficient grows. The range of blue circles represents the data range of axon length, and the red solid line is the fitting curve of expected axon length values.
According to Figure 5 and Table 1, the gravitational coefficient s51 is set to 80 to ensure the axon of No. 1 neuron grows to No. 5 neuron successfully every time. The Brownian coefficient c51 varies from 1 to 5 and the increment is 0.2. Then, the simulations were done for 5000 times. The relationship between the axon growth length and the Brownian coefficient is illustrated in Figure 6(b) according to the statistics of simulation results. The axon growth length and its variation range increase with c51 going up. This is because the growing of c51 leads to the increase in variation range of random steering angel
Fitting the simulation results shown in Figure 6, equations (13) and (14) are obtained
where a1 = 0.1303, b1 = 2.526, d1 = 8.993, a2 = 13,730, b2 = –5.29, and d2 = 0.03115. The constraint of Brownian coefficient c relative to the expected axon length L is established by equation (14). The fitting results are shown by the red solid lines in Figure 6(a) and (b). Similarly, the relationships between expected axon lengths of other neurons in Figure 4 and the Brownian coefficient c are illustrated in Table 2.
The value range of expected axon length L between different types of neurons and the coefficient value of constraint function.
As mentioned earlier, the constraints of the gravitational coefficient s and the Brownian coefficient c relative to growths of different neuron axons shown by Tables 1 and 2 and equation (14) are obtained via simulations in Figures 5 and 6. It lays the foundation for studying relative accurate targeting growth of neuron axon.
Connection algorithm of the neural network
The key for getting reasonable and effective bioelectricity signals from neural network is finding out the reliable connections among output neurons. When the connection lengths are determined, the intermediate neurons are needed to build the corresponding connections.
The formation process of neuron connections from the start of neuron axon growth to the reliable connection with target neuron is analogous to the target search process first. The breadth-first search (BFS) algorithm is adopted to search all the possible connections.16,17 To evaluate the realizability of possible connection, the average probability pav is defined as evaluation parameter by equation (15)
where pi represents occurrence rate of the ith axonal growth and n represents the neuron number in complete network. As the accurate connection among neurons is a probability event, the more neurons are located on the connections and the less available connections are formed. To maximize the average probability of each connection, the distribution of axon lengths on connection is necessary to be optimized.
Assuming that the neuron number on the connection is m, the sum of expected axon lengths L, the allowable error ΔL, the value range of each axon length li, and the corresponding distribution function of occurrence rate Pi(x) are known. And then, the average probability on this connection can get the maximum value in the case of satisfying the expected length by optimizing the axon length x = (x1, x2, …, xm – 1) as shown in Figure 7.

Schematic diagram of connecting optimization. For each available signal transmission path found by BFS algorithm, neurons from No. 1 to No. m located on the path may belong to the different four classes of neurons mentioned earlier.
Selecting an appropriate gravitational coefficient according to Table 1 makes two adjacent neurons form a reliable connection whose formation probability is close to 1. The total expected length L on this connection is divided to each segment axon from x1 to xm – 1. The distribution rule is to maximize the average probability determined by equation (15) to gain the fastest growth speed. Figure 7 illustrates that each axon segment length xi corresponds to a probability Pi(x) and the length xi relates to the Brownian coefficient ci. Hence, the values of c1 to cm – 1 are determined through the relationship between xi and ci after the optimized axon length distribution xi is obtained by equation (16). Then, the constraint for the connection of neural network is achieved by the gravitational coefficient s and Brownian coefficient c
where f represents the optimized objective function and g1 and g2 represent inequality constraint functions. g1 and g2 are solved by the discrete variable optimization algorithm based on the relative difference quotient method. The relative difference quotient method starts from the minimum of the objective function f outside the feasible set, finds the rule that has the minimum increment of objective function and the maximum reduction of constraint function to satisfy all the constraint functions and gain the minimum value of objective function. 16
Output function of the neural network
A complete connection can be obtained among the output neurons by the constraint function mentioned above. Then, the output function of neural network for exporting the specific control signals is studied based on this complete connection.
The relationship of phase sequences among output signals is one of the macroscopic characteristics for neural networks. Hence, the relative relationship of connection lengths among output neurons is converted to the relative relationship of phases of output signals to build the output function. Assume that the average rate of signal transmission is a constant. In this case, the phase difference φ between output signals of output neurons is proportional to the difference of total axon lengths on the connections. The distributions of connection lengths are calculated for all the possible connections from No. 1 output neuron to No. 2 output neuron, from No. 1 output neuron to No. 3 output neuron and from No. 1 output neuron to No. 4 output neuron as shown in Figure 4. The connection lengths are discretized, and the corresponding connection number is recorded. Denote the connection number as the frequency number. Then, the probability distribution function F(x) is obtained by the histogram of x as shown in Figure 8.

The length distribution of possible connections: (a) the frequency distribution of connection lengths and (b) the distribution function F(x).
For the network growth environment of Figure 4, all the possible connections among outputs neurons are searched by the breadth-first algorithm. For each connection, the gravitational coefficient is chosen as in Figure 7, and the Brownian coefficient increases from 1 to 5 with the increment of 0.2. The distribution of all the possible connection length x among output neurons can be obtained through a large number of axon growth simulations. As shown in Figure 8, x basically meets the normal distribution, and the probability distribution approximates to S-shaped curve.
Figure 8(a) illustrates that the probability distribution for connection length x which is from 18.1 to 129.3 approximates to normal distribution. In addition, the probability distribution for the median gets the maximum value which indicates that the corresponding connection number is maximal, and the probability distributions for the two ends get the minimum value which means the corresponding connection number is relatively small. If the linear transformation of phase difference between the connection length and the oscillating signal is done directly, the distribution of connection numbers corresponding to the phase difference is not homogeneous. To solve this problem, the connection length is transformed into the S-shaped function by the distribution function F(x) and fitted by the exponential function. Then, the output function is obtained by the linear transformation of phase difference between the connection length and the oscillating signal as shown in equation (17). x represents the axon length, φ represents the phase difference between the oscillation signals. Define the mean value of x as xav, when x is less than or equal to xav, λ1 = 1 and λ2 = 0. When x is greater than xav, λ1 = 0 and λ2 = 1. The other fitting parameters are as follows: a3 = 0.9733, a4 = 0.2974, a5 = 1.129, b3 = 122, b4 = 83.06, b5 = 76.52, c3 = 36.28, c4 = 23.42, c5 = 14.01, and d5 =−0.09383
The distribution of frequency for phase differences after mapping of output function is illustrated in Figure 9.

The distribution histogram illustrates the frequency and the phase differences among output neurons after mapping of output function (equation (17)). j represents the phase differences among all the possible signals of output neurons.
By comparing Figures 8(a) and 9, the uniform distribution of the frequency and the phase difference for output neurons can be found after mapping of output function. The reason for obtaining a uniform distribution is that the connection generated from the neural network should have no preference with the phase difference between the output neurons. In other words, no matter how much the phase difference between the output neurons is, the possibility of gaining the required connection generated by the neural network is the same.
Parameter analysis
The time interval Δt and random rotation angle θs
The motion trajectory of growth cone is the neuron axon, so growing step length Δs and deflection angle θ of the growth cone are very important. On one hand, according to equation (5), the growing step of growth cone is proportional to time interval Δt, that is, the longer the Δt, the larger the growing step. On the other hand, the deflection angle θ of growth cone is the composition of the determined rotation angle θD resulted from the gravitational field and the random rotation angle θs generated by random motion. First, according to equation (5), the determined growing direction of growth cone is always oriented to the center of target neuron under the influence of the gravitational field. Denote the angle between the positive direction of x-axis and the connecting line between the growth cone and the target neuron as α, and then, the determined rotation angle θD will gradually approach α under the influence of the gravitational field. Therefore, θD mainly depends on the distribution of gravitational field and the position of growth cone, independent of time interval Δt. Second, according to equation (10), the variance σ of random rotation angle θs is proportional to growing step Δs, that is, variance σ of θs will increase when time interval Δt becomes larger. Therefore, in theory, the time interval Δt mainly affects the growing step and the random deflection angle of growth cone.
When the time interval Δt is 0.005, 0.02, and 0.05 s, the coordinate locations of growth neuron and target neuron are (0,0) and (3,3) respectively; the initial velocity v0 of growth cone is (0,2), the maximum velocity amplitude vmax = 10, Brownian coefficient c = 1, and gravitational coefficient s = 10, and we finished growing experiment 100 times for each time interval Δt mentioned above, drew the statistic distribution of random deflection angles, and plotted 20 trajectories of them, as shown in Figure 10.

The growing trajectories of axon growth for different time intervals Δt.
The top row in Figure 10 shows the distribution histogram of the random deflection angle θs for each time interval Δt. As shown in Table 3, the mean value, standard deviation, and upper and lower limits corresponding to the 95% confidence interval for θs were calculated. It can be seen that θs approximates a normal distribution. And as the time interval increases, the standard deviation and the upper and lower limits of θs also increase, while the mean value remains substantially near zero.
Variation parameters of random deflection angle θs.
The bottom row in Figure 10 shows the 20 axonal trajectories for each time interval Δt. When Δt = 0.005 s, all the 20 axons can eventually grow to the position where the target neuron is located. These axons are distributed in a narrow area and axon shape changes gently. However, as Δt increases, the distribution area of axons rapidly increases, the abrupt change of axon shape becomes more and more obvious, and spatial resolution also decreases. This variation law is consistent with the Johannes and Arjen. 18
In summary, as the time interval Δt increases, the spatial resolution of axon trajectories will decrease and abrupt change of axon trajectories will be greater. As a result, the axon trajectories will cross the target neuron cell body and cannot be connected with it. However, the decrease in time interval will result in the increase in neuron growth iterations and computation time. Therefore, in order to balance the contradiction between the higher spatial resolution and smoothness of neuron axons and short calculation time, the time interval Δt is set to 0.005 s.
The gravitational coefficient s
Currently, a common way to verify the effectiveness of the neural growth model is to compare the biological neuron growth results with the simulation results of model as the reasonable neural growth models have high similarity with biological neurons from the view of morphology.19,20 Hence, this subsection provides the simulation focusing on single-neuron growth to evaluate the neuron growth model based on Newtonian gravity and Brownian motion, extracting the corresponding morphological features to compare with the existing research results.
The well-known experiment in neurobiology field is to observe neuron growth process while the single repulsive chemical molecule source is given. According to this approach, a neuron with repulsive function is given to simulate the induction effect. Considering the research method of Kobayashi et al., 10 the growth region is divided into the strong interaction region SR and the weak interaction region WR. In these two regions, the ratios of the axon areas to the entire region, defined as pSR and pWR, respectively, are calculated as shown in Figure 11.

Distribution diagram for SR and WR.
Denote the diameter of neuron soma as a benchmark, and convert all the lengths to dimensionless values. Generally the diameter of neuron soma is 5∼150μm.19,20 Assume that the unit length is 10 μm. In the growth area in Figure 11, the position coordinates of the growth neuron and the target neuron are (1, 5) and (5, 5), respectively. The initial velocity of the growth cone is 1 and the directions distribute randomly from 0° to 360°. The Brownian coefficient c is 3, and the gravitational coefficient s increases progressively from −3.5 to −0.5 with the increment 0.5. For each s, 1000 experiments were done. Each experiment was repeated 300 times with the same s. The simulation results are shown in Figure 12(a)–(c). It can be seen that, while s < 0, the synaptic repulsive force of the target neuron relative to the growth neuron increases as s goes down, and the growing synapse is far away from the target neuron. This illustrates that while one of the neurons fails,21,22 the gravitational coefficient of this neuron is less than 0, and the growing synapse tends to move away from this neuron.

Statistical values of pSR and pWR changing with the gravitational coefficient s under the condition of repulsion. The box represents the interquartile range of values, the line in the box represents the median. Whiskers above and below the box represent the 90th and 10th percentiles, respectively. The left blue box plots represent simulation data whose distributions vary with different values of s, and the right red box plots represent results obtained by Kobayashi et al. through the biological experiments (BERs). (a) The growth result of synapse while s = −1. (b) The growth result of synapse while s = –2. (c) The growth result of synapse while s = −3.5. (d) The relationship between pSR and the gravitational coefficient. (e) The relationship between pWR and the gravitational coefficient.
By analyzing Figure 12(a)–(c), pSR and pWR can be obtained as shown in Figure 12(d) and (e). It is clear that when the gravitational coefficient s is −3.5, the average value of pSR is close to the biological experiment results. pSR reduces gradually while the gravitational coefficient increases, and conversely, pWR gradually increases as shown in Figure 12(e).
The average values of pWR are almost equal to the biological experiment results when s = –3 or s = –2.5. It is thus clear that the simulation results obtained by developed model are consistent with biological data. This further illustrates the rationality of the developed model.
According to the algorithm flowchart shown in Figure 3 and considering equations (6) and (12), the growth simulations from axon to target neuron can be obtained as shown in Figure 13 while s = 1, 2, and 3.5. It illustrates that more axons move toward to the centre of target neuron as the attraction effect of target neuron on axon becomes greater. It also illustrates that, the axon is more likely to grow to target neuron while s increases.

The neuron growth in different attraction intensity.
Figure 13(d) and (e) is derived from the simulation results of Figure 13(a)–(c). It illustrates that while s > 0, pSR grows with s increasing. Conversely, pWR goes down. These simulation results further indicate that guiding neuron axon by Newtonian gravitation is acceptable.
Experiment plot
Modern manufacturing style demands industrial-level mobile manipulation robotic technology featured with task flexibility and robotic mobility and learning ability. 23 Technologies, such as teleoperation24–26 and neural learning 27 for mobile manipulation, have been widely studied and applied on robotic mobile platforms. As a major component sector of robot, the legged robot is one of the most versatile design strategies for such robotic mobile platforms.
Therefore, the quadruped robot is selected as the control object as it plays the significant role in the field of robotics. According to the physiological structure of four-legged animal, the simplified model of quadruped robot is designed as shown in Figure 14. Each leg has three rotating joints, that is, hip joint α, knee joint β, and ankle joint θ. Other parameters are illustrated in Table 4.

The model of quadruped robot.
Parameters of quadruped robot.
The computer system parameters are as follows: CPU (i5 4690K, 4-core, 3.5 GHz), Internal memory (8G, DDR3), video card (2048 MB, DDR5, and 128 bit), and hard disk (500 GB).
Results and discussion
The quadruped robot moves rhythmically and depends on the motion phase sequence of hip joint to achieve different gaits. 28 To gain the rhythmic movement of quadruped robot, the Van der Pol oscillator is employed to generate the periodic oscillating signal of output neuron. The neural network in Figure 13(b) is integrated in the quadruped robot. Output neurons of the network are connected with hip joints as shown in Figure 15. The No. 1, No. 2, No. 3, and No. 4 neurons control the left front (LF), the right front (RF), the right hind (RH), and the left hind (LH) of the hip joint, respectively. The control signal of output neuron corresponds to the angular displacements of hip joint.

Schematic diagram of the fusion between neural network and quadruped robot.
Walk and trot are common phenomena in various giants for quadrupeds.17,29–31 Hence, the two gaits are discussed in this section. Different gait corresponds to different hip joint, and the phase of displacement curve of each hip joint is different. To facilitate the analysis, assume that the displacement curve has the form of sine wave. Define the hip joint of LF corresponded to No. 1 neuron as reference and set its phase as zero. Then, transforming the phase differences between other three hip joints and LF hip joint, the phase difference and the displacement of each hip joint are shown in Figure 16.

Ideal displacement curves of hip joints in walk gait and in trot gait.
As the axon lengths obtained by statistics are discrete, the real output phase difference cannot be precise enough to the above expected value. Meanwhile, considering the biological joint is flexible, the tolerance error range of given phase difference is ±5°, that is, about ±2%.
For the above two gaits, simulations are done through the growing algorithm of neural network. According to Table 1, the gravitational coefficients from class 1 to class 2 and class 3 are, respectively, 80 and 20. The gravitational coefficients from class 2 to class 1, class 3, and class 4 are 60, 50, and 80, respectively. The gravitational coefficients from class 4 to class 2 and class 3 are 70 and 30, respectively. The Brownian coefficient c is 3. The initial direction of axon growth is arbitrary. Axons grow from No. 1 neuron to No. 2, No. 3, and No. 4 neurons. The axon growth tracks shown in Figure 17 are obtained by equations (4)–(12) following the calculation procedure shown in Figure 3. The corresponding connections of neural network can be obtained as shown in Figure 17.

Growth results of the neural network for tow gaits. The blue solid line represents axon between neurons. (a and b) Growth results in walk gait and (c and d) growth results in trot gait.
If the activity of No. 10 neuron is abnormal,21,22 its gravitational coefficient s is 3.5, and the growth of network begins anew as shown in Figure 17. For the repulsive function of No. 10 neuron, the growth of network detours it as shown in Figure 17(b) and (d).
According to the statistics of the growth length of neural network in Figure 17, the actual phases of four output neurons can be obtained by equation (17) and shown in Table 5.
Output phase of the neural network for two gaits.
In Table 5, φ represents the phase difference and the subscript represents the output relationship between neurons. For example, φ12 is the phase difference between the outputs of No. 1 neuron and No. 2 neuron.
Whether No. 10 neuron is normal or abnormal, there exists error between the actual phase difference of output neurons and expected phase difference. The error is within the allowable range of ±5°. Hence, the growth simulations shown in Figure 17 verify that the growing algorithm of neural network is effective. It can realize the growth process from the axon’s self-growth of single neuron to the harmonious growth of neural network.
The motion sequences of quadruped robot are given in Figure 18(a) through the simulations in the above two gaits. The movement periods of the walk gait and the tort gait are 1.2 and 0.6 s, respectively. Meanwhile, the change in the angular displacement α of the hip joint is tested and illustrated in Figure 18(b).

Simulation results of quadruped robot motions: (a) movement sequences, (b) angular displacement curves of hip joints, (c) walk gait, and (d) trot gait.
In Figure 18(c) and (d), the symbol “afa” represents the angle α of hip joint, and LF, LH, RF, and RH have the same meaning as previously defined in Figure 15. As can be seen from the illustration, the phase difference between hip joints of LF leg and LH leg is about 270° when the quadruped robot is walking. The phase differences from the hip joint of LF leg to that of RF leg and that of RH leg are 90° and 180°&0x44; respectively. When the quadruped robot is trotting, the hip joint of LF leg has almost the same phase with the hip joint of RF leg. The similar relationship also exists between the hip joint of LH leg and that of RH leg. The phase difference between the hip joint of LF leg and the hip joint of LH leg approximates to 90°. These results illustrate that the phases of joint angles for four hip joints meet the requirements in Table 5 when the quadruped robot walks or trots. And not only that, the phases hold constant and show obvious rhythmicity during the movements. The movement phase sequences of four legs of robot shown in Figure 18(b) are consistent with the descriptions in Figure 15. It means that our growing algorithm of neural network, compared to other similar algorithm, can effectively control the rhythmic movement of quadruped robot in walk gait and in trot gait.
Conclusion
This article has presented a growing algorithm of neural network based on axon self-growing model. The axon self-growing model was established using Newtonian gravitation and Brownian motion first. Compared with existing research results, the rationality of the model is verified. Then, the constraint function of axon growth was proposed by the gravitational coefficient and the Brownian coefficient. Combining the output function of neural network, the growing algorithm of neural network was developed. Finally, to verify the effectiveness of developed growing algorithm, simulations for the growth of neural network and the rhythmic motion control of quadruped robot in walk gait and in trot gait were performed, respectively. Simulation results show that the developed growing algorithm of neural network is reasonable, and the rhythmic motion of quadruped robot can be controlled effectively using this algorithm.
Footnotes
Handling Editor: Chenguang Yang
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported in part by the National Natural Science Foundation of China (Grant Nos 61773139 and 61473105); the Natural Science Foundation of Heilongjiang Province, China (Grant No. F2015008); State Key Laboratory of Robotics and System (HIT) (No. SKLRS201603C); the Shenzhen Peacock Plan (No. KQTD2016112515134654); and the Natural Science Foundation of Beijing and Shenzhen (No. U1713222).
