Using first principle pseudopotential (AB initiopseudopotential) calculation of electronic structure of solids, using density functional theory (DFT) treatment of exchange correlation interaction between valence electrons, and calculate various physical properties analysis of solid technology with the total energy. Zero pressure stability of diamond and graphite, some first principles study are mentioned, the energy barrier research clarifies between diamond and graphite is small, easy to change. In the event of structural phase transitions in carbon materials, the optical properties and electrical properties will change, therefore, calculation and analysis of the electronic structure of materials of nano diamond film is particularly important.