The studies on neural network and dynamics analysis are done by lots of researchers while there are few work about single neuron.We get a dynamical model based on Hamilton principle from neural physical circuit.The discharge of neuron can be simulated successfully.Furthermore,we discuss the system generalized energy consumption when the neuron is firing.The variety patterns of energy maybe contain some coding about information transmission between neurons.