IENA and PCM framing method and system for general collection and editing

By using extensible functions in the telemetry acquisition system to acquire the configuration tables sent by the chassis and host computers, synchronous output of PCM and IENA frames is realized, which solves the problem of specialization and modular design of traditional systems, and improves system flexibility and bandwidth. To meet the needs of multiple aircraft models.

CN118713798BActive Publication Date: 2024-11-22BEIJING TIANCHEN HECHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411186472.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-11-22
Estimated Expiration
2044-08-28

AI Technical Summary

Technical Problem

Traditional telemetry acquisition systems are highly specific, cannot be flexibly configured, and it is difficult to achieve modular design, resulting in extended development progress cycle and wasted resources.

Method used

The preset upper computer sends the configured PCM full-frame table and IENA mapping table to the extensible function acquisition chassis through the preset upper computer. The main control module receives and distributes it to the function acquisition module. The data acquisition is collected using the preset sampling rate to form PCM and IENA programming. The frame subtable is used to frame and frame the whole frame table to realize the synchronous output of PCM and IENA frames.

Benefits of technology

It realizes the independent mutual influence between PCM and IENA frame programming, and is flexible and compatible, which improves the system bandwidth and synchronous acquisition capabilities, adapts to the testing needs of multiple models of aircraft, and reduces repeated design and development cycles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713798B_ABST
    Figure CN118713798B_ABST
Patent Text Reader

Abstract

The present invention provides a general IENA and PCM framing method and system, which enables a framing table storage and transfer unit of a main control module to receive an IENA mapping table and a PCM full frame table, and sends a PCM subtable divided by a host computer to a function acquisition module corresponding to the PCM subtable, and performs data acquisition according to a preset sampling rate through the function acquisition module to obtain sampled data, and performs PCM framing based on the sampled data based on the PCM subtable to form a PCM framing subtable, and selects data from the sampled data as an IENA data frame according to a preset period, thereby synchronously completing IENA framing and PCM framing, so that PCM framing and IENA framing can be framed and output at the same time, and the two should be independent of each other and not affect each other, and can be flexibly configured, adopts a networked IENA framing + traditional PCM framing system design architecture, and comprehensively considers improving system bandwidth, synchronous acquisition, and modular serialization, so as to meet the current multi-model aircraft test requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of telemetry communication technology, and more particularly to a framing algorithm for telemetry data in aerospace, and more particularly to a general IENA and PCM framing method and system. Background Art

[0002] In the current industrial and aerospace fields, more and more large aircraft need to monitor flight parameters in real time during flight. Traditional telemetry acquisition systems are highly specialized and are only developed for specific tasks. When the task changes, a set of software and hardware systems need to be redeveloped to meet the needs of the current task. Therefore, the current flexible configurability performance is poor and the flexible configurable functions cannot be realized; the module interface output form is single, it is difficult to realize modular design, it is difficult to inherit the previous design modules, resulting in repeated design of many modules, extending the development schedule and wasting design resources.

[0003] Therefore, there is an urgent need for a general IENA and PCM framing method and system that can simultaneously frame and output PCM frames and IENA frames, make the two independent of each other and not affect each other, and be flexible and configurable, improve system bandwidth, achieve synchronous acquisition, realize modular serialization, and adapt to the current testing needs of multiple models of aircraft. Summary of the invention

[0004] In view of the above problems, the purpose of the present invention is to provide a universal IENA and PCM framing method and system to solve the problem that the traditional telemetry acquisition system is highly specialized and is only developed for specific tasks. When the task changes, a set of software and hardware systems need to be redeveloped to meet the needs of the current task. Therefore, the current flexible configurability performance is poor and the flexible configurable function cannot be realized; the module interface output form is single, it is difficult to realize modular design, it is difficult to inherit the previous design module, resulting in repeated design of many modules, extending the development progress cycle, and wasting design resources.

[0005] The present invention provides a general IENA and PCM framing method for acquisition and editing, which includes:

[0006] Sending the configured PCM full frame table and IENA mapping table to a preset expandable function acquisition chassis through a preset host computer; wherein the expandable function acquisition chassis includes a main control module and an expandable function acquisition module with different acquisition functions; the PCM full frame table is written according to the node number of the function acquisition module and the different acquisition channels in the function acquisition module;

[0007] The framing table storage and transfer unit of the main control module receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table; wherein the host computer distinguishes the PCM full frame table according to the node number to form a PCM sub-table corresponding to each function acquisition module;

[0008] The functional acquisition module acquires sampled data by performing data acquisition at a preset sampling rate, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, and selects data from the sampled data as IENA data frames according to a preset period;

[0009] The framing unit of the main control module sends instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and enables the PL end in the framing unit to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing master table, and enables the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table.

[0010] Preferably, the PCM full frame table is composed of telemetry parameter sources P (i, j); wherein i represents the node number of the functional acquisition module for collecting telemetry data; and j represents the channel number of the acquisition channel used by the functional acquisition module with node number i when collecting telemetry data.

[0011] Preferably, the function acquisition module performs data acquisition at a preset sampling rate to acquire sampled data, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, including:

[0012] Enable each functional acquisition module to initialize the number of channel FIFO buffers corresponding to its own acquisition channel;

[0013] Collecting data at a preset sampling rate through each acquisition channel of the functional acquisition module to form sampled data, and writing the sampled data into a channel FIFO buffer corresponding to each channel;

[0014] The functional acquisition module reads the PCM subtable, determines the channel number of the target data displayed in the PCM subtable, and locks the channel FIFO buffer of the acquisition channel corresponding to the channel number;

[0015] If the channel FIFO buffer is not empty, the sampled data in the FIFO buffer is read, and the sampled data is filled into the A / B buffer to form a PCM framing sub-table.

[0016] Preferably, selecting data from the sampled data as IENA data frames according to a preset period includes:

[0017] Collecting data through each collection channel of the functional collection module at a preset sampling rate to form sampled data;

[0018] Arranging the intact sampled data in sequence from the first channel to the last channel according to a preset period based on a preset number of channel data repetitions and an arrangement rule to form IENA data; the preset period is an integer multiple of the subframe period; or the subframe period is an integer multiple of the preset period;

[0019] When the functional acquisition modules all receive the synchronization pulse sent by the main control module, the functional acquisition modules determine whether the IENA framing is completed. If completed, a completion mark is added, all IENA data are used as IENA data frames, and the IENA data frames are sent to the main control module.

[0020] Preferably, the preset sampling rate is pre-set by the host computer and is the least common multiple of the maximum sampling rate of PCM framing and the maximum sampling rate when collecting IENA data frames.

[0021] Preferably, the main control module polls the data of each functional acquisition module by sending a synchronization pulse in a subframe period, and receives the IENA data frame at the same time; wherein the framing time required for one row of the PCM full frame table or the PCM sub-table is one subframe period;

[0022] When all functional acquisition modules receive the synchronization pulse sent by the main control module, each functional acquisition module writes the PCM framing sub-table into the sending buffer, and starts to fill the sampling data of the next sub-frame period into the A / B buffer; and,

[0023] When the functional acquisition module receives the instruction code with ID label sent by the main control module, the functional acquisition module corresponding to the ID label sends the PCM framing sub-table stored in its own sending buffer to the acquisition FIFO buffer of the main control module.

[0024] Preferably, framing is performed based on the PCM full frame table and the PCM framing sub-table to form a PCM framing total table, including:

[0025] Obtaining the acquisition FIFO buffer corresponding to the target data according to the telemetry parameter source P (i, j) in the PCM full frame table, and obtaining the PCM framing sub-table in the acquisition FIFO buffer;

[0026] The mapping relationships of all the acquired PCM framing sub-tables are arranged according to the PCM full frame table and put into the full frame data buffer of the main control module to obtain the PCM framing total table.

[0027] Preferably, enabling the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table comprises:

[0028] Enable the function acquisition module to send the IENA data frame to the PS port;

[0029] storing the IENA mapping table in a non-volatile memory through the PS port, storing the received IENA data frame in an A / B buffer, and assigning a valid identifier of the IENA data source to the IENA data frame;

[0030] The IENA data frames from the same functional acquisition module are mapped to the same two-dimensional array based on the valid identifier by the framing program in the PS port, and the IENA data in the two-dimensional array is mapped to the IENA mapping table.

[0031] Preferably, the expandable function acquisition chassis further includes a power module, a network switching module and a data bus; wherein,

[0032] The data between the main control module and the function acquisition module, the synchronization pulse and the instruction code are sent by the data bus;

[0033] Furthermore, different function acquisition modules are integrated in different function boards, and the function boards can be freely plugged in and out of the function card slots of the expandable function acquisition chassis in an expandable manner.

[0034] The present invention also provides a general IENA and PCM framing system for editing and compiling, which implements the general IENA and PCM framing method for editing and compiling as described above, including a host computer and an expandable functional chassis; wherein,

[0035] The host computer is used to send the configured PCM full frame table and IENA mapping table to the expandable function acquisition chassis; wherein the expandable function acquisition chassis includes a main control module and an expandable function acquisition module with different acquisition functions; the PCM full frame table is written according to the node number of the function acquisition module and the different acquisition channels in the function acquisition module;

[0036] The main control module includes a framing table storage and transfer unit and a framing unit;

[0037] The framing table storage and transfer unit is used to receive the IENA mapping table and the PCM full frame table, and send the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table; wherein the host computer distinguishes the PCM full frame table according to the node number to form a PCM sub-table corresponding to each function acquisition module;

[0038] The functional acquisition module is used to acquire sampled data by performing data acquisition at a preset sampling rate, and to perform PCM framing based on the PCM sub-table using the sampled data to form a PCM framing sub-table, and to select data from the sampled data as IENA data frames according to a preset period;

[0039] The framing unit is used to send instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing total table, and to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing total table.

[0040] It can be seen from the above technical scheme that the IENA and PCM framing method for general collection and editing provided by the present invention first sends the configured PCM full frame table and IENA mapping table to the expandable functional collection chassis through the host computer, so that the framing table storage and transfer unit of the main control module receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the functional collection module corresponding to the PCM sub-table, and the functional collection module performs data collection according to a preset sampling rate to obtain sampled data, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, selects data from the sampled data as the IENA data frame according to a preset period, and transmits the data to each functional collection unit according to the sub-frame period of the PCM sub-table through the framing unit of the main control module. The collection module sends instruction codes to receive the PCM framing sub-tables and IENA data frames formed by each functional acquisition module, and enables the PL end in the framing unit to perform framing based on the PCM full frame table and the PCM framing sub-table to form a PCM framing master table, and enables the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table, thereby synchronously completing IENA framing and PCM framing, so that PCM framing and IENA framing can be framed and output at the same time, the two should be independent of each other and not affect each other, and can be flexibly configured, adopting the networked IENA framing + traditional PCM framing system design architecture, and comprehensively considering the improvement of system bandwidth, synchronous acquisition, modular serialization, and can adapt to the current testing needs of multiple models of aircraft. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] By referring to the following description in conjunction with the accompanying drawings, and with a more comprehensive understanding of the present invention, other objects and results of the present invention will become more clear and easy to understand. In the accompanying drawings:

[0042] Figure 1 Flow chart of the IENA and PCM framing method for general collection and editing according to an embodiment of the present invention;

[0043] Figure 2 It is a structural schematic diagram of an expandable function acquisition chassis in the IENA and PCM framing method for general acquisition and editing according to an embodiment of the present invention;

[0044] Figure 3 A schematic diagram of PCM framing in the IENA and PCM framing method for general collection and editing according to an embodiment of the present invention;

[0045] Figure 4 A schematic diagram of IENA framing in a general IENA and PCM framing method according to an embodiment of the present invention;

[0046] Figure 5 4 is a system block diagram of an IENA and PCM framing system for general acquisition and editing according to an embodiment of the present invention. DETAILED DESCRIPTION

[0047] Traditional telemetry acquisition systems are highly specialized and are only developed for specific tasks. When the task changes, a set of software and hardware systems need to be redeveloped to meet the needs of the current task. Therefore, the current flexible configurability performance is poor and the flexible configurable functions cannot be realized; the module interface output form is single, it is difficult to achieve modular design, it is difficult to inherit the previous design modules, resulting in repeated design of many modules, extending the development schedule and wasting design resources.

[0048] In view of the above problems, the present invention provides a general IENA and PCM framing method and system for acquisition and editing. The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0049] In order to illustrate the IENA and PCM framing method and system for general collection and editing provided by the present invention, Figure 1-Figure 5 The embodiments of the present invention are exemplarily indicated.

[0050] The following description of exemplary embodiments is merely illustrative in nature and is not intended to limit the present invention and its application or use. Technologies and devices known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technologies and devices should be considered as part of the specification.

[0051] like Figure 1 , Figure 2As shown in the figure, the present invention provides a general IENA and PCM framing method for acquisition and editing, comprising:

[0052] S1: Sending the configured PCM full frame table and IENA mapping table to the preset expandable function acquisition chassis through the preset host computer; wherein the expandable function acquisition chassis includes a main control module and expandable function acquisition modules with different acquisition functions; the PCM full frame table is written according to the node number of the function acquisition module and the different acquisition channels in the function acquisition module;

[0053] S2: The framing table storage and transfer unit of the main control module receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table; wherein the host computer distinguishes the PCM full frame table according to the node number to form a PCM sub-table corresponding to each function acquisition module;

[0054] S3: acquiring sampled data by performing data acquisition at a preset sampling rate through the function acquisition module, performing PCM framing based on the PCM sub-table using the sampled data to form a PCM framing sub-table, and selecting data from the sampled data as IENA data frames according to a preset period;

[0055] S4: The framing unit of the main control module sends instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and enables the PL end in the framing unit to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing master table, and enables the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table.

[0056] In step S1, the configured PCM full frame table and IENA mapping table are sent to the preset expandable function acquisition chassis through the preset host computer; wherein,

[0057] The PCM full frame table is shown in the following table:

[0058]

[0059] Among them, the PCM full frame table is composed of telemetry parameter sources P (i, j); i represents the node number of the functional acquisition module that collects telemetry data; j represents the channel number of the acquisition channel used by the functional acquisition module with node number i when collecting telemetry data. The node number i is set in advance, that is, the modules in the expandable functional acquisition chassis have their own MAC address and IP address. For example, in order to ensure the uniform version of each main control module program, the main control module has an independent hardware parameter binding interface, and each main control module needs to be bound to a separate mac address and IP address through the parameter binding interface. Each main control module program uses the same default initial MAC address and node number. The parameter binding software connects through the initial mac address and node number, and binds the unique mac address and IP address to each measurement system main control module. The main control module writes the bound mac address and IP address into eeprom, reads the current mac address and IP address from eeprom after restarting and powering on, and runs according to the bound parameters. The expandable function acquisition module is integrated on the expandable function board, which is pluggable and set on the unified function card slot of the expandable function acquisition chassis, so as to realize the flexibly configurable function, and the expandable function acquisition module also has its own separate mac address and IP address along with the expandable function board as above, thereby providing each function acquisition module with a unique node number.

[0060] The IENA mapping table is shown in the following table:

[0061]

[0062] In the IENA mapping table, P (x, y), x represents the target data (data from source p) acquired by the xth functional acquisition module; y indicates that the target data is acquired by the yth acquisition channel in the functional acquisition module.

[0063] In a specific embodiment, the expandable functional acquisition chassis as an acquisition device chassis includes a main control module and an expandable functional acquisition module with different acquisition functions to realize the acquisition function, whereby the functional acquisition module realizes the acquisition function. As a collector, it is designed with two Gigabit Ethernet interfaces. All transmitted data on Ethernet are IENA packetized telemetry data. The data packet format and definition are shown in the table, with the low-order byte in front and the high-order byte in the back. The data field length is required to be an even number of bytes, and the data field with an odd byte length needs to be filled with one byte. In the ID key value, the high 5 bits are used to identify the collector number. A single collector is configured with a set of independent IENA frame structures. The host computer establishes unicast communication with the collector module through the UDP protocol, so the IENA frame format of each collector is configured separately. The collected telemetry full frame data can be regarded as a 96×64 byte matrix (actual subframe length): a byte (Byte) contains 8 bits, corresponding to a telemetry word; the subframe length is 96 telemetry words, and each subframe has a synchronization code (EB90 / 146F); the subframe length is 64 subframes. The frame format is shown in the above IENA mapping table, where P (m, n) represents the telemetry word located at the mth (1≤m≤96)th row and the nth column (1≤n≤64)th column in the frame format.

[0064] Step S2 is a process in which the framing table storage and transfer unit of the main control module receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table.

[0065] In a specific embodiment, after the upper computer completes the setting of the PCM full frame table, it is necessary to send the PCM full frame table to the main control module according to certain rules, frame the collected data according to the PCM full frame set by the upper computer, store the framed data in the sending buffer, and send the framed data frame to the main control module after waiting for the main control module to send a request command. The main control module opens 13 FIFO buffers (corresponding to 13 functional acquisition modules) on the PL port as acquisition FIFO buffers. Each acquisition FIFO buffer corresponds to a functional acquisition module. After receiving the data, the FIFO buffer corresponding to the functional acquisition module is stored for system PCM framing. The main control module needs to distribute the tables belonging to each functional acquisition module to each functional acquisition module, among which the tables are divided by the host computer and sent by the main control module. The PCM sub-table bound by the host computer to the functional acquisition module is classified by channel number. The host computer selects the data of the same functional acquisition module in the entire PCM full-frame table according to the order in the PCM full-frame table, distinguishes the channel number of each functional acquisition module, and opens a channel FIFO data buffer for each channel. The same collector mapping table only distinguishes the functional acquisition module, not the channel number.

[0066] Step S3 is a process of acquiring sampled data by performing data acquisition at a preset sampling rate through a functional acquisition module, performing PCM framing based on the PCM sub-table using the sampled data to form a PCM framing sub-table, and selecting data from the sampled data as IENA data frames according to a preset period; wherein,

[0067] S3A: performing data acquisition according to a preset sampling rate by the functional acquisition module to obtain sampled data, and performing PCM framing based on the PCM sub-table using the sampled data to form a PCM framing sub-table, including:

[0068] S3A1: Enable each functional acquisition module to initialize the number of channel FIFO buffers corresponding to its own acquisition channel;

[0069] S3A2: performing data acquisition at a preset sampling rate through each acquisition channel of the functional acquisition module to form sampled data, and writing the sampled data into a channel FIFO buffer corresponding to each channel;

[0070] S3A3: the functional acquisition module reads the PCM subtable, determines the channel number of the target data displayed in the PCM subtable, and locks the channel FIFO buffer of the acquisition channel corresponding to the channel number;

[0071] S3A4: If the channel FIFO buffer is not empty, the sampled data in the FIFO buffer is read, and the sampled data is filled into the A / B buffer to form a PCM framing sub-table.

[0072] The preset sampling rate is pre-set by the host computer and is the least common multiple of the maximum sampling rate of PCM framing and the maximum sampling rate when collecting IENA data frames.

[0073] Specifically, in this embodiment, the expandable function acquisition chassis has a maximum of 13 function acquisition module slots, each slot is assigned an independent ID number (identified by four resistors on the backplane connecting high and low levels respectively), and the main control module and the function acquisition module both issue commands and exchange data according to the ID identification.

[0074] After the host computer completes the configuration of the PCM full frame format (PCM full frame table) and the IENA frame format (IENA mapping table), the host computer automatically determines which channel of which function board each data word corresponds to, extracts the data words of the same function acquisition module, and forms a new small frame PCM as the PCM sub-table. The PCM sub-table only distinguishes the channel number of the current function board. The host computer can count the number of repetitions of each data word in the small-frame PCM according to the small-frame PCM data, and then calculate the sampling rate of each channel of the current functional acquisition module through the full-frame PCM cycle, and calculate the frequency control word through the formula FCW=2^32*(full-frame frequency*maximum number of repetitions) / 4*10^7, and select the lowest common multiple of the largest sampling rate values ​​in the IENA frame and the PCM frame (that is, the sampling rates of the IENA data frame and the PCM data frame are integer multiples, to ensure that the time intervals for data acquisition are equal), and send the PCM subtable and each channel sampling rate to the specific functional acquisition module according to the parameter binding protocol. The functional acquisition module writes the PCM subtable and channel sampling parameters into the non-volatile memory.

[0075] The PCM sub-table format of the function acquisition module (the node number of the function acquisition module in this table is 1) is shown in the following table. Each parameter is represented by P(i,j). i represents the ID of the function acquisition module (0-13), and j represents the channel number of the function acquisition module (0-63) (each function acquisition module has a maximum of 64 sampling channels).

[0076]

[0077] like Figure 3 As shown, each functional acquisition module initializes the corresponding FIFO number according to its own sampling channel number to form a channel FIFO buffer, and performs data acquisition according to the maximum sampling rate bound by the host computer. After each sampling is completed, a valid mark is given, and the data of the corresponding channel is taken out according to the set sampling rate and written into the corresponding channel FIFO buffer. The functional acquisition module reads the mapping table, determines the channel number corresponding to the current data, reads data from the corresponding channel FIFO when the channel FIFO is not empty, and fills the data into the A / B double buffer.

[0078] In this embodiment, the main control module polls the data of each functional acquisition module by sending a synchronization pulse in a subframe period, and receives the IENA data frame at the same time; wherein the framing time required for one row of the PCM full frame table or the PCM sub-table is one subframe period;

[0079] When all functional acquisition modules receive the synchronization pulse sent by the main control module, each functional acquisition module writes the PCM framing sub-table into the sending buffer, and starts to fill the sampling data of the next sub-frame period into the A / B buffer; and,

[0080] When the functional acquisition module receives the instruction code with ID label sent by the main control module, the functional acquisition module corresponding to the ID label sends the PCM framing sub-table stored in its own sending buffer to the acquisition FIFO buffer of the main control module.

[0081] In addition, the expandable function acquisition chassis also includes a power module, a network switching module and a data bus; wherein,

[0082] The data between the main control module and the function acquisition module, the synchronization pulse and the instruction code are sent by the data bus;

[0083] Furthermore, different function acquisition modules are integrated in different function boards, and the function boards can be freely plugged in and out of the function card slots of the expandable function acquisition chassis in an expandable manner.

[0084] Specifically, the PCM data frame is in subframes. Each subframe period polls each functional module board. The inter-board bus is designed with a subframe synchronization pulse signal. The main control module is responsible for sending a subframe synchronization pulse in each subframe period. After receiving the synchronization pulse, all functional acquisition modules directly write the data in the A / B buffer to the sending buffer and start this data acquisition to write to the A / B buffer. After waiting for the command corresponding to the ID identification, the data in the sending buffer is directly sent to the main control module.

[0085] like Figure 4 As shown, in this embodiment, S3B selects data from the sampled data as IENA data frames according to a preset period, including:

[0086] S3B1: collecting data through each collection channel of the functional collection module according to a preset sampling rate to form sampled data;

[0087] S3B2: Arranging the intact sampled data in sequence from the first channel to the last channel according to a preset period based on a preset number of channel data repetitions and an arrangement rule to form IENA data; the preset period is an integer multiple of the subframe period; or the subframe period is an integer multiple of the preset period;

[0088] S3B3: When the functional acquisition modules receive the synchronization pulse sent by the main control module, the functional acquisition modules determine whether the IENA framing is completed. If completed, a completion mark is added, all IENA data are taken as IENA data frames, and the IENA data frames are sent to the main control module.

[0089] Specifically, the host computer sends the IENA mapping table to the main control module, which writes it into the non-volatile memory. The IENA framing process is performed in the main control module, and each functional module needs to complete the data framing according to the set sampling rate. The functional module does not need to select channels during the data framing process. Each channel completes data acquisition at the maximum sampling rate. The framed data is arranged from the first channel to the last channel according to a unified rule. The number of repetitions of all channel data in each subframe period sampling is bound by the host computer. Therefore, the framed data is judged whether the framing is completed when each subframe synchronization pulse arrives. When the completion mark is given, the data frame is sent to the main control module, and the main control completes the framing of the IENA data frame.

[0090] The IENA framing process of the functional acquisition module is different from the PCM framing process. The PCM framing process is completed by the mapping table bound inside the functional acquisition module, and one frame is collected in each subframe period. The IENA data frame structure does not have a mapping table inside the functional acquisition module. It can only frame all channel data through the maximum sampling rate bound by the host computer. The framing frequency is an integer multiple of the PCM subframe frequency, that is, one subframe period can complete multiple IENA frame collections or multiple PCM frames can complete one IENA frame collection. When the synchronization pulse of each subframe arrives, the functional acquisition module needs to determine whether the IENA frame is framed. If the framing is not completed, the IENA data frame will not be sent.

[0091] In this embodiment, step S4 is a process in which the framing unit of the main control module sends instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and enables the PL end in the framing unit to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing master table, and enables the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table.

[0092] S4A performs framing based on the PCM full frame table and the PCM framing sub-table to form a PCM framing total table, including:

[0093] S4A1: obtaining an acquisition FIFO buffer corresponding to target data according to the telemetry parameter source P (i, j) in the PCM full frame table, and obtaining a PCM framing sub-table in the acquisition FIFO buffer;

[0094] S4A2: Arrange the mapping relationships of all the acquired PCM framing sub-tables according to the PCM full frame table and put them into the full frame data buffer of the main control module to obtain the PCM framing total table.

[0095] S4B causes the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table, including:

[0096] S4B1: enabling the function acquisition module to send the IENA data frame to the PS port;

[0097] S4B2: storing the IENA mapping table in a non-volatile memory through the PS port, storing the received IENA data in an A / B buffer, and assigning a valid identifier of the IENA data source to the IENA data frame;

[0098] S4B3: The IENA data frames from the same functional acquisition module are mapped to the same two-dimensional array based on the valid identifier through the framing program in the PS port, and the IENA data in the two-dimensional array are mapped to the IENA mapping table.

[0099] In a specific embodiment, the main control module serves as the control center, and the parameter binding of the host computer to each functional module needs to be completed through the main control module. The main control module polls the data of each functional module through the PCM subframe period and receives the IENA data frame at the same time. In each subframe period, the main control module sends instruction information to each functional module by sending a subframe synchronization pulse and an instruction code, wherein the instruction code includes a subframe ID frame count and a module ID slot number.

[0100] At the rising edge of each subframe cycle, the main control module sends an instruction code to each functional sub-board. For example, the instruction code can be: 55AA+subframe ID. The functional module determines the current subframe ID count by parsing the instruction code content, reads the mapping table of the corresponding subframe for parsing, and synchronously reads the last collected subframe data from the A / B buffer and writes it into the send buffer, ready to be sent to the main control module.

[0101] The main control module polls the data of each functional board in the subframe period, and notifies the functional acquisition module to send data by sending an instruction code, such as the instruction code can be: 5533+ID slot number. The functional acquisition module directly sends the subframe data in the sending buffer to the main control module.

[0102] More specifically, the host computer needs to classify the PCM full frame according to the function module ID slot number, and does not need to distinguish the function acquisition module type and channel number (this part of the mapping relationship has been represented in the function acquisition module), as shown in the following table. The PCM mapping table of the main control module only represents which function acquisition module the current data comes from. According to the following mapping table, the data is read from the FIFO buffer of the corresponding collector and filled into the data buffer, and sent to the PCM framing module. During the PCM framing process of the main control module, not only the data of the collector is considered, but also the mapping relationship of telemetry parameters, parallel delay data, and storage retransmission data needs to be reflected in the PCM full frame mapping table. The main control module reads the PCM full frame mapping table and reads the data in the FIFO of the corresponding function acquisition module through the full frame mapping table. The data has been mapped by the network function acquisition module and arranged in the order of the PCM full frame mapping table. The data in the acquisition FIFO buffer can be directly put into the full frame data buffer of the main control module to form the PCM framing summary table.

[0103] In addition, the main control module adopts a single buffer mechanism, that is, since the speed of PCM data stream transmission is significantly lower than the cyclic data acquisition speed, the data in the acquisition FIFO buffer corresponding to the collector is directly written into the subsequent PCM FIFO buffer according to the mapping table. The subsequent PCM data sending module can directly read data from the PCM FIFO buffer and output the PCM data stream information according to the PCM data sending timing.

[0104] For IENA framing, after the main control module obtains the IENA data frame (IENA data) from each functional acquisition module in each PCM subframe period, it directly sends the IENA data frame of each functional acquisition module to the PS port through the preset DMA. The PS end uses ARM to achieve more flexible framing. The PS port stores the IENA data frame mapping table bound by the host computer in the non-volatile memory. During the power-on initialization process, the IENA frame data in the memory is read, and a certain length of cache is dynamically opened for each IENA frame mapping table, and the mapping table is written into the cache.

[0105] The PS port allocates an A / B double buffer for the IENA data collected by each functional module. After receiving the IENA data sent by DMA, the data is stored in the A / B buffer and a valid data mark is given. The program starts to read the data in the buffer and write it into the two-dimensional array. Each functional module corresponds to a two-dimensional array. The IENA frame mapping table is read and the data in the two-dimensional array is written into the corresponding IENA frame array by addressing. After each reading of the data in the two-dimensional array, the highest bit of the array data is set to 1. The data in each two-dimensional array can only be read once. When reading the array, if it is found that the data in the array is read repeatedly (the highest bit is 1), the reading program operation is exited. When the length of the written IENA array meets the length set for the IENA data, the current IENA data frame can be sent through the network port.

[0106] As described above, the IENA and PCM framing method for general collection and editing provided by the present invention first sends the configured PCM full frame table and IENA mapping table to the expandable functional collection chassis through the host computer, so that the framing table storage and transfer unit of the main control module receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the functional collection module corresponding to the PCM sub-table, and collects data according to a preset sampling rate through the functional collection module to obtain sampled data, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, selects data from the sampled data as the IENA data frame according to a preset period, and transmits the data to each functional collection module through the framing unit of the main control module according to the sub-frame period of the PCM sub-table. Send instruction codes to receive the PCM framing sub-tables and IENA data frames formed by each functional acquisition module, and make the PL end in the framing unit perform framing based on the PCM full frame table and the PCM framing sub-table to form a PCM framing master table, and make the PS port in the framing unit perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table, thereby synchronously completing IENA framing and PCM framing, so that PCM framing and IENA framing can be framed and output at the same time, the two should be independent of each other and not affect each other, and can be flexibly configured, adopting the networked IENA framing + traditional PCM framing system design architecture, and comprehensively considering the improvement of system bandwidth, synchronous acquisition, modular serialization, and can adapt to the current multi-model aircraft testing needs.

[0107] like Figure 5 As shown, the present invention also provides a general IENA and PCM framing system 100 for editing and compiling, which implements the general IENA and PCM framing method for editing and compiling as described above, including: a host computer 101, an expandable functional chassis 102; wherein,

[0108] The host computer 101 is used to send the configured PCM full frame table and IENA mapping table to the expandable function acquisition chassis; wherein the expandable function acquisition chassis 102 includes a main control module 1021 and an expandable function acquisition module 1022 with different acquisition functions; the PCM full frame table is written according to the node number of the function acquisition module and the different acquisition channels in the function acquisition module;

[0109] The main control module 1021 includes a framing table storage and transfer unit and a framing unit;

[0110] The framing table storage and transfer unit is used to receive the IENA mapping table and the PCM full frame table, and send the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table; wherein the host computer distinguishes the PCM full frame table according to the node number to form a PCM sub-table corresponding to each function acquisition module;

[0111] The functional acquisition module 1022 is used to acquire sampled data by performing data acquisition at a preset sampling rate, and to perform PCM framing based on the PCM sub-table using the sampled data to form a PCM framing sub-table, and to select data from the sampled data as IENA data frames according to a preset period;

[0112] The framing unit is used to send instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing total table, and to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing total table.

[0113] The specific implementation method refers to the above-mentioned embodiment of the IENA and PCM framing method for general collection and editing, and will not be described in detail here.

[0114] As described above, the IENA and PCM framing system 100 for general collection and editing provided by the present invention first sends the configured PCM full frame table and IENA mapping table to the expandable functional collection chassis 102 through the host computer 101, so that the framing table storage and transfer unit of the main control module 1021 receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the functional collection module 1022 corresponding to the PCM sub-table, and collects data according to a preset sampling rate through the functional collection module to obtain sampled data, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, selects data from the sampled data as the IENA data frame according to a preset period, and transmits the data to the framing unit of the main control module according to the sub-frame period of the PCM sub-table. Each functional acquisition module sends an instruction code to receive the PCM framing sub-table and IENA data frame formed by each functional acquisition module, and makes the PL end in the framing unit perform framing based on the PCM full frame table and the PCM framing sub-table to form a PCM framing master table, and makes the PS port in the framing unit perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table, thereby synchronously completing IENA framing and PCM framing, so that PCM framing and IENA framing can be framed and output at the same time, the two should be independent of each other and not affect each other, and can be flexibly configured, adopting a networked IENA framing + traditional PCM framing system design architecture, and comprehensively considering improving system bandwidth, synchronous acquisition, modular serialization, and being able to adapt to the current testing needs of multiple models of aircraft.

[0115] As described above with reference to the accompanying drawings, the IENA and PCM framing method and system for general collection and editing proposed by the present invention are described by way of example. However, those skilled in the art should understand that various improvements can be made to the IENA and PCM framing method and system for general collection and editing proposed by the present invention without departing from the content of the present invention. Therefore, the protection scope of the present invention should be determined by the content of the attached claims.

Claims

1. A general IENA and PCM framing method for acquisition and editing, characterized in that: include: Sending the configured PCM full frame table and IENA mapping table to a preset expandable function acquisition chassis through a preset host computer; wherein the expandable function acquisition chassis includes a main control module and an expandable function acquisition module with different acquisition functions; the PCM full frame table is written according to the node number of the function acquisition module and the different acquisition channels in the function acquisition module; The framing table storage and transfer unit of the main control module receives the IENA mapping table and the PCM full frame table, and sends the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table; wherein the host computer distinguishes the PCM full frame table according to the node number to form a PCM sub-table corresponding to each function acquisition module; The functional acquisition module acquires sampled data by performing data acquisition at a preset sampling rate, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, and selects data from the sampled data as IENA data frames according to a preset period; The framing unit of the main control module sends instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and enables the PL end in the framing unit to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing master table, and enables the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table.

2. The IENA and PCM framing method for general collection and editing as claimed in claim 1, characterized in that: The PCM full frame table is composed of telemetry parameter sources P (i, j); wherein i represents the node number of the functional acquisition module that collects telemetry data; and j represents the channel number of the acquisition channel used by the functional acquisition module with node number i when collecting telemetry data.

3. The IENA and PCM framing method for general collection and editing as claimed in claim 2, characterized in that: The function acquisition module acquires sampled data by performing data acquisition at a preset sampling rate, and uses the sampled data to perform PCM framing based on the PCM sub-table to form a PCM framing sub-table, including: Enable each functional acquisition module to initialize the number of channel FIFO buffers corresponding to its own acquisition channel; Collecting data at a preset sampling rate through each acquisition channel of the functional acquisition module to form sampled data, and writing the sampled data into a channel FIFO buffer corresponding to each channel; The functional acquisition module reads the PCM subtable, determines the channel number of the target data displayed in the PCM subtable, and locks the channel FIFO buffer of the acquisition channel corresponding to the channel number; If the channel FIFO buffer is not empty, the sampled data in the FIFO buffer is read, and the sampled data is filled into the A / B buffer to form a PCM framing sub-table.

4. The IENA and PCM framing method for general collection and editing as claimed in claim 3, characterized in that: Selecting data from the sampled data as IENA data frames according to a preset period includes: Collecting data through each collection channel of the functional collection module at a preset sampling rate to form sampled data; Arranging the intact sampled data in sequence from the first channel to the last channel according to a preset period based on a preset number of channel data repetitions and an arrangement rule to form IENA data; the preset period is an integer multiple of the subframe period; or the subframe period is an integer multiple of the preset period; When the functional acquisition modules all receive the synchronization pulse sent by the main control module, the functional acquisition modules determine whether the IENA framing is completed. If completed, a completion mark is added, all IENA data are used as IENA data frames, and the IENA data frames are sent to the main control module.

5. The IENA and PCM framing method for general collection and editing as claimed in claim 4, characterized in that: The preset sampling rate is pre-set by the host computer and is the least common multiple of the maximum sampling rate of PCM framing and the maximum sampling rate when collecting IENA data frames.

6. The IENA and PCM framing method for general collection and editing as claimed in claim 5, characterized in that: The main control module polls the data of each functional acquisition module by sending a synchronization pulse in a subframe period, and receives the IENA data frame at the same time; wherein the framing time required for one row of the PCM full frame table or the PCM sub-table is one subframe period; When all functional acquisition modules receive the synchronization pulse sent by the main control module, each functional acquisition module writes the PCM framing sub-table into the sending buffer, and starts to fill the sampling data of the next sub-frame period into the A / B buffer; and, When the functional acquisition module receives the instruction code with ID label sent by the main control module, the functional acquisition module corresponding to the ID label sends the PCM framing sub-table stored in its own sending buffer to the acquisition FIFO buffer of the main control module.

7. The IENA and PCM framing method for general collection and editing as claimed in claim 6, characterized in that: Framing is performed based on the PCM full frame table and the PCM framing sub-table to form a PCM framing total table, including: Obtaining the acquisition FIFO buffer corresponding to the target data according to the telemetry parameter source P (i, j) in the PCM full frame table, and obtaining the PCM framing sub-table in the acquisition FIFO buffer; The mapping relationships of all the acquired PCM framing sub-tables are arranged according to the PCM full frame table and put into the full frame data buffer of the main control module to obtain the PCM framing total table.

8. The IENA and PCM framing method for general collection and editing as claimed in claim 7, characterized in that: The method of causing the PS port in the framing unit to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing master table includes: Enable the function acquisition module to send the IENA data frame to the PS port; storing the IENA mapping table in a non-volatile memory through the PS port, storing the received IENA data frame in an A / B buffer, and assigning a valid identifier of the IENA data source to the IENA data frame; The IENA data frames from the same functional acquisition module are mapped to the same two-dimensional array based on the valid identifier by the framing program in the PS port, and the IENA data in the two-dimensional array is mapped to the IENA mapping table.

9. The IENA and PCM framing method for general collection and editing as claimed in claim 8, characterized in that: The expandable function acquisition chassis also includes a power module, a network switching module and a data bus; wherein, The data between the main control module and the function acquisition module, the synchronization pulse and the instruction code are sent by the data bus; Furthermore, different function acquisition modules are integrated in different function boards, and the function boards can be freely plugged in and out of the function card slots of the expandable function acquisition chassis in an expandable manner.

10. A general IENA and PCM framing system for acquisition and editing, characterized in that Implementing the IENA and PCM framing method for general collection and editing as described in any one of claims 1 to 9, comprising a host computer and an expandable functional chassis; wherein, The host computer is used to send the configured PCM full frame table and IENA mapping table to the expandable function acquisition chassis; wherein the expandable function acquisition chassis includes a main control module and an expandable function acquisition module with different acquisition functions; the PCM full frame table is written according to the node number of the function acquisition module and the different acquisition channels in the function acquisition module; The main control module includes a framing table storage and transfer unit and a framing unit; The framing table storage and transfer unit is used to receive the IENA mapping table and the PCM full frame table, and send the PCM sub-table divided by the host computer to the function acquisition module corresponding to the PCM sub-table; wherein the host computer distinguishes the PCM full frame table according to the node number to form a PCM sub-table corresponding to each function acquisition module; The functional acquisition module is used to acquire sampled data by performing data acquisition at a preset sampling rate, and to perform PCM framing based on the PCM sub-table using the sampled data to form a PCM framing sub-table, and to select data from the sampled data as IENA data frames according to a preset period; The framing unit is used to send instruction codes to each functional acquisition module according to the subframe period of the PCM subtable to receive the PCM framing subtable and IENA data frame formed by each functional acquisition module, and to perform framing based on the PCM full frame table and the PCM framing subtable to form a PCM framing total table, and to perform framing based on the IENA mapping table and the IENA data frame to form an IENA framing total table.