CN-122018355-A - Communication method of aircraft simulation platform and aeroengine controller
Abstract
The disclosure relates to a method for communication of an aircraft simulation platform with an aircraft engine controller, comprising determining a communication protocol to be used for communication with the aircraft engine controller, automatically configuring a communication board of the aircraft simulation platform based on the communication protocol, parsing data to be transmitted based on the communication protocol, and transmitting the parsed data to be transmitted to the aircraft engine controller.
Inventors
- ZHAO YAN
- CHEN KANG
Assignees
- 中国航发商用航空发动机有限责任公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241112
Claims (12)
- 1. A method for communication of an aircraft simulation platform with an aircraft engine controller, comprising: Determining a communication protocol to be used for communication with the aircraft engine controller; automatically configuring a communication board card of the aircraft simulation platform based on the communication protocol; parsing data to be transmitted based on the communication protocol, and And transmitting the parsed data to be transmitted to the aero-engine controller.
- 2. The method of claim 1, wherein determining a communication protocol to use for communicating with the aircraft engine controller comprises: Receiving an identifier of a communication protocol entered by a user and determining a communication protocol to be used based on said identifier, or Communication with a server to determine a communication protocol to be used by the aircraft engine controller to communicate with the aircraft simulation platform, wherein the aircraft engine controller is capable of communicating with the server to notify the server of the communication protocol.
- 3. The method of claim 2, wherein the server comprises a cloud server, wherein the aircraft engine controller is capable of communicating with the server to inform the server of its model number for the server to determine a communication protocol to be used by the aircraft engine controller to communicate with the aircraft simulation platform.
- 4. The method of claim 2, wherein the user input is received through a UI interface of the aircraft simulation platform.
- 5. The method of claim 1, wherein automatically configuring the communication board of the aircraft simulation platform based on the communication protocol comprises automatically configuring communication parameters of a first channel and communication parameters of a second channel of the communication board, wherein the communication parameters of the first channel and the communication parameters of the second channel comprise one or more of a port name, a port type, a virtual link, a sub-virtual link, a destination UDP port, a source UDP port, a destination IP address, a source IP address, a maximum and minimum frame length, a communication direction.
- 6. The method of claim 5, wherein the step of determining the position of the probe is performed, The communication direction is transmitting under the condition that the aircraft simulation platform transmits data to the aeroengine controller, otherwise, the communication direction is receiving; the port of the destination UDP is a receiving port of the respective channel of the aircraft engine controller in case the communication direction is transmitting, and the port of the destination UDP is a transmitting port of the respective channel of the aircraft engine controller in case the communication direction is receiving; The destination IP address being the IP address of the corresponding channel of the aircraft engine controller, and The maximum and minimum frame lengths are automatically adapted according to the size of the amount of data to be transmitted or received.
- 7. The method of claim 1, wherein parsing data to be transmitted based on the communication protocol comprises: Recording the data to be transmitted in a table according to the communication protocol; Grouping data to be transmitted recorded in the table according to the sequence of aircraft status words defined by the communication protocol to package the data into aircraft status words; Determining a data area in the table to acquire the number of lines of the data area; Scanning the data area to acquire the name of each aircraft state; performing a bit-order identification of the aircraft state for the line of names of the aircraft states to traverse all the aircraft states and bit-orders in the table, and And performing bit order verification, wherein the bit order verification is to verify the identified bit order of the aircraft state, the verification algorithm is to perform bit order verification according to the relative position of the aircraft state, the relative position of the aircraft state refers to the relative position of the state included in the table identified according to the communication protocol, and the bit order verification comprises comparing whether the relative position of the aircraft state defined by the communication protocol is consistent with the identified bit order of the aircraft state.
- 8. The method of claim 7, wherein the step of determining the position of the probe is performed, If the relative position of the aircraft state defined by the communication protocol is consistent with the identified aircraft state bit sequence, the data analysis is successful; otherwise, the inconsistent positions are shown to indicate the positions where the data to be sent needs to be modified.
- 9. The method of claim 8, further comprising performing a forced data type conversion on the data in the table to reconcile the data type of the data to be sent with the data type to be received by the aircraft engine controller.
- 10. The method of claim 1, wherein the data to be transmitted comprises an aircraft status word including a status of an aircraft ignition switch, a fire alarm signal status, a flight altitude, a mach number, an aircraft ambient static pressure, a fan inlet pressure.
- 11. The method of claim 1, further comprising receiving data from an aircraft engine controller.
- 12. An aircraft simulation platform configured to implement the method of any of claims 1-11.
Description
Communication method of aircraft simulation platform and aeroengine controller Technical Field The present disclosure relates to the field of aeroengines, and in particular to a communication method for an aircraft simulation platform and an aeroengine controller. Background The aircraft simulation platform may simulate an aircraft, requiring communication with an aircraft engine controller. The conventional communication method requires that communication codes are written one by one according to a communication protocol, and that the communication codes are rewritten once the aircraft engine controller is changed. This method of communication is cumbersome, time consuming and error prone. The present disclosure is improved upon with respect to, but is not limited to, the factors described above. Disclosure of Invention To this end, the present disclosure provides a method of communication of an aircraft simulation platform with an aircraft engine controller. In the method of the present disclosure, the communication is automatically configured by only reading the communication protocol without manually modifying the communication code. Thus, the method disclosed by the invention is based on real-time communication between the real-time simulation system high-precision simulation aircraft and the engine controller, and the fly-by-fly communication test environment is automatically configured by reading the communication protocol configuration file, so that the fly-by-fly real-time communication simulation is realized efficiently. The model-based design of the method can not only greatly improve the construction efficiency of the fly-by-fly communication, but also automatically convert data types according to a communication protocol and adapt to aero-engine controllers with different specifications. According to a first aspect of the present disclosure, there is provided a method for communication of an aircraft simulation platform with an aeroengine controller, comprising determining a communication protocol to be used for communication with the aeroengine controller, automatically configuring a communication board of the aircraft simulation platform based on the communication protocol, parsing data to be transmitted based on the communication protocol, and transmitting the parsed data to be transmitted to the aeroengine controller. According to an embodiment, determining a communication protocol to use for communicating with the aircraft engine controller includes receiving an identifier of a communication protocol entered by a user and determining a communication protocol to use based on the identifier, or communicating with a server to determine a communication protocol to be used by the aircraft engine controller for communicating with the aircraft simulation platform, wherein the aircraft engine controller is capable of communicating with the server to notify the server of the communication protocol. According to another embodiment, the server comprises a cloud server, wherein the aero-engine controller is capable of communicating with the server to inform the server of its model number for the server to determine a communication protocol to be used by the aero-engine controller to communicate with the aircraft simulation platform. According to a further embodiment, the user input is received through a UI interface of the aircraft simulation platform. According to a further embodiment, automatically configuring the communication board of the aircraft simulation platform based on the communication protocol comprises automatically configuring communication parameters of a first channel and communication parameters of a second channel of the communication board, wherein the communication parameters of the first channel and the communication parameters of the second channel comprise one or more of a port name, a port type, a virtual link, a sub-virtual link, a destination UDP port, a source UDP port, a destination IP address, a source IP address, a maximum and minimum frame length, a communication direction. According to a further embodiment, in case the aircraft simulation platform sends data to the aeroengine controller, the communication direction is send, otherwise the communication direction is receive, in case the communication direction is send, the port of the destination UDP is a receive port of the respective channel of the aeroengine controller, and in case the communication direction is receive, the port of the destination UDP is a send port of the respective channel of the aeroengine controller, the destination IP address is an IP address of the respective channel of the aeroengine controller, and the maximum and minimum frame lengths are automatically adapted according to the size of the amount of data to be sent or received. According to yet another embodiment, parsing the data to be transmitted based on the communication protocol includes recording the data to be transmitted in rows in a