Deposited thin-film wear sensors: materials and design