CN102968488A - Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering - Google Patents

Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering Download PDF

Info

Publication number
CN102968488A
CN102968488A CN2012104887867A CN201210488786A CN102968488A CN 102968488 A CN102968488 A CN 102968488A CN 2012104887867 A CN2012104887867 A CN 2012104887867A CN 201210488786 A CN201210488786 A CN 201210488786A CN 102968488 A CN102968488 A CN 102968488A
Authority
CN
China
Prior art keywords
mpdu
source
bag
data
length
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.)
Granted
Application number
CN2012104887867A
Other languages
Chinese (zh)
Other versions
CN102968488B (en
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.)
Beijing Institute of Spacecraft System Engineering
Original Assignee
Beijing Institute of Spacecraft System Engineering
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 Beijing Institute of Spacecraft System Engineering filed Critical Beijing Institute of Spacecraft System Engineering
Priority to CN201210488786.7A priority Critical patent/CN102968488B/en
Publication of CN102968488A publication Critical patent/CN102968488A/en
Application granted granted Critical
Publication of CN102968488B publication Critical patent/CN102968488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a telemetering data organization method simultaneously applicable to PCM (Pulse Code Modulation) telemetering and AOS (Advanced Orbiting System) telemetering. The method comprises the following steps: firstly, defining an organization method of the AOS telemetering; respectively defining source packet structural bodies, MPDU (Multi-Protocol Data Unit) structural bodies, MPDU organization structural bodies and transmission message structural bodies; defining a global transmission message structural body table; traversing the transmission message structural body table to generate a bus message 1553B; obtaining telemetering data and filling the telemetering data into data regions of the source packet structural bodies; organizing all source packet structural bodies into the MPDU structural bodies; transmitting all MPDU structural bodies to a RT terminal; and then defining an organization method of the PCM telemetering; and defining a PCM telemetering data buffering region, wherein a byte pointer of the PCM telemetering data buffering region points to data in the AOS telemetering source packet structural body so that the data contents of the AOS telemetering source packet are updated and the data of the PCM buffering region are also automatically updated. According to the invention, low speed downlink requirements and high speed downlink requirements of telemetering data can be simultaneously satisfied; and source data of the two telemetering mechanisms are multiplexed, so that the organization efficiency of the telemetering data are effectively increased.

Description

A kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement
Technical field
The present invention relates to a kind of data organization method, be specifically related to a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement, belong to the aerospace computer technical field.
Background technology
The implementation method of spacecraft remote measurement mainly comprises the PCM(pulse code modulation (PCM)) remote measurement and AOS(be senior to the rail system) remote measurement, they are different to the method for organizing of telemetry.
The emphasis that the PCM remote measurement realizes is image data and formatting, to satisfy the sampling rate requirement of each parameter point, needs tentation data stream format (major-minor frame format or unsteady packed format) in the PCM telemetry frame.The characteristics of PCM telemetry tissue are: the major-minor frame format is predetermined in system, be difficult to adapt to the situation of remote measurement changes in demand, even use the packed format that floats, the form kind of predetermined format does not have a lot, so the tissue of telemetry is restricted.
The AOS remote measurement provides stronger, the more diversified data of dirigibility to manage business.The characteristics of AOS telemetry tissue are: to the data combination of different types of data, different data rate, different transmission requirements, the data layout flexibility and changeability, adaptability to changes in demand is good, need separately design unlike data formatting in the PCM remote measurement with the task difference, and after in a single day design is finished, be difficult to change.
China has a lot of spacecrafts lower to the downlink transfer rate requirement at present, still adopts PCM remote measurement mechanism, and the downlink transfer speed and the channel utilization that also have some spacecrafts to have relatively high expectations begin to adopt AOS remote measurement mechanism, and mainly there is following problem in they:
(1) only adopts single telemetry method for organizing, or be the PCM remote measurement, or be the AOS remote measurement, can not support simultaneously;
(2) even there are some spacecrafts to use simultaneously PCM remote measurement and AOS remote measurement, but implementation is dumb, and the data buffer of two kinds of mechanism is inconsistent, and the memory source utilization factor is low, and the efficient of Telemetry Data Acquisition and tissue is low;
(3) also there is not Patents to describe the specific implementation of supporting simultaneously PCM remote measurement and AOS remote measurement at present.
Summary of the invention
In view of this, the invention provides a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement, the method can support down to pass the conventional P CM remote measurement mechanism that form is fixed, downstream rate is lower, also supports simultaneously to pass down the AOS remote measurement mechanism that form is flexible, efficient is higher.It has realized a kind of flexible and efficient Telemetry Data Acquisition and method for organizing, forms AOS remote measurement source bag (EPDU) and multichannel protocol Data Unit (MPDU), and the picking data form the telemetry frame of set form from each source bag, and formation PCM remote measurement is descending.The method can satisfy the descending and descending demand of two-forty of telemetry low rate simultaneously, and the source data of two kinds of remote measurement mechanism is multiplexing, the organizational efficiency of effectively having improved telemetry.
A kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement, its method for organizing step is as follows:
Telemetry method for organizing to the AOS remote measurement defines:
Definition structure body type, comprise source pack arrangement body, MPDU structure, MPDU institutional framework body and message transfer structure, wherein MPDU institutional framework body comprises a plurality of MPDU structures, the MPDU structure comprises the variable of a plurality of sources pack arrangement body type, and the message transfer structure comprises the source bag ID of a plurality of sources pack arrangement body; Source pack arrangement body is used for describing the form of AOS EPDU source bag, comprises the data field of source bag; The MPDU structure is used for describing the information of AOS MPDU; MPDU institutional framework body is used for all MPDU in the management system, with the variable of active pack arrangement body type be organized among a plurality of MPDU; The message transfer structure is used for being described in the information of message transfer on the 1553B bus;
Step 1: system has defined the message transfer structure body surface of an overall situation when initialization, the message that mails to each RT far-end has been described, be used for gathering the telemetry of each RT far-end, and indicate these data are put into which source bag and the position in the bag of source, this table comprised the data acquisition mode of active bag, send the telemetry that bus message can obtain these sources bags by traveling through this table;
Step 2: the message transfer structure table in the traversal step one generates the 1553B bus message, obtains the data field that telemetry is filled into source pack arrangement body, and concrete steps are as follows:
A, travel through message transfer structure body surface in order, obtain the i bar message in the table, the message number in 0<=i<table, the initial value of i is 0, if traversal finishes, forwards D to, otherwise forwards step B to;
B, obtain source corresponding to i bar message bag ID, and judge: if the collection sign of source bag enables, then forward step C to, otherwise forward steps A to, process i+1 bar message;
If the function that C sets in advance for empty, does not then call the data buffer that this function is filled the 1553B bus message, the data in this message buffer are sent to the RT end; If be sky then according to i bar message generation 1553B bus message, after bus message returns, the telemetry that gathers is filled in the data buffer of 1553B bus message, the data field of source bag has been pointed in this data buffer, so just upgraded the data field of source bag, finish Telemetry Data Acquisition one time, forwarded steps A to, processed i+1 bar message;
D, message transfer structure body surface travel through complete, and the data field of each source bag has been filled the telemetry that gathers, and have finished the telemetry-acquisition of all source bags, finish;
Step 3: source pack arrangement somas all in the step 2 in the MPDU structure, has been realized all EPDU source packages are made into the function of a plurality of MPDU, and detailed process is as follows:
A, at first carry out initialization of variable, define length and the MPDU residue length of upper source bag residue length, current source bag, forward step B to;
B, each MPDU of circular treatment, j MPDU of current organization, the initial value of j are 0, the condition that this circulation is jumped out is residue source bag not in the bag table of source, forwards step C to;
C, the top guide that this MPDU is set are that the source bag number pkt_cnt of upper source bag residue length last_pkt_data_left, MPDU is that the remaining byte number of 0, MPDU is the total length-top guide length of MPDU, forward step D to;
D, organize the data of this MPDU, residue source in the bag table of source bag is organized among this MPDU, suppose to be that wrap in k source when pre-treatment, the initial value of k is 0, loop following processing (1)~(5), until MPDU fills full or source bag table in residue source bag not, then jump out this circulation and forward step e to:
(1) if the data of k-1 source bag do not remain, need to obtain new source bag, forward (2) to, otherwise forward (4) to;
(2) from the bag table of source, obtain k source bag, if current do not have available source to wrap, then jump out circulation, otherwise forward (3) to;
(3) k source bags wrap for newly adding the source of coming in, the active bag number pkt_cnt of MPDU institutional framework body variable is added 1, the length that the current source bag of MPDU institutional framework body variable is set is the length of k source bag, and location index is the reference position 0 of source bag, forwards (5) to;
(4) this is that k-1 source bag data have remaining situation, and the length that the current source bag of MPDU institutional framework body variable is set is the residue length of k-1 source bag, and location index is the reference position of k-1 source bag remaining data, forwards (5) to;
(5) address parameter and the data length parameter of pkt_cnt source bag of j MPDU are set, be that address parameter is that the start address that wrap in the source adds location index, the data length parameter is the length of the current source bag of MPDU institutional framework body variable: if the length of current source bag is less than the residue length of MPDU, be that current source bag can join among j the MPDU fully, it is the length of current source bag that the data length parameter then is set, the residue length of upgrading MPDU is the length of the residue length of MPDU-current source bag, and the upper source of renewal bag residue length is 0; Otherwise current source bag can not join among j the MPDU fully, also has residue, it is the length of current source bag that the data length parameter is set, the residue length of the length-MPDU of upper source bag residue length=current source bag, the residue length of MPDU is 0, and then MPDU is filled expires, and jumps out circulation, otherwise continue to fill this MPDU, forward the section start of step D to;
If residue source bag not in the bag table of E source is then constructed a filling bag and is put among j the MPDU, the remainder of j MPDU is filled full, at this moment, active bag has been organized among the MPDU, finishes MPDU and organizes and wrap, and the circulation of jumping out step B forwards step F to; Otherwise, also have residue source bag in the bag table of source, and j MPDU organized and finished, forward step B to and continue to organize j+1 MPDU;
F, active bag have been organized among the MPDU, finish;
Step 4: all MPDU of system are sent to a RT terminal by the 1553B bus, if current be the immigration state, then send to the data multiplexing device, if the departure state then sends to mass storage;
Telemetry method for organizing to the PCM telemetry defines:
Step 1: definition PCM telemetry buffer zone, this data buffer is the byte pointer array of a regular length, each element of array is a byte pointer that points to data in the pack arrangement body of AOS remote measurement source; If the data content of AOS remote measurement source bag upgrades, then the data of PCM buffer zone are also upgraded automatically;
Step 2: the data of PCM telemetry buffer zone are write hardware port, and it is descending to ground to send to measuring and controlling equipment, realizes the descending of PCM remote measurement.
Beneficial effect:
(1) the present invention has realized AOS remote measurement and PCM remote measurement simultaneously, when organizing the AOS telemetry, travel through the telemetry that a message transfer structure body surface obtains all RT far-ends, the mode of having unified the telemetry-acquisition of RT far-end, implementation is flexible, extensibility good, when telemetry service sends variation, only need this table of change to get final product, and the present invention directly is written back to the message of returning the data field of source bag after sending bus message, when bus message returns, namely generate remote measurement source bag, the efficient that remote measurement source bag gathers is high;
(2) the present invention is carrying out AOS MPDU when organizing, data pointer among the MPDU is directly pointed to the Yuan Bao data buffer, the first top guide of the just MPDU that upgrades, start address and the length in the bag of sensing source, no matter how the source bag changes, do not affect the organizational form of MPDU, effectively improved organizational efficiency and the adaptability of telemetry;
(3) the present invention is when organizing PCM telemetry frame, and directly the data field pointer with AOS source bag is put in the frame data, and during the bag Data Update of source, the PCM telemetry is upgraded automatically, has improved the efficient of PCM telemetry tissue and the utilization factor in space.
Description of drawings
Fig. 1 is the process flow diagram of telemetry method for organizing of the present invention.
Fig. 2 is the process flow diagram that the present invention travels through message transfer structure body surface;
Fig. 3 is the process flow diagram of a plurality of MPDU tissues of the present invention;
Fig. 4 is the process flow diagram of the single MPDU tissue of the present invention;
Fig. 5 is PCM telemetry buffer zone figure of the present invention;
Fig. 6 is example MPDU organize results figure of the present invention.
Embodiment
Below in conjunction with the accompanying drawing embodiment that develops simultaneously, describe the present invention.
As shown in Figure 1, the invention provides a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement, its method for organizing concrete steps are as follows:
Telemetry method for organizing to the AOS remote measurement defines:
Definition structure body type, comprise source pack arrangement body, MPDU structure, MPDU institutional framework body and message transfer structure, wherein MPDU institutional framework body comprises a plurality of MPDU structures, the MPDU structure comprises the variable of a plurality of sources pack arrangement body type, and the message transfer structure comprises the source bag ID of a plurality of sources pack arrangement body; Source pack arrangement body is used for describing the form of AOS EPDU source bag, comprises the data field of source bag; The MPDU structure is used for describing the information of AOS MPDU; MPDU institutional framework body is used for all MPDU in the management system, with the variable of active pack arrangement body type be organized among a plurality of MPDU; The message transfer structure is used for being described in the information of message transfer on the 1553B bus; Specific as follows:
(1) definition source pack arrangement body is used for describing the form that (being called for short EPDU) wrapped in AOS remote measurement source, and the form of source bag meets the standard of CCSDS EPDU definition, and the parameter-definition of source pack arrangement body tm_packet_des_t is as follows:
Figure BDA00002466411500061
In the present embodiment, definition such as the table 1 of source pack arrangement body:
Table 1
pkt_id pkt_seq_ctrl pkt_data_len pkt_data_p max_cycle download_flag get_flag
1 0xC000 464 s_tm_buf_pk1 1 1 1
2 0xC000 516 s_tm_buf_pk2 1 1 1
3 0xC000 64 s_tm_buf_pk3 1 1 1
4 0xC000 128 s_tm_buf_pk4 1 1 1
5 0xC000 1000 s_tm_buf_pk5 1 1 1
6 0xC000 600 s_tm_buf_pk6 1 1 1
7 0xC000 210 s_tm_buf_pk7 1 1 1
8 0xC000 240 s_tm_buf_pk8 1 1 1
Wherein, s_tm_buf_pk1 is the static byte arrays of the overall situation to s_tm_buf_pk8, is the buffer zone of storage source bag data.
(2) definition MPDU structure (multichannel protocol Data Unit), for the information of describing AOS MPDU, it comprises top guide and data field, discharges in order a plurality of EPDU in the data field;
MAX_TM_PKT is source bag number maximum among this MPDU, and the parameter-definition of MPDU structure tm_mpdu_des_t is as follows:
Figure BDA00002466411500071
The parameter-definition of MPDU source package informatin type tm_mpdu_pkt_pos_t is as follows:
Parameter Describe
addr_p The start address of source bag remainder is pointed to an inner skew of certain source bag
len The data length that begins from start address
(3) definition MPDU institutional framework body is used for all MPDU in the management system, and the AOS remote measurement is knitted the active package of institute among a plurality of MPDU when telemetry is organized, and it is descending to pseudo channel (VC) to send to certain RT equipment group by the 1553B bus again; System has defined the MPDU institutional framework body variable s_tm_mpdu of an overall situation when initialization, when organizing MPDU, upgrade MPDU tabulation and the association attributes of this variable;
MPDU institutional framework body tm_mpdu_macro_t has described the relevant information of all MPDU in the system, and MAX_MPDU_CNT is maximum MPDU number, is defined as follows:
Figure BDA00002466411500072
(4) definition message transfer structure, for the information that is described in message transfer on the 1553B bus, each or a plurality of message transfer form a source bag after the 1553B bus sends and returns;
The parameter-definition of message transfer structure tm_bus_transfer_msg_t is as follows:
In the present embodiment, the message transfer structure defines such as table 2:
Table 2
Sequence number pkt_index msg_format rt_addr rt_sub_addr data_len store_index
0 1 1 1 5 264 0+200
1 1 1 1 6 200 0
2 2 1 2 3 516 0
3 3 1 3 3 64 0
4 4 1 4 3 128 0
5 5 1 5 5 600 0+100+300
6 5 1 5 6 300 0+100
7 5 1 5 7 100 0
8 6 1 6 3 600 0
9 7 1 7 3 210 0
10 8 1 8 3 240 0
Step 1: system has defined the message transfer structure body surface of an overall situation when initialization, the message that mails to each RT far-end has been described, be used for gathering the telemetry of each RT far-end, and indicate these data are put into which source bag and the position in the bag of source, this table comprised the data acquisition mode of active bag, send the telemetry that bus message can obtain these sources bags by traveling through this table.
Step 2: message transfer structure table in the traversal step one generates the 1553B bus message, obtains the data field that telemetry is filled into source pack arrangement body, implementation procedure as shown in Figure 2, concrete steps are as follows:
A, backward traversal message transfer structure body surface, obtain i bar message (message number in 0<=i<table, the initial value of i is: message number-1), if the traversal end forwards D to, otherwise forwards step B to;
B, obtain source corresponding to i bar message bag ID(pkt_index), and judge: if the collection sign get_flag of source bag pkt_index enables, then forward step C to, otherwise forward steps A to, process lower a piece of news (i--);
If the func_before_send_p function that C arranges is not empty, then call the data buffer that this function is filled the 1553B bus message, the data in this message buffer are sent to the RT far-end; If be sky then according to i bar message generation 1553B bus message, after bus message returns, the telemetry that gathers is filled in the data buffer of 1553B bus message, the data field of source bag has been pointed in this data buffer, so just upgraded the data field of source bag, finish Telemetry Data Acquisition one time, forwarded steps A to, processed lower a piece of news (i--);
D, message transfer structure body surface travel through complete, and the data field of each source bag has been filled the telemetry that gathers, and have finished the telemetry-acquisition of all source bags, finish.
In the present embodiment, needing the message transfer structure body surface of traversal is table 2, and its implementation procedure is as follows:
A, backward traversal message transfer structure body surface, this table has 11 message (0~10), obtains i=10 bar message, forwards step B to;
B, obtain source corresponding to this message bag ID(PK8), and judge: if the collection of PK8 sign get_flag is 1, and collection period max_cycle arrives, and begins to gather, and forwards step C to;
C, generate the 1553B bus message according to the parameter of this message, the data buffer of bus message is s_tm_buf_pk8, after bus message returns, this buffer zone has just been filled the telemetry that gathers, source bag PK8 gathers and finishes, and continues to process lower a piece of news i=9, forwards steps A to;
So 11 times (i from 10 to 0) are carried out in circulation, and the data of each source bag just gather complete.
When the bag PK5 of collection source, after order has traveled through the 7th, 6,5 message, can finish the collection of source bag PK5.When traveling through the 7th message, 100 bytes that the data buffer s_tm_buf_pk5 of PK5 begins have been filled; When traveling through the 6th message, 300 bytes that the data buffer s_tm_buf_pk5+100 of PK5 begins have been filled; When traveling through the 5th message, fill 600 bytes that the data buffer s_tm_buf_pk5+400 of PK5 begins, like this, just finished the collection of source bag PK5.
Step 3: with source pack arrangement somas all in the step 2 in the MPDU structure, realized all EPDU source packages are made into the function of a plurality of MPDU, because the length of MPDU is fixed, and the indefinite length of EPDU source bag, therefore the first half of an EPDU source bag can appear in this MPDU, the situation of latter half in next MPDU.The specific implementation process is described below as shown in Figure 3 and Figure 4:
A, at first carry out initialization of variable, define length and the MPDU residue length of upper source bag residue length, current source bag, forward step B to;
The condition that B, each this circulation of MPDU(of circular treatment are jumped out is residue source bag not in the bag table of source), current organization mpdu_cnt(initial value is 0) individual MPDU, forward step C to;
C, when initial, the top guide mpdu_head that this MPDU is set is that upper source bag spare word joint number, source bag number pkt_cnt are that the remaining byte number of 0, MPDU is the total length-top guide length of MPDU, forwards step D to;
D, organize the data of this MPDU, the bag of the residue source in the bag table of source be organized among this MPDU, loop following processing (1)~(5), until MPDU is full or source bag table in residue source bag (jump out this circulation, forward step e to) not:
(1) if the data of upper source bag do not remain (last_pkt_data_left=0), need to obtain new source bag, forward (2) to, otherwise forward (4) to;
(2) from the bag table of source, obtain next source bag pkt_index, if current do not have available source to wrap (the source bag is disposed), then jump out circulation, otherwise forward (3) to;
(3) bag pkt_index in source wraps for newly adding the source of coming in, its data are complete (not intercepted by a upper MPDU), the active bag number of MPDU institutional framework body variable is added 1, the length cur_pkt_length that current bag is set is the length of whole source bag, location index pointer_index is the reference position 0 of source bag, forwards (5) to;
(4) this is that upper source bag data have remaining situation (last_pkt_data_left〉0), the length cur_pkt_length that current source bag is set is the residue length of source bag, location index pointer_index is the reference position of source bag remaining data, forwards (5) to;
(5) pkt_cnt(that this MPDU is set is initially 0) address addr_p parameter and the data length len parameter of individual source bag (pkt_pos[pkt_cnt]), namely addr_p is that the start address of source bag pkt_index adds pointer_index.Upgrade the len parameter: if the length cur_pkt_length of current bag is less than the residue length mpdu_left_length of MPDU, len=cur_pkt_length then is set, the residue length mpdu_left_length=mpdu_left_length-cur_pkt_length of MPDU, upper source bag residue length lastkt_data_left=0; Otherwise, len=cur_pkt_length is set, last_pkt_data_left=cur_pkt_length-mpdu_left_length, mpdu_left_length=0, the residue length that is MPDU is 0, and then MPDU is filled expires, and jumps out circulation, otherwise continue to fill this MPDU, forward the section start of step D to;
If residue source bag not in the bag table of E source is then constructed a filling bag and is put among this MPDU, the remainder of this MPDU is filled full, at this moment, active bag has been organized among the MPDU, finishes the MPDU group and wraps, and the circulation of jumping out step B forwards step F to; Otherwise, also have residue source bag in the bag table of source, and this MPDU organized and finished, then mpdu_cnt adds 1, forwards step B to and continues to organize next MPDU;
F, active bag have been organized among the MPDU, finish.
In the present embodiment, with the active bag of institute (PK1~PK8) be organized among the MPDU, detailed process is as follows:
A, organize first MPDU, s_tm_mpdu.mpdu_des_table[0].Top guide mpdu_head, source bag number pkt_cnt that this MPDU is set are that the remaining byte number of 0, MPDU is 874-2=872;
B, filling PK1: ergodic source bag table (table 1) Jiang Yuanbao adds among this MPDU, add for the first time source bag PK1, upper source bag spare word joint number is 0, and it is 464 that cur_pkt_length is set, pointer_index is 0, upgrades sequence control and the time code data district of this source bag;
C, addr_p and the len parameter of the 0th source bag of this MPDU are set, addr_p=s_tm_buf_pk1, len=464; It is 872-464=408 that the MPDU residue length is set, and upper source bag residue length is 0, first MPDU less than, continue to fill next source bag PK2;
D, filling PK2: upper source bag (PK1) spare word joint number is 0, and it is that 516, pointer_index is 0 that cur_pkt_length is set, and upgrades sequence control and the time code data district of this source bag;
E, addr_p and the len parameter of the 1st source bag of this MPDU are set, addr_p=s_tm_buf_pk2, len=408; It is 0 that the MPDU residue length is set, and upper source bag residue length is 516-408=108, and first MPDU is full, organizes second MPDU;
F, second MPDU of tissue, s_tm_mpdu.mpdu_des_table[0].Top guide mpdu_head, source bag number pkt_cnt that this MPDU is set are that the remaining byte number of 0, MPDU is 872.Because source bag PK2 has remaining data, fills the remainder of PK2 in this MPDU.
G, upper source bag (PK2) spare word joint number are 108, and it is that 108, pointer_index is (also not filling since byte) that cur_pkt_length is set;
H, addr_p and the len parameter of the 0th source bag of this MPDU are set, addr_p=s_tm_buf_pk2+408, len=108; It is 872-108=764 that the MPDU residue length is set, and it is complete that PK2 fills, upper source bag residue length be 0, the second MPDU less than, continue to fill next source and wrap PK3 in this MPDU.
By that analogy, active Bao Jun is organized among the MPDU, and the mpdu_total_cnt parameter of the MPDU institutional framework body variable s_tm_mpdu of system is that 4, mpdu_total_pkt_cnt parameter is 12, and all MPDU organize as shown in Figure 5.The MPDU top guide has 2 bytes, is the reference position of first source bag of this MPDU, shown in the table specific as follows:
Table 3
Figure BDA00002466411500121
Step 4: all MPDU of system are sent to a RT terminal by the 1553B bus, if current is the immigration state, then send to the data multiplexing device and by it these MPDU are organized in the pseudo channel, if the departure state then sends to mass storage.
Telemetry method for organizing to the PCM telemetry defines:
Step 1: definition PCM telemetry buffer zone, this data buffer is the byte pointer array of a regular length, is defined as overall static variable, this buffer data organizes synoptic diagram as shown in Figure 6.Its content is predefined, has set form, and each element of array is a byte pointer that points to data in the pack arrangement body of AOS remote measurement source; Such as, first Yuan Su ﹠amp; Fram_cnt is the pointer that points to frame count; Time[0] be the pointer that points to first byte of timing code; PK1 (17) is the pointer that points to the 17th byte of Yuan Bao data field; PK3 (15) is the pointer that the 15th byte of 3 data fields wrapped in the sensing source.
This mode with the direct picking of data of AOS source bag out, be organized in the PCM remote measurement buffer zone, in case the data content of AOS remote measurement source bag upgrades, then the data of PCM buffer zone are also upgraded automatically, and data that will PCM remote measurement buffer zone pick out and upgrade respectively, because their data source is the same.So just realize the multiplexing of PCM remote measurement and AOS telemetry source, also improved the efficient that the PCM remote measurement is upgraded.
Step 2: the data of PCM telemetry buffer zone are write hardware port, and it is descending to ground to send to measuring and controlling equipment, realizes the descending of PCM remote measurement.
In sum, more than be preferred embodiment of the present invention only, be not for limiting protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. a telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement is characterized in that, its method for organizing step is as follows:
Telemetry method for organizing to the AOS remote measurement defines:
Definition structure body type, comprise source pack arrangement body, MPDU structure, MPDU institutional framework body and message transfer structure, wherein MPDU institutional framework body comprises a plurality of MPDU structures, the MPDU structure comprises the variable of a plurality of sources pack arrangement body type, and the message transfer structure comprises the source bag ID of a plurality of sources pack arrangement body; Source pack arrangement body is used for describing the form of AOS EPDU source bag, comprises the data field of source bag; The MPDU structure is used for describing the information of AOS MPDU; MPDU institutional framework body is used for all MPDU in the management system, with the variable of active pack arrangement body type be organized among a plurality of MPDU; The message transfer structure is used for being described in the information of message transfer on the 1553B bus;
Step 1: system has defined the message transfer structure body surface of an overall situation when initialization, the message that mails to each RT far-end has been described, be used for gathering the telemetry of each RT far-end, and indicate these data are put into which source bag and the position in the bag of source, this table comprised the data acquisition mode of active bag, send the telemetry that bus message can obtain these sources bags by traveling through this table;
Step 2: the message transfer structure table in the traversal step one generates the 1553B bus message, obtains the data field that telemetry is filled into source pack arrangement body, and concrete steps are as follows:
A, travel through message transfer structure body surface in order, obtain the i bar message in the table, the message number in 0<=i<table, the initial value of i is 0, if traversal finishes, forwards D to, otherwise forwards step B to;
B, obtain source corresponding to i bar message bag ID, and judge: if the collection sign of source bag enables, then forward step C to, otherwise forward steps A to, process i+1 bar message;
If the function that C sets in advance for empty, does not then call the data buffer that this function is filled the 1553B bus message, the data in this message buffer are sent to the RT end; If be sky then according to i bar message generation 1553B bus message, after bus message returns, the telemetry that gathers is filled in the data buffer of 1553B bus message, the data field of source bag has been pointed in this data buffer, so just upgraded the data field of source bag, finish Telemetry Data Acquisition one time, forwarded steps A to, processed i+1 bar message;
D, message transfer structure body surface travel through complete, and the data field of each source bag has been filled the telemetry that gathers, and have finished the telemetry-acquisition of all source bags, finish;
Step 3: source pack arrangement somas all in the step 2 in the MPDU structure, has been realized all EPDU source packages are made into the function of a plurality of MPDU, and detailed process is as follows:
A, at first carry out initialization of variable, define length and the MPDU residue length of upper source bag residue length, current source bag, forward step B to;
B, each MPDU of circular treatment, j MPDU of current organization, the initial value of j are 0, the condition that this circulation is jumped out is residue source bag not in the bag table of source, forwards step C to;
C, the top guide that this MPDU is set are that the source bag number pkt_cnt of upper source bag residue length last_pkt_data_left, MPDU is that the remaining byte number of 0, MPDU is the total length-top guide length of MPDU, forward step D to;
D, organize the data of this MPDU, residue source in the bag table of source bag is organized among this MPDU, suppose to be that wrap in k source when pre-treatment, the initial value of k is 0, loop following processing (1)~(5), until MPDU fills full or source bag table in residue source bag not, then jump out this circulation and forward step e to:
(1) if the data of k-1 source bag do not remain, need to obtain new source bag, forward (2) to, otherwise forward (4) to;
(2) from the bag table of source, obtain k source bag, if current do not have available source to wrap, then jump out circulation, otherwise forward (3) to;
(3) k source bags wrap for newly adding the source of coming in, the active bag number pkt_cnt of MPDU institutional framework body variable is added 1, the length that the current source bag of MPDU institutional framework body variable is set is the length of k source bag, and location index is the reference position 0 of source bag, forwards (5) to;
(4) this is that k-1 source bag data have remaining situation, and the length that the current source bag of MPDU institutional framework body variable is set is the residue length of k-1 source bag, and location index is the reference position of k-1 source bag remaining data, forwards (5) to;
(5) address parameter and the data length parameter of pkt_cnt source bag of j MPDU are set, be that address parameter is that the start address that wrap in the source adds location index, the data length parameter is the length of the current source bag of MPDU institutional framework body variable: if the length of current source bag is less than the residue length of MPDU, be that current source bag can join among j the MPDU fully, it is the length of current source bag that the data length parameter then is set, the residue length of upgrading MPDU is the length of the residue length of MPDU-current source bag, and the upper source of renewal bag residue length is 0; Otherwise current source bag can not join among j the MPDU fully, also has residue, it is the length of current source bag that the data length parameter is set, the residue length of the length-MPDU of upper source bag residue length=current source bag, the residue length of MPDU is 0, and then MPDU is filled expires, and jumps out circulation, otherwise continue to fill this MPDU, forward the section start of step D to;
If residue source bag not in the bag table of E source is then constructed a filling bag and is put among j the MPDU, the remainder of j MPDU is filled full, at this moment, active bag has been organized among the MPDU, finishes MPDU and organizes and wrap, and the circulation of jumping out step B forwards step F to; Otherwise, also have residue source bag in the bag table of source, and j MPDU organized and finished, forward step B to and continue to organize j+1 MPDU;
F, active bag have been organized among the MPDU, finish;
Step 4: all MPDU structures of system are sent to a RT terminal by the 1553B bus, if current be the immigration state, then send to the data multiplexing device, if the departure state then sends to mass storage;
Telemetry method for organizing to the PCM telemetry defines:
Step 1: definition PCM telemetry buffer zone, this data buffer is the byte pointer array of a regular length, each element of array is a byte pointer that points to data in the pack arrangement body of AOS remote measurement source; If the data content of AOS remote measurement source bag upgrades, then the data of PCM buffer zone are also upgraded automatically;
Step 2: the data of PCM telemetry buffer zone are write hardware port, and it is descending to ground to send to measuring and controlling equipment, realizes the descending of PCM remote measurement.
2. a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement as claimed in claim 1 is characterized in that, the form of described source pack arrangement body tm_packet_des_t meets the standard of CCSDSEPDU definition, and its parameter-definition is as follows:
Figure FDA00002466411400041
3. a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement as claimed in claim 1, it is characterized in that, described MPDU structure comprises top guide and data field, MAX_TM_PKT is source bag number maximum among this MPDU, and the parameter-definition of MPDU structure tm_mpdu_des_t is as follows:
The parameter-definition of MPDU source package informatin type tm_mpdu_pkt_pos_t is as follows:
Parameter Describe
addr_p The start address of source bag remainder is pointed to an inner skew of certain source bag len The data length that begins from start address
4. a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement as claimed in claim 1 is characterized in that, described MPDU institutional framework body tm_mpdu_macro_t is defined as follows:
Figure FDA00002466411400051
Wherein MAX_MPDU_CNT is maximum MPDU number.
5. a kind of telemetry method for organizing that is applicable to simultaneously PCM remote measurement and AOS remote measurement as claimed in claim 1 is characterized in that the parameter-definition of described message transfer structure tm_bus_transfer_msg_t is as follows:
Figure FDA00002466411400052
CN201210488786.7A 2012-11-26 2012-11-26 Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering Active CN102968488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210488786.7A CN102968488B (en) 2012-11-26 2012-11-26 Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210488786.7A CN102968488B (en) 2012-11-26 2012-11-26 Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering

Publications (2)

Publication Number Publication Date
CN102968488A true CN102968488A (en) 2013-03-13
CN102968488B CN102968488B (en) 2015-07-01

Family

ID=47798626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210488786.7A Active CN102968488B (en) 2012-11-26 2012-11-26 Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering

Country Status (1)

Country Link
CN (1) CN102968488B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632844A (en) * 2017-07-28 2018-01-26 上海航天电子有限公司 Remote measurement multi-format framing method for satellite test
CN107679152A (en) * 2017-09-26 2018-02-09 中国科学院电子学研究所 Data processing method based on multi-layer information joint index
CN108170797A (en) * 2017-12-27 2018-06-15 中国科学院电子学研究所 A kind of source packet Fuzzy Time extracting method based on multi-layer information joint index
CN110535561A (en) * 2019-08-15 2019-12-03 北京空间飞行器总体设计部 A kind of spacecraft telemetry data transmission implementation method based on doubly linked list
CN114168801A (en) * 2021-12-06 2022-03-11 中国人民解放军63660部队 Decision method for telemetering floating format data segment structure and improving floating format data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487251B1 (en) * 1999-08-30 2002-11-26 Hughes Electronics Corporation System and method for performing combined multi-rate convolutional coding
US20070129922A1 (en) * 2005-12-01 2007-06-07 Electronics And Telecommunications Research Institute Satellite simulation system using component-based satellite modeling
CN101770544A (en) * 2008-12-29 2010-07-07 深圳迈瑞生物医疗电子股份有限公司 Patient report-generating method and device and medical equipment
CN102158392A (en) * 2010-12-13 2011-08-17 中国空间技术研究院 Method for telemetering of advanced orbiting system (AOS) of distributed framework satellite
CN102520619A (en) * 2011-11-15 2012-06-27 上海卫星工程研究所 General-purpose satellite remote sensing simulator

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487251B1 (en) * 1999-08-30 2002-11-26 Hughes Electronics Corporation System and method for performing combined multi-rate convolutional coding
US20070129922A1 (en) * 2005-12-01 2007-06-07 Electronics And Telecommunications Research Institute Satellite simulation system using component-based satellite modeling
CN101770544A (en) * 2008-12-29 2010-07-07 深圳迈瑞生物医疗电子股份有限公司 Patient report-generating method and device and medical equipment
CN102158392A (en) * 2010-12-13 2011-08-17 中国空间技术研究院 Method for telemetering of advanced orbiting system (AOS) of distributed framework satellite
CN102520619A (en) * 2011-11-15 2012-06-27 上海卫星工程研究所 General-purpose satellite remote sensing simulator

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HOOKE A: "CCSDS Advanced Orbiting Systems international data communications standards for the space station Freedom", 《NETWORK》 *
李树国: "CCSDS高级在轨系统协议吞吐量性能分析", 《微处理机》 *
肖志东 等: "AOS系统中的帧同步技术性能分析与仿真", 《沈阳理工大学学报》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632844A (en) * 2017-07-28 2018-01-26 上海航天电子有限公司 Remote measurement multi-format framing method for satellite test
CN107632844B (en) * 2017-07-28 2023-07-18 上海航天电子有限公司 Telemetry multi-format framing method for satellite test
CN107679152A (en) * 2017-09-26 2018-02-09 中国科学院电子学研究所 Data processing method based on multi-layer information joint index
CN107679152B (en) * 2017-09-26 2024-03-08 中国科学院电子学研究所 Data processing method based on multi-layer information joint index
CN108170797A (en) * 2017-12-27 2018-06-15 中国科学院电子学研究所 A kind of source packet Fuzzy Time extracting method based on multi-layer information joint index
CN108170797B (en) * 2017-12-27 2024-04-19 中国科学院电子学研究所 Source packet fuzzy time extraction method based on multi-layer information joint index
CN110535561A (en) * 2019-08-15 2019-12-03 北京空间飞行器总体设计部 A kind of spacecraft telemetry data transmission implementation method based on doubly linked list
CN110535561B (en) * 2019-08-15 2022-04-12 北京空间飞行器总体设计部 Spacecraft telemetry data transmission implementation method based on two-way linked list
CN114168801A (en) * 2021-12-06 2022-03-11 中国人民解放军63660部队 Decision method for telemetering floating format data segment structure and improving floating format data
CN114168801B (en) * 2021-12-06 2024-04-09 中国人民解放军63660部队 Telemetry floating format data segment structure and decision method for improving floating format data

Also Published As

Publication number Publication date
CN102968488B (en) 2015-07-01

Similar Documents

Publication Publication Date Title
CN102968488A (en) Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering
CN102932696B (en) Satellite-borne high-speed data multiplexer system and realizing method thereof
CN101515841B (en) Method for data packet transmission based on RapidIO, device and system
CN102158392B (en) Method for telemetering of advanced orbiting system (AOS) of distributed framework satellite
CN101159760B (en) Method and system for implementing communication protocol based on XML data interchange file
CN101873192B (en) Method and device for transmitting constant-rate data stream
CN102566982B (en) Two-stage FPGA (field programmable gate array) pipeline configuration circuit
CN112468209B (en) On-orbit high-speed injection system and method based on SpaceWire bus
CN103825668B (en) General mapping code GMP mapping methods, de-mapping method and device
CN107078803B (en) Static delay compensation in telecommunication system
CN101674498B (en) Method, equipment and system for transmitting constant-rate data stream
CN103688499B (en) A kind of Optical Channel Data Unit-k ODU business transporter and method
CN103078919B (en) A kind of data transmission method of secondary encapsulation
CN103685060B (en) data packet sending method and device
CN103546765B (en) Transmission stream method for packing, transmission stream and analytic method thereof
CN101656682A (en) Method and system for processing mobile multimedia data broadcasting services
KR102309444B1 (en) Data encapsulation, transmission methods, devices and computer storage media
CN103026671B (en) A kind of method and apparatus of traffic shaping
CN106850440A (en) A kind of router, method for routing and its chip wrapped towards multiaddress shared data route
CN102546275A (en) Alarm detection method and device
CN102340453B (en) Dispatching method of variable-length data stream
CN101883046B (en) Data cache architecture applied to EPON terminal system
CN104936006B (en) A kind of sending method of program information table, apparatus and system
CN101674250B (en) Port bandwidth guaranteed packet switching chip and implementation method thereof
CN104185035A (en) Method for achieving uniform distribution of all paths of program code streams in construction process of multiple program TS streams

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant