Maximum Power Point Tracking Control for a Photovoltaic System