Self-consistent Formulation of EBW Excitation by Mode Conversion