Improved vibration control of a smart beam by energy transfer