92
Smart Traffic Systems Using IoT Travis Warling Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA April 20, 2019 Travis Warling (Division of Science and Mathematics Morris, Minnesota, USA) Smart Traffic Systems Using IoT April 20, 2019 1 / 57

Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Smart Traffic Systems Using IoT

Travis Warling

Division of Science and MathematicsUniversity of Minnesota, Morris

Morris, Minnesota, USA

April 20, 2019

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 1 / 57

Page 2: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Issues with Traffic Congestion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 2 / 57

Page 3: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Issues with Traffic Congestion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 3 / 57

Page 4: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Issues With Traffic Congestion

In the US:

1.9 billion gallons of fuel per year is wasted due to congestion

This is equivalent to 5 days’ worth of all fuel used in the US [4]

Average urban commuters are stuck in traffic congestion for 34 hoursand waste $713 of fuel per year [4]

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 4 / 57

Page 5: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Issues With Traffic Congestion

In the US:

1.9 billion gallons of fuel per year is wasted due to congestion

This is equivalent to 5 days’ worth of all fuel used in the US [4]

Average urban commuters are stuck in traffic congestion for 34 hoursand waste $713 of fuel per year [4]

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 4 / 57

Page 6: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Issues with Traffic Congestion

In India:

600 billion Rupee (8.7 billion USD) is lost per year due to trafficcongestion [7]

The average speed of National Highway 44 is 20 kmph (12.43 mph)even though the speed limit is 100 kmph (62 mph) [7]

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 5 / 57

Page 7: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Issues with Traffic Congestion

In India:

600 billion Rupee (8.7 billion USD) is lost per year due to trafficcongestion [7]

The average speed of National Highway 44 is 20 kmph (12.43 mph)even though the speed limit is 100 kmph (62 mph) [7]

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 5 / 57

Page 8: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

How can Smart Traffic Systems Help?

Dynamically change traffic light cycles in areas of congestion

Longer green light times in the direction of traffic congestion

Shorter green light times in directions leading into areas of congestion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 6 / 57

Page 9: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

How can Smart Traffic Systems Help?

Dynamically change traffic light cycles in areas of congestion

Longer green light times in the direction of traffic congestion

Shorter green light times in directions leading into areas of congestion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 6 / 57

Page 10: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

How can Smart Traffic Systems Help?

Dynamically change traffic light cycles in areas of congestion

Longer green light times in the direction of traffic congestion

Shorter green light times in directions leading into areas of congestion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 6 / 57

Page 11: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

How can Smart Traffic Systems Help?

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 7 / 57

Page 12: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Outline

1 Background

2 Raspberry Pi Based System

3 Sensor and Server Based System

4 Conclusion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 8 / 57

Page 13: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background

Outline

1 BackgroundInternet of Things (IoT)Raspberry PiGerneral Purpose Input/Output (GPIO)

2 Raspberry Pi Based System

3 Sensor and Server Based System

4 Conclusion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 9 / 57

Page 14: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Internet of Things (IoT)

Internet of Things (IoT)

Basic concept: any device can be connected to networks or to otherdevices

IoT allow smart traffic systems to:

Have sensors that communicate with each otherHave sensors that connect to and receive commands from networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 10 / 57

Page 15: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Internet of Things (IoT)

Internet of Things (IoT)

Basic concept: any device can be connected to networks or to otherdevices

IoT allow smart traffic systems to:

Have sensors that communicate with each otherHave sensors that connect to and receive commands from networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 10 / 57

Page 16: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Internet of Things (IoT)

Internet of Things (IoT)

Basic concept: any device can be connected to networks or to otherdevices

IoT allow smart traffic systems to:

Have sensors that communicate with each other

Have sensors that connect to and receive commands from networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 10 / 57

Page 17: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Internet of Things (IoT)

Internet of Things (IoT)

Basic concept: any device can be connected to networks or to otherdevices

IoT allow smart traffic systems to:

Have sensors that communicate with each otherHave sensors that connect to and receive commands from networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 10 / 57

Page 18: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Raspberry Pi

Raspberry Pi

Single-board computer

Uses Linux operating system

Can be configured to send and receive signals from the internet

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 11 / 57

Page 19: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Raspberry Pi

Raspberry Pi

Single-board computer

Uses Linux operating system

Can be configured to send and receive signals from the internet

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 11 / 57

Page 20: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Raspberry Pi

Raspberry Pi

Single-board computer

Uses Linux operating system

Can be configured to send and receive signals from the internet

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 11 / 57

Page 21: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Gerneral Purpose Input/Output (GPIO)

General Purpose Input/Output (GPIO)

Pins that are placed at the top edge of a Raspberry Pi

Do not serve a specific purpose- can be customized for specific needs

Each pin outputs a voltage when set to high

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 12 / 57

Page 22: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Gerneral Purpose Input/Output (GPIO)

General Purpose Input/Output (GPIO)

Pins that are placed at the top edge of a Raspberry Pi

Do not serve a specific purpose- can be customized for specific needs

Each pin outputs a voltage when set to high

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 12 / 57

Page 23: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Background Gerneral Purpose Input/Output (GPIO)

General Purpose Input/Output (GPIO)

Pins that are placed at the top edge of a Raspberry Pi

Do not serve a specific purpose- can be customized for specific needs

Each pin outputs a voltage when set to high

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 12 / 57

Page 24: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System

Outline

1 Background

2 Raspberry Pi Based SystemAdding Cameras to Traffic LightsRaspberry Pi ImplementationTesting and Results

3 Sensor and Server Based System

4 Conclusion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 13 / 57

Page 25: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System

Raspberry Pi Based System Overview

Basuni et al.

Requires humans to continuously interact with the system onceinstalled

Uses Raspberry Pis and cameras to allow authorities to monitor trafficcongestion and change traffic light times

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 14 / 57

Page 26: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System

Raspberry Pi Based System Overview

Basuni et al.

Requires humans to continuously interact with the system onceinstalled

Uses Raspberry Pis and cameras to allow authorities to monitor trafficcongestion and change traffic light times

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 14 / 57

Page 27: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Adding Cameras to Traffic Lights

Adding Cameras to Traffic Lights

Cameras are placed on top of every traffic light within an intersection

Pictures are taken and sent to a Raspberry Pi

The length of time between pictures can be customized by authorities

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 15 / 57

Page 28: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Adding Cameras to Traffic Lights

Adding Cameras to Traffic Lights

Cameras are placed on top of every traffic light within an intersection

Pictures are taken and sent to a Raspberry Pi

The length of time between pictures can be customized by authorities

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 15 / 57

Page 29: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Adding Cameras to Traffic Lights

Adding Cameras to Traffic Lights

Cameras are placed on top of every traffic light within an intersection

Pictures are taken and sent to a Raspberry Pi

The length of time between pictures can be customized by authorities

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 15 / 57

Page 30: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Raspberry Pi Implementation

Raspberry Pi Implementation

A Raspberry Pi placed on every traffic light within an intersection

Has two main functions:

1 Uses a wireless connection to a web server to transmit the camera feed.2 Changes the green light length of the traffic light duration

Two GPIO pins are used to allow for three different green lightdurations

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 16 / 57

Page 31: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Raspberry Pi Implementation

Raspberry Pi Implementation

A Raspberry Pi placed on every traffic light within an intersection

Has two main functions:

1 Uses a wireless connection to a web server to transmit the camera feed.2 Changes the green light length of the traffic light duration

Two GPIO pins are used to allow for three different green lightdurations

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 16 / 57

Page 32: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Raspberry Pi Implementation

Raspberry Pi Implementation

A Raspberry Pi placed on every traffic light within an intersection

Has two main functions:1 Uses a wireless connection to a web server to transmit the camera feed.

2 Changes the green light length of the traffic light duration

Two GPIO pins are used to allow for three different green lightdurations

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 16 / 57

Page 33: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Raspberry Pi Implementation

Raspberry Pi Implementation

A Raspberry Pi placed on every traffic light within an intersection

Has two main functions:1 Uses a wireless connection to a web server to transmit the camera feed.2 Changes the green light length of the traffic light duration

Two GPIO pins are used to allow for three different green lightdurations

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 16 / 57

Page 34: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Testing and Results

Testing and Results

System has not been tested

Basuni et al. strongly believe the system will reduce traffic congestionto some degree

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 17 / 57

Page 35: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Raspberry Pi Based System Testing and Results

Testing and Results

System has not been tested

Basuni et al. strongly believe the system will reduce traffic congestionto some degree

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 17 / 57

Page 36: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System

Outline

1 Background

2 Raspberry Pi Based System

3 Sensor and Server Based SystemPlacing Sensors on Roads and CarsBase StationsGreen Light Time Calculation AlgorithmTesting and Results

4 Conclusion

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 18 / 57

Page 37: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System

Sensor and Server Based System

Chong et al.

Doesn’t require human interaction once installed

Uses sensors placed within road surfaces and vehicles to detect trafficcongestion and automatically change traffic light cycles

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 19 / 57

Page 38: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System

Sensor and Server Based System

Chong et al.

Doesn’t require human interaction once installed

Uses sensors placed within road surfaces and vehicles to detect trafficcongestion and automatically change traffic light cycles

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 19 / 57

Page 39: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Sensors are placed within the road surface and on vehicles

Sensors communicate in an ad hoc system

Ad-hoc = components are able to connect to each other without theuse of a router or base station

Three types of ad hoc sensor networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 20 / 57

Page 40: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Sensors are placed within the road surface and on vehicles

Sensors communicate in an ad hoc system

Ad-hoc = components are able to connect to each other without theuse of a router or base station

Three types of ad hoc sensor networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 20 / 57

Page 41: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Sensors are placed within the road surface and on vehicles

Sensors communicate in an ad hoc system

Ad-hoc = components are able to connect to each other without theuse of a router or base station

Three types of ad hoc sensor networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 20 / 57

Page 42: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Sensors are placed within the road surface and on vehicles

Sensors communicate in an ad hoc system

Ad-hoc = components are able to connect to each other without theuse of a router or base station

Three types of ad hoc sensor networks

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 20 / 57

Page 43: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 21 / 57

Page 44: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 22 / 57

Page 45: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Placing Sensors on Roads and Cars

Placing Sensors on Roads and Cars

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 23 / 57

Page 46: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Base Stations

Base Station

The data collected by the sensors in both the road surface and in thevehicles within the vicinity is sent to a base station via wirelessconnection

The base station serves two functions:

1 Compiles the data from the sensors and sends it to a cloud server to beanalyzed

2 Receives commands from the cloud server and change green light timesin traffic lights

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 24 / 57

Page 47: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Base Stations

Base Station

The data collected by the sensors in both the road surface and in thevehicles within the vicinity is sent to a base station via wirelessconnection

The base station serves two functions:

1 Compiles the data from the sensors and sends it to a cloud server to beanalyzed

2 Receives commands from the cloud server and change green light timesin traffic lights

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 24 / 57

Page 48: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Base Stations

Base Station

The data collected by the sensors in both the road surface and in thevehicles within the vicinity is sent to a base station via wirelessconnection

The base station serves two functions:1 Compiles the data from the sensors and sends it to a cloud server to be

analyzed

2 Receives commands from the cloud server and change green light timesin traffic lights

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 24 / 57

Page 49: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Base Stations

Base Station

The data collected by the sensors in both the road surface and in thevehicles within the vicinity is sent to a base station via wirelessconnection

The base station serves two functions:1 Compiles the data from the sensors and sends it to a cloud server to be

analyzed2 Receives commands from the cloud server and change green light times

in traffic lights

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 24 / 57

Page 50: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Data sent to the cloud server is analyzed for signs of traffic congestion

The algorithm calculates the level of traffic congestion present anddetermines how long the green lights should be on in the direction ofthe congestion

The algorithm calculates green light times for each traffic light in anintersection

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 25 / 57

Page 51: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Data sent to the cloud server is analyzed for signs of traffic congestion

The algorithm calculates the level of traffic congestion present anddetermines how long the green lights should be on in the direction ofthe congestion

The algorithm calculates green light times for each traffic light in anintersection

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 25 / 57

Page 52: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Data sent to the cloud server is analyzed for signs of traffic congestion

The algorithm calculates the level of traffic congestion present anddetermines how long the green lights should be on in the direction ofthe congestion

The algorithm calculates green light times for each traffic light in anintersection

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 25 / 57

Page 53: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 26 / 57

Page 54: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Current Traffic Volume (CTV ) is calculated

CTV is the total number of cars that can theoretically travel throughthe intersection within an hour

CTV =(n × 3600)

C

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 27 / 57

Page 55: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Current Traffic Volume (CTV ) is calculated

CTV is the total number of cars that can theoretically travel throughthe intersection within an hour

n is the number of cars queued in a given direction

CTV =( n × 3600)

C

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 28 / 57

Page 56: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Current Traffic Volume (CTV ) is calculated

CTV is the total number of cars that can theoretically travel throughthe intersection within an hour

C is the traffic light cycle duration

CTV =(n × 3600)

C

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 29 / 57

Page 57: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Current Traffic Volume (CTV ) is calculated

CTV is the total number of cars that can theoretically travel throughthe intersection within an hour

3600 is the number of seconds in an hour

CTV =(n × 3600 )

C

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 30 / 57

Page 58: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Current Traffic Volume (CTV ) is calculated

CTV is the total number of cars that can theoretically travel throughthe intersection within an hour

CTV =(n × 3600)

C

CTV =(4 × 3600)

30

CTV = 480

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 31 / 57

Page 59: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Flow Ratio (FR) is calculated

FR is the percent of traffic congestion present

FR =CTV

MFR

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 32 / 57

Page 60: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Flow Ratio (FR) is calculated

FR is the percent of traffic congestion present

MFR is the maximum flow rate for the road in each direction

FR =CTV

MFR

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 33 / 57

Page 61: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Flow Ratio (FR) is calculated

FR is the percent of traffic congestion present

FR =CTV

MFR

FR =480

500

FR = 0.96

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 34 / 57

Page 62: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

CTV and FR is calculated for every direction going through theintersection

Once completed, the results are ordered and given a priority

The direction with the highest FR is given the highest priority.

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 35 / 57

Page 63: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

CTV and FR is calculated for every direction going through theintersection

Once completed, the results are ordered and given a priority

The direction with the highest FR is given the highest priority.

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 35 / 57

Page 64: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Order of priority:

1 Traffic Light 1 (FR = 0.96)

2 Traffic Light 2 (FR = 0.48)

3 Traffic Light 3 (FR = 0.24)

4 Traffic Light 4 (FR = 0.24)

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 36 / 57

Page 65: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Effective Green Time (EGT ) is calculated in every direction

EGT is the amount of time that is used by vehicles to drive throughthe intersection every time the light turns green

EGT = FR × C

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 37 / 57

Page 66: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Effective Green Time (EGT ) is calculated in every direction

EGT is the amount of time that is used by vehicles to drive throughthe intersection every time the light turns green

EGT = FR × C

EGT = 0.96 × 30

EGT = 28.8

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 38 / 57

Page 67: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

The algorithm recursively calculates the remaining three equations foreach traffic light, starting with the traffic light with the highestpriority

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 39 / 57

Page 68: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Phase Green Time (PGT ) is calculated

PGT is the amount of time that is used by vehicles to drive throughthe intersection every time the light turns green when outside factorsare accounted for

PGT = EGT + S − Y

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 40 / 57

Page 69: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Phase Green Time (PGT ) is calculated

PGT is the amount of time that is used by vehicles to drive throughthe intersection every time the light turns green when outside factorsare accounted for

S is the lost time due to cars needing to accelerate from a stop aftera red light

PGT = EGT + S − Y

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 41 / 57

Page 70: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Phase Green Time (PGT ) is calculated

PGT is the amount of time that is used by vehicles to drive throughthe intersection every time the light turns green when outside factorsare accounted for

Y is the length of the yellow light

PGT = EGT + S − Y

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 42 / 57

Page 71: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Phase Green Time (PGT ) is calculated

PGT is the amount of time that is used by vehicles to drive throughthe intersection every time the light turns green when outside factorsare accounted for

Y is the length of the yellow light

PGT = EGT + S − Y

PGT = 27.8 + 1 − 10

PGT = 19.8

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 43 / 57

Page 72: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Green Time (RGT ) is calculated

RGT is the amount of time that is lost due to outside factors

RGT = EGT − PGT

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 44 / 57

Page 73: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Green Time (RGT ) is calculated

RGT is the amount of time that is lost due to outside factors

RGT = EGT − PGT

RGT = 28.8 − 19.8

RGT = 9

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 45 / 57

Page 74: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Effective Green Time (REGT ) is calculated

REGT calculates the optimal green light time for a given traffic light

REGT = RGT × CRTcurrent

CRTremaining − CRTprevious

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 46 / 57

Page 75: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Effective Green Time (REGT ) is calculated

REGT calculates the optimal green light time for a given traffic light

CRTcurrent is the FR of the current traffic light being calculated for

REGT = RGT ×CRTcurrent

CRTremaining − CRTprevious

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 47 / 57

Page 76: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Effective Green Time (REGT ) is calculated

REGT calculates the optimal green light time for a given traffic light

CRTremaining is the sum of the FR for every traffic light with a lesserpriority than the one currently being looked

REGT = RGT × CRTcurrent

CRTremaining − CRTprevious

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 48 / 57

Page 77: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Effective Green Time (REGT ) is calculated

REGT calculates the optimal green light time for a given traffic light

CRTprevious is the FR for traffic light that was previously looked at

REGT = RGT × CRTcurrent

CRTremaining − CRTprevious

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 49 / 57

Page 78: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Remaining Effective Green Time (REGT ) is calculated

REGT calculates the optimal green light time for a given traffic light

REGT = RGT × CRTcurrent

CRTremaining − CRTprevious

REGT = 9 × 0.96

(0.48 + 0.24 + 0.24) − 0

REGT = 9

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 50 / 57

Page 79: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Once the algorithm finishes calculating REGT the algorithm either:

Calculates PGT , RGT , and REGT for the traffic light with next lowestprioritySets the traffic lights within the intersection to the calculated REGT

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 51 / 57

Page 80: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Once the algorithm finishes calculating REGT the algorithm either:

Calculates PGT , RGT , and REGT for the traffic light with next lowestpriority

Sets the traffic lights within the intersection to the calculated REGT

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 51 / 57

Page 81: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Calculation Algorithm

Once the algorithm finishes calculating REGT the algorithm either:

Calculates PGT , RGT , and REGT for the traffic light with next lowestprioritySets the traffic lights within the intersection to the calculated REGT

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 51 / 57

Page 82: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Green Light Time Calculation Algorithm

Green Light Time Calculation Algorithm

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 52 / 57

Page 83: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Testing and Results

Testing and Results

MATLAB software used to simulate a four-way intersection

Intersection consisted of cars traveling north, south, east, and west

Maximum queue size of 75 standard vehicles

standard vehicle = 4.2 meters (13.78 feet) in length, 1.75 meters (5.74feet) in width

100 light cycles were conducted, with 0 to 100 vehicles traveling ineach direction every light cycle

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 53 / 57

Page 84: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Testing and Results

Testing and Results

MATLAB software used to simulate a four-way intersection

Intersection consisted of cars traveling north, south, east, and west

Maximum queue size of 75 standard vehicles

standard vehicle = 4.2 meters (13.78 feet) in length, 1.75 meters (5.74feet) in width

100 light cycles were conducted, with 0 to 100 vehicles traveling ineach direction every light cycle

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 53 / 57

Page 85: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Testing and Results

Testing and Results

MATLAB software used to simulate a four-way intersection

Intersection consisted of cars traveling north, south, east, and west

Maximum queue size of 75 standard vehicles

standard vehicle = 4.2 meters (13.78 feet) in length, 1.75 meters (5.74feet) in width

100 light cycles were conducted, with 0 to 100 vehicles traveling ineach direction every light cycle

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 53 / 57

Page 86: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Testing and Results

Testing and Results

MATLAB software used to simulate a four-way intersection

Intersection consisted of cars traveling north, south, east, and west

Maximum queue size of 75 standard vehicles

standard vehicle = 4.2 meters (13.78 feet) in length, 1.75 meters (5.74feet) in width

100 light cycles were conducted, with 0 to 100 vehicles traveling ineach direction every light cycle

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 53 / 57

Page 87: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Sensor and Server Based System Testing and Results

Testing and Results

Dynamic Fixed Time Percentage ofParameters Algorithm Algorithm Improved

Average QueueLength (meters) 198 620 68.06%

Average WaitingTime (seconds) 16 48 66.67%

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 54 / 57

Page 88: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Conclusion

Conclusion

Two smart traffic systems

One that requires humans to maintain interaction with the systemOne that is able to run without human interaction

The systems reduce traffic congestion

Neither of the systems have been implemented

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 55 / 57

Page 89: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Conclusion

Conclusion

Two smart traffic systems

One that requires humans to maintain interaction with the systemOne that is able to run without human interaction

The systems reduce traffic congestion

Neither of the systems have been implemented

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 55 / 57

Page 90: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Conclusion

Conclusion

Two smart traffic systems

One that requires humans to maintain interaction with the systemOne that is able to run without human interaction

The systems reduce traffic congestion

Neither of the systems have been implemented

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 55 / 57

Page 91: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Conclusion

Acknowledgments

Thank you to KK Lamberty and Elena Machkasova for their guidanceand help throughout the entire process

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 56 / 57

Page 92: Smart Traffic Systems Using IoT - GitHub Pages · Basic concept: any device can be connected to networks or to other devices ... Background Gerneral Purpose Input/Output (GPIO) General

Conclusion

References

1 H. F. Chong and D. W. K. Ng. Development of IoT device for trafficmanagement system. IEEE Student Conference on Research andDevelopment, December 2017.

2 Forbes. A simple explanation of ’the internet of things’. [Online;accessed 15-April-2019].

3 S. Misbahuddin, J. A. Zubairi, A. Saggaf, S. Basumi, Jihad andA-Wadany, and A. Al-Sofi. Iot based dynamic road trafficmanagement for smart cities. 12th International Conference onHigh-capacity Optical Networks and Enabling/EmergingTechnologies, December 2015

4 Nationwide. Sitting fuming: traffic congestion statistics. [Online;accessed 4-March-2019].

5 T. Terms. Gpio. [Online; accessed 15-April-2019].6 Wikipedia. Raspberry Pi. [Online; accessed 4-March-2019].7 P. Rizwan, K. Suresh, and R. M. Babu. Real-time smart traffic

management system for smart cities by using internet of things andbig data. International Conference on Emerging Technological Trends,October 2016.

Travis Warling (Division of Science and Mathematics University of Minnesota, Morris Morris, Minnesota, USA)Smart Traffic Systems Using IoT April 20, 2019 57 / 57