3D PIC-MCC simulation of corona discharge in needle-plate electrode with external circuit