State detection of automobile exhaust pipe