Integrated protection relay for mines