| It is necessary to test or calibrate the system in the process of development as well as maintenance.These processes can find out where the servo system needs to be improved,which is of great significance to improve the performance of the system and increase the stability of the system.To do good work must first sharpen his tools,so it is important to develop a convenient and powerful test equipment for servo system.A multifunctional servo system tester based on ARM and Linux operating system is designed in this paper.The tester is designed in a master-slave way,in witch the master represents main control board with S3C6410 as CPU and the slave stand for the 5 data sending or receiving boards.The main control board is the kernel of test system,it provides CAN interface for the communication with upper computer,USB interface for mouse and keyboard,LCD interface for external 8 inch touch screen,RS232,RS485 and RJ45 interface for debugging,and so on.The five slave boards are digital input and output board,rotary transformer to digital conversion board,synchro to digital conversion board,digital to synchro conversion board and angle deviation conversion board.Multi-threaded applications are designed based on embedded Linux system and takes advantage of powerful graphics interface Qt to complete the software.The application consists of three modules,in witch human-computer interaction module responsible for the response of user action as well as the display of curve and parameter;data processing module responsible for the calculation of test data,data receiving and data storage;communication module is used for the communication with host computer with CAN bus.The final test shows that the tester can work well with digital and analog servo system in stand-alone or online mode,it also has the ability to process data,including data access,data analysis,real-time display and data storage.At the same time,the tester has multiple test interfaces with good portability,so it can be applied in kinds of servo systems in the field. |