Certain investigations on power management systems for standalone and grid interactive hybrid power supply