In this paper, we used green's function approach in microscopic theory to investigate a resonant tunneling diode (RTD). We introduced the detailed Hamiltonian for each part of the photovoltaic p-i-n system, then by calculating the green's function components in tight-binding approximation, we calculate local density of states and current-voltage characteristic of the p-i-n structure. Our result...