Font Size: a A A

Radar Simulator System Research And Development

Posted on:2014-04-03Degree:MasterType:Thesis
Country:ChinaCandidate:W WangFull Text:PDF
GTID:2268330401480741Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
21st century has entered the information age, China’s foreign military situation is grim. Military radar applications in the modern military’s role is self-evident. Radar is an important equipment for military information. It faces electronic reconnaissance, electronic jamming, stealth, anti-radiation missiles, such as multiple threats can be the first time the search target and confirm. So promote strong anti-radar reconnaissance, anti-jamming, accuracy capabilities, is now the main direction of development of radar technology. In modern warfare under the radar target precision is required, real-time, all-weather reconnaissance and surveillance; against ballistic missiles, cruise missiles and other weapons of mass destruction detection and tracking; various stealth target detection and identification; fighting killing effect and target identification discriminant tasks. With the advent of new types of weapons and advanced anti-radar constantly technology widely used, the survival and development of radar poses a severe challenge. In recent years, major foreign countries to enable the radar to the greatest modern meet operational requirements, to adapt to the increasingly complex operational environments is stepping up development of high-tech, marine radar, which is mounted on the boat for sailing activities, and avoid sailing, ship positioning, narrow channel pilotage. Thesis on the radar simulator project carried out a detailed study of a brief review of the process of doing the project, citing the project’s overall design parameters and project ideas. Projects under Wuhan University of Marine Engineering and Computer Science jointly developed a set of nautical college interaction between teacher and student teaching indoor microcomputer systems. This project includes a training ship, steering simulator, radar/ARPA simulator three parts, with each other between the three data communication and information exchange, the project is to achieve in the computer room to simulate sea engineering coaches and students ship between directing, scheduling and other communication process, has great practical value. Discussion and research through the project, get a lot of useful conclusions. For example, to read TXT files from a local chart drawing, document which is divided into different zones namely maritime obstacles, routes, buoys. Land, islands with different draw in different colors to distinguish between, and after writing has a good package summary and highly functional serial port class.MFC (Microsoft Foundation Classes) is a Microsoft-provided class libraries (class libraries), in C++in the form of the class encapsulates the Windows API, and includes an application framework, in order to reduce the workload of the application developer. Which contains the class contains a lot of the Windows handle wrapper class and a lot of Windows built-in controls and components package. MFC is actually provided by Microsoft, a framework and engine used to write applications in C++environment. VC++Windows developers to use professional C++SDK (SDK, Standard Software Develop Kit, professional software development platform), MFC is hanging on top of it a supporting software development kit. Under Win32, you can use two ways of programming serial communication, one is the use of ActiveX controls, this method is simple, but less flexible program. The second is to call the Windows API function, this method can clearly grasp the serial communication mechanisms, and the freedom and flexibility. Operation of the serial port can have two operating modes: synchronous mode of operation, and the overlap operation mode (also known as asynchronous mode of operation). Synchronous operation, the API function will block until the operation is complete to return (in a multi-threaded, does not block the main thread, but still blocking monitor thread); overlap mode of operation, the API function will return immediately, the operation in the background, to avoid blocking of the thread. In either mode of operation, generally through open the serial port, configure the serial read and write the serial port, serial four steps to complete. Win32systems the concept of file extensions. File, communication devices, named pipes, mail slots, disk, or the console are using API functions to open or create. Open communication device handle, often on the serial port into some initial configuration. This requires a DCB structure. DCB structure contains information such as baud rate, data bits, parity, and stop bits. Query or configure the serial port properties to be used for the DCB structure as a buffer. Generally open the serial port, you can call the function to obtain the initial configuration of the serial port. To modify the configuration of the serial port, you should modify the DCB structure, and then call the function to set the serial port. Using ReadFile and WriteFile read and write the serial port, serial read and write, either synchronous execution can overlap. Synchronous or asynchronous read and write functions should be consistent and create a function. API function to close the serial port is very simple, just use the Create function returns the handle as a parameter called off handler function can. There are two types of MFC thread, the thread workers were called and the user interface thread. The main difference between the two is that the worker thread message loop, and the user interface thread has its own message queue and message loop. Win32API programming, these two threads is no difference between them is just a start address of the thread to start the thread to execute the task. MFC, global function to create and initialize a thread running, the function has two overloaded forms were used to create worker thread and UI thread. In order to avoid conflicts of access, such as multiple threads simultaneously access the same global variables are read operation, there is no problem. If a thread is responsible for changing the value of this variable, while the other thread is responsible for reading the contents of a variable, you can not guarantee the data read after write thread modifies. In order to ensure the read thread reads to modify the variables, it is necessary to prohibit any access to its other threads when the data is written to the tag until the assignment is terminated before the end of the process to restrict access to the other threads. To understand the result of processing after the end of the other threads tasking and take protective measures such as to ensure thread is the thread synchronization. Also relates to the UDP network communication.
Keywords/Search Tags:Radar simulator, the coach boat, multithreading, serial communication
PDF Full Text Request
Related items