Power Generation And Control Of Mechatronics Systems - Theory And Test