A device or technique that ensures production of a good unit overtime is a poka-yoke.
The Japanese term Poka-Yoke means mistake proofing. Poka means mistakes and yoke(ru) means to avoid. This technique helps eliminate defects by way of human errors since they often occur. You will find this technique used in a lean manufacturing process.