Skip to main content

AI-Driven Intelligent Adaptive Traffic Digital Twin & Optimization System

Page 1


International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 13 Issue: 05 | May 2026 www.irjet.net p-ISSN: 2395-0072

AI-Driven Intelligent Adaptive Traffic Digital Twin & Optimization System

1Assistant Professor, Dept. of CSE, Jyothy Institute of Technology, Karnataka, India

2 Student, Dept. of CSE, Jyothy Institute of Technology, Karnataka, India

3 Student, Dept. of CSE, Jyothy Institute of Technology, Karnataka, India

4 Student, Dept. of CSE, Jyothy Institute of Technology, Karnataka, India

5 Student, Dept. of CSE, Jyothy Institute of Technology, Karnataka, India

Abstract - The number of people living in cities and the number of vehicles on the road is increasing fast. This has made traffic congestion a big problem in cities. Traditional traffic signal systems usually work on a fixed schedule, which does not change when traffic conditions change. This means people have to wait use more fuel and there is more pollution. In the few years many researchers have tried to use artificial intelligence, machine learning and other techniques to manage traffic better.Howevermanyoftheseapproachesonly work in simulation. Only focus on one thing, like detecting vehicles or controlling signals.

This paper looks at traffic management systems that use computer vision, predictive analytics and adaptive signal control. It analyzes techniques like using deep learning to detect vehicles reinforcement learning tooptimizesignalsand time-series prediction models. Thesetechniquesarecompared based on how they work, how well they. What theirlimitations are. One important thing found in this survey is that most existing systems do not combine real-time processing, predictive modeling and simulation in one framework.

Key Words: Intelligent Traffic Systems, Vehicle Detection, Traffic Prediction, Digital Twin, Adaptive Signal Control, Machine Learning, IoT, Smart City

1. INTRODUCTION

Traffic congestion is a problem in cities that are growing reallyfast.Thenumberofcarsontheroadisalwaysgoing up.Theoldwayofmanagingtrafficisnotworkingverywell. Mosttrafficlightsaresettochangeatfixedtimes.Theydo nottakeintoaccountwhatisreallyhappeningontheroadat thatmoment.Thismeansthatsomeroadshavetowaitfor noreasonwhileothersarenotbeingusedenoughwhichis notefficientandmakestheairdirty.

Tofixtheseproblemspeopleareworkingontrafficsystems thatcanchangebasedonwhatishappeninginrealtime.In the few years Artificial Intelligence and MachineLearning have made it possible to do new things in this area. Computer vision is used to count cars from videos and predictive models help figure out if there will be traffic

congestion in the future. These approaches are trying to maketrafficlightsworkbetter.

Anotherimportantthingthatishappeninginthisareaisthe useofInternetofThingsdevicestocontrolandtalktotraffic lightsintime.SmallcomputerslikeESP32letsoftwaretalk directlytotrafficlightssotheycanbecontrolledbasedon what the data says. Also simulation tools and digital twin technologiesarebecomingpopularbecausetheyshowwhat real traffic systems are like. These models help people understand what might happen in traffic situations like whenitisbusyorifsomethingunexpectedhappenswithout affectingtherealtraffic.

Withallthesenewthingsmanysystemsonlyfocusonone partoftrafficmanagementlikedetectingcarsorpredicting congestion and they are often only tested in fake environments.Thereneedstobeasystemthatputstogether real-time detection, prediction, control and simulation in one.

This paper looks at different smart traffic management techniquesandtalksaboutwhatisgoodandbadaboutthem. Basedonwhatwefoundoutwearetalkingaboutawayto combine Artificial Intelligence to detect cars Machine Learningtopredictcongestion,InternetofThingstocontrol traffic lights and a digital twin model to simulate and visualize traffic. The goal is to make a smarter and more flexiblesolution,formanagingtrafficinmoderncities.

2. LITERATURE REVIEW

2.1 Vehicle Detection and Counting

A learning approach to detect and count vehicles in transportation systems was studied[3]. This approach is very important for traffic management. The researchers focusedonimprovingtrafficmonitoring.Theyusedimages from cameras and aerial sources to do this. Their method involved stages: vehicle detection using advanced deep learningmodelswasdone,andcountingandclassification techniqueswerealsoused.Thesystemaccuratelyidentified cars, buses and trucks. It worked well with these types of

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 13 Issue: 05 | May 2026 www.irjet.net p-ISSN: 2395-0072

vehicles.Howeveritreliedonadataset.Thismayaffectits real-timeuseintrafficenvironments.

2.2 Reinforcement Learning for Traffic Signal Control

Researchers explored using reinforcement learning. They wanted to improve traffic flow at intersections. They controlled traffic signals with agents. These agents made decisions based on real-time traffic conditions like queue length and vehicle density [5]. Two strategies were implemented:selectingsignalphaseswasonestrategy,and adjusting signal duration dynamically was the other. The systemwastestedundertrafficscenarios.Thesescenarios included low traffic conditions. Although results showed trafficflowtheapproachwasmainlyevaluatedinsimulation environments.Itwaslimitedtoanintersectionsetup.

2.3 Q-Learning Based Traffic Signal Control

A study on traffic signal control used a network-based Qlearning method. This method handled urban traffic scenarios.Themodelconsideredtrafficparameters.These parametersincludedvehicleposition,speedanddirection. Theyhelpeddeterminesignalactions.Thesystemperformed undervaryingtrafficpatterns.Thesepatternsincludedpeak hour conditions[2]. However similar to approaches this method was tested only in simulation. It did not address real-world deployment challenges. Coordination between intersectionswasalsonotconsidered.

2.4 IoT-Based Traffic Management Systems

IoT-basedtrafficmanagementsystemswereexplored.These systemsenabledcommunicationbetweentrafficmonitoring units. They also communicated with physical signal controllers. These systems used microcontrollers and sensors. They collected traffic data and controlled signal operations [6]. While such approaches improved responsiveness they often lacked prediction capabilities. They were limited in scalability when applied to urban environments.

2.5 Traffic Prediction Using Machine Learning

Several researchers investigated machine learning techniques.Thesetechniqueswereusedfortrafficprediction. Time-seriesmodelsandLongShort-TermMemory(LSTM) networks analyzed traffic patterns. They forecasted congestion levels. These models helped in traffic management[4].Theyallowedsystemstoanticipatetraffic conditions in advance. Despite their effectiveness most approaches operated independently. They were not integratedwithreal-timetrafficcontrolmechanisms.

3. RESEARCH GAP

Thefieldoftrafficmanagementhasseenalotofprogress, whenyoulookattheresearchthathasbeendoneyoucan seethatmostofitonlysolvesonepartoftheproblem.For instancesomestudieshaveusedlearningtodetectandcount vehicleswhileothershaveusedreinforcementlearningto controltrafficsignals.Theseapproachesworkwellontheir own.Theydonotworkwellwithotherimportantpartsof traffic management systems. One big problem with the systemsthathavebeenproposedisthattheyareonlytested inenvironments.Simulationtoolsareusefulforseeinghow wellasystemworks.Theydonotreallyshowwhathappens inthe real world.Thismakesithardto actuallyusethese systemsespeciallywhenyouaredealingwithtrafficthat's hard to predict and environmental factors that can affect traffic.

Mostoftheresearchthathasbeendoneonlylooksatwhat happens at one intersection. In real life there are many intersections that are connected and the signals need to worktogethertokeeptrafficmoving.Thesystemsthathave beenproposeddonotworkwellwithintersectionssothey are not good for big cities. It is also worth noting that not many studies use traffic prediction techniques to control traffic signals in time. In cases the prediction models are separate and do not directly affect how the signals are controlled.Thismeansthatthetrafficmanagementsystemis notasgoodasitcouldbe.

Theuseoftwintechnologyintrafficsystemsisalsonotvery common.Afewapproachesprovideavirtualrepresentation of what is happening in real time which can be used to simulate and analyze traffic. This is important for understandinghowtrafficworksandfortestingscenarios without affecting actual traffic. So there is a need, for a systemthatcombinesdifferentthings,including detecting vehicles in real time predicting traffic controlling signals using IoT technology and simulating traffic with digital twins. If we can fill in the gaps we can create traffic managementsystemsthat'remoreefficientworkbetterand aremoreintelligentwhichiswhatmodernsmartcitiesneed.

4. PROPOSED SYSTEM

Thetrafficmanagementsystemswehavenowarenotgood enough. So we made a system called TRINETRA. It is a system that uses Artificial Intelligence and other technologieslikeMachineLearningandInternetofThingsto managetraffic

TRINETRAusescamerastowatchthetrafficintime.Ittakes videosofthetraffic.Usescomputervisiontoseehowmany carsareontheroad.Itcaneventellhowmanycarsarein eachlane.Thishelpsusknowwhatthetrafficislikenow.

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 13 Issue: 05 | May 2026 www.irjet.net p-ISSN: 2395-0072

TRINETRAcanalsoguesswhatthetrafficwillbelikeinthe future.ItusesmodelslikelinearregressionandLongShortTerm Memory networks to look at traffic patterns and predictiftherewillbetrafficjams.ThismeansTRINETRA canmakedecisionsbeforethetrafficgetsbad.

The system can also change the traffic lights to make the traffic flow better. It does not use a fixed schedule for the lights.Insteaditlooksathowmanycarsareontheroadand howbadthetrafficwillbeandthenitdecideshowlongthe greenlightshouldbe.Thishelpstheroadswithalotoftraffic gettimesopeopledonothavetowaitaslong.

TRINETRA uses devices like ESP32 microcontrollers to controlthetrafficlights.Thesedevicesgetinstructionsfrom thesystem.Thentheymakethetrafficlightswork.Onecool thingaboutTRINETRAisthatithasatwin.Thedigitaltwin is like a copy of the traffic intersection but it is on a computer.Italwayshastheinformationsowecanseewhat thetrafficislikenowguesswhatitwillbelikelaterandeven pretendthereisatrafficjamtoseewhatwouldhappen.

Wealsomadeawebsitethatshowsalltheinformationabout thetraffic.Itshowshowmanycarsareontheroadhowbad thetrafficisandwhatthetrafficlightsaredoing.Thismakes iteasytowatchandcontrolthesystem.

So TRINETRA is a system that tries to make traffic managementbetterbyusingalotoftechnologiestogether.It candetecttrafficguesswhatwillhappencontrolthetraffic lightsandevensimulatetrafficscenarios.Thisshouldmake thetraffic,incitiesbetter.TRINETRAisasolutionbecauseit isacompletesystemthatcanbeusedinmanyplaces.

5. METHODOLOGY / SYSTEM ARCHITECTURE

Thetrafficmanagementsystemismadeupofpartsandeach part does a specific job. All these parts work together to manage traffic in a way. The whole process starts with collecting data. Then goes through many steps like processing,predicting,controllingandvisualizing.

Firstthesystemusesacameratogetreal-timetrafficdata. Thevideofromthecameraisthenprocessedusingcomputer techniques. A special model called YOLO is used to find vehiclesineachframeofthevideo.Thesystemthencounts thevehicles.Figuresouthowdensethetrafficisineachlane. Thisinformationisusedforanalysis.

Whenthesystemhasthetrafficdataitissenttothetraffic analysis part. This is where the system checks how congestedthetrafficisandputsitintocategorieslikelow, mediumorhigh.Thishelpsthesystemunderstandwhatis going on at the intersection and makes it easier to decide whentochangethetrafficsignals.

Thenextpartofthesystemisthepredictionpart,which's veryimportantformanagingtraffic.Thesystemusesmodels likelinearregressionandLSTMnetworkstolookatpastand currenttrafficdata.Basedonthisthesystempredictswhat thetrafficwillbelikeinthefuture.Thismeansthesystem canmakedecisionsbeforethingshappenthanjustreacting towhatishappeningnow.

After predicting the traffic the system decides when to changethetrafficsignals.Thesystemchangesthetimingof the lights based on how dense the traffic is and what it predictswill happen.Roads with a lotof trafficgetlonger greenlightsandroadswithtrafficgetshortergreenlights. This helps reduce waiting time and makes the traffic flow better. The IoT control part of the system makes sure the decisions are put into action. Special tiny computers like ESP32 are used to control the traffic lights based on the systems decisions. These devices allow the software and hardware to talk to each other in time so the system can controlthetrafficlightsaccurately.

Thedigitaltwinpartofthesystemisalsoveryimportant.It createsacopyofthetrafficintersectionthatupdatesinrealtime.Thisallowsthesystemtoshowwhatishappeningnow what might happen in the future and how the system is working.Italsoallowsthesystemtosimulatesituations,like verybusytrafficorunexpectedproblems,whichhelpswith analysisandplanning.Finallythesystemhasaweb-based dashboard that shows all the information in a way that's easytounderstand.Thedashboardshowslivetrafficdata, traffic density, signal status and prediction graphs. This allows users to see how the system is working and understandtrafficpatterns.

Intermsthetrafficmanagementsystemhasmanypartsthat worktogethertomanagetrafficinasmartway.Theseparts includedetectingtraffic,analyzingtraffic,predictingtraffic, optimizingtrafficsignalsaswellascontrollingtrafficlights andsimulatingtrafficscenarios.

Fig -1:SystemArchitecture

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 13 Issue: 05 | May 2026 www.irjet.net p-ISSN: 2395-0072

6. CONCLUSION

This paper looks at the ways we manage traffic with intelligentsystems.Ittalksaboutthingslikefindingvehicles controllingtrafficlightsandguessinghowbadtrafficwillbe. Whenwelookatwhatotherpeoplehavedoneweseethat eventhoughtheyhavemadesomeprogressusingartificial intelligenceandmachinelearningmostoftheirsystemsonly lookatonepartoftrafficmanagementandareusuallyonly tested in simulated environments. To get past these problems we talk about a way of doing things with the TRINETRA system. This system puts together real-time vehicledetection,trafficpredictionoptimizingtrafficlights using IoT devices and simulating traffic with a twin. By combiningallthesepartsthenewsystemwantstogiveusan smarter way to manage traffic in cities. The digital twin model makes the system better because it lets us see and simulatetrafficintimewhichhelpsusmakebetterdecisions. AlsousingIoTdevicesletsusactuallycontroltrafficlightsin timewhichmakesthesystemworkbetterintherealworld.

In the future we can make the system work with intersectionsthatareconnectedsowecanmanagetrafficin abiggerarea.Wecanalsomakeitbetterbyusingadvanced machinelearningmodelsworkingwithsmartcitysystems andmakingsureemergencyvehiclesgetpriority.Overallthe new way of doing things can help us make transportation systems that're smarter adapt better and are more sustainable.TheTRINETRAsystemisapartofthisbecauseit combinesvehicledetection,trafficpredictionandtrafficlight optimizationinoneplacemakingtrafficmanagementmore efficient.

7. ACKNOWLEDGEMENT

Theauthorswouldliketoexpresstheirsinceregratitudeto Mrs. Namratha B S, Assistant Professor, Department of Computer Science and Engineering, for her continuous guidance, valuable suggestions, and encouragement

throughout the development of this work. Her support playedanimportantroleinshapingthedirectionandquality ofthisstudy.

TheauthorsalsoextendtheirthankstotheDepartmentof Computer Science and Engineering, Jyothy Institute of Technology, for providing the necessary resources and environmenttocarryoutthisworksuccessfully. Finally,theauthorswouldliketoacknowledgethesupport andcooperationofallteammembers,whosecollectiveeffort andcoordinationmadethecompletionofthisworkpossible.

8. REFERENCES

[1]B.Shrestha,B.Singh,G.Darlami,andN.Upadhayaya,“AI BasedTrafficManagementSystem,” International Journal of Educational Practices and Engineering,vol.2,no.1,2025.

[2] M. Guo, P. Wang, and C. Y. Chan, “A Reinforcement Learning Approach for Traffic Signal Control at Urban Intersections,”2019.

[3]A.Vikram,J.Akshya,S.Ahmad,L.J.Rubini,S.Kadry,andJ. Kim,“DeepLearningBasedVehicleDetectionandCounting System for Intelligent Transportation,” Computer Systems Science and Engineering,2023.

[4]I.Khan,M.M.Hasan,M.S.Islam,M.S.Reza,M.T.Reza, andE.T.Efaz,“AdaptiveTrafficSignalControlSystemUsing ObjectDetectionBasedApproach,”2023.

[5]M.T.Rafique,A.Mustafa,andH.Sajid,“AdaptiveTraffic SignalControlUsingReinforcementLearning,”2022.

[6] S. S. Bhise, “An IoT Application in a Smart Traffic Management System,” Journal for Research in Applied Sciences and Biotechnology,vol.4,no.1,2025.

[7]A.Gaur,A.Mavi,B.Tyagi,andN.Anwar,“DynamicTraffic LightManagementSystemusingAIandML,” IJERCSE,vol.11, no.4,2024.

[8]T.V.D.Jain,M.N,andS.K.C,“MachineLearning-Based Adaptive Traffic Signal System,” International Journal of Research Publication and Reviews,vol.5,no.11,2024.

[9]P.A.Mandhare,V.Kharat,andC.Y.Patil,“IntelligentRoad TrafficControlSystemforTrafficCongestion:APerspective,” International Journal of Computer Sciences and Engineering, vol.6,no.7,2018.

[10] M. Sharma, A. Bansal, V. Kashyap, P. Goyal, and T. H. Sheikh, “Intelligent Traffic Light Control System Based on TrafficEnvironmentUsingDeepLearning,” IOP Conference Series: Materials Science and Engineering,vol.1022,2021.

Fig -2:DigitalTwin

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 13 Issue: 05 | May 2026 www.irjet.net p-ISSN: 2395-0072

[11]L.SumiaandV.Ranga,“IntelligentTrafficManagement SystemforPrioritizingEmergencyVehiclesinaSmartCity,” International Journal of Engineering,vol.31,no.2,2018.

[12]R.Kumar,“AI-BasedAdaptiveTrafficSignalControlfor Congestion Mitigation,” International Journal of Modern Science and Research Technology,vol.3,no.4,2025.

[13] H. Khan and J. S. Thakur, “Smart Traffic Control: MachineLearningforDynamicRoadTrafficManagementin Urban Environments,” Multimedia Tools and Applications, 2025.

Turn static files into dynamic content formats.

Create a flipbook