Compact, high-performance photoelectric proximity sensor with background suppression for detecting small objects.