光伏发电(dian)(dian)(dian)(dian)(dian)的(de)(de)主要原理(li)是半导(dao)体(ti)(ti)的(de)(de)光电(dian)(dian)(dian)(dian)(dian)效应。当(dang)光子(zi)撞击金(jin)属时,其(qi)能(neng)量(liang)可以(yi)被金(jin)属中的(de)(de)一个(ge)电(dian)(dian)(dian)(dian)(dian)子(zi)完全吸收。电(dian)(dian)(dian)(dian)(dian)子(zi)吸收的(de)(de)能(neng)量(liang)大到足以(yi)克服金(jin)属原子(zi)内(nei)部的(de)(de)库(ku)仑力(li)做功并从金(jin)属表(biao)面逃(tao)逸,成(cheng)(cheng)(cheng)为(wei)光电(dian)(dian)(dian)(dian)(dian)子(zi)。硅(gui)有四(si)个(ge)外层电(dian)(dian)(dian)(dian)(dian)子(zi)。如(ru)(ru)果(guo)纯硅(gui)掺(chan)杂有五个(ge)外层电(dian)(dian)(dian)(dian)(dian)子(zi)的(de)(de)原子(zi),比(bi)如(ru)(ru)磷(lin)原子(zi),就会变成(cheng)(cheng)(cheng)N型(xing)半导(dao)体(ti)(ti)。如(ru)(ru)果(guo)纯硅(gui)掺(chan)杂有三个(ge)外层电(dian)(dian)(dian)(dian)(dian)子(zi)的(de)(de)原子(zi),例如(ru)(ru)硼原子(zi),就形成(cheng)(cheng)(cheng)了P型(xing)半导(dao)体(ti)(ti)。P型(xing)和N型(xing)结合在(zai)一起,接触面就会形成(cheng)(cheng)(cheng)电(dian)(dian)(dian)(dian)(dian)位差,成(cheng)(cheng)(cheng)为(wei)太阳能(neng)电(dian)(dian)(dian)(dian)(dian)池。当(dang)太阳光照(zhao)射到pn结上(shang)时,电(dian)(dian)(dian)(dian)(dian)流(liu)从P型(xing)侧流(liu)向(xiang)N型(xing)侧,形成(cheng)(cheng)(cheng)电(dian)(dian)(dian)(dian)(dian)流(liu)。