| With the development of automobile industry in recent years in our country, the manufacturers of automobile parts adopt new technology of production, expand productive capacity and improve production automation to increase production. A starter performance automatic testing system is developed to meet the starter manufacturers' requirements, which has been running on the production line.To realize the starter performance testing of switch, no load, load and brake, a two-layer computer-controlling testing system is developed, which is based on the testing theory of the automobile starter and composed of the industrial control computer and the programmable logic controller. Moreover, parameter setting, data acquisition, data processing, testing monitoring, testing result query, marking and communication with the PLC by the serial communication interface (RS232) are charged by the industry control compute; and the PLC controls the logic switch, judges the working state in the testing execution and communicates with the industry control compute. Aiming at the character of the load performance testing, PID and fuzzy PID in the system are applied to control voltage and torque.About the application software model, software architecture and component technology are adopted to increase developing quality and speed, and to insure developing continuity and good maintainability. Moreover, according to the starter function demand, the paper puts forward the software architecture, with the layered software architecture style and pipe-filter software architecture style, including initialization, parameter setting, data sampling, calculating and controlling, system calibration, data monitoring, data saving, report generation and database. Furthermore, after analyzing the functional modules and making full use of the existed components, the paper applies Microsoft COM component technology to abstraction and capsulation, and assembles the system by components according to software architecture.The mostly accomplished tasks are finally summarized in the paper, some improvable aspects are put forwards and further research toimprove the system are presented. |