CN107769908A - One kind time division multiplexing 1553B bus access methods - Google Patents
One kind time division multiplexing 1553B bus access methods Download PDFInfo
- Publication number
- CN107769908A CN107769908A CN201710841112.3A CN201710841112A CN107769908A CN 107769908 A CN107769908 A CN 107769908A CN 201710841112 A CN201710841112 A CN 201710841112A CN 107769908 A CN107769908 A CN 107769908A
- Authority
- CN
- China
- Prior art keywords
- frame
- data
- communication
- compensation
- communication frame
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/062—Synchronisation of signals having the same nominal but fluctuating bit rates, e.g. using buffers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
- H04L7/002—Arrangements for synchronising receiver with transmitter correction of synchronization errors correction by interpolation
- H04L7/0029—Arrangements for synchronising receiver with transmitter correction of synchronization errors correction by interpolation interpolation of received data signal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
- H04L7/005—Correction by an elastic buffer
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Time-Division Multiplex Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides one kind time division multiplexing 1553B bus access methods, overcome the access service data triggered during because of BC ends school and lose problem.Step 1: BC ends instruct when being connected to school, when preparing school;Step 2: BC ends mark in x+1 frame compensating coefficient words will reduce the RT for losing data because of communication frame;Step 3: data were evenly distributed in the communication frame period, Step 4: receiving RT ends after compensating coefficient word searches mode bit corresponding to oneself;Step 5: normal access service data is placed in caching by RT within next frame period on time, and the x+1 frame data in last communication frame period are put in the buffer before the arrival of corresponding compensation communication frame x n/2 frame synchronization;Step 6: next frame period BC fetches the data of compensation transmission in the compensation communication x n/2 frames that method gives in bus cache, so far, bus data compensation is transmitted.
Description
Technical field
The present invention relates to one kind time division multiplexing 1553B bus access methods, belong to remote sensing satellite composite elctronics technical field.
Technical background
The 1553B buses that are time-multiplexed are bussing techniques emerging in recent years.BC ends provide Time Service by bus and supported,
Periodically distribute the time to RT ends using TimeData, TimeSynchronize primitive, carry out time synchronized.Data/address bus
The period that communication occurs is referred to as communication frame.BC application programs notify the beginning of RT communication frames using communication synchronization service primitive.
Each communication frame on data/address bus is started with the frame sync message that communicates, and synchronization message order by the way of with data word is entered
Row is synchronous, and data word represents transmission frame number.When communication synchronization service is when time synchronized service is used together, communication frame #0's
Starting can substitute communication frame sync message with usage time synchronization message.Now it is necessary to adjust duration of communication frame so as to
With keep synchronous during BC star.When BC needs synchronous bus communications frame and time, generally use time difference is concentrated once
The method of adjustment.
It is being time-multiplexed in 1553B buses, data transfer can be realized by putting number service and access service.Taken
During number service, frame synchronizing signal that RT ends provide according to BC ends gets epicycle frame number, according to allocating in advance before BC readings
Bandwidth corresponding data are placed in bus buffer area.The communication frame of agreement is arrived, BC fetches corresponding RT number from buffering area
According to.
Software operationally, operates when often having school on the star of BC ends.The interval of time synchronized message can be corresponding after during school
Extend or shorten, result in the extension or shortening in communication frame period.When reverse school constantly, the cycle time of communication frame, sequence number is leaned on
Communication frame afterwards is reduced.It is predefined in and is not transmitted in the communication of this wheel by the bus access data transmitted in reduction communication frame
(as shown in Figure 1).RT ends can be by the data cover in next frame period in the data that BC is issued by reduction communication frame preparation.
As seen from the above, using time division multiplexing 1553B bussing techniques, when carrying out reverse school in the case of can lose one
Divide the data of access service.It is therefore desirable to be improved to bus access method of servicing, one kind is designed reliably, and do not show
Write the access method of increase bus transfer data amount.
The content of the invention
The invention provides one kind time division multiplexing 1553B bus access methods, the technical problem of solution is:Overcome because
The access service data triggered during the school of BC ends loses problem, and the remote terminal RT for losing data is marked, and in next round
Transmission is compensated to the data of loss in the communication frame period.Can not only solve data loss problem in this way, protect
Demonstrate,prove integrality, the reliability of the data transfer between BC and RT.
The present invention technical solution be:
One kind time division multiplexing 1553B bus access methods, comprise the following steps:
Step 1: BC ends instruct when being connected to school, when preparing school, an array in BC ends records each communication frame and taken
Several RT, when communication frame is by before reducing, n-x communication frame of BC ends record missing needs to fetch from which RT end, after being
Compensating coefficient word and compensation frame transmission prepare;
Step 2: BC ends mark in x+1 frame compensating coefficient words will reduce the RT for losing data because of communication frame;If RT pairs
The x+1 frames compensation service state word corresponding positions answered represent that RT epicycles access data need to compensate transmission in next round for 1;
Step 3: data were evenly distributed in the communication frame period, arrange n/2 communication frame before n communication frame
As the compensation frame of the communication frame of back n/2, the compensation frames of x+1 frames is x-n/2 ,-n/2 the communication frames of xth in epicycle frame period,
The compensating coefficient word of x+1 frames is broadcast to all RT ends by BC;
Step 4: mode bit corresponding to oneself is searched in RT ends after receiving compensating coefficient word, marked if there is compensation transmission,
Illustrate next communication cycle needs this data retransmission once, RT ends preserve epicycle x+1 frame data, under wait
Take turns communication cycle transmission;
Step 5: normal access service data is placed in caching by RT on time within next frame period, and corresponding
Compensation communication frame x-n/2 frame synchronization arrive before it is last communication the frame period x+1 frame data put in the buffer;
Step 6: compensation transmission is fetched in next frame period BC ends in compensation communication x-n/2 frames from bus cache
Data.
Remaining missing frame compensates transmission by that analogy according to step 3 to step 6.
Further, the compensation service state word shares 4 bytes, and 32 correspond to 32 RT respectively.
Beneficial effects of the present invention:
(1) by the present invention, the reliable of time division multiplexing 1553B bus data transfers is improved by compensation data transmission
Property, it ensure that RT end data integralities;
(2) by the design of compensating coefficient word of the present invention, the RT of communication frame is influenceed when mark that can be succinct is by school.Can and
When by broadcast notice RT carry out preservation data manipulation.The data of RT ends epicycle are avoided by next round data cover.
(3) by this method, the compensation that the multiple RT data of multiple communication frames can be completed within the frame period that communicates passes
It is defeated, high efficient and reliable.
(4) tens bytes are at most increased by the data volume in this method bus, extra burden will not be caused.
(5) by establishing the method for compensating frame so that what offset data can more disperse transmits within the communication frame period,
Avoid because centralized compensation transmits, data volume is excessive in bus causes loss of data beyond transmittability.
Brief description of the drawings
Shorten access loss of data schematic diagram in Fig. 1 time synchronizeds interval;
Fig. 2 compensates service state word;
Fig. 3 takes turns the data not passed in the transmission of next communication frame Periodic Compensation;
Block diagram is realized in the transmission of Fig. 4 compensation datas.
Embodiment
The invention provides one kind time division multiplexing 1553B bus access methods.Compensating coefficient word is devised, it is specific such as Fig. 2
It is shown.This method is described further below by an example.
It is assumed that BC is connected to 1 slave computer RT5 in system.RT5 access service contract is as shown in the table.
The access data explanation that the RT5 of table 1 is sent
Sequence number | Source bag code name | Source packet length | Subaddressing | Communication frame |
1 | PK001 | 108 bytes | 11 | 19 |
2 | PK002 | 54 bytes | 15 | 8 |
3 | PK003 | 68 bytes | 8 | 6 |
4 | PK004 | 96 bytes | 9 | 19 |
5 | PK005 | 32 bytes | 6 | 17 |
It is assumed that the time synchronized cycle at BC ends is 1 second, then the frame period that communicates also is 1 second.20 are included in one frame period
Communication frame.If order causes the communication frame period to be reduced to 950 milliseconds during school, (communication frame 0 is first to last 1 communication frame 19
Individual communication frame) access data need compensate transmission.Need to be walked as follows using time division multiplexing 1553B buses access method
Suddenly:
(1) the B5 positions of compensating coefficient word are 1 by BC ends.The communication frame 9 (the compensation frame of communication frame 19) occurred at school,
BC broadcasts compensating coefficient word.
(2) RT5 receives compensating coefficient word, and preparation is preserved in data PK001, PK004 that communication frame 19 is sent.
(3) before the communication frame 8 of the next round communication cycle occurred at school RT5 by PK001 deposit toward SA11 caching,
PK004 deposits the caching toward SA9.
(4) the communication frame 9BC of the next round communication cycle occurred at school takes PK001 data away in the SA11 of caching, delays
The SA9 deposited takes PK004 data away.
As illustrated in the diagram in figure 4, the realization of this method needs BC ends software and RT ends software to coordinate completion.
The operating process of BC ends software and RT ends software is introduced separately below.
(1) operating process of BC ends software
The first step:Compensating coefficient word is defined, code sample is as follows:
Long int Com_Stu [20]=0;// compensating coefficient word
Definition access service structure body is also needed, corresponding RT, the source bag of transmission is serviced comprising access, specific subaddressing, leads to
Believe frame number.Code sample is as follows:
Second step:BC ends instruct when being connected to school, learn that communication frame is reduced by calculating, only 19 communication frames.By looking into
Access of the table BC ends software records missing RT5 in communication frame 19.Compensating coefficient word is refreshed at BC ends.
Compensating coefficient word of the 3rd step BC end softwares after the broadcast renewal of communication frame 9.
WRITE_RAM_1553(p_1553_bc,data_offset,Com_Stu[9]);
The next round communication cycle communication frame 9 that 4th step occurs at school, BC ends software take the ready data of RT away.
(2) RT ends software operating process
The first step, definition RT ends software need to compensate the data structure of transmission, wrapped in structure except defining caching source
Array, also need to define corresponding subaddressing and communication frame number.
Second step, RT ends software receive the compensating coefficient word of BC ends broadcast in the 9th frame, and mode bit corresponding to discovery is set to
1, illustrate that RT5 epicycles there are data to be transmitted in next round.Being learnt after tabling look-up needs two source bag PK001 and PK004 of caching.
3rd step, the next round communication cycle communication frame 9 occurred at school, RT ends software divide source bag PK001 and PK004
Subaddressing 11 and subaddressing 9 are not placed on.
Claims (2)
1. one kind time division multiplexing 1553B bus access methods, it is characterised in that comprise the following steps:
Step 1: BC ends instruct when being connected to school, when preparing school, an array in BC ends records what each communication frame was fetched
RT, when communication frame is by before reducing, which RT ends access n-x communication frame of BC ends record missing is needed from;N is communication frame
Number, x are the communication frame number actually transmitted;
Step 2: BC ends are marked in x+1 frame compensating coefficient words because communication frame reduces the RT of loss data, if x+1 corresponding to RT
The mode bit of frame compensation service state word is 1, represents that RT epicycles access data need to compensate in next round and transmits;
Step 3: data were evenly distributed in the communication frame period, arrange in n communication frame most n/2 communication frames successively
As compensation frame, the compensation frame of x+1 frames is x- (n/2), and in xth-(n/2) the individual communication frame in epicycle frame period, BC ends are by x+1 frames
Compensating coefficient word be broadcast to all RT;
Step 4: receiving RT ends after compensating coefficient word searches mode bit corresponding to oneself, if mode bit preserves for 1, RT ends
Epicycle x+1 frame data, wait next frame period communications;
Step 5: normal access service data is placed in bus cache by RT on time within next frame period, and corresponding
Compensation frame x-n/2 frame synchronization arrive before, it is last communication the frame period x+1 frame data be placed in bus cache;
Step 6: the number of compensation transmission in compensation communication x-n/2 frames, is fetched in next frame period BC ends from bus cache
According to.
A kind of 2. time division multiplexing 1553B bus access methods as claimed in claim 1, it is characterised in that the compensating coefficient
Word shares 4 bytes, and 32 correspond to 32 RT respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710841112.3A CN107769908B (en) | 2017-09-18 | 2017-09-18 | Time division multiplexing 1553B bus access method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710841112.3A CN107769908B (en) | 2017-09-18 | 2017-09-18 | Time division multiplexing 1553B bus access method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107769908A true CN107769908A (en) | 2018-03-06 |
CN107769908B CN107769908B (en) | 2019-12-13 |
Family
ID=61265992
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710841112.3A Active CN107769908B (en) | 2017-09-18 | 2017-09-18 | Time division multiplexing 1553B bus access method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107769908B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112235032A (en) * | 2020-09-17 | 2021-01-15 | 中国科学院西安光学精密机械研究所 | Hyperspectral imager 1553B bus communication method based on time service |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821080A (en) * | 2012-08-08 | 2012-12-12 | 天津大学 | Receiving method for bandwidth expansion of 1553B communication bus |
CN104317764A (en) * | 2014-10-10 | 2015-01-28 | 北京石竹科技股份有限公司 | Real-time control method for asynchronous messages of 1553B bus |
CN106506308A (en) * | 2016-10-19 | 2017-03-15 | 北京空间飞行器总体设计部 | A kind of spacecraft 1553B bus communication systems based on time synchronized |
-
2017
- 2017-09-18 CN CN201710841112.3A patent/CN107769908B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102821080A (en) * | 2012-08-08 | 2012-12-12 | 天津大学 | Receiving method for bandwidth expansion of 1553B communication bus |
CN104317764A (en) * | 2014-10-10 | 2015-01-28 | 北京石竹科技股份有限公司 | Real-time control method for asynchronous messages of 1553B bus |
CN106506308A (en) * | 2016-10-19 | 2017-03-15 | 北京空间飞行器总体设计部 | A kind of spacecraft 1553B bus communication systems based on time synchronized |
Non-Patent Citations (6)
Title |
---|
于雅丽等: ""1553B总线切换的研究与应用"", 《福建电脑》 * |
商伟峰: ""基于FPGA的1553B总线与CAN总线数据转换器设计与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
安军社: ""1553B总线系统的软件设计"", 《中国空间科学学会空间探测专业委员会第十三次学术会议论文集》 * |
徐丽清: ""1553B总线接口技术研究及FPGA实现"", 《中国优秀硕士学位论文全文数据库工程科技II辑》 * |
王彬等: ""基于ARM_Linux的1553B仿真测试前端系统"", 《电子设计工程》 * |
闵晓华等: ""基于1553B总线的接口软件设计与实现"", 《计算机工程与科学》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112235032A (en) * | 2020-09-17 | 2021-01-15 | 中国科学院西安光学精密机械研究所 | Hyperspectral imager 1553B bus communication method based on time service |
Also Published As
Publication number | Publication date |
---|---|
CN107769908B (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104244397B (en) | A method of it is compensated for TD-LTE fiber optic stretch equipment delays | |
KR101290643B1 (en) | Method and system for bearing time synchronization protocol in optical transport network | |
JP2010011457A5 (en) | ||
US8910202B2 (en) | Modification and distribution of video content | |
KR20190020129A (en) | Service transmission method and apparatus, service receiving method and apparatus, and network system | |
RU2001117229A (en) | EFFECTIVE IN-BAND TRANSMISSION OF SIGNALS FOR IMPLEMENTATION OF INTERMEDIATE TRANSMISSION AND CHANGES OF CONFIGURATION OF COMMUNICATION SYSTEMS WITH MULTI-SPEED ADAPTIVE SIGNAL TRANSMISSION | |
CN107769908A (en) | One kind time division multiplexing 1553B bus access methods | |
CA2306013A1 (en) | Method for causal ordering in a distributed network | |
CN101873192A (en) | Method and device for transmitting constant-rate data stream | |
KR920011127A (en) | Communication system with central processing unit and communication station | |
JPH03183225A (en) | Sonic receiving signal converter | |
CN107947887A (en) | Clock system and method between a kind of server based on PTP protocol | |
CN107809295A (en) | A kind of cross-platform time synchronism apparatus and method | |
CN113037417A (en) | Method, device and storage medium for realizing one-step mode of precision time protocol message | |
CN107959537B (en) | State synchronization method and device | |
GB1331547A (en) | Multiplexing and demultiplexing system for telegrphic or data transmission channels | |
CN103796079B (en) | Channel damage simulation method of terrestrial digital TV transmission distribution network | |
CN102625451B (en) | Method and base station of signal coverage | |
CN102413017A (en) | Time-delay performance monitoring method and device | |
CN101222281B (en) | Single frequency net system and its synchronous system and method in mobile multimedia broadcast | |
CN102510355B (en) | Method for realizing flexible expenditure data increase and decrease in PTN system | |
KR20210005249A (en) | Service signal transmission method and apparatus | |
CN106131034A (en) | A kind of method and apparatus resolving packaged data protocol element | |
WO2010035974A2 (en) | Apparatus and method for restoring network clock reference of transmission data, and data receiving apparatus | |
FR2745450A1 (en) | TDMA data communication method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |