CN-121690902-B - Bus signal simulation method for universal emission control system
Abstract
The invention relates to the technical field of computers and discloses a bus signal simulation method of a universal emission control system. The method comprises the steps of obtaining equipment node topology, protocol types and historical load data, constructing a bus network abstract model, extracting a message flow time sequence template, generating a concurrent message scheduling sequence conforming to arbitration logic, fusing to form a high-fidelity signal substrate, superposing physical layer interference signals based on measured data, and injecting the physical layer interference signals into a tested system at a loop interface through hardware. The system comprises a bus topology analysis module, a network modeling module, a time sequence template extraction module, a scheduling generation module, a signal fusion module, an interference injection module and a hardware output module. According to the method, the test authenticity, the coverage rate and the platform universality are remarkably improved through logic and physical layer joint modeling.
Inventors
- LI JING
- CHEN HAO
- DING SIHE
- LIU WEI
Assignees
- 四川天中星航空科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260209
Claims (9)
- 1. The bus signal simulation method of the universal emission control system is characterized by comprising the following steps: acquiring physical connection topological structures, communication protocol types, message cycle characteristics, message priority allocation rules and historical bus load data of all equipment nodes participating in communication in a target transmission control system; Constructing an initial bus network abstract model based on the physical connection topological structure and the communication protocol type, wherein the initial bus network abstract model comprises address identifiers of all equipment nodes, a message identifier set, transmission rate parameters and arbitration mechanism description; Carrying out time sequence segmentation and event trigger point marking on the historical bus load data, and extracting a message flow time sequence template under a typical working mode, wherein the message flow time sequence template comprises message sending time, duration, data frame length and check field distribution rules; Generating a multi-device concurrent message scheduling sequence according to the message periodic characteristics and the message priority allocation rule, wherein the multi-device concurrent message scheduling sequence ensures that the message sending behaviors of all device nodes accord with the competition and arbitration logic of the device nodes in a real system in any time window; Carrying out space-time alignment fusion on the message flow time sequence template and the multi-device concurrent message scheduling sequence to generate a high-fidelity bus signal behavior substrate; Based on the high-fidelity bus signal behavior substrate, physical layer interference signals generated by an external environment disturbance model are superimposed, wherein the physical layer interference signals comprise voltage drop, signal reflection, common mode noise and crosstalk components, and the amplitude, the phase and the duration of the physical layer interference signals are determined according to actual measurement electromagnetic environment statistical data; Injecting the superimposed composite signal into a bus physical layer of a tested universal emission control system through hardware at a loop interface to complete closed-loop simulation of a complex multi-device aliasing scene; Constructing an initial bus network abstraction model, comprising: Each equipment node is allocated with a unique logic identifier, and the identifier corresponds to the hardware address of the equipment node in the real system one by one; determining the coding rule of the message arbitration field according to the communication protocol type, and mapping the message identifier into a binary priority code for the protocol adopting identifier priority arbitration; defining a message transmission rate parameter as the number of bits transmitted per second, wherein the range of values covers discrete gears from 10 kilobits per second to 1 megabit per second; Modeling the arbitration mechanism description as a finite state machine, wherein the state transition condition is determined by the current bus idle state, the node waiting message priority and the conflict detection result.
- 2. The universal emission control system bus signal simulation method according to claim 1, wherein obtaining the physical connection topology of all the device nodes participating in the communication in the target emission control system comprises: Traversing all effective node addresses on a controller local area network bus through a bus scanning tool, and recording response delay and error frame reporting frequency of each node; analyzing the configuration description file of each node, and extracting the supported communication baud rate, the filter mask setting, the receiving buffer depth and the mapping relation of the error state register; based on the information, a bidirectional directed graph model comprising the logical dependency relationship between nodes and the impedance characteristic of the physical links is constructed and used as the digital representation of the physical connection topological structure.
- 3. The universal emission control system bus signal simulation method according to claim 2, wherein performing time series segmentation and event trigger point labeling on the historical bus load data comprises: sliding slicing is carried out on the continuously acquired bus original data stream according to a preset time window length, wherein the time window length is 100 milliseconds; identifying the start bit edge and the end bit edge of all complete data frames in each time window, and calculating the inter-frame interval time; when the inter-frame interval time is smaller than a preset threshold value, judging continuous messages in the same event trigger sequence; each event trigger sequence is marked with a corresponding system operation event type, wherein the system operation event type comprises weapon unlocking, fire control calculation starting, seeker activation and emission instruction issuing.
- 4. The universal transmission control system bus signal emulation method of claim 3, wherein said generating a multi-device concurrent message scheduling sequence comprises: establishing a scheduling engine based on time triggering and event triggering hybrid driving; configuring an independent message queue for each equipment node, wherein the messages in the queues are ordered according to the generation logic of the messages in a real system; In each scheduling period of the scheduling engine, globally ordering all the messages to be sent according to the message priority allocation rule; if the plurality of messages have the same priority, the messages are arranged in ascending order according to the physical addresses of the equipment nodes to which the messages belong; And outputting the ordered message sending time sequence as a multi-device concurrent message scheduling sequence.
- 5. The universal emission control system bus signal simulation method according to claim 4, wherein the time-space alignment fusion of the message flow timing template and the multi-device concurrent message scheduling sequence comprises: converting the relative time offset in the message flow time sequence template into an absolute time stamp, and taking the first message sending time in the scheduling sequence as a time zero point; Inserting placeholders into the scheduling sequence for the missing message types in the template, and marking the placeholders as optional messages; forcibly inserting a high-priority interrupt message which exists in the template but is not contained in the scheduling sequence into the nearest bus idle gap; A high-fidelity bus signal behavior base is generated that contains the complete message content, the precise sending moment, and the expected response behavior.
- 6. The universal emission control system bus signal simulation method according to claim 5, wherein the building of the external environment disturbance model comprises: Collecting bus differential signal waveforms of a real transmitting platform under different working conditions, and extracting rising time, falling time, overshoot amplitude and eye pattern closure parameters of the bus differential signal waveforms; counting the occurrence frequency, duration and amplitude distribution of the voltage drop event, and establishing a voltage drop probability density function; calculating signal reflection coefficients under the combination of different cable lengths and terminal matching resistors based on a transmission line theory, and generating a reflection waveform library; measuring the frequency spectrum of induction noise on a bus when adjacent high-power equipment is started and stopped, and constructing a time-frequency joint distribution model of common mode noise and crosstalk components; and weighting and superposing the interference components according to the joint occurrence probability of the interference components in the real environment to form a composite physical layer interference signal.
- 7. The universal emission control system bus signal emulation method of claim 6, wherein said hardware-in-loop interface comprises: The programmable logic device is used for generating differential signal levels conforming to the controller local area network protocol specification in real time; The high-precision digital-to-analog conversion circuit has a resolution of not lower than 12 bits and an update rate of not lower than 10 MHz and is used for converting a digital interference signal into an analog voltage waveform; the differential signal synthesis unit is used for carrying out vector superposition on the pure bus signal and the analog interference signal and outputting the pure bus signal and the analog interference signal to the bus physical layer; And the real-time monitoring feedback loop is used for sampling the injected bus signal, comparing the sampled bus signal with the expected waveform, and dynamically adjusting the interference injection intensity to maintain the analog fidelity.
- 8. The universal transmission control system bus signal emulation method of claim 7, wherein said message cycle characteristics comprise periodic messages, event triggered messages, and mixed messages, said message priority allocation rule determining arbitration order with message identifier value size.
- 9. The universal transmission control system bus signal simulation method according to claim 8, wherein the check field distribution rule refers to a statistical characteristic of cyclic redundancy check values varying with data contents, for verifying validity of the simulation message.
Description
Bus signal simulation method for universal emission control system Technical Field The invention belongs to the technical field of computers, and particularly relates to a bus signal simulation method of a universal emission control system. Background Under the background of the rapid development of the industrial Internet of things and the intelligent measurement and control system, the universal emission control system is used as a key signal interaction platform and is widely applied to high-reliability scenes such as aerospace test, weapon test and complex equipment integration test. The system is generally connected with heterogeneous devices through a bus architecture, and achieves instruction issuing, state feedback and real-time cooperative control. Along with the expansion of the system scale and the improvement of the equipment density, the number of signals transmitted on a bus concurrently increases, so that non-orthogonal aliasing of multi-source signals occurs in time domain, frequency domain and even code domain, and a complex interference environment is formed. The traditional bus signal simulation method is mostly based on an idealized assumption, adopts orthogonal or isolated channels to respectively generate single equipment signals, and is difficult to reproduce dynamic aliasing effects caused by factors such as equipment response delay, protocol conflict, electric crosstalk and the like under real working conditions. The Non-orthogonal multiple access (NOMA) concept has been introduced in the field of industrial signal simulation in recent years, and has led to the technical direction of NOMA-SST (Non-Orthogonal Multiple Access-Signal Superposition Testing) aiming at synchronously simulating the concurrent signal behaviors of multiple devices within a limited bandwidth by superposition coding and power domain distinguishing mechanisms. The core goal of the technology is to reconstruct the signal interaction scene when multiple devices coexist with high fidelity on the premise of not increasing physical channels, so that the robustness verification and fault diagnosis capability of a support control system under the condition of strong interference are improved. The bus signal simulation scheme in the prior art has three general limitations that firstly, a signal generation model is too simplified, only static and independent signal sequence output is supported, interaction logic and response time sequences between devices cannot be dynamically coupled, secondly, effective modeling capability on non-orthogonal aliasing signals is lacking, power distribution, phase relation and burst characteristics of the overlapped signals are difficult to precisely control, a significant deviation exists between simulation results and measured data, thirdly, under a complex electromagnetic environment, effective components and interference components in the aliasing signals cannot be distinguished and separated by a traditional method, and a trusted reference is lost in subsequent signal analysis, fault injection or performance evaluation. The above-mentioned drawbacks make it difficult to provide a test record with engineering practical value when the existing simulation means face the high-density, high-dynamic and strong-coupling universal emission control scene, and a new simulation method capable of truly reproducing and controllably separating the non-orthogonal aliasing bus signals is needed. Disclosure of Invention The invention provides a bus signal simulation method of a universal emission control system, which aims to solve the problem of communication interference caused by signal aliasing of multiple devices and overcome the technical defect that the traditional signal simulation technology cannot truly reproduce complex electromagnetic and logic interaction scenes. According to the method, by constructing a high-fidelity multi-source heterogeneous bus signal space-time coupling model and combining a dynamic topology reconstruction mechanism and a signal injection strategy based on physical layer characteristics, accurate simulation of multi-device concurrent, asynchronous and unsteady bus behaviors in a real combat or test environment is realized. The invention provides a bus signal simulation method of a universal emission control system, which comprises the following steps: acquiring physical connection topological structures, communication protocol types, message cycle characteristics, message priority allocation rules and historical bus load data of all equipment nodes participating in communication in a target transmission control system; Constructing an initial bus network abstract model based on the physical connection topological structure and the communication protocol type, wherein the initial bus network abstract model comprises address identifiers of all equipment nodes, a message identifier set, transmission rate parameters and arbitration mechanism description; Carrying out