The issue of photometric stereo system has been developed in recent years. At Fraunhofer Institute IITB, Karlsruhe, a system like that was developed and applied in industry. In practice, the system can crash into several kinds of error during operation, therefore there is a requirement to develop a tool for diagnosing the system. The objective of this master thesis is to research each kind of system error through experiments and develop an algorithm of self-diagnosis software for the system. The requirement of the self-diagnosis tool is to detect and distinguish different error kinds. This report presents the analysis and methodologies to implement experiments and develop software product.