n-PS/a-Si:H heterojunction for device application