Radio frequency simulation interface adaptation system and method
By designing the RF simulation interface adaptation system, using the upper and lower computer architecture and Simulink model embedding, the problem of insufficient interface adaptation and data reconstruction functions in the existing technology is solved, and the communication protocol custom mapping and data diversified reconstruction are realized, meeting the scalability requirements of the RF simulation interface.
Patent Information
- Application Number
- CN202411761969.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-25
AI Technical Summary
The existing RF simulation interface system cannot effectively adapt to different types of communication interfaces and protocols, and lacks flexible reconstruction functions for interactive data between the real-time memory network and the test equipment, and cannot support data reorganization, cross-match, and computing processing.
A radio frequency simulation interface adaptation system is designed, including an interface adaptation management computer, an interface control computer, a signal transfer device and a power supply sequencer. Through the embedding of the upper and lower computer architecture and Simulink model, custom mapping configuration of communication protocols and data multivariate reconstruction are realized.
It realizes custom mapping configuration for communication protocols of different interface types, has the functions of data reorganization, cross-match and computing processing, breaks through the limitations of computer peripheral resources, and meets the scalability requirements of RF simulation interfaces.
Smart Images

Figure CN119883964A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of radio frequency simulation interface communication, and in particular to a radio frequency simulation interface adaptation system and method. Background Art
[0002] Radio frequency guided semi-physical simulation test is a necessary part of performance verification in the development stage of weapon systems, and plays a significant role in shortening the development cycle, reducing development costs, and reducing development risks. In the radio frequency guided semi-physical simulation test system, the test or accompanying equipment and the simulation main control subsystem need to interact with each other in real time through the radio frequency simulation interface system. For example, the simulation main control subsystem needs to obtain the posture, position and other information of the test or accompanying equipment to participate in the simulation model solution, and the test or accompanying equipment needs to receive feedback data sent by the simulation main control subsystem for state control.
[0003] Since there are many types of test subjects or accompanying equipment involved in the test, the interface types and communication protocols are not the same, which requires the RF simulation interface system to be able to adapt to different types of communication interfaces and protocols. And with the increase in the complexity of data information interaction, in addition to the basic data forwarding function, the RF simulation interface system also needs to have certain data reconstruction capabilities to support data reorganization, cross matching, and calculation processing. At the same time, redundant design also needs to be considered in terms of hardware resources to meet the expansion requirements of communication boards in terms of type and quantity.
[0004] The existing technology is to integrate different types of communication boards in the interface computer and realize data interaction by developing control software. However, since it is impossible to customize the communication parameters, field types, byte lengths, and field mapping relationships in the protocol through the human-computer interaction interface, once the communication protocol is changed or a new communication protocol is added, it is necessary to adaptively modify the program code or redevelop the software, which is often time-consuming and laborious; at the same time, the existing interface control method does not have the flexible reconstruction function of the interactive data between the real-time memory network and the test equipment, and only supports the most basic data capture and forwarding functions, and cannot perform data reorganization, cross-matching, and calculation processing. In addition, due to the limitation of the interface resources of the interface computer peripherals, it is not conducive to the application expansion of the simulation interface system.
[0005] Patent document CN202275399U discloses a debugging and verification system for embedded software, which consists of a real-time processing computer, a management computer, a model simulation computer, a network switch, a signal adapter board and a signal conditioning board. The debugging and verification system can be connected to a real target machine or rocket machine for debugging and verification on the ground, simulate the real equipment on the launch vehicle, establish a simulation running environment for the flight software, and debug and verify the flight software. The real-time processing computer is installed with the VxWorks operating system, the rocket body model runs on the model simulation computer and can communicate with the real-time processor through a reflective memory network; the management computer provides a drag-and-drop graphical modeling method to quickly build a simulation test environment.
[0006] However, the interface control method of patent document CN202275399U does not have the function of flexibly reconstructing the interactive data between the real-time memory network and the test equipment, and only supports the most basic data capture and forwarding functions, and cannot perform data reorganization, cross-matching, and calculation processing. Summary of the invention
[0007] In view of the defects in the prior art, an object of the present invention is to provide a radio frequency simulation interface adaptation system and method.
[0008] A radio frequency simulation interface adaptation system provided according to the present invention comprises: an interface adaptation management computer, an interface control computer, a signal switching device, and a power sequencer;
[0009] The power sequencer controls the interface control computer and the interface adaptation management computer to power on and off according to a time sequence;
[0010] The interface adaptation management computer is used to configure the interface IO and establish a mapping relationship according to the configuration content, and send the configuration information to the interface control computer;
[0011] The signal switching device connects the test points according to the mapping relationship and is connected to the interface control computer;
[0012] The interface control computer collects real-time data of the test subject or accompanying test equipment, writes the real-time data into a real-time memory network according to the configuration information, and uploads the real-time data to the interface adaptation management computer for data correctness judgment.
[0013] Preferably, the signal switching device, the interface control computer, the interface adapter management computer, and the power sequencer are integrated in the cabinet in order from top to bottom, and the devices in the cabinet are connected using customized cables;
[0014] The power sequencer has 8 output ports, each with a capacity of 3KW and a national standard three-core socket.
[0015] Preferably, the interface control computer and the interface adapter computer adopt a upper and lower computer architecture, the upper computer is the interface adapter computer, and the lower computer is the interface control computer, which are connected via Gigabit Ethernet.
[0016] Preferably, the interface adaptation computer is an industrial control computer, and corresponding interface adaptation management software is deployed, and the interface adaptation management software provides a human-machine operation interface for performing operations including configuration file management, protocol custom configuration, and process processing;
[0017] The interface adapter computer supports Simulink model construction, modification, deletion and automatic embedding, and can interactively reconstruct multiple data.
[0018] Preferably, the interface control computer is loaded with different types of communication boards, which, on the one hand, perform data exchange with the test subject or accompanying test equipment through a signal switching device, and on the other hand, perform real-time reading and writing of IO data with a real-time memory network in the simulation system according to a frame cycle during the simulation process.
[0019] Preferably, the interface control computer adopts a CPCI-based dedicated computer, runs a VxWorks real-time operating system, and deploys corresponding interface control software, which is used for real-time signal conversion; the underlying board driver adopts the Matlab platform for development and management.
[0020] Preferably, the signal transfer device adopts a 19" standard chassis, including a board external card slot box, a signal transfer box and a transfer cable;
[0021] The board external card slot box is connected to the interface control computer through a dedicated data line, and each communication board is installed in the external card slot box; the signal transfer box converts one side of the wiring transferred from different types of D-type adapters of the communication board into a standard 50-core rectangular connector, which can be connected to the interface of the test or accompanying test equipment; the other side is connected to the front panel test interface for signal bypass monitoring.
[0022] Preferably, the communication interface types supported by the signal switching device include: A / D, D / A, DIO, RS-422A, RS-232C, RS-485, MIL-STD-1553B, CAN, and Ethernet.
[0023] According to a radio frequency simulation interface adaptation method provided by the present invention, using the radio frequency simulation interface adaptation system, the adaptation method includes:
[0024] Step S1: Start the power sequencer, complete the power-on and software loading of the interface control computer and the interface adapter management computer, and automatically perform the initialization operation after the software runs;
[0025] Step S2: the interface adapter management software sets the startup project and imports the control card driver model. The interface adapter management software sends the driver model to the interface control computer through UDP communication for driver assembly;
[0026] Step S3: The interface adaptation management software configures the interface IO, performs system mapping configuration, establishes data mapping relationships, and sets mapping scales and toggle switch values;
[0027] Step S4: configure the target machine clock source and clock cycle, build a Simulink reconstruction model according to actual needs and automatically embed it; the signal transfer box connects the test points according to the mapping relationship to realize the transceiver loop, leads the monitoring port to the front panel test interface, uses an oscilloscope to collect data, and judges the correctness of the communication configuration parameters according to the collected signals;
[0028] Step S5: the interface adapter software sends the interface configuration information to the interface control software, and the interface control software performs parsing after receiving the interface configuration information, and receives and forwards data according to the configuration relationship;
[0029] Step S6: The interface control computer collects real-time data of the test subject or accompanying test equipment through the control card, writes the data into the real-time memory network according to the interface configuration information, and uploads the data to the interface adaptation management software monitoring module for data correctness judgment. If the data is incorrect, the protocol configuration is changed or the mapping relationship is rebuilt; if the data is correct, the real-time simulation is started.
[0030] Preferably, the configuration interface IO includes interface control file configuration, interface control file design and interface control file binding;
[0031] The interface control file configuration process node includes opening the option of adding an interface card, adding data receiving end card information, adding data sending end card information, and saving card configuration;
[0032] The interface control file design content includes node name, signal name, data type, length, start position, end position, group name, group byte order, and test value;
[0033] The interface control file binding process includes opening the interface control file loading option, selecting the interface control file version, board channel sending data block configuration, board channel receiving data block configuration, and saving the interface configuration.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] 1. The radio frequency simulation interface adaptation system designed and developed by the present invention can meet the communication requirements of different interface types and realize the customized mapping configuration of communication protocols;
[0036] 2. The present invention supports data modular reconstruction based on Simulink model. In addition to simple data forwarding function, it also supports data reorganization, cross matching and operation processing;
[0037] 3. The present invention breaks through the limitation of computer peripheral hardware resources and adopts the mode of board external card slot box to accommodate more types and more numbers of communication boards to meet the system scalability requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0039] Figure 1 Adapter system working principle diagram for RF simulation interface;
[0040] Figure 2 Provide system integration layout diagram for RF simulation interface adapter;
[0041] Figure 3 This is a schematic diagram of the interactive interface of the interface adaptation management software. DETAILED DESCRIPTION
[0042] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0043] The present invention adopts the upper and lower computer architecture, which can meet the communication requirements of different simulation interfaces, realize the custom mapping configuration of communication protocols, and realize the modular reconstruction of interactive data through Simulink model embedding, supporting data reorganization, cross matching and calculation processing, etc. At the same time, the design of the board card external card slot box is adopted to break through the computer peripheral resource limitation and meet the scalability requirements of the radio frequency simulation interface.
[0044] According to the present invention, a radio frequency simulation interface adapter system is provided, which is used for data communication of different interface types between the test subject or accompanying test equipment and the simulation system, and includes: an interface adapter management computer, an interface control computer, a signal switching device, and a power sequencer. The power sequencer controls the interface control computer and the interface adapter management computer to power on and off according to the timing, the signal switching device is connected to the interface control computer, the interface adapter management computer is used to configure the interface IO and establish a mapping relationship according to the configuration content, and send the configuration information to the interface control computer; the signal switching device connects the test points according to the mapping relationship; the interface control computer collects real-time data of the test subject or accompanying test equipment, and writes the real-time data into the real-time memory network according to the configuration information, and uploads the real-time data to the interface adapter management computer for data correctness judgment.
[0045] The layout design of the present invention is as follows Figure 2 As shown, the signal switching device, interface control computer, interface adapter management computer, and power sequencer are integrated in the cabinet from top to bottom, and each device in the cabinet is connected with a customized cable to avoid signal interference. Figure 1 As shown, the interface control computer and the interface adapter computer adopt a host-server architecture and are connected via Gigabit Ethernet.
[0046] Specifically, the present invention adopts the design architecture of upper and lower computers. The upper computer is an interface adapter computer, and the lower computer is an interface control computer. Among them, the interface adapter computer is an industrial control computer, and the corresponding interface adapter management software is deployed. The interface adapter management software provides a human-machine operation interface for configuration file management, protocol custom configuration, process processing, etc. At the same time, it supports Simulink model building, modification, deletion and automatic embedding, and can realize multi-dimensional reconstruction of interactive data. The above operations do not require strong real-time performance. The interface control computer is loaded with different types of communication boards. On the one hand, it can interact with the test subject or accompanying test equipment through a signal switching device. On the other hand, during the simulation process, IO data is read and written in real time according to the frame cycle and the real-time memory network in the simulation system. The upper and lower computers communicate through Gigabit Ethernet, and the interface control computer transmits the communication process data and the operating status to the interface adapter management computer for monitoring; the interface adapter management computer sends the configuration management information to the interface control computer for driver loading, communication protocol configuration, interface control file unpacking, channel mapping, etc. The interface control computer adopts a CPCI-based special computer, runs a VxWorks real-time operating system, and deploys the interface control software, which is used for real-time signal conversion. The underlying board driver adopts the Matlab platform for development and management.
[0047] The signal transfer equipment adopts a 19” standard chassis, including a board external card slot box, a signal transfer box and a transfer cable. The board external card slot box is connected to the interface control computer through a dedicated data line, and each communication board is installed in the external card slot box. The supported communication interface types include: A / D, D / A, DIO, RS-422A, RS-232C, RS-485, MIL-STD-1553B, CAN, Ethernet, etc. A certain number of backups are reserved for each type of communication interface. The signal transfer box converts one side of the wiring transferred from different types of D-type adapters of the communication board into a standard 50-core rectangular connector, which can be connected to the interface of the test or accompanying equipment; the other side is connected to the front panel test interface for signal bypass monitoring. The power sequencer has 8 output ports, each with a capacity of 3KW and a national standard three-core socket, which can control the interface control computer and the interface adapter management computer to power on and off in sequence to prevent power shock caused by simultaneous power on and off.
[0048] According to a radio frequency simulation interface adaptation method provided by the present invention, using the radio frequency simulation interface adaptation system, the method includes:
[0049] Step S1: Start the power sequencer, complete the power-on and software loading of the interface control computer and the interface adapter management computer, and automatically perform the initialization operation after the software runs. The initial interface is as follows: Figure 3 shown.
[0050] Step S2: The interface adapter management software sets the startup project and imports the control card driver model, which is generated by Matlab. The interface adapter management software sends the driver model to the interface control computer through UDP communication for driver assembly, which is automatically completed by the system.
[0051] Step S3: The interface adaptation management software configures the interface IO, including interface control file configuration, interface control file design, and interface control file binding; performs system mapping configuration, establishes data mapping relationships, and sets mapping scales and toggle switch values. The interface control file configuration process nodes include opening the "Add Interface Board" option, adding data receiving end board information, adding data sending end board information, and saving board configuration. The board information content is shown in Table 1.
[0052] Table 1 Interface control file configuration board (partial) information list
[0053]
[0054]
[0055] The interface control file design content includes node name, signal name, data type, length, start position, end position, group name, group byte order, test value, etc. Take RS422 as an example for explanation, the specific content is shown in Table 2.
[0056] Table 2 Control file design content list
[0057]
[0058] The interface control file binding process includes opening the "Load interface control file" option, selecting the interface control file version, configuring the board channel sending data block, configuring the board channel receiving data block, and saving the interface configuration.
[0059] Step S4: Configure the target machine clock source and clock cycle, build a Simulink reconstruction model according to actual needs and automatically embed it. The signal transfer box connects the test points according to the mapping relationship to realize the transceiver loop, leads the monitoring port to the front panel test interface, uses an oscilloscope to collect data, and judges the correctness of the communication configuration parameters based on the collected signals.
[0060] Step S5: The interface adapter software sends the interface configuration information to the interface control software. After receiving the interface configuration information, the interface control software performs parsing and processing, and receives and forwards data according to the configuration relationship.
[0061] Step S6: The interface control computer collects real-time data of the test subject or accompanying test equipment through the control card, writes the data into the real-time memory network according to the interface configuration information, and uploads the data to the interface adaptation management software monitoring module for data correctness judgment. If the data is incorrect, it is necessary to change the protocol configuration or rebuild the mapping relationship. If the data is correct, start the real-time simulation.
[0062] The present invention can meet the communication requirements of different radio frequency simulation interfaces, can realize the customized mapping configuration of the communication protocol, has a certain data reconstruction capability, and at the same time breaks through the limitations of computer peripheral conditions to meet the scalability requirements of the radio frequency simulation interface.
[0063] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0064] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A radio frequency simulation interface adaptation system, characterized in that: include: Interface adapter management computer, interface control computer, signal switching equipment, power sequencer; The power sequencer controls the interface control computer and the interface adaptation management computer to power on and off according to a time sequence; The interface adaptation management computer is used to configure the interface IO and establish a mapping relationship according to the configuration content, and send the configuration information to the interface control computer; The signal switching device connects the test points according to the mapping relationship and is connected to the interface control computer; The interface control computer collects real-time data of the test subject or accompanying test equipment, writes the real-time data into a real-time memory network according to the configuration information, and uploads the real-time data to the interface adaptation management computer for data correctness judgment.
2. The radio frequency simulation interface adaptation system according to claim 1, characterized in that: The signal switching device, the interface control computer, the interface adapter management computer, and the power sequencer are integrated in the cabinet in order from top to bottom, and the various devices in the cabinet are connected using customized cables; The power sequencer has 8 output ports, each with a capacity of 3KW and a national standard three-core socket.
3. The radio frequency simulation interface adaptation system according to claim 1, characterized in that: The interface control computer and the interface adapter computer adopt a upper and lower computer architecture, the upper computer is the interface adapter computer, and the lower computer is the interface control computer, which are connected via Gigabit Ethernet.
4. The radio frequency simulation interface adaptation system according to claim 1, characterized in that: The interface adaptation computer is an industrial control computer, and corresponding interface adaptation management software is deployed. The interface adaptation management software provides a human-machine operation interface for performing operations including configuration file management, protocol custom configuration, and process processing; The interface adapter computer supports Simulink model construction, modification, deletion and automatic embedding, and can interactively reconstruct multiple data.
5. The radio frequency simulation interface adaptation system according to claim 1, characterized in that: The interface control computer is loaded with different types of communication boards. On the one hand, data is exchanged with the test subject or accompanying test equipment through the signal switching device. On the other hand, during the simulation process, IO data is read and written in real time with the real-time memory network in the simulation system according to the frame cycle.
6. The radio frequency simulation interface adaptation system according to claim 5, characterized in that: The interface control computer adopts a CPCI-based special computer, runs a VxWorks real-time operating system, and deploys corresponding interface control software, which is used for real-time signal conversion; the underlying board driver adopts a Matlab platform for development and management.
7. The radio frequency simulation interface adaptation system according to claim 1, characterized in that: The signal transfer equipment adopts a 19” standard chassis, including a board external card slot box, a signal transfer box and a transfer cable; The board external card slot box is connected to the interface control computer through a dedicated data line, and each communication board is installed in the external card slot box; the signal transfer box converts one side of the wiring transferred from different types of D-type adapters of the communication board into a standard 50-core rectangular connector, which can be connected to the interface of the test or accompanying test equipment; the other side is connected to the front panel test interface for signal bypass monitoring.
8. The radio frequency simulation interface adaptation system according to claim 7, characterized in that: The communication interface types supported by the signal switching device include: A / D, D / A, DIO, RS-422A, RS-232C, RS-485, MIL-STD-1553B, CAN, and Ethernet.
9. A radio frequency simulation interface adaptation method, characterized in that: Using the radio frequency simulation interface adaptation system according to any one of claims 1 to 9, the adaptation method includes: Step S1: Start the power sequencer, complete the power-on and software loading of the interface control computer and the interface adapter management computer, and automatically perform the initialization operation after the software runs; Step S2: the interface adapter management software sets the startup project and imports the control card driver model. The interface adapter management software sends the driver model to the interface control computer through UDP communication for driver assembly; Step S3: The interface adaptation management software configures the interface IO, performs system mapping configuration, establishes data mapping relationships, and sets mapping scales and toggle switch values; Step S4: configure the target machine clock source and clock cycle, build a Simulink reconstruction model according to actual needs and automatically embed it; the signal transfer box connects the test points according to the mapping relationship to realize the transceiver loop, leads the monitoring port to the front panel test interface, uses an oscilloscope to collect data, and judges the correctness of the communication configuration parameters according to the collected signals; Step S5: the interface adapter software sends the interface configuration information to the interface control software, and the interface control software performs parsing after receiving the interface configuration information, and receives and forwards data according to the configuration relationship; Step S6: The interface control computer collects real-time data of the test subject or accompanying test equipment through the control card, writes the data into the real-time memory network according to the interface configuration information, and uploads the data to the interface adaptation management software monitoring module for data correctness judgment. If the data is incorrect, the protocol configuration is changed or the mapping relationship is rebuilt; if the data is correct, the real-time simulation is started.
10. The radio frequency simulation interface adaptation system according to claim 9, characterized in that: The configuration interface IO includes interface control file configuration, interface control file design and interface control file binding; The interface control file configuration process node includes opening the option of adding an interface card, adding data receiving end card information, adding data sending end card information, and saving card configuration; The interface control file design content includes node name, signal name, data type, length, start position, end position, group name, group byte order, and test value; The interface control file binding process includes opening the interface control file loading option, selecting the interface control file version, board channel sending data block configuration, board channel receiving data block configuration, and saving the interface configuration.
Citation Information
Patent Citations
Debugging verification system for embedded software
CN202275399U