CN103746878A - Simulation system for measuring transmission time of SpaceWire data packets - Google Patents
Simulation system for measuring transmission time of SpaceWire data packets Download PDFInfo
- Publication number
- CN103746878A CN103746878A CN201310753304.0A CN201310753304A CN103746878A CN 103746878 A CN103746878 A CN 103746878A CN 201310753304 A CN201310753304 A CN 201310753304A CN 103746878 A CN103746878 A CN 103746878A
- Authority
- CN
- China
- Prior art keywords
- time
- packet
- spacewire
- spacewire packet
- window width
- 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
Images
Abstract
The invention discloses a simulation system for measuring the transmission time of SpaceWire data packets. The simulation system comprises a wormhole router module (1) with a time window, a time main control node module (2) and a terminal application node module (3), wherein the three modules construct an aerospace communication network on the basis of SpaceWire bus standard communication; the terminal application node module (3) is used for generating two types of SpaceWire data packets; the transmission time and transmission delay time of the data packets are counted in the wormhole router module (1) with the time window through simulation system synchronizing time provided by the time main control node module (2). The simulation system is used for measuring the transmission time and transmission delay time of the SpaceWire data packets on the basis of a SpaceWire bus standard, and the performance of the aerospace communication network can be improved by using the obtained time information.
Description
Technical field
The present invention relates to a kind of space communication network emulation field, more particularly, refer to the analogue system of a kind of SpaceWire of mensuration data packet transmission time delay.
Background technology
SpaceWire(translation is space bus) bus be a kind of serial, at a high speed, the spaceborne data network standard (ECSS-E-ST-50-12C of point-to-point, full duplex, 31July2008), be multi-source, asynchronous, event-triggered communication network, be difficult to guarantee the transmission end-to-end delay of message.If the message attributes of part of nodes in known network, as information such as time, sizes, plans their transmission in advance, according to set time window, dispatch, can formation time trigger news network, and greatly improve the certainty of transmission of messages in network.
SpaceWire data packet transmission end-to-end delay is a very important testing index in network analysis, the real-time of its embodiment network.The method of measuring transmission of messages time delay has a lot, and wherein network simulation is that the one of commonly using is selected.Network simulation uses mathematical modeling and the behavior of statistical analysis analog network, can revise easily model and carry out emulation, is applicable to the performance of prediction network, for the planning and designing of network provide reliable quantitative basis.
Based on software, carry out protocol emulation and simulate SpaceWire network communication mechanism, measure the transmission end-to-end delay of message in Event triggered SpaceWire network, lack the analogue system that triggers message, worm hole router scheduling timetable is planned based on the time.
Summary of the invention
The object of the invention is the analogue system in the transmission time that proposes a kind of SpaceWire of mensuration packet, this analogue system is to solve the simulation problems of time triggering message in SpaceWire bus network, the scheduling moment to router is planned, utilize time window width and window width size condition to carry out the forwarding for the treatment of S paceWire packet, to the SpaceWire packet priority treatment of time triggering, the transmission time of the SpaceWire packet of assurance time triggering.For the SpaceWire packet of Event triggered, utilize window width size condition to forward.
The analogue system in a kind of transmission time of measuring SpaceWire packet of the present invention, this analogue system builds space communication network according to the communication of SpaceWire bus standard.This analogue system includes worm hole router (1), time main controlled node module (2) and the terminal applies node module (3) with time window.
With the worm hole router (1) of time window, include worm hole routing unit (11), time window setting unit (12) and data pack buffer unit (13).
Worm hole routing unit (11) is for completing SpaceWire packet that the time is triggered and the forwarding of the SpaceWire packet of Event triggered.
Time window setting unit (12) binding time window width and window width size judge the sending order of packet.
Data pack buffer unit (13) is for the SpaceWire packet to time triggering and the SpaceWire packet of Event triggered are preserved temporarily.
Time main controlled node module (2) includes time synchronized control unit (21) and time master control receiving element (22).Time synchronized control unit (21) is for generating code TM_Time_Code lock in time, and broadcasts in the space communication network based on the communication of SpaceWire bus standard.When time main controlled node module (2) is during as object, time master control receiving element (22) is used for SpaceWire packet that time of reception triggers and the SpaceWire packet of Event triggered.
Terminal applies node module (3) includes terminal applies transmitting element (31) and terminal applies receiving element (32).
At terminal applies node module (3) during as source node, terminal applies node module (3) comes SpaceWire packet that transmitting time triggers and the SpaceWire packet of Event triggered by terminal applies transmitting element (31).The T of the SpaceWire packet that setup times triggers
interval.
At terminal applies node module (3), during as intermediate node, terminal applies node module (3) carries out the SpaceWire packet of forwarding time triggering and the SpaceWire packet of Event triggered by terminal applies transmitting element (31) according to transmission link.
At terminal applies node module (3) during as destination node, terminal applies node module (3) comes SpaceWire packet that time of reception triggers and the SpaceWire packet of Event triggered by terminal applies receiving element (32).
The analogue system in the transmission time of described mensuration SpaceWire packet, in described time window setting unit (12), interval between the time window width of the SpaceWire packet of any two times triggering is called window width interval CH, and described window width interval CH is used for forwarding the SpaceWire packet of Event triggered.The SpaceWire packet that time triggers is according to generating moment AT
generatepriority send the SpaceWire packet that described time triggers.The SpaceWire packet of Event triggered is according to generating moment BT
generatepriority and the window width size condition that whether meets window width interval send the SpaceWire packet of described Event triggered.
The advantage that the present invention measures the analogue system of SpaceWire data packet transmission time delay is:
1. analogue system of the present invention is transformed the traditional worm hole router-modelle of SpaceWire, increased data pack buffer mechanism, increased router scheduling time window, realize the Simulation Control that is triggered to message the time, thereby obtained a kind of router-modelle of processing time triggering scheduling message.
2. the compatible Event triggered of analogue system of the present invention and time are triggered two kinds of transmission of messages mechanism, are applicable to the emulation of multiple network scene, as: Event triggered network, time-triggered network, event and time are triggered compatible network.Simulation result can feed back to the transmission performance of designer for evaluating network.
3. the present invention also can complete the emulation to standard SpaceWire network, when not containing free trigger data bag in network, is Event triggered packet entirely, consistent with the network of standard protocol specifies.
Accompanying drawing explanation
Fig. 1 is the structure chart that the present invention measures the analogue system in the transmission time of SpaceWire packet.
Fig. 2 A is the structural representation at time window width and window width interval.
Fig. 2 B is a kind of structural representation at multiple time window widths and window width interval.
Fig. 2 C is the another kind of structural representation at multiple time window widths and window width interval.
Fig. 2 D is another structural representation at multiple time window widths and window width interval.
Fig. 3 is the simulation flow figure of the present invention's analogue system of measuring the transmission time of SpaceWire packet.
Fig. 4 is the space communication network schematic diagram based on SpaceWire standard agreement.
Fig. 5 is simulation result schematic diagram.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
The present invention is in order to realize in a space communication network based on the communication of SpaceWire bus standard, SpaceWire packet is carried out to emulation from the transmission time in end-to-end when transmission, and the transmission time obtaining by emulation is measured the transmission end-to-end delay of SpaceWire packet.
In the present invention, based on matlab(version number 7.13) platform carries out emulation.
Shown in Figure 1, analogue system of the present invention includes worm hole router one, time main controlled node module 2 and the terminal applies node module 3 with time window.Wherein, with the worm hole router one of time window, include worm hole routing unit 11, time window setting unit 12 and data pack buffer unit 13.Wherein, time main controlled node module 2 includes time synchronized control unit 21 and time master control receiving element 22.Wherein, terminal applies node module 3 includes terminal applies transmitting element 31 and terminal applies receiving element 32.
In the present invention, in the space communication network based on the communication of SpaceWire bus standard, time main controlled node module 2 can be used in the SpaceWire packet of time of reception triggering and the SpaceWire packet of Event triggered, becomes destination node.
In the present invention, terminal applies node module 3 can be used in the SpaceWire packet of transmitting time triggering and the SpaceWire packet of Event triggered on the one hand, becomes source node; Can be used on the other hand the SpaceWire packet of time of reception triggering and the SpaceWire packet of Event triggered, become destination node.From source node to destination node, the process of transmission SpaceWire packet is called transmission link, and the node except source node and destination node on described transmission link is called intermediate node.Described intermediate node can be worm hole router one and/or the terminal applies node module 3 of time window.
The SpaceWire packet that the described time triggers refers to according to the fixing transmission time interval T of the packet of setting
intervaltrigger SpaceWire data packet transmission.In detail, when in terminal applies node module 3, if be provided with T
intervalwithin=0.5 second, carry out the transmission of SpaceWire packet, the terminal applies transmitting element 31 in terminal applies node module 3 can regularly carry out SpaceWire packet to time main controlled node module 2 according to the time at interval of 0.5 second.
The SpaceWire packet of described Event triggered refers to that not timing carries out SpaceWire data packet transmission.
In the present invention, SpaceWire packet includes type
time, type
event, size, src, dest, num, eop, T
generate; Wherein type
time, type
event, size, src and dest form the packet header src_node of SpaceWire packet.Data block in a SpaceWire packet is set to num=50; At described generation moment T
generateexplanation in, due to the type type of the free SpaceWire packet triggering
timetype type with the SpaceWire packet of Event triggered
eventso, for type
timethe packet generation moment of type is designated as AT
generate, type
eventthe packet generation moment of type is designated as BT
generate.
Time main controlled node module 2
In the present invention, the time synchronized control unit 21 in time main controlled node module 2 is for generating code TM_Time_Code lock in time, and broadcasts in the space communication network based on the communication of SpaceWire bus standard.At terminal applies node module 3 with receive with the worm hole router one of time window after described lock in time of code TM_Time_Code, with this, guarantee unified time of the whole space communication network based on the communication of SpaceWire bus standard.
Code TM_Time_Code lock in time that time synchronized control unit 21 of the present invention produces controls the time synchronized of space communication network, and TM_Time_Code is identical with the Time-Code in SpaceWire standard agreement.
When the time, main controlled node module 2 was as destination node, time main controlled node module 2 is come the SpaceWire packet of time of reception triggering and the SpaceWire packet of Event triggered by time master control receiving element 22.
In the present invention, the time synchronized control unit 21 generation time codes in time main controlled node module 2 broadcast send to whole network, to control whole artificial network time synchronized.After the processing of the SpaceWire packet triggering in time master control receiving element 22 time to receiving of completing and the SpaceWire packet of Event triggered, extract the generation moment T of SpaceWire packet
generatemoment T with SpaceWire packet arrival destination node
endthereby, can count the transmission time ET=T of SpaceWire packet from source node arrival destination node
end-T
generate.
Terminal applies node module 3
Before emulation, arrange terminal applies node module 3 identity (source node, intermediate node or be destination node), send the type (the SpaceWire packet that the time triggers or the SpaceWire packet of Event triggered) of SpaceWire packet, and terminal applies node module 3 is carried out to the time interval T of the SpaceWire packet of time triggering
intervalarrange, then the transmission rate of SpaceWire packet (the SpaceWire packet that the time triggers and the SpaceWire packet of Event triggered), the generation moment T of packet are set
generate, packet big or small size.If terminal applies node module 3 triggers message for whole rise times, form time-triggered network; If terminal applies node module 3, for all generating Event triggered message, forms Event triggered network; If terminal applies node module 3 parts generate Event triggered message, the part rise time is triggered message, for event time triggers compatible network.
Terminal applies node module 3 guarantees at simulation process according to code TM_Time_Code lock in time receiving, the network time synchronization of terminal applies node module 3 when receiving and send SpaceWire packet and in space communication network.
At terminal applies node module 3 during as source node, terminal applies node module 3 comes SpaceWire packet that transmitting time triggers and the SpaceWire packet of Event triggered by terminal applies transmitting element 31.The T of the SpaceWire packet that setup times triggers
interval.
At terminal applies node module 3, during as intermediate node, terminal applies node module 3 carries out the SpaceWire packet of forwarding time triggering and the SpaceWire packet of Event triggered by terminal applies transmitting element 31 according to transmission link.
At terminal applies node module 3 during as destination node, terminal applies node module 3 comes SpaceWire packet that time of reception triggers and the SpaceWire packet of Event triggered by terminal applies receiving element 32.
With the worm hole router one of time window
In the present invention, the Internet Transmission in described space communication network for the SpaceWire packet of assurance time triggering and the SpaceWire packet of Event triggered, to have set up time window setting unit 12 and data pack buffer unit 13 on existing worm hole router (being worm hole routing unit 11), therefore, worm hole router is called the worm hole router with time window in the present invention.
Worm hole routing unit 11 is for completing SpaceWire packet that the time is triggered and the forwarding of the SpaceWire packet of Event triggered.
Time window setting unit 12 binding time window widths and window width size judge the sending order of packet.
Data pack buffer unit 13 is for the SpaceWire packet to time triggering and the SpaceWire packet of Event triggered are preserved temporarily.Because each input port of each router is provided with buffer queue, for slow storage SpaceWire packet.When the packet header of packet arrives after router, router obtains it by the destination node information of carrying in packet and transmits required output port, if this output port is now busy condition, should be by data pack buffer in the buffer queue of router, after this output port is idle condition, router just sends packet and forwards from buffer queue.In the present invention, the packet of data pack buffer unit 13 buffer memorys be because time window setting unit 12 to forwarding time of described packet according to time window width carried out forwarding control successively.
In the present invention, the time window width of the SpaceWire packet of time triggering is designated as AH, described in
the time window width of the SpaceWire packet of Event triggered is designated as BH, described in
size represents the size of a SpaceWire packet, and c represents the link transmission speed that emulation arranges.Interval between the time window width of the SpaceWire packet of any two times triggering is called window width interval CH, and described window width interval CH is used for forwarding the SpaceWire packet of Event triggered.The SpaceWire packet that time triggers is according to generating moment AT
generatepriority send the SpaceWire packet that described time triggers.The SpaceWire packet of Event triggered is according to generating moment BT
generatepriority and the window width size condition that whether meets window width interval send the SpaceWire packet of described Event triggered.In the present invention, the window width size condition at window width interval is: if CH >=BH, forward the SpaceWire packet of described Event triggered, if CH < is BH, wait for next window width interval, and the window width size that further judges described next window width interval whether to meet the time window of the SpaceWire packet that will forward Event triggered roomy little.In the present invention, for generating the moment overlapping, according to the size of time window width, forward SpaceWire packet, the packet that time window width is little first sends, and after the roomy packet of time window, sends.
Shown in Fig. 2 A, an Internet Transmission period T
cyclein, the SpaceWire packet that two times that successively receive with the worm hole router one of time window trigger, i.e. the SpaceWire packet of the SpaceWire packet of triggering of previous time and rear time triggering;
From the SpaceWire packet of previous time triggering, extract the generation moment of the SpaceWire packet of described time triggering
with data package size size, and computing time window width
From the SpaceWire packet of rear time triggering, extract the generation moment of the SpaceWire packet of described time triggering
with data package size size, and computing time window width
After generating successively sequence of moment, AH
beforewith AH
afterbetween there is a window width interval
The transmission of the SpaceWire packet triggering for two times is the forwarding of successively carrying out the SpaceWire packet of time triggering according to the generation moment separately.
Shown in Fig. 2 B, Fig. 2 C, Fig. 2 D, an Internet Transmission period T
cyclein, with the worm hole router one of time window, will receive multiple SpaceWire packets.
The SpaceWire data packet recording triggering as first time is SWT
1, the SpaceWire data packet recording that triggers of second time is SWT
2..., the penultimate time trigger SpaceWire data packet recording be SWT
x-1, the SpaceWire data packet recording that triggers of last is SWT time
x, first Event triggered SpaceWire data packet recording be SWE
1, second Event triggered SpaceWire data packet recording be SWE
2..., last Event triggered SpaceWire data packet recording be SWE
y; X represents the identification number of the SpaceWire packet of time triggering, for convenience of description, and SWT
xalso referred to as the SpaceWire packet of any one time triggering; The identification number of the SpaceWire packet that Y presentation of events triggers, for convenience of description, SWE
yalso referred to as the SpaceWire packet of any one Event triggered.
In time window setting unit 12, need to obtain out following generation moment and time window width:
Shown in Fig. 2 B, time window width occurred be overlappingly:
Shown in Fig. 2 B, have window width and be spaced apart:
with
between have window width interval
with
between have window width interval
The sending order that carries out packet according to time window width is: SWT
1→ SWT
x→ SWT
x-1→ SWE
2→ SWT
2→ SWE
1→ SWE
y.Due to
window width be more than or equal to SWE
2time window width
therefore SWE
2can be at SWT
2send before.If
window width be less than SWE
2time window width
sWE
2can wait have satisfied
just can be sent out SWE
2.
Shown in Fig. 2 C, time window width occurred be overlappingly:
rear end with
front end overlapping.
Shown in Fig. 2 C, have window width and be spaced apart:
with
between have window width interval
with
between have window width interval
with
between have window width interval
The sending order that carries out packet according to time window width is: SWT
1→ SWE
1→ SWT
x-1→ SWE
2→ SWT
2→ SWT
x→ SWE
y.If
can meet time window width simultaneously
with
the sending order of packet is: SWT
1→ SWE
1→ SWT
x-1→ SWE
2→ SWE
y→ SWT
2→ SWT
x.
Shown in Fig. 2 D, time window width occurred be overlappingly:
rear end with
front end overlapping.
Shown in Fig. 2 D, have window width and be spaced apart:
with
between have window width interval
with
between have window width interval
with
between have window width interval
The sending order that carries out packet according to time window width is: SWT
1→ SWE
1→ SWT
x-1→ SWE
2→ SWT
2→ SWE
y→ SWT
x.
In the present invention, because the SpaceWire packet of Event triggered is to wait for applicable time window width in transmitting procedure, therefore for the SpaceWire packet of Event triggered, have the propagation delay time.By comparing the size of time window width, just can obtain comparatively easily this propagation delay time.
In the present invention, the sum of the time window width of SpaceWire packet that the time obtaining by calculating triggers and the time window width of the SpaceWire packet of Event triggered, just can obtain the data packet transmission time in a network cycle comparatively easily.
In the present invention, by the analysis to propagation delay time and data packet transmission time, can obtain the performance of the space communication network based on the communication of SpaceWire bus standard.
In the present invention, by setup times window width in time window setting unit 12, control the sending order of packet, the transmission real-time performance of the SpaceWire packet that triggers of the time of having improved in space communication network.
Worm hole router one with time window guarantees in simulation process according to code TM_Time_Code lock in time receiving, the network time synchronization when SpaceWire packet to time triggering and the SpaceWire packet of Event triggered forward and in space communication network.
The simulation flow of the space communication network based on the communication of SpaceWire bus standard:
Step 1: the worm hole router one with time window, time main controlled node module 2 and terminal applies node module 3 are built to a space communication network based on the communication of SpaceWire bus standard; The transmission link of space communication network and the transmission rate of packet that have built are set;
According to space communication network demand, choose several terminal applies nodes, time main controlled node, several worm hole routers with time window, utilize communication link to connect and compose network.
Shown in Figure 4,5 terminal applies nodes, 3 worm hole router and 1 time main controlled nodes with time window form a space communication network.Terminal applies node be designated as symbol ES, with the worm hole router of time window be designated as symbol WR, time main controlled node is designated as symbol TM.
If first terminal applies node ES
1be set to source node, time main controlled node is set to destination node TM, and intermediate node is first worm hole router WR with time window
1, second worm hole router WR with time window
2therefore transmission link is ES
1to WR
1send out packet, WR
1to WR
2forwarding data bag, WR
2to TM forwarding data bag.Determining after transmission link, the data packet transmission time is ET=T
end-T
generate.
Step 2: configurating terminal application node module;
The type of SpaceWire packet is set, and a kind of is time triggering SpaceWire packet, and another kind is Event triggered SpaceWire packet;
Setup times triggers the time interval T of SpaceWire packet
interval;
Setup times triggers the data package size of SpaceWire packet;
The data package size of Event triggered SpaceWire packet is set;
Step 3: setup time main controlled node module;
Initial time code lock in time TM_Time_Code is set, and this TM_Time_Code is broadcasted in space communication network; During initial emulation each time take 0 as fiducial time;
Step 4: the network cycle time of the worm hole router of configuration with time window, emulation starts;
Step 5: with the worm hole router statistics time window width of time window, and reception, forwarding data bag;
Worm hole router with time window is first received in all packets in a network cycle, then extracts generation moment, the time window width of packet, finally according to type of data packet and window width size Rule of judgment, carrys out forwarding data bag successively.
By the time window width, the window width interval that count, can calculate packet and be delayed the time of delay of transmission.
Step 6: obtain simulation result figure by simulation time, packet number, type of data packet.
As shown in Figure 5, be simulation result schematic diagram.Wherein circular "○" is expressed as the transmission time of the SpaceWire packet of time triggering, and a circle is the transmission time of a time triggering SpaceWire packet; In the transmission time of the SpaceWire packet that five-pointed star " ☆ " presentation of events triggers, a five-pointed star shape is the transmission time of an Event triggered SpaceWire packet.
Visible within the emulation cycle of 1.6s, measure altogether the transmission time that has 20 times to trigger SpaceWire packet, being 200ms(is 2 × 10
-4s); Measure altogether the transmission time (being respectively 200ms, 200ms, 200ms, 856ms, 200ms, 402ms, 200ms, 500ms, 200ms, 200ms, 490ms, 200ms, 200ms, 680ms, 200ms, 200ms, 200ms, 200ms and 200ms) of the SpaceWire packet that has 19 Event triggered.The visible SpaceWire packet due to the triggering of window width prioritised transmission time time, therefore the transmission time of the SpaceWire packet of time triggering is constant, transmission delay is 0.For the packet of the SpaceWire of Event triggered, in transmitting procedure, may there is waiting process, therefore the transmission delay of the SpaceWire packet of part Event triggered is not the part that the transmission time of the SpaceWire packet that in this figure of 0(, transmission delay is Event triggered exceedes 200ms), the transmission time of this part Event triggered SpaceWire packet will increase because of the size of transmission delay, cause the difference of stand-by period length, in simulation result figure, the transmission time of the SpaceWire packet of this part Event triggered, due to the difference of transmission delay size, occurred in various degree on move.
In the present invention, apply alphabetical physical significance as following table:
T Interval | Represent the interval between the time window width of the SpaceWire packet that any two times trigger |
src_node | Represent the packet header of SpaceWire packet |
type time | The type of the SpaceWire packet of expression time triggering |
AT Generate | Expression is for type timeThe packet of type generates the moment |
type Event | The type of the SpaceWire packet that presentation of events triggers |
BT Generate | Expression is for type EventThe packet of type generates the moment |
size | Represent the size of a SpaceWire packet |
src | Represent the source node of SpaceWire packet |
dest | Represent the destination node of SpaceWire packet |
num | Representing has how many data blocks in a SpaceWire packet |
T head | In the starting point moment that represents to receive a SpaceWire packet, be called the packet header moment |
T end | Represent to finish receiving the finish time of a SpaceWire packet, be called the bag tail moment |
ET | Represent to finish receiving the time that SpaceWire packet is required, the section of being called transmission time |
SWT X | Represent the SpaceWire packet that any one time triggers |
X | The identification number of the SpaceWire packet of expression time triggering |
SWE Y | Represent the SpaceWire packet of any one Event triggered |
Y | The identification number of the SpaceWire packet that presentation of events triggers |
Claims (5)
1. measure the analogue system in the transmission time of SpaceWire packet for one kind, this analogue system builds space communication network according to the communication of SpaceWire bus standard, it is characterized in that: this analogue system includes worm hole router (1), time main controlled node module (2) and the terminal applies node module (3) with time window.
With the worm hole router (1) of time window, include worm hole routing unit (11), time window setting unit (12) and data pack buffer unit (13).
Worm hole routing unit (11) is for completing SpaceWire packet that the time is triggered and the forwarding of the SpaceWire packet of Event triggered.
Time window setting unit (12) binding time window width and window width size judge the sending order of packet.
Data pack buffer unit (13) is for the SpaceWire packet to time triggering and the SpaceWire packet of Event triggered are preserved temporarily.
Time main controlled node module (2) includes time synchronized control unit (21) and time master control receiving element (22).Time synchronized control unit (21) is for generating code TM_Time_Code lock in time, and broadcasts in the space communication network based on the communication of SpaceWire bus standard.When time main controlled node module (2) is during as object, time master control receiving element (22) is used for SpaceWire packet that time of reception triggers and the SpaceWire packet of Event triggered.
Terminal applies node module (3) includes terminal applies transmitting element (31) and terminal applies receiving element (32).
At terminal applies node module (3) during as source node, terminal applies node module (3) comes SpaceWire packet that transmitting time triggers and the SpaceWire packet of Event triggered by terminal applies transmitting element (31).The T of the SpaceWire packet that setup times triggers
interval.
At terminal applies node module (3), during as intermediate node, terminal applies node module (3) carries out the SpaceWire packet of forwarding time triggering and the SpaceWire packet of Event triggered by terminal applies transmitting element (31) according to transmission link.
At terminal applies node module (3) during as destination node, terminal applies node module (3) comes SpaceWire packet that time of reception triggers and the SpaceWire packet of Event triggered by terminal applies receiving element (32).
2. the analogue system in the transmission time of mensuration SpaceWire packet according to claim 1, is characterized in that: in described time window setting unit (12), the time window width of the SpaceWire packet of time triggering is designated as AH, described in
the time window width of the SpaceWire packet of Event triggered is designated as BH, described in
size represents the size of a SpaceWire packet, and c represents the link transmission speed that emulation arranges.
3. the analogue system in the transmission time of mensuration SpaceWire packet according to claim 1, it is characterized in that: in described time window setting unit (12), interval between the time window width of the SpaceWire packet of any two times triggering is called window width interval CH, and described window width interval CH is used for forwarding the SpaceWire packet of Event triggered.The SpaceWire packet that time triggers is according to generating moment AT
generatepriority send the SpaceWire packet that described time triggers.The SpaceWire packet of Event triggered is according to generating moment BT
generatepriority and the window width size condition that whether meets window width interval send the SpaceWire packet of described Event triggered.
4. the analogue system in the transmission time of mensuration SpaceWire packet according to claim 1, is characterized in that: this analogue system is carried out emulation based on matlab platform.
5. the analogue system in the transmission time of mensuration SpaceWire packet according to claim 1, is characterized in that: the simulation process of this analogue system is:
Step 1: the worm hole router (1) with time window, time main controlled node module (2) and terminal applies node module (3) are built to a space communication network based on the communication of SpaceWire bus standard; The transmission link of space communication network and the transmission rate of packet that have built are set;
Step 2: configurating terminal application node module;
The type of SpaceWire packet is set, and a kind of is time triggering SpaceWire packet, and another kind is Event triggered SpaceWire packet;
Setup times triggers the time interval T of SpaceWire packet
interval;
Setup times triggers the data package size of SpaceWire packet;
The data package size of Event triggered SpaceWire packet is set;
Step 3: setup time main controlled node module;
Initial time code lock in time TM_Time_Code is set, and this TM_Time_Code is broadcasted in space communication network; During initial emulation each time take 0 as fiducial time;
Step 4: the network cycle time of the worm hole router of configuration with time window, emulation starts;
Step 5: with the worm hole router statistics time window width of time window, and reception, forwarding data bag;
Worm hole router with time window is first received in all packets in a network cycle, then extracts generation moment, the time window width of packet, finally according to type of data packet and window width size Rule of judgment, carrys out forwarding data bag successively.
By the time window width, the window width interval that count, can calculate packet and be delayed the time of delay of transmission.
Step 6: obtain simulation result figure by simulation time, packet number, type of data packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310753304.0A CN103746878B (en) | 2013-12-31 | 2013-12-31 | Simulation system for measuring transmission time of SpaceWire data packets |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310753304.0A CN103746878B (en) | 2013-12-31 | 2013-12-31 | Simulation system for measuring transmission time of SpaceWire data packets |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103746878A true CN103746878A (en) | 2014-04-23 |
CN103746878B CN103746878B (en) | 2017-01-25 |
Family
ID=50503869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310753304.0A Active CN103746878B (en) | 2013-12-31 | 2013-12-31 | Simulation system for measuring transmission time of SpaceWire data packets |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103746878B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681123A (en) * | 2015-12-25 | 2016-06-15 | 北京信息控制研究所 | Spacewire network delay testing and optimizing system |
CN106788863A (en) * | 2016-11-24 | 2017-05-31 | 北京航空航天大学 | A kind of aviation electronics WDM network management analogue systems for supporting subnet time triggered to communicate |
CN106789295A (en) * | 2016-12-29 | 2017-05-31 | 中国科学院长春光学精密机械与物理研究所 | A kind of SpaceWire bus communication systems and its supervision equipment |
CN109889404A (en) * | 2019-01-31 | 2019-06-14 | 北京英力恒达科技发展有限公司 | A kind of high speed data network monitoring method and system based on timestamp |
CN110198186A (en) * | 2019-05-07 | 2019-09-03 | 北京航空航天大学 | It is a kind of can off-line working high speed SpaceWire optical fibre link circuit testing card |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102255803B (en) * | 2011-07-06 | 2014-02-12 | 北京航空航天大学 | Periodic scheduling timetable construction method applied to time-triggered switched network |
CN102624633B (en) * | 2012-04-06 | 2015-07-08 | 航天东方红卫星有限公司 | Time-trigger-based SpaceWire network communication method |
CN103457815B (en) * | 2013-08-22 | 2016-03-30 | 北京航空航天大学 | A kind of construction method being applicable to the moment dispatch list of SpaceWire network |
-
2013
- 2013-12-31 CN CN201310753304.0A patent/CN103746878B/en active Active
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681123A (en) * | 2015-12-25 | 2016-06-15 | 北京信息控制研究所 | Spacewire network delay testing and optimizing system |
CN105681123B (en) * | 2015-12-25 | 2018-11-23 | 北京信息控制研究所 | A kind of test of Spacewire network delay and optimization system |
CN106788863A (en) * | 2016-11-24 | 2017-05-31 | 北京航空航天大学 | A kind of aviation electronics WDM network management analogue systems for supporting subnet time triggered to communicate |
CN106788863B (en) * | 2016-11-24 | 2018-05-11 | 北京航空航天大学 | A kind of aviation electronics WDM network management analogue systems for supporting subnet time triggered to communicate |
CN106789295A (en) * | 2016-12-29 | 2017-05-31 | 中国科学院长春光学精密机械与物理研究所 | A kind of SpaceWire bus communication systems and its supervision equipment |
CN109889404A (en) * | 2019-01-31 | 2019-06-14 | 北京英力恒达科技发展有限公司 | A kind of high speed data network monitoring method and system based on timestamp |
CN110198186A (en) * | 2019-05-07 | 2019-09-03 | 北京航空航天大学 | It is a kind of can off-line working high speed SpaceWire optical fibre link circuit testing card |
Also Published As
Publication number | Publication date |
---|---|
CN103746878B (en) | 2017-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102792658B (en) | Carry out time measurement in a communication network | |
CN103746878A (en) | Simulation system for measuring transmission time of SpaceWire data packets | |
CN109150559B (en) | Time-triggered Ethernet simulation system | |
CN103647682B (en) | A kind of analogue system simulating the synchronization of switching Ethernet clock | |
US8914662B2 (en) | Implementing transparent clock by correcting time information carried in data using residence time information | |
CN107819539A (en) | A kind of device and method for realizing time triggered ethernet side system | |
CN105245301B (en) | A kind of airborne optical-fiber network analogue system based on time triggered | |
WO2022100411A1 (en) | Method for measuring forwarding time characteristics of tsn, and terminal | |
CN106850466A (en) | The retransmission method and device of packet in a kind of time-triggered network | |
CN109194433B (en) | High-precision time service method based on gigabit AFDX (avionics full Duplex switched Ethernet) network | |
CN102201907B (en) | Method for realizing distributed simulation synchronization | |
EP2448168A1 (en) | Method and system for bearing time synchronization protocol in optical transport network | |
CN107257311A (en) | A kind of time triggered communication blended data based on virtual link sends dispatching method | |
CN102624633B (en) | Time-trigger-based SpaceWire network communication method | |
CN104410170A (en) | SDN (software definition network) technology applicable to power communication | |
Feng et al. | Deterministic bound for avionics switched networks according to networking features using network calculus | |
CN103685248A (en) | Process layer tri-play message transport real-time scheduling method | |
CN102045256A (en) | COTS (Commercial Off-The-Shelf) based bandwidth predistribution guarantee network function demonstration system | |
Zhang et al. | Modeling time-triggered ethernet in systemc/tlm for virtual prototyping of cyber-physical systems | |
CN107018095B (en) | System and method for simulating exchange unit based on discrete event | |
CN115733759A (en) | Simulation model system for TTFC message scheduling | |
CN109005062A (en) | A kind of time trigger Ethernet Bandwidth plan method towards reception constraint | |
Mills et al. | Highball: a high speed, reserved-access, wide area network | |
Tariq et al. | Analysis of synchronization in distributed avionics systems based on time-triggered Ethernet | |
Wei et al. | Research on time triggered ethernet scheduling planning method |
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 |