Radar simulation verification system design method based on virtualized VxWorks system

Through the radar simulation verification system based on the virtualized VxWorks system, the problem of traditional radar software debugging relying on the real processor environment is solved, and more efficient radar software verification and debugging is achieved, improving the problem of field test flights. Current and troubleshooting efficiency.

CN119248663APending Publication Date: 2025-01-03LEIHUA ELECTRONICS TECH RES INST AVIATION IND OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411316913.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Traditional airborne radar software development, debugging and verification rely on the real radar processor environment, resulting in low efficiency in problem detection during field test flights and affecting the stability of radar software.

Method used

Design a radar simulation verification system based on virtualized VxWorks system. By creating BSP projects, VIP projects, virtual machine environment and UDP communication, it can debug and verify software from the real radar processor environment, and use virtual machines to load VxWorks image files and simulations. Avionics system, realizes simulation verification of radar software.

Benefits of technology

It improves the efficiency of radar software debugging and verification, enhances simulation efficiency and real-time performance, avoids dependence on the real radar processor environment, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248663A_ABST
    Figure CN119248663A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of radar environment analog simulation, and relates to a radar simulation verification system design method based on a virtualized VxWorks system, and the method comprises the steps: S1, building a system starting boot file bootrom through creating a BSP project; step S2, generating a VxWorks mirror image file by creating a VIP project; s3, creating a virtual machine environment, putting the VxWorks mirror image file into an FTP loading directory, and putting a boot file bootrom into a virtual machine hard disk; s4, connecting the virtual machine with a pre-constructed analog avionics system through a UDP communication mode; and S5, operating the virtual machine to start the VxWorks mirror image file, loading radar application software in the virtual machine to communicate with the analog avionics system, and receiving a control instruction of the analog avionics system. According to the invention, dependence on a real radar processor environment during simulation verification is avoided, and the working efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of radar environment simulation, and specifically relates to a radar simulation verification system design method based on a virtualized VxWorks system. Background Art

[0002] Traditional airborne radar software development, debugging and verification are based on the radar processor environment, and require the support of external cross-linking systems and avionics simulators. During the field test flight, the lack of a real radar processor environment reduces the efficiency of flight test problem troubleshooting to a certain extent, and may eventually affect the stability of the radar software due to insufficient software debugging and verification.

[0003] In order to overcome the shortcomings of insufficient software debugging and verification caused by excessive dependence on the radar processor environment during radar software debugging and verification, and to achieve a strong guarantee of radar software quality, it is necessary to debug and verify the software away from the radar processor environment to a certain extent. Summary of the invention

[0004] In order to solve the above problems, the present application provides a radar simulation verification system design method based on a virtualized VxWorks system, which mainly includes:

[0005] Step S1, constructing a system startup boot file bootrom by creating a BSP project;

[0006] Step S2, generating a VxWorks image file by creating a VIP project;

[0007] Step S3, create a virtual machine environment, put the VxWorks image file in the FTP loading directory, and put the boot file bootrom in the virtual machine hard disk;

[0008] Step S4, connecting the virtual machine to the pre-built simulated avionics system through UDP communication;

[0009] Step S5: Run the virtual machine to start the VxWorks image file, load the radar application software in the virtual machine to communicate with the simulated avionics system, and receive control instructions from the simulated avionics system.

[0010] Preferably, step S1 further comprises:

[0011] Create a BSP project in WindRiver Workbench. After the creation is completed, modify the configuration file, determine the network card and controller, host address and target machine address used for network startup, and compile and generate the boot file bootrom after the configuration is completed.

[0012] Preferably, step S3 further comprises:

[0013] Configure network information in the virtual network editor, including adding a network and setting the network type to host-only mode to establish communication between the host and the target machine.

[0014] Preferably, before step S4, the method further includes developing a simulated avionics system by using SCADE using a model-based design method.

[0015] Preferably, step S4 further includes developing a UDP communication component, generating UDP communication initialization, task creation, data sending and receiving functions through modularization, and performing code encapsulation.

[0016] Preferably, in step S5, the control instruction for simulating the avionics system includes a control instruction for simulating full hemisphere power consumption detection before the avionics system enters the TAS mode.

[0017] This application is based on the radar simulation verification system of the virtualized VxWorks system. The BSP and VxWorks image adapted to the virtual machine are customized, the VxWorks real-time operating system is loaded in the virtual machine, and the driver layer code is isolated by middleware, avoiding the modification of the application layer source program, and improving the simulation efficiency. Compared with the simple PC Windows system simulation, the real-time performance and authenticity are stronger. The simulation verification system avoids the dependence on the real radar processor environment during simulation verification, which can effectively improve work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a flowchart of a preferred embodiment of the radar simulation verification system design method based on the virtualized VxWorks system of the present application.

[0019] Figure 2 Create a schematic for the BSP project.

[0020] Figure 3 This is a schematic diagram of the BSP project network parameter configuration.

[0021] Figure 4 Create schematics for VIP projects.

[0022] Figure 5 Add a virtual network diagram. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical scheme and advantages of the implementation of this application clearer, the technical scheme in the implementation of this application will be described in more detail in combination with the drawings in the implementation of this application. In the drawings, the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The described implementation is a part of the implementation of this application, not all of the implementations. The implementation described below with reference to the drawings is exemplary and is intended to be used to explain this application, and cannot be understood as a limitation on this application. Based on the implementation in this application, all other implementations obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. The implementation of this application is described in detail below in combination with the drawings.

[0024] This application designs a radar simulation verification system suitable for the entire process of radar software development, debugging and verification, that is, using a virtual processor environment to replace the real radar processor, and using the SCADE tool to design an avionics simulator to simulate the integrated task processor environment. After the development environment based on the above virtual processor is built, the radar software can be directly run in the environment, and the avionics simulator can be operated to simulate a variety of situation scenarios, which can greatly improve the efficiency of software function verification and field test flight problem reproduction. For test flight problems, after the radar software is perfected, it can be debugged and verified in the simulation verification system. After the verification is perfected, the radar software can be transplanted to the real processor environment for operation, which can effectively improve the efficiency of field troubleshooting.

[0025] This application provides a radar simulation verification system design method based on a virtualized VxWorks system. The virtual VxWorks operating system provides a set of interfaces for the radar software that completely corresponds to the service set of the real VxWorks operating system. The application software uses the UDP communication mechanism to communicate with the virtual processor environment. The interface is completely consistent with the interface called by the real software code and does not need to be modified. Figure 1 As shown, the method mainly includes:

[0026] Step S1: Create a BSP project to build a system boot file bootrom.

[0027] In some optional implementations, step S1 further includes:

[0028] Create a BSP project in WindRiver Workbench. After the creation is completed, modify the configuration file, determine the network card and controller, host address and target machine address used for network startup, and compile and generate the boot file bootrom after the configuration is completed.

[0029] In this embodiment, BSP refers to the board support package. A BSP project is created in WindRiver Workbench 3.3. The project name is vm_bsp. For Board support package, select "pcPentium4", for Tool Chain, select "diab", for Style, select "Compressed (default)", and for Format, select "ELF (default)". Figure 2 As shown. After the project is successfully created, modify the content of the config.h configuration file, change the default startup command to network startup, and modify the host address and target machine address, host name and target machine name and other related parameters according to your own needs. After the relevant parameters are set, compile and generate the bootrom boot file, as shown Figure 3 shown. Figure 3 InPci(0,0) means starting through network card 0, controller 0, the host address is 192.168.4.11, the target machine address is 192.168.4.18, the host name is yjp, and the password is yjp.

[0030] Step S2: Generate a VxWorks image file by creating a VIP project.

[0031] This step is used to customize the VxWorks image file loaded in the virtual machine environment. Create a VIP project in WindRiverWorkbench3.3, select "pcPentium4" for BSP, and select diab for tool chain. After the creation is completed, compile and generate the corresponding VxWorks image file.

[0032] like Figure 4 As shown, the project name of the VIP project is vm_vip, Base on selects "a board support package", BSP selects "pcPentium4", and Tool Chain selects "diab".

[0033] Step S3, create a virtual machine environment, put the VxWorks image file in the FTP loading directory, and put the boot file bootrom in the virtual machine hard disk.

[0034] This step is used to create a virtual machine environment and set up a network adapter, startup mode, etc. In some optional implementations, step S3 further includes:

[0035] Configure network information in the virtual network editor, including adding a network and setting the network type to host-only mode to establish communication between the host and the target machine.

[0036] In this embodiment, the network information is configured in the virtual network editor, such as Figure 5 As shown in the figure, VMnet2 network is added and set to host-only mode to establish communication between the virtual machine and the target machine. After the network configuration is completed, the VxWorks image generated earlier is saved to the FTP loading directory, the bootrom file is placed in the virtual machine hard disk, and the bootrom name is changed to bootrom.sys.

[0037] Step S4: connecting the virtual machine to the pre-built simulated avionics system via UDP communication.

[0038] In some optional embodiments, before step S4, it further includes developing a simulated avionics system using a model-based design method through SCADE.

[0039] This embodiment uses SCADE to develop simulated avionics using a model-based design approach, separates graphic design from logic control, and generates avionics display screen codes through automatic code generation tools such as KCG tools. Finally, engineers write corresponding control logic.

[0040] After the simulated avionics system is successfully constructed, in some optional implementations, step S4 further includes developing a UDP communication component, generating UDP communication initialization, task creation, data sending and receiving functions through modularization, and performing code encapsulation.

[0041] Step S5: Run the virtual machine to start the VxWorks image file, load the radar application software in the virtual machine to communicate with the simulated avionics system, and receive control instructions from the simulated avionics system.

[0042] In this step, run the virtual machine to start the VxWorks operating system, load the radar application software, and after successfully handshaking with the simulated avionics, you can operate the avionics control radar to complete functional verification in different scenarios.

[0043] In some optional implementations, in step S5, the control instructions for simulating the avionics system include control instructions for simulating the full hemisphere power consumption detection before the avionics system enters the TAS mode. In this embodiment, the full hemisphere power consumption detection before the avionics enters the TAS mode is operated, and the target simulation function is turned on to display the target on the radar screen. In an alternative implementation, the situation display of the avionics can also be simulated to perceive the airspace information around the carrier from a full perspective, and the status information of the target can be displayed after the target is intercepted.

[0044] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A radar simulation verification system design method based on a virtualized VxWorks system, characterized in that: include: Step S1, constructing a system startup boot file bootrom by creating a BSP project; Step S2, generating a VxWorks image file by creating a VIP project; Step S3, create a virtual machine environment, put the VxWorks image file in the FTP loading directory, and put the boot file bootrom in the virtual machine hard disk; Step S4, connecting the virtual machine to the pre-built simulated avionics system through UDP communication; Step S5: Run the virtual machine to start the VxWorks image file, load the radar application software in the virtual machine to communicate with the simulated avionics system, and receive control instructions from the simulated avionics system.

2. The radar simulation verification system design method based on the virtualized VxWorks system as claimed in claim 1, characterized in that: Step S1 further comprises: Create a BSP project in WindRiver Workbench. After the creation is completed, modify the configuration file, determine the network card and controller, host address and target machine address used for network startup, and compile and generate the boot file bootrom after the configuration is completed.

3. The radar simulation verification system design method based on the virtualized VxWorks system as claimed in claim 1, characterized in that: Step S3 further comprises: Configure network information in the virtual network editor, including adding a network and setting the network type to host-only mode to establish communication between the host and the target machine.

4. The radar simulation verification system design method based on the virtualized VxWorks system as claimed in claim 1, characterized in that: Before step S4, it further includes developing a simulated avionics system by using SCADE using a model-based design method.

5. The radar simulation verification system design method based on the virtualized VxWorks system as claimed in claim 1, characterized in that: Step S4 further includes developing a UDP communication component, generating UDP communication initialization, task creation, data sending and receiving functions through modularization, and performing code encapsulation.

6. The radar simulation verification system design method based on the virtualized VxWorks system as claimed in claim 1, characterized in that: In step S5, the control instructions for simulating the avionics system include control instructions for simulating the detection of full power consumption in the hemisphere before the avionics system enters the TAS mode.