Next Article in Journal
Deep Learning Image Steganography Based on Dual-Path Fusion in Frequency and Spatial Domains
Previous Article in Journal
A YOLO11n-Based Visual Framework for Chopped Maize Stalk Length Measurement
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

TSN Schedulability Analysis with TAMCQF + CBS for Automotive Ethernet

1
Jiangling Motors Corporation, Nanchang 330020, China
2
College of Automotive and Energy Engineering, Tongji University, Shanghai 201804, China
3
Nanchang Automotive Institute of Intelligence & New Energy, Nanchang 330052, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Electronics 2026, 15(13), 2776; https://doi.org/10.3390/electronics15132776
Submission received: 4 May 2026 / Revised: 17 June 2026 / Accepted: 22 June 2026 / Published: 24 June 2026
(This article belongs to the Section Networks)

Abstract

Time-Sensitive Networking (TSN) has emerged as a critical communication protocol for automotive Ethernet to support the high-bandwidth, real-time, and deterministic transmission requirements of next-generation in-vehicle networks. However, a clear and effective TSN mechanism combination tailored to the mixed and bursty traffic characteristics of automotive scenarios remains lacking. To address this issue, this paper proposes a combined TSN scheduling mechanism for automotive scenarios. The highest-priority traffic is scheduled by class-based Time-Aware Shaper (TAS), periodic bursty sensor traffic is shaped by Credit-Based Shaper (CBS), and medium-priority traffic adopts Multi-Cyclic Queueing and Forwarding (MCQF). Based on Compositional Performance Analysis (CPA), this paper derives the worst-case latency upper bound expressions for CQF streams and optimizes the schedulability analysis to reduce conservative errors. Simulation verifies that the theoretically calculated bounds cover the maximum simulation latency, and the optimized analysis reduces conservatism, with peak conservative error of 3.07% in the ring scenario and 10.59% in the automotive scenario. Compared with the strict priority and TAMCQF (a combination of TAS and Multi-CQF), the proposed mechanism combination suppresses the latency jitter of mixed traffic, mitigates long-duration blocking of medium-priority traffic caused by high-priority burst data, and provides reliable deterministic transmission guarantees for automotive in-vehicle networks.

1. Introduction

With the rapid evolution of vehicles toward autonomous driving and full-domain intelligent cockpits, the automotive Electrical/Electronic Architecture (EEA) is iterating from a distributed layout to domain-centralized, zonal, and central computing architectures. The traditional CAN bus can no longer meet the demands of massive sensor data transmission, high-real-time control command interaction, and multi-domain data fusion.
Automotive Ethernet has become the core carrier of the automotive backbone network due to its high bandwidth and strong scalability. As a key enhancement technology for automotive Ethernet, Time-Sensitive Networking (TSN) features four core capabilities—time synchronization, resource management, traffic scheduling and shaping, and reliability—providing high-performance, reliable, and real-time communication for in-vehicle networks. The traffic scheduling and shaping sub-protocols of the TSN include several specifications that guarantee link-layer Quality of Service (QoS). For instance, IEEE 802.1Qch specifies the Cyclic Queueing and Forwarding (CQF), which configures two queues on switch ports to alternately perform enqueueing and dequeueing operations. It ensures frames received in one time interval are transmitted in the next. IEEE 802.1Qbv defines the Time Aware Shaper (TAS), which employs time-based gating to control traffic of different priorities. It allows frame transmission only when the corresponding gate is open. IEEE 802.1Qav defines the Credit-Based Shaper (CBS), which regulates the transmission bandwidth of target traffic classes and smoothes traffic bursts. Other sub-protocols, such as 802.1Qcr and 802.1Qbu, further support deterministic transmission and bounded latency for automotive Ethernet from various perspectives.
The selection of traffic scheduling and shaping mechanisms has long been a research hotspot, and studies on the hybrid application of TAS and CQF mechanisms have advanced in recent years.
Pei [1] proposed a model combining TAS with a single CQF queue, with the highest-priority traffic scheduled via an independent TAS gate, and priorities 6 and 5 scheduled with CQF. Finn [2] proposed the Multi-CQF (MCQF) mechanism based on CQF, which uses multiple CQF queues with strictly proportional cycle lengths. Compared with the TAS-only scheme, this model improves the capability to transmit mixed traffic. Alexandris [3] compared TAS, CSQF (a three-buffer variant of CQF), and MCQF in industrial scenarios, showing that MCQF performs best under mixed constraints. It satisfies strict latency requirements for critical traffic while accommodating medium- and low-latency traffic. They further suggested scheduling the most critical traffic with TAS and combining it with MCQF to guarantee mixed traffic transmission. Nie [4,5] proposed the TAMCQF model, in which the highest priority 7 is scheduled by TAS, priorities 1–6 are managed by three groups of CQF queues.
On the other hand, bounded latency of traffic in vehicular networks is fundamental for the stable operation of the system. Obtaining the worst-case latency upper bound for target traffic is of great significance for the application of TSN mechanism combinations. Methods to obtain the worst-case latency upper bound for target traffic include simulation methods, model checking methods, and analytical methods [6]. Simulation methods and model checking methods require a significant amount of time to obtain the worst-case result, while analytical methods take less time to compute, but yield more pessimistic and conservative latency results. Compositional Performance Analysis (CPA) is an analytical method that has been applied by multiple studies to analyze the schedulability of TSN mechanisms, including the use of a single mechanism [7,8,9,10,11,12,13] and the combination of multiple mechanisms [14,15,16,17]
The TAMCQF model effectively supports mixed traffic transmission but does not fully account for scenarios involving massive and bursty traffic. With the development of autonomous driving, high-bandwidth sensors such as high-definition cameras and LiDAR periodically generate massive burst data, typically assigned high priorities. Transmitting these data may cause a delay or blockage of tens of milliseconds for medium-priority traffic at a single output port. Although medium-priority traffic has relaxed end-to-end latency requirements, blocking by bursty high-priority traffic across multiple hops can cause accumulated latency to exceed permissible limits.
To address the above limitations of the TAMCQF model and ensure reliable mixed traffic transmission in automotive scenarios, this study proposes a combined mechanism of TAMCQF + CBS and analyzes the schedulability of different traffic classes within this combined model. Furthermore, the effectiveness of the combined mechanism and the correctness of the derived timing analysis expressions are verified through simulation. This research aims to provide guidance on mechanism combinations for applying TSN in automotive Ethernet. The contributions of this paper are as follows:
  • Proposes a TAMCQF + CBS mechanism combination applied to automotive scenarios.
  • Conducts timing analysis on the proposed mechanism combination and derives upper-bound latency expressions.

2. Materials and Methods

2.1. Mechanism Combination

CBS is a transmission selection algorithm applicable to output ports in TSN. The core of the algorithm is to control queue sending using “credit”. Each CBS class independently maintains a credit value. When the queue is idle, the credit increases at an idleSlope rate, and when data is sent, it is deducted at a sendSlope rate, as shown in Figure 1. Messages can only start to be sent when the credit value is non-negative. If the credit is negative, sending is paused and waits for the credit to recover, thus limiting traffic bursts and preventing other traffic from being blocked for a long time. Asynchronous Traffic Shaping (ATS) is another mechanism provided by TSN to limit traffic bandwidth. Combined with flow identification capabilities, it enables precise bandwidth control down to individual streams. However, this mechanism stipulates a maximum residence time, and packets exceeding this time will be discarded. It is not suitable for traffic with strict requirements on the frame packet loss rate [18].
In the vehicular scenario, periodically bursting and massive sensor data may block lower-priority frames, as shown in Figure 2a. With CBS, the transmission of burst traffic can be restricted, as shown in Figure 2b. This type of traffic is subject to credit constraints, resulting in transmission intervals between frames. Frames with lower priority can commence transmission within these intervals. Among the sensor traffic, the message that experiences the greatest overall blocking is the last frame. When the idleSlope parameter of CBS is set to a higher value, this frame can experience less blocking from CBS shaping.
The proposed combined model, as shown in Figure 3, prioritizes the use of TAS for the highest priority level 7, employs the CBS mechanism for the second-highest priority level, utilizes the MCQF scheduling for medium priority levels, and does not employ any mechanism to ensure transmission for priority levels 0–1.
For the highest priority TAS, there are two common application modes: stream-based TAS and class-based TAS [19]. Stream-based TAS requires end stations to support TSN capabilities, including AS and TAS, which most current vehicle ECUs lack, as they typically operate as simple sensors [20]. Abnormal conditions, such as frame loss and synchronization errors, may result in unreliable scheduling outcomes [21]. Stream-based TAS also suffers from design complexity and high memory usage during scheduling. In contrast, class-based TAS offers simpler configuration and greater tolerance for flow jitter at the cost of additional bandwidth requirements [19].
In summary, for the class-based TAS usage method, the timing model of TAMCQF plus CBS is shown in Figure 4. The highest priority is ensured by reserving a TAS time window larger than the actual traffic bandwidth within each TAS cycle. The CBS mechanism is used to spread out periodic bursts of large data traffic. Two sets of CQF queues schedule medium and low priority traffic to achieve deterministic latency and acceptable jitter. Low priority levels 0 and 1 are BE traffic, which is transmitted using gaps in other traffic transmissions, without guaranteeing its latency and packet loss rate.

2.2. Schedulability Analysis

Previous research has derived schedulability expressions for class-based TAS streams and optimized them for multi-hop scenarios [22].
The scenario of the combined use of TAS and CBS has been analyzed in Ref. [17], and the congestion experienced by the CBS stream is given by Equation (7) of the same reference.
Variables used in the analysis of the CQF mechanism are listed in Table 1.
The CQF mechanism divides time into equally sized, alternating odd and even time intervals. Frames received during an even time interval are scheduled for transmission in the next odd time interval, and vice versa. The transmission scheduling of a frame is determined solely by the time interval in which it arrives. If the transmission duration of pending frames exceeds the available time interval, transmission in this overloaded interval will continue and extend into the next time interval of the same parity.
The busy period of CQF traffic, as shown in Figure 5, consists of the following components:
  • Blocking caused by the CQF cyclic queuing and forwarding mechanism, denoted as t i c q f .
  • Blocking due to gate closure, including time windows exclusively opened for TAS stream and guard band, denoted as I i C G B .
  • Blocking caused by TAS frames arriving at the end of a dedicated TAS time window, where the blocking equals the transmission time of the longest TAS frame. The maximum blocking from a TAS frame per TAS cycle is max j F TAS C j + .
  • All traffic at the same priority level as stream i (including stream i itself) and high-priority non-TAS traffic. Among these, same-priority blocking is denoted as I i S P B , C Q F , high-priority CQF traffic blocking as I i H P B , C Q F , and high-priority CBS traffic blocking as I i H P B , C B S .
Therefore, the queuing time expression for the target stream using CQF is given by Equation (1):
w i q , a i q = t i c q f + I i C G B w i q , a i q t i c q f + C i + + I i S P B , C Q F q , a i q   + I i H P B , C Q F w i q , a i q t i c q f + C i + +   I i H P B , T A S ( w i q , a i q t i c q f + C i + ) + I i H P B , C B S w i q , a i q
To ensure that CQF traffic arriving in the current odd (or even) time interval is transmitted in the next even (or odd) time interval, Equation (1) must also satisfy the condition given in Equation (2).
w i q , a i q < 2 · t i c q f C i +
Low-priority traffic cannot cause the blocking of the target traffic employing the CQF mechanism. It can only block the busy period or queuing time if its transmission starts before the busy period. However, with CQF, any ongoing low-priority packet will complete transmission within the cycle in which the target traffic arrives (e.g., the even cycle in Figure 5).
Blocking caused by gate closure includes blocking from guard band time and the time window exclusively allocated for the TAS stream. This blocking must be calculated once per TAS cycle. Meanwhile, the odd or even CQF time interval during which the target traffic arrives shall be subtracted from the queuing time before being used as the input variable, as shown in Equation (3).
I i C G B w i q , a i q t i c q f + C i + = w i q , a i q t i c q f + C i + t t a s c y c ( t t a s + t g b ) t t a s + t g b
When calculating blocking from the same priority, it is necessary to consider the first q − 1 frames of the target stream, and follow the FIFO rule for the same priority. Any frames that arrive after the q-th frame of stream i will not cause blocking during busy time. The blocking from the same priority is shown in Equation (4).
I i S P B q , a i q = q 1 C i + + j s p i , i j η j + a i q C j +
The impact of blocking from the high-priority CQF stream is consistent with Ref. [12]. As shown in Figure 6, in the worst case, high-priority CQF stream j is delayed by one CQF time interval t j c q f before interfering with frames of stream i. The first purple frame of stream j arriving at time a j 1 is delayed to the next CQF time interval and blocks the queuing time of target stream i. By contrast, the second purple frame of stream j arriving at time a j 2 cannot block the target frame, and must wait until its next even cycle to start transmission. The maximum number of CQF time intervals of stream j within an arbitrary time interval Δt can be calculated using the ceiling operation w i q , a i q t i c q f + C i + t j c q f . Multiplying this number by the duration of the CQF time interval of stream j yields the cumulative time interval of interference from high-priority CQF stream j. This time interval can be used as the input to the arrival function η i + to compute the high-priority blocking duration imposed on stream i by each stream j in the CQF class. The final high-priority CQF traffic blocking I i H P B , C Q F is given by Equation (5).
I i H P B , C Q F w i q , a i q t i c q f + C i + = j k k h p i k C Q F η j + w i q , a i q t i c q f + C i + t j c q f t j c q f C j +
Since the TAS mechanism does not add a guard band after the end of the TAS time window, a frame of highest-priority blocking needs to be considered after the end of each TAS time window. This blocking should be the time required for the transmission of the longest frame in the TAS traffic, namely max j h p i C j + , resulting in the maximum highest-priority blocking I i H P B s i q + C i + as shown in Equation (6):
I i H P B , T A S w i q , a i q t i c q f + C i + = w i q , a i q t i c q f + C i + t t a s c y c · max j F TAS C j +
The maximum number of frames of high-priority CBS traffic j arriving within the queuing time of the target stream is η j + ( w i q , a i q ) . Therefore, without considering credit constraints, the total blocking caused by all CBS traffic is j h p i j C B S η j + w i q , a i q C j + . Under CBS credit constraints, let x denote the transmission time of CBS traffic within a time interval Δt. The consumed credit is then x · α , while the maximum accumulated credit during this interval is Δ t x · α + + C R m a x . It follows that x ( C R m a x + Δ t · α + ) / ( α + + α ) . Since the credit of CBS does not increase during gate closure, this duration must be subtracted, yielding Equation (7).
I i H P B , C B S w i q , a i q = min j h p i j C B S η j + w i q , a i q C j + , C R m a x + α + · ( w i q , a i q t i c q f I i C G B ) α + + α
In summary, the worst-case latency analysis for the CQF stream at a single egress port is completed. CQF needs to be combined with the AS protocol, and the odd-even cycle instants at the egress ports of nodes within the network are aligned. From a global data-link-layer perspective, when the stream satisfies Equation (2), the situation is as shown in Figure 7. Assume ports A, B, and C are three egress ports of switches along the transmission path of stream i. When the green target traffic frame is transmitted through the switch, the sum of the blocking from other frames plus its transmission time (indicated by red arrows in Figure 7) and the blocking due to gate closure (indicated by blue arrows in Figure 7), together with the delay caused by the CQF odd-even cycle at the next-hop switch (indicated by black arrows in Figure 7), equals exactly one CQF cycle duration t j c q f . In this case, the end-to-end latency of the CQF frame is maximized when the transmission reaches the worst case at the source-node egress port, the first-hop switch, and the last-hop switch. Among these, the queuing time at the egress port of the last switch is denoted as w i , l a s t P o r t q , a i q , which is the result of Equation (1) evaluated at that egress port instance. Since CQF cannot be used at end nodes, the queuing time of traffic at the source-node egress port w i , f i r s t P o r t q , a i q must be calculated separately, as the result of Equation (1) at the source-node egress port, where t i c q f = 0 and high-priority CQF blocking is computed according to the strict-priority Equation (6) in Ref. [7]. The upper bound of the total end-to-end latency of the target frame R i , e 2 e + is given by Equation (8).
R i , e 2 e + = n 1 t j c q f + w i , l a s t P o r t q , a i q + C i + + w i , f i r s t P o r t q , a i q + C i +
The significance of multi-hop optimization analysis for CQF lies in the fact that, as long as the CQF traffic at the output port of a link satisfies Equation (2), the key design goal of CQF can be achieved: the maximum end-to-end latency of traffic employing this mechanism across switches can be bounded within ( h + 1 ) × d , where h denotes the number of hops and d represents the CQF cycle value.
After finishing the schedulability analysis of CQF traffic, BE traffic has lower priority than other traffic, yet it is necessary to briefly analyze how this combined mechanism affects BE [23]. The dedicated TAS gates and guard bands for the highest-priority traffic may temporarily block BE traffic per cycle. The CBS mechanism avoids long-term channel occupation by large bursty streams and consequent blocking, while CQF introduces no constraints on BE traffic, enabling BE traffic to be delivered in idle slots between transmissions of other traffic within the CQF cycle.

3. Results

In this chapter, the accuracy of the proposed CQF schedulability analysis is verified by comparing the theoretical calculation results derived from the analytical formula with the maximum latency values obtained from simulations. Furthermore, the optimization performance and practical application value of the proposed joint scheduling mechanism are comprehensively validated via comparative experiments. Specifically, the traffic latency performance of the proposed scheduling scheme is compared with that of the traditional SP scheduling strategy under two distinct simulation scenarios, including a ring scenario and an automotive star topology scenario proposed in Ref. [24]. The analytical calculations of CPA are implemented based on the pyCPA framework [25], and all simulation experiments are conducted on the OMNeT++ platform.
As shown in Figure 8, the schedulability calculation and simulation for the ring topology consist of four switches (Switch 1 to Switch 4) and four end nodes (Node 1 to Node 4). The data rate of all links is set to 1 Gbps. The traffic parameters in the ring scenario are presented in Table 2. Payload refers to the data segment of the frame. The maximum payload size of an Ethernet frame is 1500 bytes in simulation. When combined with the Ethernet header, VLAN tags, and frame check sequence (FCS), the maximum total frame length reaches 1522 bytes. Streams with payloads larger than 1500 bytes shall be segmented into multiple frames and transmitted in bursts.
The automotive star topology scenario adopted in this paper is illustrated in Figure 9, which consists of 14 network nodes and 6 switches. The configuration details of the original 37 streams are presented as Table 1 in Ref. [24]. Four new streams, namely Stream 38 to Stream 41, are added to the network. The detailed parameters of the newly added streams are listed in Table 3. The complete traffic and routing table are provided in Supplementary Materials Table S1. These four streams partially share transmission paths with camera streams. Furthermore, considering that the load of the camera traffic in the original scenario is too low to fully reflect the transmission characteristics of the Gigabit link, the camera traffic load is increased to ten times the original load in the Gigabit link simulation environment in this paper.
The TSN parameter settings are as follows: the TAS gating cycle is set to 500 μs, with a gating open time of 80 μs for priority 7 within a single cycle; the idleSlope parameter of the CBS mechanism within the network is set to 800 Mbps; the CQF cycle value for priorities 4 and 5 is set to 1500 us, and the CQF cycle for priorities 2 and 3 is set to 6000 μs.

3.1. CQF Schedulability Analysis Verification

To verify the accuracy of the proposed CQF schedulability analysis, it is necessary to verify whether the worst-case latency value in the simulation scenario is within the upper limit of the theoretically calculated latency. The simulation environment was run multiple times, with the random number seed reset each time, to cover as many corner cases as possible. Specifically, 50 independent simulation runs were performed for the ring scenario, with each run lasting 200 s, while another 50 simulation trials were implemented for the automotive scenario at a single-run duration of 100 s.
In the ring scenario, the simulation maximum latency and CPA-calculated maximum result for CQF streams are presented in Table 4 and Figure 10. The maximum latency simulation values for all streams in the network are less than the CPA-calculated result (both before and after optimization), which verifies the correctness of the theoretical calculations.
In this paper, the conservative error is calculated as the difference between the maximum simulation value and the CPA calculated value divided by the CPA calculated value. After optimization, the conservative errors between the calculated results and the maximum simulation latency of the four CQF streams declined to varying degrees. The original errors of 10.34%, 14.16%, 2.92% and 4.71% were reduced to 2.57%, 3.07%, 1.17%, and 2.11%, with a decrease of 7.78%, 11.09%, 1.75%, and 2.59%, respectively, showing differentiated improvement effects.
In the automotive scenario, the comparison between the simulated maximum values of CQF streams and the upper bounds calculated via CPA is presented in Table 5 and Figure 11. A total of eight CQF streams are configured in the simulation, and maximum latency simulation values for all CQF streams under the vehicle-mounted topology are less than the CPA-calculated results both before and after optimization. Benefiting from the optimization of the CPA analytical procedure for the CQF mechanism, the conservative errors are reduced to varying degrees. After optimization, the maximum relative error between CPA computational results and simulation measurements reaches 10.59%, while the minimum relative error is 5.64%.

3.2. Mechanism Combination Verification

To verify the effectiveness of the proposed mechanism combination, simulation results of SP, standalone TAMCQF and TAMCQF + CBS are compared in both ring and automotive scenarios.
The comparison results of delay jitter and maximum latency for traffic in the ring topology are presented in Table 6.
The simulated maximum value and jitter of TAS traffic are both extremely low, meeting the stringent requirements for control traffic.
The maximum latencies of the second-highest priority traffic, Video1 and Lidar1, increased from 8512 μs and 11,075 μs to 12,812 μs and 17,684 μs, respectively, after using the CBS mechanism. The increase in the maximum latency of CBS traffic is expected, as the CBS mechanism limits its bursting and prevents medium-priority traffic from experiencing excessive blocking. Video1 transmits 500,000 Bytes of data at a time, with a hop count of 5. And Lidar1 transmits 800,000 Bytes of data at a time, with a hop count of 4. The degree of latency increase is completely acceptable, and there is no significant increase in latency jitter.
Taking the Management1 and Control2 under CQF scheduling as examples, the end-to-end latency distributions under SP policy, the deployed TAMCQF combination, and the proposed TAMCQF + CBS hybrid mechanism in this paper are illustrated in Figure 12. Under SP, the maximum latency of Control2 and Management1 reaches 10,211 μs and 3856 μs, respectively, accompanied by severe latency jitter, as indicated by the blue scatter points in the two subplots of Figure 12. This phenomenon stems from the fact that bursty high-priority streams such as Lidar1 and Video1 may occupy transmission continuously, which severely blocks the transmission of Management1 and Control2 and thereby results in a substantial gap between the maximum and minimum latency. Control2 overlaps with both Lidar1 and Video1 in transmission paths, while Management1 overlaps only with Video1. This results in a larger maximum end-to-end latency for Control2 than Management1 under the worst case. A similar issue exists for the standalone TAMCQF. Owing to the bursty and high-volume characteristics of Video1 and Lidar1 traffic, Equation (2) cannot be satisfied at several egress ports, which prevents CQF streams from acquiring stable latency guarantees. After enabling the TAMCQF + CBS, CBS effectively disperses bursty traffic, while the cyclic forwarding characteristic of the CQF mechanism constrains the upper and lower bounds of transmission latency across switches. The overall latency is confined within the range marked by the green lines in Figure 12. Compared with SP and TAMCQF, significant improvements are achieved in both latency jitter and maximum latency. For Body1 and Audio1 streams, despite an increase in latency jitter and maximum latency after mechanism deployment, CQF limits their latency jitter within two CQF cycles and restricts the maximum latency within (h + 1) × CQF cycles, where h denotes the number of network hops. Such bounded and deterministic latency performance satisfies the timing requirements of time-sensitive in-vehicle networks, which is fully acceptable for vehicular communication scenarios.
Comparisons of end-to-end latency across three scheduling mechanisms for several representative CQF streams (Stream 26, 27, 38, 40) under automotive topology are shown in Table 7 and Figure 13, and the derived conclusions are consistent with those obtained from the ring scenario. When CQF streams share routing paths with bursty traffic, the adoption of CBS ensures that medium-priority CQF arriving in the current CQF interval are transmitted within the subsequent interval, which improves the deterministic transmission of CQF streams. As shown in the four subplots of Figure 13, when the TAMCQF + CBS mechanism is adopted, the end-to-end delays of target traffic among the four types of traffic all fall within the range marked by the green dashed line, which matches the theoretical expectation of the CQF mechanism. Since Stream 27 has no overlapping links with bursty traffic aggregation paths, CBS deployment exerts no influence on its delay. As illustrated in subplot 2 of Figure 13, there is no obvious difference in the distribution of delay scatter points between the standalone TAMCQF mechanism and the combined TAMCQF + CBS mechanism. Stream 26 only overlaps with one bursty stream, and the optimization effect of CBS is limited. However, the maximum delay and jitter of this stream are still higher under SP and TAMCQF than TAMCQF + CBS. It can be observed from the maximum delay and jitter values of Stream 26 in Table 7, as well as the distribution of red and blue scatter points in subplot 1 of Figure 13. Furthermore, Stream 38 and Stream 40 share paths with multiple bursty streams, and the proposed TAMCQF + CBS combination yields a remarkable reduction in their maximum latency and jitter compared with SP and standalone TAMCQF, as shown in Table 7 and Subplot 4 of Figure 13.
The performance and design characteristics of each scheduling mechanism are compared in Table 8. The SP mechanism features the simplest parameter design, while it fails to consider the shaping of burst large-volume data and has no latency control capability. The TAMCQF mechanism presents relatively complex parameter design and achieves satisfactory latency control, but it still does not support the shaping of burst traffic. By contrast, the combined TAMCQF + CBS scheme maintains the same high complexity in parameter design. On the premise of retaining excellent latency control performance, it can shape and disperse burst large-volume traffic through the CBS module, which effectively compensates for the deficiency of the single TAMCQF mechanism in handling burst traffic.

4. Conclusions

This paper proposes a combination of TSN traffic scheduling and shaping mechanisms for in-vehicle scenarios. Based on the TAMCQF model, this scheme incorporates the CBS mechanism to effectively constrain the burst traffic from periodic sensors in the autonomous driving domain, alleviating long-duration blocking of medium-priority traffic. This paper employs the CPA method to derive the upper bound of stream latency. To address the conservative error issue in CQF stream analysis under multi-hop transmission scenarios, the schedulability analysis process is optimized to obtain a more accurate expression. Simulation experiment results verify the effectiveness and accuracy of this schedulability analysis. This paper also compares the latency performance of the proposed mechanism combination with that of SP scheduling strategies. Experimental results show that the proposed mechanism can control the maximum latency of the stream, suppress latency jitter, and exhibit superior overall timing guarantee capability.
However, when multiple TSN mechanisms are combined, interactions exist between diverse mechanisms and various streams, making the parameter configuration of each mechanism a critical challenge. Therefore, future research will focus on determining optimal mechanism parameters under specific network topologies, traffic scenarios, and transmission requirements.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/electronics15132776/s1, Table S1: Traffic and routing table in automotive scenario.

Author Contributions

Conceptualization, Q.L.; methodology, F.L. and Q.L.; software, H.G. and Y.L.; validation, Y.L.; formal analysis, Q.L. and H.G.; investigation, Y.L. and Z.Z.; data curation, H.G.; writing—original draft, Q.L. and H.G.; writing—review and editing, F.L.; visualization, Z.Z.; supervision, F.L.; project administration, F.L.; funding acquisition, Z.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by Jiangxi Provincial Key Research and Development Program in 2024 (20243BBG71010) and Jiangxi Provincial Key Research and Development Program in 2026 (20261BCE310043).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Author Qin Liu was employed by the company Jiangling Motors Corporation. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Pei, J.; Hu, Y.; Tian, L.; Li, M.; Li, Z. A Hybrid Traffic Scheduling Strategy for Time-Sensitive Networking. Electronics 2022, 11, 3762. [Google Scholar] [CrossRef]
  2. Multiple Cyclic Queuing and Forwarding. Available online: https://www.ieee802.org/1/files/public/docs2021/new-finn-multiple-CQF-0921-v02.pdf (accessed on 26 April 2026).
  3. Alexandris, K.; Pop, P.; Wang, T. Configuration and Evaluation of Multi-CQF Shapers in IEEE 802.1 Time-Sensitive Networking (TSN). IEEE Access 2022, 10, 109068–109081. [Google Scholar] [CrossRef]
  4. Nie, H.; Li, S.; Liu, Y. TAMCQF: Hybrid Traffic Scheduling Mechanism Integrating TAS and Multi-CQF in TSN. In Proceedings of the 2023 IEEE Symposium on Computers and Communications (ISCC), Gammarth, Tunisia, 9–12 July 2023. [Google Scholar] [CrossRef]
  5. Nie, H.; Su, Y.; Zhao, W.; Mu, J. Hybrid Traffic Scheduling in Time-Sensitive Networking for the Support of Automotive Applications. IET Commun. 2024, 18, 111–128. [Google Scholar] [CrossRef]
  6. Deng, L.; Xie, G.; Liu, H.; Han, Y.; Li, R.; Li, K. A Survey of Real-Time Ethernet Modeling and Design Methodologies: From AVB to TSN. ACM Comput. Surv. 2022, 55, 31. [Google Scholar] [CrossRef]
  7. Diemer, J.; Thiele, D.; Ernst, R. Formal Worst-Case Timing Analysis of Ethernet Topologies with Strict-Priority and AVB Switching. In Proceedings of the 7th IEEE International Symposium on Industrial Embedded Systems (SIES), Karlsruhe, Germany, 20–22 June 2012; pp. 1–10. [Google Scholar] [CrossRef]
  8. Bordoloi, U.D.; Aminifar, A.; Eles, P.; Peng, Z. Schedulability Analysis of Ethernet AVB Switches. In Proceedings of the 2014 IEEE 20th International Conference on Embedded and Real-Time Computing Systems and Applications, Chongqing, China, 20–22 August 2014; pp. 1–10. [Google Scholar] [CrossRef]
  9. Cao, J.; Cuijpers, P.J.L.; Bril, R.J.; Lukkien, J.J. Tight Worst-Case Response-Time Analysis for Ethernet AVB Using Eligible Intervals. In Proceedings of the 2016 IEEE World Conference on Factory Communication Systems (WFCS), Aveiro, Portugal, 3–6 May 2016; pp. 1–8. [Google Scholar] [CrossRef]
  10. Cao, J.; Cuijpers, P.J.L.; Bril, R.J.; Lukkien, J.J. Independent yet Tight WCRT Analysis for Individual Priority Classes in Ethernet AVB. In Proceedings of the 24th International Conference on Real-Time Networks and Systems, Brest, France, 19–21 October 2016; pp. 55–64. [Google Scholar] [CrossRef]
  11. Cao, J.; Cuijpers, P.J.L.; Bril, R.J.; Lukkien, J.J. Independent WCRT Analysis for Individual Priority Classes in Ethernet AVB. Real-Time Syst. 2018, 54, 861–911. [Google Scholar] [CrossRef]
  12. Thiele, D.; Ernst, R.; Diemer, J. Formal Worst-Case Timing Analysis of Ethernet TSN’s Time-Aware and Peristaltic Shapers. In Proceedings of the 2015 IEEE Vehicular Networking Conference (VNC), Kyoto, Japan, 16–18 December 2015; pp. 251–258. [Google Scholar] [CrossRef]
  13. Thiele, D.; Ernst, R. Formal Worst-Case Performance Analysis of Time-Sensitive Ethernet with Frame Preemption. In Proceedings of the 2016 IEEE 21st International Conference on Emerging Technologies and Factory Automation (ETFA), Berlin, Germany, 6–9 September 2016; pp. 1–8. [Google Scholar] [CrossRef]
  14. Luo, F.; Wang, Z.; Guo, Y.; Wu, M.; Feng, W.; Sun, Z. Research on Cyclic Queuing and Forwarding with Preemption in Time-Sensitive Networking. IEEE Embed. Syst. Lett. 2023, 16, 110–113. [Google Scholar] [CrossRef]
  15. Ojewale, M.A.; Yomsi, P.M.; Nikoli, B. Worst-Case Traversal Time Analysis of TSN with Multi-Level Preemption. J. Syst. Archit. 2021, 116, 102079. [Google Scholar] [CrossRef]
  16. Luo, F.; Zhu, L.; Wang, Z.; Gan, H.; Li, Y.; Yang, Z.; Liu, D. Schedulability Analysis of Time Aware Shaper with Preemption Supported in Time-Sensitive Networks. Comput. Netw. 2025, 269, 111424. [Google Scholar] [CrossRef]
  17. Maxim, D.; Song, Y.-Q. Delay Analysis of AVB Traffic in Time-Sensitive Networks (TSN). In Proceedings of the 25th International Conference on Real-Time Networks and Systems, Grenoble, France, 4–6 October 2017; pp. 18–27. [Google Scholar] [CrossRef]
  18. Yoshimura, A.; Ito, Y. QoS Evaluation of ATS in IEEE 802.1 TSN on In-Vehicle Ethernet by Comparing with CBS and TAS. IEICE Commun. Express 2024, 13, 355–358. [Google Scholar] [CrossRef]
  19. Hellmanns, D.; Falk, J.; Glavackij, A.; Hummen, R.; Kehrer, S.; Dürr, F. On the Performance of Stream-Based, Class-Based Time-Aware Shaping and Frame Preemption in TSN. In Proceedings of the 2020 IEEE International Conference on Industrial Technology (ICIT), Buenos Aires, Argentina, 26–28 February 2020; pp. 298–303. [Google Scholar] [CrossRef]
  20. Zhao, L.; Pop, P.; Gong, Z.; Fang, B. Improving Latency Analysis for Flexible Window-Based GCL Scheduling in TSN Networks by Integration of Consecutive Nodes Offsets. IEEE Internet Things J. 2021, 8, 5574–5584. [Google Scholar] [CrossRef]
  21. Zhao, L.; Pop, P.; Craciunas, S.S. Worst-Case Latency Analysis for IEEE 802.1Qbv Time Sensitive Networks Using Network Calculus. IEEE Access 2018, 6, 41803–41815. [Google Scholar] [CrossRef]
  22. Luo, F.; Gan, H. Timing Analysis of the TSN Time-Aware Shaper Based on Compositional Performance Analysis. Recent Adv. Electr. Electron. Eng. 2025; in press. [CrossRef]
  23. Akram, B.O.; Noordin, N.K.; Hashim, F.; Rasid, M.F.A.; Salman, M.I.; Abdulghani, A.M. Joint Scheduling and Routing Optimization for Deterministic Hybrid Traffic in Time-Sensitive Networks Using Constraint Programming. IEEE Access 2023, 11, 142764–142779. [Google Scholar] [CrossRef]
  24. Leonardi, L.; Bello, L.L.; Patti, G. Bandwidth Partitioning for Time-Sensitive Networking Flows in Automotive Communications. IEEE Commun. Lett. 2021, 25, 3258–3261. [Google Scholar] [CrossRef]
  25. Diemer, J.; Axer, P.; Ernst, R. Compositional Performance Analysis in Python with PyCPA. 2012. Available online: http://retis.sssup.it/waters2012/accepted/102_Final_paper.pdf (accessed on 26 April 2026).
Figure 1. Example of CBS mechanism.
Figure 1. Example of CBS mechanism.
Electronics 15 02776 g001
Figure 2. Impact of CBS on frames: (a) Scenario without CBS, (b) scenario with CBS.
Figure 2. Impact of CBS on frames: (a) Scenario without CBS, (b) scenario with CBS.
Electronics 15 02776 g002
Figure 3. TAMCQF + CBS combination model.
Figure 3. TAMCQF + CBS combination model.
Electronics 15 02776 g003
Figure 4. TAMCQF + CBS time series model diagram.
Figure 4. TAMCQF + CBS time series model diagram.
Electronics 15 02776 g004
Figure 5. Blocking suffered by CQF traffic during the busy period.
Figure 5. Blocking suffered by CQF traffic during the busy period.
Electronics 15 02776 g005
Figure 6. Blocking caused by high-priority CQF stream.
Figure 6. Blocking caused by high-priority CQF stream.
Electronics 15 02776 g006
Figure 7. Maximum latency bound of CQF stream.
Figure 7. Maximum latency bound of CQF stream.
Electronics 15 02776 g007
Figure 8. Ring topology of simulation network.
Figure 8. Ring topology of simulation network.
Electronics 15 02776 g008
Figure 9. Automotive star topology of simulation network.
Figure 9. Automotive star topology of simulation network.
Electronics 15 02776 g009
Figure 10. Comparison of maximum latency from simulation and CPA calculation before and after optimization for CQF in the ring scenario.
Figure 10. Comparison of maximum latency from simulation and CPA calculation before and after optimization for CQF in the ring scenario.
Electronics 15 02776 g010
Figure 11. Comparison of maximum latency from simulation and CPA calculation before and after optimization for CQF in automotive scenario.
Figure 11. Comparison of maximum latency from simulation and CPA calculation before and after optimization for CQF in automotive scenario.
Electronics 15 02776 g011
Figure 12. Scatter plot of traffic simulation latency for Management1 and Control2 in the ring scenario.
Figure 12. Scatter plot of traffic simulation latency for Management1 and Control2 in the ring scenario.
Electronics 15 02776 g012
Figure 13. Scatter plot of traffic simulation latency for CQF streams in the automotive scenario.
Figure 13. Scatter plot of traffic simulation latency for CQF streams in the automotive scenario.
Electronics 15 02776 g013
Table 1. Variable list of CQF stream schedulability analysis.
Table 1. Variable list of CQF stream schedulability analysis.
VariableMeaning of the Variable
a i q Arrival time of the q-th frame of stream i
A i q A set of possible values of a i q that lead to the worst-case same-priority blocking under First-In-First-Out (FIFO) policy (see Equation (10) in the Ref. [7])
w i ( q , a i q ) Worst-case queuing delay of the q-th frame of stream i
C i + Transmission time of the longest frame in stream i
η i + ( Δ t ) Maximum number of frames of stream i arriving within time interval Δt
s p i Set of traffic with the same priority as stream i
h p i Set of traffic with higher priority than stream i
I i S P B Maximum blocking from same-priority traffic
Q i Range of q for stream i, which is a continuous set of positive integers
R i + Worst-case response time of stream i at the current egress port
I i C G B Maximum blocking caused by closed TAS gate
t t a s Duration of the gate opening for highest priority 7 within a single TAS cycle
t t a s c y c Cycle of TAS gate control list
t g b Duration of guard band before the opening of the highest-priority TAS gate
t i c q f Length of a single odd or even CQF cycle for stream i. 2 t i c q f denotes the full CQF cycle
I i H P B , C Q F Maximum blocking caused by all frames with higher priority than i and using the CQF mechanism
I i H P B , T A S Maximum blocking caused by all frames with higher priority than i and using the TAS mechanism
I i H P B , C B S Maximum blocking caused by all frames with higher priority than i and using the CBS mechanism
F T A S Set of traffic using TAS
C R m a x Upper limit of the CBS credit bucket
Table 2. Traffic and routing table in ring scenario.
Table 2. Traffic and routing table in ring scenario.
Stream NamePriorityPeriod (ms)Payload/BytesSourceDestinationDirection
Control17100100Node 1Node 2clockwise
Video1650500,000Node 3Node 4anticlockwise
Lidar16100800,000Node 2Node 4clockwise
Control25500200Node 2Node 4clockwise
Management14500500Node 4Node 2anticlockwise
Body131000100Node 1Node 3clockwise
Audio1220300Node 3Node 1anticlockwise
BE113001000Node 2Node 1anticlockwise
BE205001400Node 4Node 2clockwise
Table 3. Parameters of newly added streams in the automotive star topology scenario.
Table 3. Parameters of newly added streams in the automotive star topology scenario.
Stream IDPriorityPeriod (ms)Payload/BytesSourceDestination
385100800ECU_FRDA_CAM
395100800ECU_FLDA_CAM
405100800ECU_RRDA_CAM
415100800ECU_RLDA_CAM
Table 4. Simulated maximum latency and calculated CPA result before and after optimization in the ring scenario.
Table 4. Simulated maximum latency and calculated CPA result before and after optimization in the ring scenario.
Stream NameSimulation Maximum Latency (μs)Original CPA Result (μs)CQF-Refined CPA Result (μs)Conservative Error in Percentage (%)
Control24480499745982.57
Management14558531047023.07
Body123,81924,53624,1011.17
Audio123,58524,75124,0952.11
Table 5. Simulated maximum latency and calculated CPA result before and after optimization in automotive scenario.
Table 5. Simulated maximum latency and calculated CPA result before and after optimization in automotive scenario.
Stream IDSimulation Maximum Latency (μs)CPA-Calculated Result (μs)CPA-Calculated Result After Optimizing (μs)Conservative Error in Percentage (%)
2615871876177510.59
272897331031106.85
291473204816108.51
363076371632605.64
3830693882342410.37
3930783751342410.11
404584572649246.90
414540572649247.80
Table 6. Simulated latency jitter and maximum latency in the ring scenario under SP, TAMCQF, and TAMCQF + CBS.
Table 6. Simulated latency jitter and maximum latency in the ring scenario under SP, TAMCQF, and TAMCQF + CBS.
Stream NameJitter Under SP (μs)Max. Latency Under SP (μs)Jitter Under TAMCQF (μs)Max. Latency Under TAMCQF (μs)Jitter Under TAMCQF + CBS (μs)Max. Latency Under TAMCQF + CBS (μs)
Control1263015191519
Video142438512783113,522422212,812
Lidar1426511,075706018,878413917,684
Control210,20210,21111,41614,40213834480
Management1384738564741807214754558
Body161966202883223,838626323,819
Audio142434255964521,744799824,085
Table 7. Simulated latency jitter and maximum latency in the automotive scenario under SP, TAMCQF, and TAMCQF + CBS.
Table 7. Simulated latency jitter and maximum latency in the automotive scenario under SP, TAMCQF, and TAMCQF + CBS.
Stream IDJitter Under SP (μs)Max. Latency Under SP (μs)Jitter Under TAMCQF (μs)Max. Latency Under TAMCQF (μs)Jitter Under TAMCQF + CBS (μs)Max. Latency Under TAMCQF + CBS (μs)
26308430911909199515101599
27193919541599309115063100
38596659863717531714993093
40551155382753588715574691
Table 8. Comparison of different scheduling strategies.
Table 8. Comparison of different scheduling strategies.
SPTAMCQFTAMCQF + CBS
Parameter design difficultySimpleComplexComplex
Shaping of burst large-volume dataNot consideredNot consideredShaped and dispersed by CBS
Latency control performanceNoneGoodGood
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Liu, Q.; Gan, H.; Luo, F.; Li, Y.; Zhang, Z. TSN Schedulability Analysis with TAMCQF + CBS for Automotive Ethernet. Electronics 2026, 15, 2776. https://doi.org/10.3390/electronics15132776

AMA Style

Liu Q, Gan H, Luo F, Li Y, Zhang Z. TSN Schedulability Analysis with TAMCQF + CBS for Automotive Ethernet. Electronics. 2026; 15(13):2776. https://doi.org/10.3390/electronics15132776

Chicago/Turabian Style

Liu, Qin, Haotian Gan, Feng Luo, Yunpeng Li, and Zhouping Zhang. 2026. "TSN Schedulability Analysis with TAMCQF + CBS for Automotive Ethernet" Electronics 15, no. 13: 2776. https://doi.org/10.3390/electronics15132776

APA Style

Liu, Q., Gan, H., Luo, F., Li, Y., & Zhang, Z. (2026). TSN Schedulability Analysis with TAMCQF + CBS for Automotive Ethernet. Electronics, 15(13), 2776. https://doi.org/10.3390/electronics15132776

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop