A system includes a handpiece configured to generate vibratory energy, and a generator coupled to the handpiece. The generator includes a processing device and a memory device having encoded thereon computer-readable instructions that are executable by the processing device to perform functions including receiving a pressure signal from the handpiece. The pressure signal is indicative of a pressure between the handpiece and a surgical implement. The functions further include determining the pressure between the handpiece and the surgical implement, comparing the pressure to a predetermined pressure range, and transmitting a control signal to the handpiece when the pressure is within the predetermined pressure range.