Cylinder sensors for weld-field detection