| Portable target simulator is known as signal source.Because the main objectoriented is radar,the purpose is to generate simulation signal.The instrument is an indispensable part of radar,communication,navigation and guidance systems.The software of the target simulator has the function of connecting the preceding and the following.It is the bridge for users to control the instrument,and it is absolutely important.This paper describes the design,development and implementation of the target simulator software.According to the needs of users,the design scheme of the software is put forward.It can be divided into two parts,one is local control,that is,through the mouse,keyboard,and the keys on the instrument,the serial port message is generated and sent to the lower computer.The second is remote control,which uses UDP protocol or serial port to receive control commands and parse them into the same serial port messages as the local control,and then send them to lower computer.As an instrument it can run independently and can enter the missile test system at the same time,the realization of the two control modes has absolutely importance of the target simulator.As a military test instrument,its technical specifications need higher requirements,so it is also necessary to design an automatic calibration platform to ensure the signal quality.Secondly,for the test process,we need to provide a special software test package,which can selectively generate the special test process according to the specific needs of users,and save the test data.The main tasks of this paper are as follows:1.The local control mode,through the mouse,keyboard,buttons on the instrument to generate messages and send them to the lower computer,the lower computer receives them according to the address provided by the hardware,and then sends data to them to achieve the task of controlling the instrument.2.The remote control mode,through the network port or serial port to receive the control command,parse it into the same serial port message as the local control mode,and then send it down,reduce the manual control of the instrument,and improve the test efficiency.3.Based on the remote control mode,the important indexes,output power of the instrument are automatically corrected,and the temperature is compensated,the maintenance cost is reduced,and the quality of the instrument is improved.4.According to the test process,users can use the functions of the target simulator flexibly,generate modular test tasks. |