In order to design and implement a computer aided instruction system; the application of the artificial intelligence technology is studied in depth using statistical quality control as example. Firstly the statistical quality control teaching was analyzed. And then the design ideas of the computer aided instruction system are put forward. And then the structure of the expert teaching system is designed. And then the interacting ways of the expert system was analyzed. Finally the application of the expert teaching system was summarized.