| Literature DB >> 30400669 |
Trong-Yen Lee1, I-An Lin2, Jun-Jie Wang3, Ju-Tse Tsai4.
Abstract
FlexRay is a next-generation in-vehicle communication protocol which works in real time with flexibility. The most common applications in FlexRay are high bandwidth. X-by-wire applications, such as brake by wire and throttle by wire. However, there is no mechanism which can prevent transient faults in the application layer of FlexRay. If a transient fault occurs during driving, this would be very dangerous; therefore, we propose a fast reliability scheduling algorithm (FRSA) to improve the communication reliability of FlexRay. The proposed method reduces the probability of transient faults in one clock cycle by using a retransmission mechanism to recover the transient errors, and further improves computational complexity using the lookup table method to ensure system reliability. In this paper, we analyze a related literature to establish the system reliability constraints needed to evaluate the necessary time and slot usage, and the proposed cost function is used to evaluate the performance and efficiency when the number of messages is increased. Experimental results show that the proposed FRSA reduces execution time by an average 70.76% and cost by an average 13.33% more than the other existing methods. This method can be useful to others, especially regarding research about periodic time-triggered communication systems.Entities:
Keywords: FlexRay; communication reliability; re-transmission mechanism; scheduling; time-triggered; transient fault
Year: 2018 PMID: 30400669 PMCID: PMC6263892 DOI: 10.3390/s18113783
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Diagram of message re-transmission mechanism.
Figure 2The proposed fast reliability scheduling algorithm (FRSA) architecture.
Figure 3Flowchart of the message reliability processing module.
The validation of the proposed method.
| Recovery Mechanism |
|
|
| Slot Utilization | |
|---|---|---|---|---|---|
| Non | 0 | 0.0672055 | 0.0000 | 0.031424 | |
| 0 | 0.00433948 | ||||
| 0 | 0.0117959 | ||||
| 0 | 1.74401 × 10−14 | ||||
| 0 | 0.000109455 | ||||
| Proposed | 1 | 0.999935 | 0.9987 | 0.0628472 | |
| 1 | 0.999869 | ||||
| 1 | 0.999861 | ||||
| 1 | 0.999852 | ||||
| 1 | 0.999164 |
The parameter settings of related work.
| Message Parameter Configuration in Static Segments | |||
|---|---|---|---|
| Parameter | Setting 1 | Setting 2 | Setting 3 |
| Period ( | 5 ms~20 ms | 1 ms~25 ms | 2 ms~40 ms |
| Deadline ( | same as | same as | same as |
| Size of message ( | 64 bits | 32 bits~72 bits | 32 bits |
| Bit Error Rate (BER) | - | 10−3 | - |
| Probability of failure ( | 1%~50% |
| 1%~50% |
|
| |||
| FlexRay cycle ( | 5 ms | 5 ms | 5 ms |
| Length of static segment ( | 3 ms | 3 ms | 3 ms |
| Length of slot in SS ( | 20 μs | 8.3 μs~50 μs | 8.57 μs |
| The number of slot in static segment ( | 150 | 60~360 | 350 |
|
| |||
| Range of messages | 5~20 | 1~60 | 5~20 |
| System reliability goal ( | 99% | 99% | 99% |
| Testing time ( | 3,600,000 ms | 3,600,000 ms | 3,600,000 ms |
Comparison of running time and slot utilization with Li’s method.
| Number of Messages | Proposed Method | Li’s Method [ | ||
|---|---|---|---|---|
| Running Time | Slot Utilization | Running Time | Slot Utilization | |
| 5 | 7.79 | 16.54 | 48 | 12 |
| 6 | 7.17 | 26.84 | 51 | 20 |
| 7 | 7.79 | 30.84 | 54 | 26 |
| 8 | 8.39 | 36.24 | 59 | 28 |
| 9 | 8.93 | 40.25 | 62 | 36 |
| 10 | 9.51 | 45.97 | 67 | 40 |
| 11 | 10.26 | 49.75 | 66 | 46 |
| 12 | 10.72 | 54.12 | 70 | 50 |
| 13 | 11.44 | 59.92 | 78 | 56 |
| 14 | 12.03 | 64.7 | 81 | 62 |
| 15 | 12.61 | 70.19 | 88 | 68 |
| 16 | 13.39 | 74.24 | 90 | 76 |
| 17 | 13.89 | 77.78 | 98 | 82 |
| 18 | 14.69 | 83.90 | 101 | 88 |
| 19 | 15.17 | 89.21 | 115 | 92 |
| 20 | 15.79 | 94.59 | 119 | 100 |
Figure 4Comparison of running time with Li’s method.
Comparison of running time and slot utilization with Wang’s method.
| Number of Messages | Proposed Method | Wang’s Method [ | ||
|---|---|---|---|---|
| Running Time | Slot Utilization | Running Time | Slot Utilization | |
| 10 | 15.85 | 77.64 | 25 | 86 |
| 20 | 23.21 | 78.01 | 40 | 86.2 |
| 30 | 31.31 | 81.83 | 55 | 86.4 |
| 40 | 41.17 | 84.17 | 75 | 86.6 |
| 50 | 49.79 | 85.46 | 95 | 86.8 |
| 60 | 58.53 | 83.84 | 115 | 87.15 |
Figure 5Comparison of running time with Wang’s method.
Comparison of running time and slot utilization with Lee’s method.
| Number of Messages | Proposed Method | Lee’s Method [ | ||
|---|---|---|---|---|
| Running Time | Slot Utilization | Running Time | Slot Utilization | |
| 5 | 8.13 | 9.53 | 31 | 8.81 |
| 6 | 7.79 | 11.87 | 35 | 10.36 |
| 7 | 9.59 | 13.90 | 30 | 12.31 |
| 8 | 12.05 | 14.71 | 45 | 13.62 |
| 9 | 9.89 | 16.06 | 49 | 15.68 |
| 10 | 10.73 | 19.63 | 51 | 19.06 |
| 11 | 11.54 | 20.71 | 59 | 19.22 |
| 12 | 13.54 | 24.67 | 66 | 21.67 |
| 13 | 14.3 | 24.89 | 73 | 23.13 |
| 14 | 14.45 | 26.68 | 77 | 24.88 |
| 15 | 15.03 | 28.12 | 82 | 27.01 |
| 16 | 15.23 | 31.42 | 88 | 29.98 |
| 17 | 15.36 | 33.2 | 97 | 32.85 |
| 18 | 15.98 | 34.82 | 99 | 33.82 |
| 19 | 16.65 | 37.25 | 102 | 36.46 |
| 20 | 17.14 | 38.83 | 107 | 36.74 |
Figure 6Comparison of running time with Lee’s method.
Figure 7Comparison of cost with existing methods in different parameters.
Comparison of average running time with related studies.
| Methods | Average Running Time (ms) | Reduction (%) | ||
|---|---|---|---|---|
| Parameter | Proposed FRSA | Comparison Method | ||
|
| 11.22 | 77.94 (Li [ | 85.59 | |
|
| 36.64 | 67.50 (Wang [ | 45.71 | |
|
| 12.96 | 68.18 (Lee [ | 80.98 | |
| Average | 70.76 | |||
Comparison of average cost with related studies.
| Methods | Average | Reduction (%) | ||
|---|---|---|---|---|
| Parameter | Proposed FRSA | Comparison Method | ||
|
| 10.401 | 11.168 (Li [ | 6.86 | |
|
| 5.393 | 6.140 (Wang [ | 12.16 | |
|
| 10.101 | 12.782 (Lee [ | 20.97 | |
| Average | 13.33 | |||