Boundary feedback control of an electromechanical transducer