CN102968488B - 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
CN102968488B
CN102968488B CN201210488786.7A CN201210488786A CN102968488B CN 102968488 B CN102968488 B CN 102968488B CN 201210488786 A CN201210488786 A CN 201210488786A CN 102968488 B CN102968488 B CN 102968488B
Authority
CN
China
Prior art keywords
mpdu
bag
source
data
source bag
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.)
Active
Application number
CN201210488786.7A
Other languages
Chinese (zh)
Other versions
CN102968488A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Measuring And Recording Apparatus For Diagnosis (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 being simultaneously applicable to 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 being simultaneously applicable to PCM remote measurement and AOS remote measurement, belong to aerospace computer technical field.
Background technology
The implementation method of spacecraft remote measurement mainly comprises PCM(pulse code modulation (PCM)) remote measurement and AOS(Advanced Orbiting Systems) remote measurement, they are different to the method for organizing of telemetry.
The emphasis that PCM remote measurement realizes is image data and formatting, to meet the sampling rate requirement of each parameter point, needs tentation data stream format (major-minor frame format or floating packed format) in PCM telemetry frame.The feature of PCM telemetry tissue is: major-minor frame format is predetermined in system, be difficult to the situation adapting to remote measurement changes in demand, even if use the packed format that floats, the form kind of predetermined format does not have a lot, and therefore the tissue of telemetry is restricted.
AOS remote measurement provide dirigibility more by force, more diversified data processing business.The feature of AOS telemetry tissue is: to the data assemblies of different types of data, different data rate, different transmission requirement, data layout flexibility and changeability, good to the adaptability of changes in demand, unlike data formatting in PCM remote measurement, with task is different, needs design separately, and once after having designed, be difficult to change.
Current China has a lot of spacecraft lower to downlink transmission rate requirement, still adopts PCM remote measurement mechanism, the downlink transmission rate also having some spacecraft requirements higher and channel utilization, and start to adopt AOS remote measurement mechanism, they mainly exist following problem:
(1) only adopt single telemetry method for organizing, or be PCM remote measurement, or be AOS remote measurement, can not support simultaneously;
(2) even if there are some spacecrafts to use PCM remote measurement and AOS remote measurement simultaneously, but implementation is dumb, and two kinds of machine-processed data buffers are inconsistent, and memory source utilization factor is low, and the efficiency of Telemetry Data Acquisition and tissue is low;
(3) Patents is not also had to describe the specific implementation simultaneously supporting 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 being simultaneously applicable to PCM remote measurement and AOS remote measurement, the method can be supported down to pass the conventional P CM remote measurement mechanism that form is fixed, downstream rate is lower, also supports down to pass the AOS remote measurement mechanism that form is flexible, efficiency is higher simultaneously.It achieve a kind of flexible and efficient Telemetry Data Acquisition and method for organizing, form AOS remote measurement source bag (EPDU) and multichannel protocol Data Unit (MPDU), and picking data form the telemetry frame of set form from the bag of each source, form PCM remote measurement descending.The method can meet the demand that telemetry low rate is descending and two-forty is descending simultaneously, by multiplexing for the source data of two kinds of remote measurement mechanism, effectively improves the organizational efficiency of telemetry.
Be applicable to a telemetry method for organizing for PCM remote measurement and AOS remote measurement, its method for organizing step is as follows simultaneously:
The telemetry method for organizing of AOS remote measurement is defined:
Definition structure body type, comprise source pack arrangement body, MPDU structure body, MPDU tissue constructs and message transfer structure, wherein MPDU tissue constructs comprises multiple MPDU structure body, MPDU structure body comprises the variable of multiple sources pack arrangement body type, and message transfer structure comprises the source bag ID of multiple sources pack arrangement body; Source pack arrangement body, for describing the form of AOS EPDU source bag, comprises the data field of source bag; MPDU structure body is for describing the information of AOS MPDU; MPDU tissue constructs is used for all MPDU in management system, by the variable of active pack arrangement body type be organized in multiple MPDU; Message transfer structure is for being described in the information of message transfer in 1553B bus;
Step one: system defines an overall message transfer structure body surface when initialization, describe the message mailing to each RT far-end, for gathering the telemetry of each RT far-end, and indicate and these data are put into which source bag and the position in the bag of source, this table contain the data acquiring mode of active bag, send by traveling through this table the telemetry that bus message can obtain these sources bag;
Step 2: the message transfer structure body surface in traversal step one generates 1553B bus message, obtain the data field that telemetry is filled into source pack arrangement body, concrete steps are as follows:
A, in order traversal message transfer structure body surface, obtain i-th message in table, the message number in 0<=i< table, the initial value of i is 0, if traversal end, forwards D to, otherwise forwards step B to;
The source bag ID that B, acquisition i-th message are corresponding, and judge: if the collection mark of source bag is enable, then forwards step C to, otherwise forward steps A to, process the i-th+1 message;
If the function that C pre-sets not for empty, then call the data buffer that this function fills 1553B bus message, sends to RT to hold the data in this message buffer; If be sky, according to i-th message generation 1553B bus message, after bus message returns, the telemetry gathered 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 have updated the data field of source bag, complete a Telemetry Data Acquisition, forward steps A to, process the i-th+1 message;
D, message transfer structure body surface traversal is complete, and the data field of each source bag is filled with the telemetry of collection, completes the telemetry-acquisition of all source bags, terminates;
Step 3: by source pack arrangement somas all in step 2 in MPDU structure body, achieve the function all EPDU sources package being made into multiple MPDU, detailed process is as follows:
A, first carry out initialization of variable, define a upper source bag residue length, the length of current source bag and MPDU residue length, forward step B to;
The each MPDU of B, circular treatment, the initial value of current organization jth MPDU, j is 0, and the condition that this circulation is jumped out does not remain source bag in the bag table of source, forwards step C to;
C, the top guide arranging this MPDU are a upper source bag residue length last_pkt_data_left, the total length-top guide length of the source bag number pkt_cnt of MPDU to be the remaining byte number of 0, MPDU be MPDU, forward step D to;
D, organize the data of this MPDU, residue source bag in the bag table of source is organized in this MPDU, suppose when pre-treatment for wrapping in kth source, the initial value of k is 0, circulation is handled as follows (1) ~ and (5), until MPDU fills in full or source bag table do not remain source bag, then jump out this circulation and forward step e to:
(1) if the data of kth-1 source bag do not remain, need to obtain new source bag, forward to (2), otherwise forward to (4);
(2) from the bag table of source, obtain a kth source bag, there is no available source bag if current, then jump out circulation, otherwise forward to (3);
(3) a kth source bag is the source bag newly adding, the active bag number pkt_cnt of MPDU tissue constructs variable is added 1, the length arranging the current source bag of MPDU tissue constructs variable is the length of a kth source bag, location index is the reference position 0 of source bag, forwards to (5);
(4) this is that kth-1 source bag data have remaining situation, the length arranging the current source bag of MPDU tissue constructs variable is the residue length of kth-1 source bag, location index is the reference position of kth-1 source bag remaining data, forwards to (5);
(5) address parameter and the data length parameter of pkt_cnt the source bag of a jth MPDU are set, namely address parameter is that the start address that source is wrapped adds location index, data length parameter is the length of the current source bag of MPDU tissue constructs variable: if the length of current source bag is less than the residue length of MPDU, namely current source bag can join in a jth MPDU completely, then setting data length parameter is the length of current source bag, the residue length upgrading MPDU is the length of the residue length of MPDU-current source bag, and the upper source bag residue length of renewal is 0; Otherwise current source bag can not join in a jth MPDU completely, also has residue, setting data length parameter is the length of current source bag, the residue length of the length-MPDU of a upper source bag residue length=current source bag, the residue length of MPDU is 0, then MPDU is filled full, jumps out circulation, otherwise continue to fill this MPDU, forward the section start of step D to;
If do not remain source bag in the bag table of E source, then construct a filling bag and be put in a jth MPDU, filled by the remainder of a jth MPDU full, now, the active bag of institute group, in MPDU, completes MPDU group bag, jumps out the circulation of step B, forward step F to; Otherwise, also have residue source bag in the bag table of source, and a jth MPDU has organized, and forwards step B to and continues to organize jth+1 MPDU;
F, active bag have been organized in MPDU, terminate;
Step 4: all MPDU of system are sent to a RT terminal by 1553B bus, is immigration state if current, then sends to data multiplexing device, if departure state, then sends to mass storage;
The telemetry method for organizing of PCM telemetry is defined:
Step one: definition PCM telemetry buffer zone, this data buffer is the byte pointer array of a regular length, and each element of array is a byte pointer pointing 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 also upgrade automatically;
Step 2: the data of PCM telemetry buffer zone are write hardware port, sends to measuring and controlling equipment descending to ground, realizes the descending of PCM remote measurement.
Beneficial effect:
(1) the present invention achieves AOS remote measurement and PCM remote measurement simultaneously, when organizing AOS telemetry, travel through the telemetry that a message transfer structure body surface obtains all RT far-ends, unify the mode of RT far-end telemetry-acquisition, implementation is flexible, extensibility good, when telemetry service sends change, only need to change this table, and the message returned directly is written back to the data field of source bag by the present invention after sending bus message, while bus message returns, namely generate remote measurement source bag, the efficiency that remote measurement source bag gathers is high;
(2) the present invention is when carrying out AOS MPDU and organizing, data pointer in MPDU is directly pointed to Yuan Bao data buffer, start address in the first top guide of the just MPDU upgraded, source of pointing to wrap and length, no matter how source bag changes, do not affect the organizational form of MPDU, effectively improve organizational efficiency and the adaptability of telemetry;
(3) the present invention is when organizing PCM telemetry frame, and be directly put in frame data by the data field pointer that AOS source is wrapped, during the bag Data Update of source, PCM telemetry upgrades automatically, improves the efficiency of PCM telemetry tissue and the utilization factor in space.
Accompanying drawing explanation
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 the multiple MPDU tissue 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
To develop simultaneously embodiment below in conjunction with accompanying drawing, describe the present invention.
As shown in Figure 1, the invention provides a kind of telemetry method for organizing being simultaneously applicable to PCM remote measurement and AOS remote measurement, its method for organizing concrete steps are as follows:
The telemetry method for organizing of AOS remote measurement is defined:
Definition structure body type, comprise source pack arrangement body, MPDU structure body, MPDU tissue constructs and message transfer structure, wherein MPDU tissue constructs comprises multiple MPDU structure body, MPDU structure body comprises the variable of multiple sources pack arrangement body type, and message transfer structure comprises the source bag ID of multiple sources pack arrangement body; Source pack arrangement body, for describing the form of AOS EPDU source bag, comprises the data field of source bag; MPDU structure body is for describing the information of AOS MPDU; MPDU tissue constructs is used for all MPDU in management system, by the variable of active pack arrangement body type be organized in multiple MPDU; Message transfer structure is for being described in the information of message transfer in 1553B bus; Specific as follows:
(1) define source pack arrangement body, for describing the form of AOS remote measurement source bag (being called for short EPDU), the form of source bag meets the standard of CCSDS EPDU definition, and the parameter of source pack arrangement body tm_packet_des_t is defined as follows:
In the present embodiment, the definition of source pack arrangement body is as table 1:
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 to s_tm_buf_pk8 is the byte arrays of overall situation static state, is the buffer zone of storage source bag data.
(2) define MPDU structure body (multichannel protocol Data Unit), for describing the information of AOS MPDU, it comprises top guide and data field, discharges multiple EPDU in order in data field;
MAX_TM_PKT is source bag number maximum in this MPDU, and the parameter of MPDU structure body tm_mpdu_des_t is defined as follows:
The parameter of MPDU source package informatin type tm_mpdu_pkt_pos_t is defined as follows:
Parameter Describe
addr_p The start address of source bag remainder, points to the skew that certain source bag is inner
len Data length from start address
(3) define MPDU tissue constructs, for MPDU, AOS remote measurements all in management system when telemetry is organized, active for institute package is knitted in multiple MPDU, then send to certain RT equipment group descending to pseudo channel (VC) by 1553B bus; System defines an overall MPDU tissue constructs variable s_tm_mpdu when initialization, when organizing MPDU, upgrade MPDU list and the association attributes of this variable;
MPDU tissue constructs tm_mpdu_macro_t describes the relevant information of all MPDU in system, and MAX_MPDU_CNT is maximum MPDU number, is defined as follows:
(4) define message transfer structure, for being described in the information of message transfer in 1553B bus, each or multiple message transfer send and form a source after returning and wrap in 1553B bus;
The parameter of message transfer structure tm_bus_transfer_msg_t is defined as follows:
In the present embodiment, the definition of message transfer structure is 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 one: system defines an overall message transfer structure body surface when initialization, describe the message mailing to each RT far-end, for gathering the telemetry of each RT far-end, and indicate and these data are put into which source bag and the position in the bag of source, this table contain the data acquiring mode of active bag, send by traveling through this table the telemetry that bus message can obtain these sources bag.
Step 2: the message transfer structure body surface in traversal step one generates 1553B bus message, obtain the data field that telemetry is filled into source pack arrangement body, as shown in Figure 2, concrete steps are as follows for implementation procedure:
A, backward traversal message transfer structure body surface, obtains i-th message (in 0<=i< table message number, the initial value of i is: message number-1), if traversal end, forwards D to, otherwise forward step B to;
The source bag ID(pkt_index that B, acquisition i-th message are corresponding), and judge: if the collection mark get_flag of source bag pkt_index is enable, then forwards step C to, otherwise forward steps A to, a piece of news (i--) under process;
If the func_before_send_p function that C is arranged is not empty, then calls the data buffer that this function fills 1553B bus message, the data in this message buffer are sent to RT far-end; If be sky, according to i-th message generation 1553B bus message, after bus message returns, the telemetry gathered 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 have updated the data field of source bag, complete a Telemetry Data Acquisition, forward steps A to, the lower a piece of news (i--) of process;
D, message transfer structure body surface traversal is complete, and the data field of each source bag is filled with the telemetry of collection, completes the telemetry-acquisition of all source bags, terminates.
In the present embodiment, the message transfer structure body surface needing 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 the i-th=10 message, forwards step B to;
B, obtain source bag ID(PK8 corresponding to this message), and to judge: if the collection mark get_flag of PK8 is 1, and collection period max_cycle arrives, and starts to gather, and forwards step C to;
C, generate 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 is just filled with the telemetry of collection, source bag PK8 gathers and terminates, and continues the lower a piece of news i=9 of process, forwards steps A to;
Circulation execution like this 11 times (i is from 10 to 0), the data of each source bag just gather complete.
When the source of collection bag PK5, after complete 7th, 6,5 message of order traversal, the collection of source bag PK5 can be completed.When traveling through the 7th message, 100 bytes that the data buffer s_tm_buf_pk5 being filled with PK5 starts; When traveling through the 6th message, 300 bytes that the data buffer s_tm_buf_pk5+100 being filled with PK5 starts; When traveling through the 5th message, 600 bytes that the data buffer s_tm_buf_pk5+400 being filled with PK5 starts, like this, just complete the collection of source bag PK5.
Step 3: by source pack arrangement somas all in step 2 in MPDU structure body, achieve the function all EPDU sources package being made into multiple MPDU, length due to MPDU is fixing, and the indefinite length of EPDU source bag, therefore there will be the first half of an EPDU source bag in this MPDU, the situation of latter half in next MPDU.Specific implementation process as shown in Figure 3 and Figure 4, is described below:
A, first carry out initialization of variable, define a upper source bag residue length, the length of current source bag and MPDU residue length, forward step B to;
The condition that B, this circulation of each MPDU(of circular treatment are jumped out does not remain source bag in the bag table of source), current organization mpdu_cnt(initial value is 0) individual MPDU, forward step C to;
C, initial time, the top guide mpdu_head arranging this MPDU is a upper source bag spare word joint number, the total length-top guide length of source bag number pkt_cnt to be the remaining byte number of 0, MPDU be MPDU, forwards step D to;
D, organize the data of this MPDU, be organized in this MPDU by the residue source bag in the bag table of source, circulation is handled as follows (1) ~ (5), until MPDU is full or do not remain source bag (jump out this circulation, forward step e to) in the bag table of source:
(1) if the data of a upper source bag do not remain (last_pkt_data_left=0), need to obtain new source bag, forward to (2), otherwise forward to (4);
(2) from the bag table of source, obtain next source bag pkt_index, there is no available source bag (source bag is disposed) if current, then jump out circulation, otherwise forward to (3);
(3) bag pkt_index in source is the source bag newly adding, its data are complete (not intercepted by a upper MPDU), the active bag number of MPDU tissue constructs variable is added 1, the length cur_pkt_length arranging current bag is the length of whole source bag, location index pointer_index is the reference position 0 of source bag, forwards to (5);
(4) this is that upper source bag data have remaining situation (last_pkt_data_left>0), the length cur_pkt_length arranging current source bag is the residue length of source bag, location index pointer_index is the reference position of source bag remaining data, forwards to (5);
(5) pkt_cnt(arranging this MPDU is initially 0) the address addr_p parameter in individual source bag (pkt_pos [pkt_cnt]) and data length len parameter, namely addr_p is that the start address of source bag pkt_index adds pointer_index.Upgrade len parameter: if the length cur_pkt_length of current bag is less than the residue length mpdu_left_length of MPDU, then len=cur_pkt_length is set, the residue length mpdu_left_length=mpdu_left_length-cur_pkt_length of MPDU, a 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, namely the residue length of MPDU is 0, then MPDU is filled full, jumps out circulation, otherwise continue to fill this MPDU, forward the section start of step D to;
If do not remain source bag in the bag table of E source, then construct a filling bag and be put in this MPDU, filled by the remainder of this MPDU full, now, the active bag of institute group, in MPDU, completes MPDU group bag, jumps out the circulation of step B, forward step F to; Otherwise also have residue source bag in the bag table of source, and this MPDU has organized, then mpdu_cnt adds 1, forwards step B to and continues to organize next MPDU;
F, the active bag of institute group, in MPDU, terminate.
In the present embodiment, be organized in MPDU by active for institute bag (PK1 ~ PK8), detailed process is as follows:
A, tissue first MPDU, s_tm_mpdu.mpdu_des_table [0].The top guide mpdu_head of this MPDU is set, source bag number pkt_cnt be the remaining byte number of 0, MPDU is 874-2=872;
B, filling PK1: ergodic source bag table (table 1) Jiang Yuanbao adds in this MPDU, first time adds source bag PK1, and a upper source bag spare word joint number is 0, and arranging cur_pkt_length is 464, pointer_index is 0, and the sequence upgrading this source bag controls and time code data district;
Addr_p and the len parameter that C, the 0th source arranging this MPDU are wrapped, addr_p=s_tm_buf_pk1, len=464; Arranging MPDU residue length is 872-464=408, a upper source bag residue length be 0, first MPDU less than, continue to fill next source bag PK2;
D, fill PK2: upper source bag (PK1) spare word joint number is 0, to arrange cur_pkt_length be 516, pointer_index is 0, upgrades sequence control and the time code data district of this source bag;
Addr_p and the len parameter that E, the 1st source arranging this MPDU are wrapped, addr_p=s_tm_buf_pk2, len=408; Arranging MPDU residue length is 0, and a upper source bag residue length is 516-408=108, and first MPDU is full, organizes second MPDU;
F, tissue second MPDU, s_tm_mpdu.mpdu_des_table [0].The top guide mpdu_head of this MPDU is set, source bag number pkt_cnt be the remaining byte number of 0, MPDU is 872.Because source bag PK2 has remaining data, fill the remainder of PK2 in this MPDU.
G, upper source bag (PK2) spare word joint number are 108, and to arrange cur_pkt_length be 108, pointer_index is (also not filling from byte);
Addr_p and the len parameter that H, the 0th source arranging this MPDU are wrapped, addr_p=s_tm_buf_pk2+408, len=108; Arranging MPDU residue length, to be that 872-108=764, PK2 fill complete, a upper source bag residue length be 0, second MPDU less than, continue to fill next source and wrap in PK3 to this MPDU.
By that analogy, active Bao Jun is organized in MPDU, and the mpdu_total_cnt parameter of the MPDU tissue constructs variable s_tm_mpdu of system is 4, mpdu_total_pkt_cnt parameter is 12, and all MPDU organize as shown in Figure 5.MPDU top guide has 2 bytes, is the reference position of first source bag of this MPDU, shown in table specific as follows:
Table 3
Step 4: all MPDU of system are sent to a RT terminal by 1553B bus, it is immigration state if current, then send to data multiplexing device and by its by these MPDU groups in pseudo channel, if departure state, then send to mass storage.
The telemetry method for organizing of PCM telemetry is defined:
Step one: definition PCM telemetry buffer zone, this data buffer is the byte pointer array of a regular length, is defined as overall static variable, and this buffer data organizes schematic diagram as shown in Figure 6.Its content is predefined, has set form, and each element of array is a byte pointer pointing to data in the pack arrangement body of AOS remote measurement source; Such as, first elements A MP.AMp.Amp fram_cnt is the pointer pointing to frame count, & time [0] is the pointer pointing to timing code first character joint, & PK1 (17) is the pointer of the 17th byte pointing to Yuan Bao data field, and & PK3 (15) is the pointer that the 15th byte of 3 data fields is wrapped in sensing source.
The direct picking of data that AOS source is wrapped by this mode out, be organized in PCM remote measurement buffer zone, once the data content of AOS remote measurement source bag upgrades, then the data of PCM buffer zone also upgrade automatically, and the data of PCM remote measurement buffer zone will not pick out and upgrade respectively, because their data source is the same.So just achieve the multiplexing of PCM remote measurement and AOS telemetry source, also improve the efficiency that PCM remote measurement upgrades.
Step 2: the data of PCM telemetry buffer zone are write hardware port, sends to measuring and controlling equipment descending to ground, realizes the descending of PCM remote measurement.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. be applicable to a telemetry method for organizing for PCM remote measurement and AOS remote measurement simultaneously, it is characterized in that, its method for organizing step is as follows:
The telemetry method for organizing of AOS remote measurement is defined:
Definition structure body type, comprise source pack arrangement body, MPDU structure body, MPDU tissue constructs and message transfer structure, wherein MPDU tissue constructs comprises multiple MPDU structure body, MPDU structure body comprises the variable of multiple sources pack arrangement body type, and message transfer structure comprises the source bag ID of multiple sources pack arrangement body; Source pack arrangement body, for describing the form of AOS EPDU source bag, comprises the data field of source bag; MPDU structure body is for describing the information of AOS MPDU; MPDU tissue constructs is used for all MPDU in management system, by the variable of active pack arrangement body type be organized in multiple MPDU; Message transfer structure is for being described in the information of message transfer in 1553B bus;
Step one: system defines an overall message transfer structure body surface when initialization, describe the message mailing to each RT far-end, for gathering the telemetry of each RT far-end, and indicate and these data are put into which source bag and the position in the bag of source, this table contain the data acquiring mode of active bag, send by traveling through this table the telemetry that bus message can obtain these sources bag;
Step 2: the message transfer structure body surface in traversal step one generates 1553B bus message, obtain the data field that telemetry is filled into source pack arrangement body, concrete steps are as follows:
A, in order traversal message transfer structure body surface, obtain i-th message in table, the message number in 0<=i< table, the initial value of i is 0, if traversal end, forwards D to, otherwise forwards step B to;
The source bag ID that B, acquisition i-th message are corresponding, and judge: if the collection mark of source bag is enable, then forwards step C to, otherwise forward steps A to, process the i-th+1 message;
If the function that C pre-sets not for empty, then call the data buffer that this function fills 1553B bus message, sends to RT to hold the data in this message buffer; If be sky, according to i-th message generation 1553B bus message, after bus message returns, the telemetry gathered 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 have updated the data field of source bag, complete a Telemetry Data Acquisition, forward steps A to, process the i-th+1 message;
D, message transfer structure body surface traversal is complete, and the data field of each source bag is filled with the telemetry of collection, completes the telemetry-acquisition of all source bags, terminates;
Step 3: by source pack arrangement somas all in step 2 in MPDU structure body, achieve the function all EPDU sources package being made into multiple MPDU, detailed process is as follows:
A, first carry out initialization of variable, define a upper source bag residue length, the length of current source bag and MPDU residue length, forward step B to;
The each MPDU of B, circular treatment, the initial value of current organization jth MPDU, j is 0, and the condition that this circulation is jumped out does not remain source bag in the bag table of source, forwards step C to;
C, the top guide arranging this MPDU are a upper source bag residue length last_pkt_data_left, the total length-top guide length of the source bag number pkt_cnt of MPDU to be the remaining byte number of 0, MPDU be MPDU, forward step D to;
D, organize the data of this MPDU, residue source bag in the bag table of source is organized in this MPDU, suppose when pre-treatment for wrapping in kth source, the initial value of k is 0, circulation is handled as follows (1) ~ and (5), until MPDU fills in full or source bag table do not remain source bag, then jump out this circulation and forward step e to:
(1) if the data of kth-1 source bag do not remain, need to obtain new source bag, forward to (2), otherwise forward to (4);
(2) from the bag table of source, obtain a kth source bag, there is no available source bag if current, then jump out circulation, otherwise forward to (3);
(3) a kth source bag is the source bag newly adding, the active bag number pkt_cnt of MPDU tissue constructs variable is added 1, the length arranging the current source bag of MPDU tissue constructs variable is the length of a kth source bag, location index is the reference position 0 of source bag, forwards to (5);
(4) this is that kth-1 source bag data have remaining situation, the length arranging the current source bag of MPDU tissue constructs variable is the residue length of kth-1 source bag, location index is the reference position of kth-1 source bag remaining data, forwards to (5);
(5) address parameter and the data length parameter of pkt_cnt the source bag of a jth MPDU are set, namely address parameter is that the start address that source is wrapped adds location index, data length parameter is the length of the current source bag of MPDU tissue constructs variable: if the length of current source bag is less than the residue length of MPDU, namely current source bag can join in a jth MPDU completely, then setting data length parameter is the length of current source bag, the residue length upgrading MPDU is the length of the residue length of MPDU-current source bag, and the upper source bag residue length of renewal is 0; Otherwise current source bag can not join in a jth MPDU completely, also has residue, setting data length parameter is the length of current source bag, the residue length of the length-MPDU of a upper source bag residue length=current source bag, the residue length of MPDU is 0, then MPDU is filled full, jumps out circulation, otherwise continue to fill this MPDU, forward the section start of step D to;
If do not remain source bag in the bag table of E source, then construct a filling bag and be put in a jth MPDU, filled by the remainder of a jth MPDU full, now, the active bag of institute group, in MPDU, completes MPDU group bag, jumps out the circulation of step B, forward step F to; Otherwise, also have residue source bag in the bag table of source, and a jth MPDU has organized, and forwards step B to and continues to organize jth+1 MPDU;
F, active bag have been organized in MPDU, terminate;
Step 4: all MPDU structure bodies of system are sent to a RT terminal by 1553B bus, is immigration state, then sends to data multiplexing device if current, if departure state, then sends to mass storage;
The telemetry method for organizing of PCM telemetry is defined:
Step one: definition PCM telemetry buffer zone, this data buffer is the byte pointer array of a regular length, and each element of array is a byte pointer pointing 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 also upgrade automatically;
Step 2: the data of PCM telemetry buffer zone are write hardware port, sends to measuring and controlling equipment descending to ground, realizes the descending of PCM remote measurement.
2. a kind of telemetry method for organizing being simultaneously applicable to PCM remote measurement and AOS remote measurement as claimed in claim 1, is characterized in that, the form of described source pack arrangement body meets the standard of CCSDS-EPDU definition, and its parameter is defined as follows:
3. a kind of telemetry method for organizing being simultaneously applicable to PCM remote measurement and AOS remote measurement as claimed in claim 1, it is characterized in that, described MPDU structure body comprises top guide and data field, and MAX_TM_PKT is source bag number maximum in this MPDU, and the parameter of MPDU structure body is defined as follows:
The parameter of MPDU source package informatin type is defined as follows:
Parameter Describe
addr_p The start address of source bag remainder, points to the skew that certain source bag is inner len Data length from start address
4. a kind of telemetry method for organizing being simultaneously applicable to PCM remote measurement and AOS remote measurement as claimed in claim 1, it is characterized in that, described MPDU tissue constructs is defined as follows:
Wherein MAX_MPDU_CNT is maximum MPDU number.
5. a kind of telemetry method for organizing being simultaneously applicable to PCM remote measurement and AOS remote measurement as claimed in claim 1, it is characterized in that, the parameter of described message transfer structure is defined as follows:
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 CN102968488A (en) 2013-03-13
CN102968488B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107632844B (en) * 2017-07-28 2023-07-18 上海航天电子有限公司 Telemetry multi-format framing method for satellite test
CN107679152B (en) * 2017-09-26 2024-03-08 中国科学院电子学研究所 Data processing 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
CN110535561B (en) * 2019-08-15 2022-04-12 北京空间飞行器总体设计部 Spacecraft telemetry data transmission implementation method based on two-way linked list
CN114168801B (en) * 2021-12-06 2024-04-09 中国人民解放军63660部队 Telemetry floating format data segment structure and decision method for improving floating format data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* 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
JP2007157106A (en) * 2005-12-01 2007-06-21 Korea Electronics Telecommun Satellite simulation system using component-based satellite modeling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
AOS***中的帧同步技术性能分析与仿真;肖志东 等;《沈阳理工大学学报》;20100630;第29卷(第3期);20-25 *
CCSDS Advanced Orbiting Systems international data communications standards for the space station Freedom;Hooke A;《Network》;19900930;第4卷(第5期);13-16 *
CCSDS高级在轨***协议吞吐量性能分析;李树国;《微处理机》;20061231(第6期);44-50 *

Also Published As

Publication number Publication date
CN102968488A (en) 2013-03-13

Similar Documents

Publication Publication Date Title
CN102968488B (en) Telemetering data organization method simultaneously applicable to PCM telemetering and AOS telemetering
CN102158392B (en) Method for telemetering of advanced orbiting system (AOS) of distributed framework satellite
CN102932696B (en) Satellite-borne high-speed data multiplexer system and realizing method thereof
CN101770541B (en) Satellite data system simulation platform based on AOS standards
CN101515841B (en) Method for data packet transmission based on RapidIO, device and system
CN101056313B (en) An IQ data transmission method between the BBU and RRU
CN112468209B (en) On-orbit high-speed injection system and method based on SpaceWire bus
CN103269388B (en) A kind of method by satellite data transmission channel acquisition high-speed real-time
CN103309780B (en) The analog of load data processor and its implementation
CN101873192B (en) Method and device for transmitting constant-rate data stream
CN103078919B (en) A kind of data transmission method of secondary encapsulation
JP2016503526A (en) Data processing method and apparatus
CN103259936A (en) Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN102439983A (en) Data rapid distribution method and device
CN102566982A (en) Two-stage FPGA (field programmable gate array) pipeline configuration circuit
CN105071859A (en) Downlink and uplink data transmission method and apparatus
CN101616064B (en) Method for managing data, mesh network system and associated device
CN103885429A (en) Intelligent remote metering polling control method
CN101656682A (en) Method and system for processing mobile multimedia data broadcasting services
CN106970842A (en) A kind of dynamic reconfigurable real time signal processing load balance system
CN103026671B (en) A kind of method and apparatus of traffic shaping
CN102571271B (en) The method for automatically generating dynamic frame encapsulation group
CN102340453B (en) Dispatching method of variable-length data stream
CN101656586B (en) Method and device for improving virtual concatenation delay compensation caching efficiency in synchronous digital hierarchy
CN103516627A (en) Method and apparatus for transmitting and receiving data packets in multi-chip communication

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