Movatterモバイル変換


[0]ホーム

URL:


CN110233824A - A kind of system simulation method - Google Patents

A kind of system simulation method
Download PDF

Info

Publication number
CN110233824A
CN110233824ACN201910374635.0ACN201910374635ACN110233824ACN 110233824 ACN110233824 ACN 110233824ACN 201910374635 ACN201910374635 ACN 201910374635ACN 110233824 ACN110233824 ACN 110233824A
Authority
CN
China
Prior art keywords
data
simulation
controlled device
afdx
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910374635.0A
Other languages
Chinese (zh)
Inventor
张彬
杜文亮
张黎
姜琳琳
王纯委
王博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Aeronautics Computing Technique Research Institute of AVICfiledCriticalXian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201910374635.0ApriorityCriticalpatent/CN110233824A/en
Publication of CN110233824ApublicationCriticalpatent/CN110233824A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The application provides a kind of system simulation method, and the method is applied in data transmission terminal, which comprises data transmission terminal is in server-side upper application layer, by loading configuration function, AFDX PORT COM allocation list is generated, then creates sample port, completes the creation of AFDX PORT COM;Using interface for network programming Socket socket, server-side udp port is established;The data of long-range controlled device are received by AFDX PORT COM;The long-range controlled device data are sent to Simulation Control end by the server-side udp port.

Description

A kind of system simulation method
Technical field
The invention belongs to airborne teledata acquisition and transmission technique fields, are related to a kind of system simulation method.
Background technique
AFDX is waited in Air Passenger A380 and 400M, Boeing 787 and is succeeded on aircrafts as one of Avionics data bus technologyUsing, be internationally recognized aircraft first choice communication network of new generation, be widely used at present novel airborne remote data acquisition withThe research of Transmission system.
It is very must that being equipped in avionics system, which has the remote data concentrator of remote data acquisition and transmission technology,It wants.Multiplex roles, high-speed, mobile remote data concentrator will certainly bring a large amount of remote data transmissions, background serviceDevice usually needs the teledata being collected into these dynamically to be quantized, graphical simulation is analyzed.In Practical Project, lead toThe analog simulation of controlled device in control subsystem is often realized by the static mode of pure software, but this emulation mode is real-timeProperty it is poor, being connected with practical control subsystem, i.e., without in real time, counted automatically by practical interactive interfaceAccording to transmission, this has a certain distance, the larger difference that simulation analysis result is also deposited with running process.
Summary of the invention
The purpose of the present invention is to propose to a kind of system simulation platform based on AFDX network and MATLAB, according to teledataConcentrator interface function builds AFDX network and MATLAB simulation communication platform, realizes long-range controlled device and background serverBetween data exchange, dynamic simulation and analysis.
In a first aspect, the application provides a kind of system simulation method, the method is applied in data transmission terminal, the methodInclude:
Data transmission terminal, by loading configuration function, generates the configuration of AFDX PORT COM in server-side upper application layerTable, then sample port is created, complete the creation of AFDX PORT COM;
Using interface for network programming Socket socket, server-side udp port is established;
The data of long-range controlled device are received by AFDX PORT COM;
The long-range controlled device data are sent to Simulation Control end by the server-side udp port.
Optionally, described to utilize interface for network programming Socket socket, server-side udp port is established, is specifically included:
Data transmission terminal first carries out Socket initialization in upper application layer;
Web socket is established, Socket and upper PC machine IP, udp port are carried out bindings, while also constructedDriver.
Optionally, described that the long-range controlled device data are sent to by Simulation Control by the server-side udp portEnd, specifically includes:
When uplink needs to communicate, the server-side udp port receives the long-range controlled of AFDX PORT COM acquisitionObject data, and it is sent to Simulation Control end.
Optionally, the method also includes: the data transmission terminal utilizes server-side when downlink needs to communicateUdp port receives the data that the Simulation Control end is sent, then is sent to long-range controlled device by the AFDX PORT COM.
Optionally, data transmission terminal includes AFDX PORT COM and server-side udp port.
Second aspect, the application provide a kind of system simulation method, and the method is applied in Simulation Control end, the methodInclude:
Simulation Control end creates one and the consistent client UDP of server-side udp port in AFDX communication using MATLABTransmission/reception module;
Client UDP transmission/reception module receives the long-range controlled device data that data transmission terminal is sent;
Modeling and simulation analysis is carried out to the long-range controlled device data, and obtains simulation result.
Optionally, described that modeling and simulation analysis is carried out to the long-range controlled device data, it specifically includes:
Classify to long-range controlled device data, according to its type difference, selects corresponding SIMULINK dynamic linkBlock diagram in library models interface;
Establish graphic user interface and corresponding visual simulating model, carry out the numerical operations of data, parsing, extraction andGraphic plotting, completes the modeling and simulation analysis of data, and obtains simulation result.
Optionally, the method also includes:
Simulation Control end is according to simulation result, and using client UDP transmission/reception module, Xiang Yuancheng controlled device is sentControl instruction, to control the operation of long-range controlled device.
Optionally, the Simulation Control end is consistent with server-side udp port in AFDX communication using MATLAB creation oneClient UDP transmission/reception module construct simulation study and system control while according to long-range controlled device data typePlatform specifically includes:
The Simulation Control end utilizes the SIMULINK dynamic link library under MATLAB the integration environment, creates one and AFDXThe consistent client UDP transmission/reception module of server-side udp port in communication, while according to long-range controlled device data type,Construct simulation study and system control panel.
In conclusion what the invention proposes a kind of based on AFDX network and MATLAB is Design of Simulation Platform framework, withBased on UDP communication protocol, by AFDX technology and MATLAB emulation interface platform, it is (long-range to realize remote data concentratorControlled device) it is dynamically interacted in real time with data between background server, processing and graphical simulation platform, thus effectivelyResearching and analysing for remote collection data is completed, provides timely and effectively digitization support for front and back strategic decision.The present inventionThe system simulation platform based on AFDX network and MATLAB proposed has the advantages that emulation link complexity is low, reliableIt is high;Emulation platform real time implementation, automation and continuity;Simulation model has open sexual function, constantly can improve and expand,Convenient for the continuity of research work.
Detailed description of the invention:
Fig. 1 is the downstream driver control platform provided in an embodiment of the present invention based on AFDX network and MATLAB;
Fig. 2 is the upstream data analysis platform provided in an embodiment of the present invention based on AFDX network and MATLAB.
Specific embodiment
Embodiment one
The purpose of the present invention is to propose to a kind of system simulation platform based on AFDX network and MATLAB, according to teledataConcentrator interface function builds AFDX network and MATLAB emulation communication platform, realizes long-range controlled device and background serverData exchange, dynamic simulation and analysis between (upper PC machine).
Technical solution of the present invention:
1, AFDX communication system is constructed:
AFDX communication system is the interface unit between AFDX network and avionics system, has the function for sending and receiving dataCan, can carry out virtual link (VL) isolation, transmitting terminal traffic shaping, receiving end redundant data management, receiving end VL label identify,The operation such as integrity detection.AFDX network end system is attached by AFDX interchanger, is provided at a high speed, reliably for each hostData communication.
End system is very important a part in AFDX communication, it plays bridge between aviation subsystem and exchange networkBeam action.It is responsible for the data flow for needing to send by aviation subsystem and carries out shaping, then dispatches and calculate according to certain end systemThe complete data frame of shaping is sent to purpose terminal through corresponding VL by method, and there are one important functions for it: Redundancy Management, its workWith the reliability for being guarantee transmission.AFDX end system is from top to bottom by application layer, transport layer, network layer and MAC layerComposition.
According to ARINC653 aviation electronics application software standard interface in the present invention, AFDX end system selects sample port.After upper PC machine installation AFDX end system board, VC++ and MATLAB/SIMULINK environment.In VC++ exploitation environment, designServer-side upper level applications are developed, load configuration, creation port and port transmission/reception are led to, realize upper PC machine and long-rangeAFDX communication link between controlled device.
2, it sets up AFDX and communicates upper layer application server-side udp port
In server-side upper level applications, socket () is called to establish web socket, and by Socket and server-sideIP and udp port are bound, and server-side UDP send/receive operation is completed, and set up AFDX network and MATLAB/SIMULINKServer-side udp port between emulation platform.
3, MATLAB platform client udp port is established
In MATLAB/SIMULINK exploitation environment, client UDP transmission/reception module, address, port are createdBeing arranged will be arranged unanimously with the IP address of server-side udp port, port, this is just that client UDP transmission/reception module specifiesThe address to be communicated completes the relevant configuration of client UDP transmission/reception module, also just establish AFDX network withClient UDP ports between MATLAB/SIMULINK emulation platform.
3, emulation platform operation and extension are realized
The type of user's long-range controlled device data according to received by client UDP ports, in MATLAB/SIMULINKThe middle corresponding visualization mathematical model of foundation carries out dynamic simulation analysis research in real time to data are received, while can also pass throughEmulation platform proposed by the present invention carries out instruction control to long-range controlled device, so that long-range controlled device is according to scheduled programOperation, realize the acquisition of entire airborne teledata and Transmission system downstream driver control platform intelligentized control method and upstream dataThe real-time continuous automation dynamic simulation of analysis platform.
It, can according to different model, different application systems and ground checkout equipment etc. to the technical need of AFDX network communicationNeatly emulation platform proposed by the present invention is expanded or cut, in order to the continuity of research work.
The present invention has the advantage that effect:
System simulation platform proposed by the present invention based on AFDX network and MATLAB, has the advantages that
Emulation link complexity is low, reliable height;
Emulation platform real time implementation, automation and continuity;
Simulation model has open sexual function, constantly can improve and expand, convenient for the continuity of research work.
Embodiment two
Specific implementation method of the invention is as follows:
1, raw by loading configuration function initCfg () in server-side upper layer application journey in VC++ exploitation environmentAt AFDX PORT COM allocation list, afdxCreateSPortPC () creation sample port is recalled, input parameter is port numbers,Output parameter is port-mark, completes the creation of AFDX PORT COM;
2, the interface for network programming Socket socket provided using Windows, establishes server-side udp port.It is specificApplication method is: in upper level applications, first carrying out Socket initialization, calls socket () to establish after initializing successfullyWeb socket then calls bind () that Socket and server ip, udp port are carried out bindings, while also to be constructedDriver establishes the connection of both sides with this;When wanting uplink to need to communicate, server-side udp port receives AFDX communicationThe long-range controlled device data that port obtains, and it is sent to Simulation Control end.Conversely, when downlink needs to communicate, emulationAfter control terminal has sent dependent instruction, server-side udp port receives the dependent instruction that Simulation Control end is sent, then logical by AFDXNews port is sent to long-range controlled device.This completes the network communications between long-range controlled device and Simulation Control end;
3, in Simulation Control end client SIMULINK exploitation environment, creation one is with ethernet ip in AFDX communicationConsistent client UDP transmission/reception module is arranged (although can create one using related command in MATLAB in location, portUDP communication module carries out the reception and display of data, but compared with UDP communication module in SIMULINK, implements more numerousLock, therefore selection is realized with the latter in the design);
4, in upstream data analysis platform, to the long-range controlled device number received in client UDP transmission/reception moduleAccording to classifying, according to its type difference, all kinds of block diagrams selected in SIMULINK dynamic link library model interface, establish figureShape user interface and corresponding visual simulating model carry out numerical operation, parsing, extraction and the graphic plotting of data, completeThe modeling and simulation of data is analyzed;Simulation Control end client UDP is utilized according to simulation result in downstream driver control platformTransmission/reception module sends relevant control instruction to long-range controlled device, controls the operation of long-range controlled device, makes long-rangeControlled device is run according to the preset program in Simulation Control end, is realized to the acquisition of entire airborne teledata and Transmission systemProgress automatically and continuously runs emulation and research.

Claims (9)

CN201910374635.0A2019-05-092019-05-09A kind of system simulation methodPendingCN110233824A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910374635.0ACN110233824A (en)2019-05-092019-05-09A kind of system simulation method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910374635.0ACN110233824A (en)2019-05-092019-05-09A kind of system simulation method

Publications (1)

Publication NumberPublication Date
CN110233824Atrue CN110233824A (en)2019-09-13

Family

ID=67861101

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910374635.0APendingCN110233824A (en)2019-05-092019-05-09A kind of system simulation method

Country Status (1)

CountryLink
CN (1)CN110233824A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111212061A (en)*2019-12-312020-05-29华东计算技术研究所(中国电子科技集团公司第三十二研究所)AFDX (avionics full Duplex switched Ethernet) -based socket implementation method

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102209000A (en)*2011-07-052011-10-05北京航空航天大学Avionics full duplex switched Ethernet (AFDX) network terminal system simulator with layered fault injection and fault analysis functions
CN103139061A (en)*2011-11-232013-06-05中国航空工业集团公司第六三一研究所Method for aviation dedicated full-duplex exchange type Ethernet terminal system
CN104580148A (en)*2014-12-012015-04-29国家电网公司Method for simple data interaction between electric power region I and electric power III by using reserve 1bit data of forward direction isolating device
CN104615010A (en)*2014-12-262015-05-13成都飞机工业(集团)有限责任公司FlightGear and VC hybrid system developing method based on network communication
CN106161117A (en)*2016-09-292016-11-23北京润科通用技术有限公司The analogue system of a kind of AFDX network and emulation mode
CN107947987A (en)*2017-11-272018-04-20中国航空无线电电子研究所A kind of emulation mode using ICP/IP protocol simulation FC AE ASM agreements
CN109598040A (en)*2018-11-222019-04-09浙江工业大学The associative simulation interface method that NS3 and MATLAB based on Transmission Control Protocol are integrated

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102209000A (en)*2011-07-052011-10-05北京航空航天大学Avionics full duplex switched Ethernet (AFDX) network terminal system simulator with layered fault injection and fault analysis functions
CN103139061A (en)*2011-11-232013-06-05中国航空工业集团公司第六三一研究所Method for aviation dedicated full-duplex exchange type Ethernet terminal system
CN104580148A (en)*2014-12-012015-04-29国家电网公司Method for simple data interaction between electric power region I and electric power III by using reserve 1bit data of forward direction isolating device
CN104615010A (en)*2014-12-262015-05-13成都飞机工业(集团)有限责任公司FlightGear and VC hybrid system developing method based on network communication
CN106161117A (en)*2016-09-292016-11-23北京润科通用技术有限公司The analogue system of a kind of AFDX network and emulation mode
CN107947987A (en)*2017-11-272018-04-20中国航空无线电电子研究所A kind of emulation mode using ICP/IP protocol simulation FC AE ASM agreements
CN109598040A (en)*2018-11-222019-04-09浙江工业大学The associative simulation interface method that NS3 and MATLAB based on Transmission Control Protocol are integrated

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111212061A (en)*2019-12-312020-05-29华东计算技术研究所(中国电子科技集团公司第三十二研究所)AFDX (avionics full Duplex switched Ethernet) -based socket implementation method
CN111212061B (en)*2019-12-312021-11-23华东计算技术研究所(中国电子科技集团公司第三十二研究所)AFDX (avionics full Duplex switched Ethernet) -based socket implementation method

Similar Documents

PublicationPublication DateTitle
CN103116287B (en)Avionics equipment running environment dynamic simulating device and method
CN105549497B (en)Support more rotor unmanned aircraft control systems of PC controls
CN106294155B (en)A kind of distribution I/O Simulation Controls test method, system and simulation computer
CN106301911A (en)Information Network based on SDN half centralized simulation platform in kind and its implementation
CN101894192A (en) Simulation and Demonstration System and Simulation and Demonstration Method for AFDX Network Design and Verification
CN105487409B (en)Unmanned plane spatial domain integrated flight security management and control demonstration and verification platform
CN104880961A (en)Real-time simulation experiment system of multi-unmanned plane distributed synergetic hardware in loop
CN113467275A (en)Unmanned aerial vehicle cluster flight simulation system based on real object airborne equipment
CN112937914B (en)Ground simulation instruction processing method for aircraft complete machine test
CN108919831A (en)A method of can be realized in a browser simulation unmanned plane during flying scene in real time
CN105824726A (en)Remote automatic test system and method of mobile terminals
CN102708232A (en)Processing method and device for distributed simulation data
CN109188933A (en)A kind of cluster unmanned plane distributed hardware is in loop simulation system
CN107846304A (en)A kind of automation engine of mixing cloud service architecture centralized management
CN102223308A (en)Network area traffic compressing and distributing system based on virtual link exchange
CN116224835A (en) A design method of UAV information attack hardware-in-the-loop test architecture
CN110674584A (en)Multi-aircraft combined simulation system
CN106991001A (en)Radionavigation recognizes simulation system
CN110233824A (en)A kind of system simulation method
CN107508711A (en)A kind of emulation test system based on FC AE ASM protocol communications
CN208608998U (en)A kind of equipment test verifying system based on FC network
CN113485435B (en)Heterogeneous multi-unmanned aerial vehicle monitoring system and method
CN109910790A (en) An ADAS Domain Controller
CN111221265B (en) A bus information extraction device and hardware-in-the-loop simulation method for a rudder system in the loop
CN210592490U (en)Maintenance test system for airplane comprehensive control display assembly

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20190913

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp