Electrical Properties of pn Junction in Depletion Mode