Detecting unknown lateral forces on a bar by vibration measurement