In order to control the miniature laser processing system, self-developed, a control system based on xPC and image processing is designed. For machining the miniaturization parts, through using xPC, servo drives and associated peripheral equipment, the hardware control platform was build, and then the file containing control information was created, trough processing the image. Through analyzing the results, it confirms that the miniature laser processing system based on xPC and image processing is suitable for the requirements of machining, and has the advantages of real time running, easy constructing, and handy operating.