This document describes research into using a fractional order PID (FOPID) controller to control voltage fluctuations in an islanded microgrid with a single power source. The proposed FOPID controller has more tuning parameters than a standard PID controller, allowing it to better regulate the microgrid's output voltage under different load conditions and uncertainties. The controller is designed using an optimization technique to maximize system performance. Simulation results show the FOPID controller is effective at reducing voltage fluctuations and provides a fast, robust response for the microgrid system.