Submitted:
25 June 2025
Posted:
27 June 2025
You are already at the latest version
Abstract

Keywords:
1. Introduction
- We propose a cascaded fuzzy logic system for predicting travel times along planned highway routes. The system consists of multiple fuzzy logic subsystems, each built on the Greenshields model to predict vehicle speed for a specific road segment. The predicted vehicle speed from each subsystem is dynamically updated based on current traffic conditions on that segment. By cascading these subsystems sequentially—one for each designated segment—and summing the predicted travel times, the total travel time for the entire route can be calculated and continuously updated according to the real-time traffic status on each segment.
- The proposed fuzzy logic subsystem operates in two modes: congested and non-congested. It uses traffic flow and density as input membership functions in the respective modes. In each mode, the input variables are mapped to fuzzy sets defined over specified ranges that reflect realistic traffic conditions. For each highway segment, the Greenshields model, which describes the relationships among traffic density, flow, and vehicle speed, serves as the rule base to infer and generate fuzzy outputs for vehicle speed prediction. Adjustments to the rules and inference schemes are made according to the Greenshields model parameters and actual traffic data collected from the segment. This approach leverages the strength of fuzzy logic in handling imprecise and uncertain data, while minimizing computational overhead. As a result, it produces accurate predictions without requiring extensive data training, ensuring both efficiency and accuracy compared to regression methods.
2. Traffic Data Collection and Status Prediction Modelling Methods
2.1. Traffic Data Collection on Highways
2.2. Greenshields Thory and Models
2.3. Setup of Models Using Regrssion Aanalysis
2.4. Fuzzy Logic System Model Setup
3. Cascaded Fuzzy Systems Based on Greenshields Models for Vehicle Speed and Travel Time Prediction
3.1. Input and Output Membership Functions Setup for Greenshields Model-Based Fuzzy Logic Systems
3.2. Inference Rule and Defuzzification
3.3. Cascaded Fuzzy Logic Systems for Travel Time Prediction
4. Simulation Results and Discussions
4.1. Highway Vehicle Speed Prediction Using Greenshields Models Based Fuzzy Logic System
4.2. Greenshields Models Based on Regression Analysis
4.3. Vehicle Speed Prediction: Tests and Discussion
4.4. Travel Time Prediction Using Greenshields Model Based Cascaded Fuzzy Logic Systems
5. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Freeway Bureau MOTC, Monthly Statistics of Million Vehicle Kilometers, [Online]. Available online: https://www.freeway.gov.tw/Publish.aspx?cnid=1656 (accessed on 8 May 2025).
- Thakur, A.; Malekian, R. Fog computing for detecting vehicular congestion, an internet of vehicles based approach: A review. IEEE Intelligent Transportation Systems Magazine 2019, 11, 8–16. [Google Scholar] [CrossRef]
- Alsrehin, N.O.; Klaib, A.F.; Magableh, A. Intelligent transportation and control systems using data mining and machine learning techniques: a comprehensive study. IEEE Access 1019, 7, 49830–49857. [Google Scholar] [CrossRef]
- Ting, P.Y.; et al. Freeway travel time prediction using deep hybrid model – taking Sun Yat-Sen Freeway as an example. IEEE Transactions on Vehicular Technology 2020, 69, 8257–8266. [Google Scholar] [CrossRef]
- Li, L.; Lin, H.; Wan, J.; Ma, Z.; Wang, H. MF-TCPV: A machine learning and fuzzy comprehensive evaluation-based framework for traffic congestion prediction and visualization. IEEE Access 2020, 8, 227113–227125. [Google Scholar] [CrossRef]
- Iyer, L.S. AI enabled applications towards intelligent transportation. Transportation Engineering 2021, 5. [Google Scholar] [CrossRef]
- Rashid, A.B.; Kausik, A.K. AI revolutionizing industries worldwide: A comprehensive overview of its diverse applications. Hybrid Advances 2024, 7. [Google Scholar] [CrossRef]
- U.S. Government Accountability Office. In Intelligent Transportation Systems: Benefits Related to Traffic Congestion and Safety Can Be Limited by Various Factors; GAO-23-105740. 2023. Available online: https://www.gao.gov/products/gao-23-105740.
- Nesa, M.; Yoon, Y. Speed prediction and nearby road impact analysis using machine learning and ensemble of explainable AI techniques. Sci Rep. 2024, 14, 25208. [Google Scholar] [CrossRef]
- Qiu, B.; Fan, W. Machine learning based short-term travel time prediction: numerical results and comparative analyses. Sustainability 2021, 13, 7454. [Google Scholar] [CrossRef]
- Zhang, X.; Rice, J.A. Short-term travel time prediction. Transp. Res. C, Emerg. Technol. 2003, 11, 187210. [Google Scholar] [CrossRef]
- Liu, X.; Xu, J.; Li, M.; Wei, L.; Ru, H. General-logistic-based speed-density relationship model incorporating the effect of heavy vehicles. Math. Problems Eng. 2019, 6039846. [Google Scholar] [CrossRef]
- Kachroo, P.; Sastry, S. Traffic assignment using a density-based travel-time function for intelligent transportation systems. IEEE Transactions on Intelligent Transportation Systems 2016, 17, 1438–1447. [Google Scholar] [CrossRef]
- Soriguera, F.; Martínez-Díaz, M. Freeway travel time information from input- output vehicle counts: a drift correction method based on AVI data. IEEE Transactions on Intelligent Transportation Systems 2021, 22, 5749–5761. [Google Scholar] [CrossRef]
- Liu, X.; Jinliang, X.; Li, M.; Wei, L.; Han, R. General-logistic-based speed-density relationship model incorporating the effect of heavy vehicles. Mathematical Problems in Engineering 2019, 1–10. [Google Scholar] [CrossRef]
- Zhang, S.; Ma, J.; Geng, B.; Wang, H.B. Traffic flow prediction with a multi-dimensional feature input: A new method based on attention mechanisms. Electronic Research Archive 2024, 32, 979–1002. [Google Scholar] [CrossRef]
- Kühne, R. Foundation of traffic flow theory I: Greenshields legacy highway traffic. in Proceedings Symposium on the Fundamental Diagram: 75 years. TRB Traffic Flow Theory and Characteristics Committee Summer Meeting and Symposium on the Fundamental Diagram: 75 years (“Greenshields75 Symposium”), Woods Hole, Massachusetts, USA, 08 07 2008 – 10 07 2008.
- Xu, Y.; Kong, Q.J.; Klette, R.; Liu, Y. Accurate and interpretable Bayesian MARS for traffic flow prediction. IEEE Transactions on Intelligent Transportation Systems 2014, 15, 2457–2469. [Google Scholar] [CrossRef]
- Dell’Acqua, P.; Bellotti, F.; Berta, R.; De Gloria, A. Time-aware multivariate nearest neighbor regression methods for traffic flow prediction. IEEE Transactions on Intelligent Transportation Systems 2015, 16, 3393–3402. [Google Scholar] [CrossRef]
- Liu, R.; Shin, S.Y. A review of traffic flow prediction methods in intelligent transportation system construction. Appl. Sci. 2025, 15, 3866. [Google Scholar] [CrossRef]
- Van Der Voort, M.; Dougherty, M.; Watson, S. Combining Kohonen maps with ARIMA time series models to forecast traffic flow. Transp. Res. C, Emerg. Technol. 1996, 4, 307318. [Google Scholar] [CrossRef]
- Zhao, Z.; Chen, W.; Yue, H.; Liu, Z. “A novel short-term traffic forecast model based on travel distance estimation and ARIMA,” In 2016 Chinese Control and Decision Conference (CCDC 2016), Yinchuan, China 2016, 6270-6275. [CrossRef]
- Oh, S.D.; Kim, Y.J.; Hong, J.S. Urban traffic flow prediction system using a multifactor pattern recognition model. IEEE Transactions on Intelligent Transportation Systems 2015, 16, 2744–2755. [Google Scholar] [CrossRef]
- Messmer, A.; Papageorgiou, M. A mixed extended Kalman filter–maximum likelihood approach for real-time freeway traffic state estimation. Transp. Res. Part C Emerg. Technol. 2004, 12, 209–238. [Google Scholar]
- Zhao, M.; Roncoli, C.; Wang, Y.; Bekiaris-Liberis, N.; Guo, J.; Cheng, S. Generic approaches to estimating freeway traffic state and percentage of connected vehicles with fixed and mobile sensing. IEEE Transactions on Intelligent Transportation Systems 2022, 23, 13155–13177. [Google Scholar] [CrossRef]
- Zhu, Y.; Wu, Q.; Xiao, N. Research on highway traffic flow prediction model and decision-making method. Sci Rep. 2022, 12, 19919. [Google Scholar] [CrossRef] [PubMed]
- Wu, C.H.; Ho, J.M.; Lee, D.T. Travel-time prediction with support vector regression. IEEE Transactions on Intelligent Transportation Systems 2004, 5, 276–281. [Google Scholar] [CrossRef]
- Zhang, X.; Rice, J.A. Short-term travel time prediction. Transp. Res. C, Emerg. Technol. 2003, 11, 187210. [Google Scholar] [CrossRef]
- Khosravi, A.; Mazloumi, E.; Nahavandi, S.; Creighton, D.; Van Lint, J.W.C. A genetic algorithm-based method for improving quality of travel time prediction intervals. Transp. Res. C, Emerg. Technol. 2011, 19, 13641376. [Google Scholar] [CrossRef]
- Yang, M.; Chen, C.; Wang, L.; Yan, X.; Zhou, L. Bus arrival time prediction using support vector machine with genetic algorithm. Neural Network World 2016, 26, 205–217. [Google Scholar] [CrossRef]
- Lagos, F.; Moreno, S.; Yushimito, W.F.; Brstilo, T. Urban origin–destination travel time estimation using K-nearest-neighbor-based methods. Mathematics 2024, 12, 1255. [Google Scholar] [CrossRef]
- Yu, B.; Lam, W.H.; Tam, M.L. Bus arrival time prediction at bus stop with multiple routes. Transp. Res. Part C: Emerg. Technologies 2011, 19, 1157–1170. [Google Scholar] [CrossRef]
- Innamaa, S. Short-term prediction of travel time using neural networks on an interurban highway. Transportation 2005, 32, 649669. [Google Scholar] [CrossRef]
- Derrow-Pinion, A.; et al. ETA prediction with graph neural networks in Google maps. In Proc. 30th ACM Int. Conf. Inf. Knowl. Manage., Oct. 2021, 3767-3776.
- Zhao, J.; et al. et al. Truck traffic speed prediction under non-recurrent congestion: Based on optimized deep learning algorithms and GPS data. IEEE Access 2019, 7, 9116–9127. [Google Scholar] [CrossRef]
- Tang, J.; Liu, F.; Zou, Y.; Zhang, W.; Wang, Y. An improved fuzzy neural network for traffic speed prediction considering periodic characteristic. IEEE Trans. Intell. Transp. Syst. 2017, 18, 23402350. [Google Scholar] [CrossRef]
- Tomar, A.S.; Singh, M.; Sharma, G.; Arya, K.V. Traffic management using logistic regression with fuzzy logic. Procedia Computer Science 2018, 132, 451–460. [Google Scholar] [CrossRef]
- Abberley, L.; Crockett, K.; Cheng, J. Modeling road congestion using a fuzzy system and real-world data for connected and autonomous vehicles. In 2019 Wireless Days (WD); Manchester, UK, 2019; pp. 1–8. [CrossRef]
- Hao, M.J.; Hsieh, B.Y. Greenshields model-based fuzzy system for predicting traffic congestion on highways. IEEE Access 2024, 12, 115868–115882. [Google Scholar] [CrossRef]
- Tseng, F.H.; Hsueh, J.H.; Tseng, C.W.; Yang, Y.T.; Chao, H.C.; Chou, L.D. Congestion prediction with big data for real-time highway traffic. IEEE Access 2018, 6, 57311–57323. [Google Scholar] [CrossRef]
- Kumar, N.; Rahman, S.S.; Dhakad, N. Fuzzy inference enabled deep reinforcement learning-based traffic light control for intelligent transportation system. IEEE Transactions on Intelligent Transportation Systems 2021, 22, 4919–4928. [Google Scholar] [CrossRef]
- Huang, C.N. Greenshields Model-based Travel Time Estimation for Traffic on Highway. M. S. Thesis, Dept. Computer and Commun. Eng. National Kaohsiung Univ. of Sci. and Technol., Kaohsiung, Taiwan, 2019.
- Weisberg, S. Applied Linear Regression, 4th ed., John Wiley & Sons Inc.: Hoboken, New Jersey, USA, 2014.
- Bates, D.M.; Watts, D.G. Nonlinear Regression Analysis and Its Applications, John Wiley & Sons Inc.: New York, USA, 1988.
- Zadeh, L.A. Fuzzy sets. Information and Control 1965, 8, 338–353. [Google Scholar] [CrossRef]
- Chen, G.; Pham, T.T. Fuzzy-sets, Fuzzy-logic, and-Fuzzy-control-systems; CRC Press: N.W. Corporate Blvd., Boca Raton, Florida, USA, 2001. [Google Scholar]


























| Traffic Flow (veh/h) | Percentage of Traffic Flow (%) |
|---|---|
|
Extremely Low (EL) Very Low (VL) Low flow (L) Sparse (Sp) Quite Low (QL) Moderate Low (ML) Moderate (M) Moderate High (MH) Quite High (QH) Dense (De) High (H) Very High (VH) Extremely High (EH) |
0~11 8~20 17~26 24~34 31~40 38~48 46~57 53~64 60~71 69~78 76~86 83~92 89~100 |
| Traffic Density (veh/km) | Percentage of Density (%) |
|---|---|
|
Moderate (M) Moderate High (MH) Quite High (QH) Dense (De) High (H) Very High (VH) Extremely High (EH) |
50~60 57~68 66~76 73~82 80~88 87~95 92~100 |
| Vehicle Speed (km/h) | Mapping Interval (km) |
|---|---|
| Extremely Slow (ES) | 0~14 |
| Very Slow (VS) | 11~26 |
| Slow (S) | 22~35 |
| Steady (St) | 33~46 |
|
Quite Slow (QS) Moderate Slow (MS) Moderate (M) Moderate Fast (MF) Quite Fast (QF) Speedy (Sp) Fast (F) Very Fast (VF) Extremely Fast (EF) |
42~54 51~63 60~74 69~85 80~95 91~106 99~115 110~123 122~130 |
| Traffic Flow (veh/h) | Percentage of Traffic Flow (%) |
|---|---|
|
Extremely (EL) Very Low (VL) Low (L) Sparse (Sp) Quite Low (QL) Moderate Low (ML) Moderate (M) Moderate High (MH) Quite High (QH) Dense (De) High (H) Very High (VH) Extremely High (EH) |
0~12 8~20 16~27 23~32 30~40 36~48 44~57 52~65 60~73 69~80 76~87 86~95 92~100 |
| Traffic Density (veh/km) | Percentage of Density (%) |
|---|---|
| Extremely Low (EL) | 0~10 |
| Very Low (VL) | 7~17 |
| Low (L) | 14~25 |
| Sparse (Sp) | 22~31 |
|
Quite Low (QL) Moderate Low (ML) Moderate (M) |
26~39 34~45 42~50 |
| Vehicle Speed (km/h) | Mapping Interval (km) |
|---|---|
| Extremely Slow (ES) | 0~13 |
| Very Slow (VS) | 8~23 |
| Slow (S) | 19~32 |
| Steady (St) | 29~43 |
|
Quite Slow (QS) Moderate Slow (MS) Moderate (M) Moderate Fast (MF) Quite Fast (QF) Speedy (Sp) Fast (F) Very Fast (VF) Extremely Fast (EF) |
39~52 49~62 59~73 69~83 78~92 89~102 100~114 111~123 121~130 |
| Vehicle Flow | Traffic Density | Vehicle Speed | |||
|---|---|---|---|---|---|
| If | EL | OR | EH | Then | ES |
| If | EL | AND | VH | Then | ES |
| If | EL | OR | H | Then | VS |
| If | VL | OR | EH | Then | ES |
| If | VL | AND | VH | Then | VS |
| If | VL | OR | H | Then | S |
| If | L | AND | EH | Then | VS |
| If | L | OR | VH | Then | VS |
| If | L | AND | H | Then | S |
| If | Sp | OR | EH | Then | VS |
| If | Sp | AND | VH | Then | S |
| If | Sp | OR | H | Then | S |
| If | QL | OR | VH | Then | S |
| If | QL | OR | H | Then | S |
| If | QL | AND | De | Then | S |
| If | ML | OR | VH | Then | S |
| If | ML | OR | H | Then | S |
| If | ML | AND | De | Then | St |
| If | M | AND | VH | Then | S |
| If | M | AND | H | Then | St |
| If | M | AND | De | Then | St |
|
If If If If If If If If If If If If If If If If If If |
MH MH MH QH QH QH De De De H H H VH VH VH EH EH EH |
OR AND OR AND AND AND AND OR OR AND OR OR OR AND OR OR OR OR |
H Dense QH H De QH De QH MH De QH MH QH MH M QH MH M |
Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then |
St St QS St QS QS QS QS MS MS MS MS MS MS M MS M M |
| Traffic Flow | Traffic Density | Vehicle Speed | |||
|---|---|---|---|---|---|
| If | EL | OR | EL | Then | EF |
| If | EL | AND | VL | Then | EF |
| If | EL | AND | L | Then | VF |
| If | VL | OR | EL | Then | EF |
| If | VL | OR | VL | Then | VF |
| If | VL | AND | L | Then | F |
| If | L | AND | EL | Then | VF |
| If | L | OR | VL | Then | VF |
| If | L | AND | L | Then | F |
| If | Sp | OR | EL | Then | VF |
| If | Sp | AND | VL | Then | VF |
| If | Sp | AND | L | Then | F |
| If | QL | OR | VL | Then | F |
| If | QL | OR | L | Then | F |
| If | QL | AND | Sp | Then | F |
| If | ML | OR | VL | Then | F |
| If | ML | OR | L | Then | Sp |
| If | ML | AND | Sp | Then | Sp |
| If | M | AND | VL | Then | F |
| If | M | AND | L | Then | Sp |
|
If If If If If If If If If If If If If If If If If If If |
M MH MH MH QH QH QH De De De H H H VH VH VH EH EH EH |
AND OR AND OR AND AND AND AND OR OR AND OR OR OR AND OR AND AND AND |
Sp L Sp QL L Sp QL Sp QL ML Sp QL ML QL ML M QL ML M |
Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then Then |
Sp Sp Sp QF Sp QF QF Sp QF MF QF QF MF MF MF M MF MF M |
| Segments of Highway System |
Dingjin to Rende Segment |
Rende to Tainan Segment |
Tainan to Xiaying Segment |
Xiaying to Chiayi Segment |
|---|---|---|---|---|
|
Segment Distance (km) |
32 | 15 | 16 | 27 |
|
Traffic Conditions |
Congested | Congested | Non-Congested | Non-Congested |
|
Traffic Flow (%) |
21 | 58 | 21 | 67 |
|
Traffic Density (%) |
85 | 78 | 20 | 25 |
|
Predicted Vehicle Speed (Km/h) |
28 | 43 | 106 | 85 |
|
Predicted Travel Time (Minutes) |
68 | 21 | 9 | 19 |
|
Total Required Travel Time |
1 Hour and 57 Minutes | |||
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).