I have a controller fed 3 phase 1kw servomotor which moves a mass over 1 metre ramping up for 1 second whilst energised, then it ramps down for 1 second. The motor is on (energised) for 1 second then it is off (braking) for 1 second which completes the first cycle, the cycle is then repeated continuously. However I would like to harness the 'braking energy' created whilst in the off part of the cycle and then feed it back to the motor to offset the input power used. Could anyone tell me what electronic circuit design would be to make this happen, I assume it would be a capacitor circuit and some sort of solid state relay that kicks in when the input power stops. Or otherwise maybe point me towards a pre-assembled device that is ready made and that I could buy off the shelf. Thank you for your help.