Study of avalanche breakdown and impact ionization in 4H silicon carbide