The paper presents a concept of a control system for a high-frequency three-phase PWM grid-tied converter (3x400 V / 50 Hz) that performs functions of a 10-kW DC power supply with voltage range of 600÷800 V and of a reactive power compensator. Simulation tests (in PLECS) allowed proper selection of semiconductor switches between fast IGBTs and silicon carbide MOSFETs. As the main criterion minimum amount of power losses in semiconductor devices was adopted. Switching frequency of at least 40 kHz was used with the aim of minimizing size of passive filters (chokes, capacitors) both on the AC side and on the DC side. Simulation results have been confirmed in experimental studies of the PWM converter, the power factor of which (inductive and capacitive) could be regulated in range from 0.7 to 1.0 with THDi of line currents below 5% and energy efficiency of approximately 98.5%. The control system was implemented in Texas Instruments TMS320F28377S microcontroller.