Text this: Hybrid Controller Based on LQR Applied to Interleaved Boost Converter and Microgrids under Power Quality Events