Design and analysis of a performance monitoring system for a seed metering device based on pulse width recognition