As an important part of Flexible AC Transmission System (FACTS),Serial Compensation(SC) has great significance on the improvement of the transport limit of the transmission line.SC Spark Gap is an important equipment as the overload protection of the Metal Oxide Voltage-limiter(MOV) on the platform of the SC.Trigger controller is the central nervous of the Spark Gap,during the production and testing process,it need to be tested repeatedly.lt also need to be triggered during the maintenance.A special tester is required to do all of the tests.Embedded technology developed rapidly in recent years.Several advantages such as small size,small weight,low power consumption,good stability,high intelligence make it widely used in the field of portable instrument.A Gap tester based on embedded system is needed intensely.In this paper,the working principle of Spark Gap and its trigger control module are analyzed,the function of the Spark Gap tester is designed based on the characteristic of the Gap control module.After comparing between various types of embedded processors and embedded operating systems,S3C2410of Sumsung is selected as the CPU, Linux2.4.18as the embedded operation system and Qt/E as the GUI developter.A cross development environment is built on the Red Hat Linux.Bootloader,kernel and file system are transplanted.Based on a smallest system,the embedded hardware system is constructed.The hardware resource is planed and cut, all of the circuit of the function modules are given.Dvivers needed by the special hardware are developed.Application program is designed on the interface of the drivers,significant code is given and the test results are obtained.A graphic user interface(GUI) is degigned via two self-defined classes. |