The invention relates to a DC power supply controlled by an energy closed loop, comprising a main circuit and a control circuit. The main circuit is a standard Buck circuit. The control circuit comprises: Inductance Current Detection Circuit, capacitance voltage detection circuit, output current detection circuit, Circuit for calculate energy storage of desired capacitance, an expected inductanceenergy storage calculation circuit, an expected load energy consumption calculation circuit, an expected total energy calculation circuit, an actual inductance energy storage calculation circuit, an actual capacitance energy storage calculation circuit, an actual load energy consumption calculation circuit, a load identification circuit, an actual total energy calculation circuit, an operation circuit, a controller circuit, and a PWM signal circuit. As that invention weaken the sensitivity of the dynamic performance of the output of the power supply to the value of the control parameter, the complexity of the controller parameter design is reduce, and the overshoot and oscillation phenomena of the voltage and the current are restrained, at the same time, the optimization of the dynamic adjustment time is realized.