The hybrid AC-DC microgrid is a system that links AC and DC microgrids using a bidirectional AC-DC interface converter. The presence of dynamic loads is a major obstacle to the implementation of the microgrid concept, and those 50 % include asynchronous motors. This paper presents a control system for a hybrid microgrid that powers an electrical motor using the field-oriented control (FOC) method. This study investigates the significance of third-harmonic injected PWM (THIPWM) in reducing the necessary voltage across the DC bus while still achieving the required AC voltage at motor terminals. MATLAB/Simulink simulation tool and OPAL-RT for real-time simulations were used for validation of the proposed control. The outcomes show the tracking of the reference currents, achieving accurate torque control, managing various operating modes like grid-connected having SPWM and THIPWM, or operation with PV and battery sources. The research also highlights lower settling time values as well as lower total harmonic distortion (THD) compared to SPWM in different load conditions using THIPWM.