HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation...

26
HUMAN-MACHINE INTERFACE OF TRAFFIC LIGHT INSTALLATION SUPERVISOR: ANDRZEJ RUSZEWSKI STUDENT: NECATİ UYSAL

Transcript of HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation...

Page 1: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

HUMAN-MACHINE INTERFACE OF

TRAFFIC LIGHT INSTALLATION

SUPERVISOR: ANDRZEJ RUSZEWSKI

STUDENT: NECATİ UYSAL

Page 2: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

TABLE OF CONTENTS

Contents INTRODUCTION _________________________________________________________________________________ 1

PURPOSE AND SCOPE __________________________________________________________________________ 1

TOOLS ____________________________________________________________________________________________ 2

SIEMENS SIMATIC S7-1200 ___________________________________________________________________ 2

TIA PORTAL _____________________________________________________________________________________ 3

WONDERWARE INTOUCH V10 ________________________________________________________________ 4

LADDER PROGRAM _____________________________________________________________________________ 6

HMI WITH INTOUCH __________________________________________________________________________ 17

PROGRAMMED SCRIPT CODES IN INTOUCH _______________________________________________ 19

REAL DEVICES IN A TRAFFIC LIGHT INSTALLATION _______________________________________ 21

PEDESTRIAN LANTERNS ____________________________________________________________________ 22

AUDIO TACTILE PEDESTRIAN DETECTORS ________________________________________________ 22

PIEZOELECTRIC TRAFFIC SENSORS ________________________________________________________ 23

CONCLUSIONS ________________________________________________________________________________ 23

REFERENCES _________________________________________________________________________________ 23

Page 3: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

INTRODUCTION

Page 1

INTRODUCTION Traffic lights are signalling devices positioned at or near road intersections, pedestrian

crossings and other locations to control competing flows of traffic. Traffic lights were first

installed in 1868 in London, United Kingdom; now used in almost every city of the world.

Traffic lights alternate the right of way accorded to road users by displaying lights of a standard

color (red, yellow and green) following a universal color code (and a precise sequence to

enable comprehension by those who are color blind.

PURPOSE AND SCOPE A traffic light installation on a three-way crossroad is designed by using ladder logic in TIA

Portal. Our Programmable logic controller is SIEMENS S7-1200(CPU-1214C-24V-DC/DC/DC).The

system should be working properly without an error to avoid accidents in the traffic.The

system has one switch and one traffic sensor. The system should work synchronized with the

sensors.

The most important part of the project is to design the visual part of the project by using

Wonderware INTOUCH.All of the real elements should be represented in the INTOUCH and

these elements should be synchronized with the S7-1200 PLC in order to observe what is going

on the crossroad.

Also a scenario should work on intouch system to show who is using the road at that

time .Cars should move with respect to the scenario of the project .

Page 4: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

TOOLS

Page 2

TOOLS

SIEMENS SIMATIC S7-1200 The S7-1200 programmable logic controller (PLC) provides the flexibility and power to

control a wide variety of devices in support of your automation needs. The compact design,

flexible configuration, and powerful instruction set combine to make the S7-1200 a perfect

solution for controlling a wide variety of applications.

The CPU combines a microprocessor, an integrated power supply, input circuits, and output

circuits in a compact housing to create a powerful PLC.

The S7-1200 family provides a variety of signal modules and signal boards for expanding the

capabilities of the CPU. You can also install additional communication modules to support

other communication protocols.

Due to the compact modular design with a high performance at the same time, the SIMATIC S7-1200 is suitable for a wide variety of automation applications. Its range of use extends from the replacement of relays and contactors up to complex automation tasks in networks and within distributed structures.

Page 5: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

TOOLS

Page 3

TIA PORTAL The Totally Integrated Automation (TIA) Portal software provides a user-friendly environment

to develop, edit, and monitor the logic needed to control your application.

The TIA Portal provides the tools for managing and configuring all of the devices in your

project, such as PLCs and HMI devices. As a component of the TIA Portal, STEP 7 Basic

provides two programming languages (LAD and FBD) for convenience and efficiency in

developing the control program for your application. The TIA Portal also provides the tools

for creating and configuring the HMI devices in your project.

The most important steps in TIA Portal that I used are :

● Creating the project

● Configuring the hardware

● Networking the devices

● Programming the PLC

● Loading the configuration data

Page 6: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

TOOLS

Page 4

WONDERWARE INTOUCH V10

Wonderware InTouch is the quickest and easiest way to create human- machine

interface InTouch is used in widely area including food processing, semiconductors, oil

and gas, automotive, chemical, pharmaceutical, pulp and paper, transportation,

utilities, and more.

By using InTouch, you can create powerful, full-featured applications that exploit the

key features of Microsoft Windows,graphics, networking and more. InTouch can also be

extended by adding wizards, generic objects, and creating InTouch QuickScript

extensions.

InTouch consists of three major programs, the InTouch Application Manager,

WindowMaker and WindowViewer.

The InTouch Application Manager organizes the applications you create. It also is used

to configure WindowViewer as an NT service, to configure Network Application

Development (NAD) for client-based and server-based architectures, to configure

Dynamic Resolution Conversion (DRC) and/or distributed alarming.

WindowMaker is the development environment, where object-oriented graphics are

used to create animated, touch-sensitive display windows. These display windows can

be connected to industrial I/O systems and other Microsoft Windows applications.

WindowViewer is the runtime environment used to display the graphic windows

created in WindowMaker. WindowViewer executes InTouch QuickScripts, performs

historical data logging and reporting, processes alarm logging and reporting, and can

function as a client and a server for both DDE and SuiteLink communication protocol.

Page 7: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

TOOLS

Page 5

Page 8: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

LADDER PROGRAM

Page 6

LADDER PROGRAM

Page 9: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 7

Page 10: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 8

Page 11: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 9

Page 12: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 10

Page 13: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 11

Page 14: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 12

Page 15: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 13

Page 16: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 14

Page 17: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 15

Page 18: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

Page 16

Page 19: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

HMI WITH INTOUCH

Page 17

HMI WITH INTOUCH Firstly , I draw the equivalent scheme of the crossroad and then put the elements in their own

places by using some special settings that INTOUCH provides us. The most important thing is

that we should synchronize HMI system and PLC carefully .In order to synchronize them we

should assign some special memory bits to the ladder program in TIA Portal for inputs coming

from TIA Portal . M1.0 and M1.1 are the bits that synchronize the inputs of the system as you

saw in the ladder program and its explanations.

Page 20: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

HMI WITH INTOUCH

Page 18

Green Light For Pedestrians and 2nd Road Users

Page 21: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

HMI WITH INTOUCH

Page 19

PROGRAMMED SCRIPT CODES IN INTOUCH The codes below are my way to move cars in the correct order in every situation of the crossroad

lights.

IF G1==1 THEN

CAR1= CAR1 +8;

ENDIF;

IF (CAR1 >= 930) THEN

CAR1=0;

ENDIF;

IF (G1==0 AND CAR1==200) THEN

CAR1=200;

ENDIF;

IF (G1==0 AND (CAR1<200 OR CAR1>200)) THEN

CAR1=CAR1+40;

ENDIF;

IF PG==1 THEN

P= P+3;

P2= P2 + 3;

ENDIF;

IF (P>= 160 AND PG==1 )THEN

P=0;

ENDIF;

IF (P2 >= 160 AND PG==1)THEN

P2=0;

ENDIF;

Page 22: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

HMI WITH INTOUCH

Page 20

IF (PG==0 AND (P<160 AND P2<160) )THEN

P=P+7.5;

P2=P+7.5;

ENDIF;

IF (PG==0 AND P==160 ) THEN

P=0;

P2=0;

ENDIF;

IF (PG==0 AND P2==160 ) THEN

P2=0;

ENDIF;

IF G2==1 THEN

CAR6= CAR6 +10;

CAR7=CAR7 + 10;

ENDIF;

IF G2==0 THEN

CAR6=0;

CAR7=0;

ENDIF;

IF (CAR61 >= 460) THEN

CAR6=0;

CAR61=0;

ENDIF;

Page 23: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

REAL DEVICES IN A TRAFFIC LIGHT INSTALLATION

Page 21

IF (CAR71 >= 460) THEN

CAR7=0;

CAR71=0;

ENDIF;

IF CAR6>200 THEN

CAR61=CAR61+10;

ENDIF;

IF CAR7>200 THEN

CAR71=CAR71+10;

ENDIF;

REAL DEVICES IN A TRAFFIC LIGHT INSTALLATION

LED TRAFFIC SIGNAL LANTERNS

High quality LED lanterns specifically designed to meet European and UK standards. Available in 200mm, 300mm diameter sizes,and 230V, 48V, 42V AC power supply Features • Clear front lens for maximum visibility • Coloured lens corresponds to LED colour to minimize chance of false recognition • Available in 200mm and 300mm sizes • Available in 230V, 48V and 42V AC • Optically tested LED array for uniform light output • High luminous output • IP65 protection against dust and moisture • Specifically designed to comply with BSEN12368:2006 • Operates in high temperatures • Low power consumption • LED light source for long term reliability and operational life • Low output degradation • Low sun-phantom intensity

Page 24: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

REAL DEVICES IN A TRAFFIC LIGHT INSTALLATION

Page 22

PEDESTRIAN LANTERNS These lanterns are produced using the same modular construction techniques and many of the same components used in producing the Aldridge Traffic Systems ATS range of vehicle lanterns. Many component parts of the housing are therefore interchangeable. The pedestrian lantern housing therefore features: • Durable thermoplastic components • Exceptional structural strength • U.V. stabilised components • Adjustable lantern mounting centres • Injection moulded or aluminium pressure diecast modular housing components • Suits all weather and operating environments • Available in 200mm and 300mm lanterns

AUDIO TACTILE PEDESTRIAN DETECTORS The system comprises two separate units, a post mounted weatherproof box which accommodates the electronic control circuitry, power supply and ambient noise monitor microphone plus an Aldridge Traffic Systems(ATS) audio tactile push-button assembly. The push-button assembly accommodates the tactile transducer fitted to the front escutcheon plate and also houses the audio signal transmitter. Two models are available, the push-button assembly as illustrated or an ATS CW series type assembly. Audio Tactile Pedestrian Detector Push Button Assembly Representing a major technology advance from ATS, the audio tactile detector and push-button assembly, is available with a selection of either audio only, tactile only or audio plus tactile indication. The audio tactile facilities can be partnered with either the ATS pedestrian push-button assembly, where uniformity atexisting installations or visual wait signindication is desired.

Page 25: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

REAL DEVICES IN A TRAFFIC LIGHT INSTALLATION

Page 23

PIEZOELECTRIC TRAFFIC SENSORS Piezo Sensors are an axle detection sensor that is installed in the roadway (mostly permanent but can be temporary). The sensor is embedded in the lane of travel and can collect count, classification, and Weigh-In-Motion data. Typically a class I sensor is used for weigh-in-motion application while class II sensors are used to collect axle classification data. Piezo sensors work by producing a signal (voltage and current) when an axle/tire comes in contact with them in the roadway, This signal is detected by the electronics in a counter/classifier. The sensors embedded in the roadway are extremely accurate at measuring axles strikes. They are used in application for counting, classification (speed and axle), weigh-in-motion, tolling and even law enforcement installations such as speed and red light running.

CONCLUSIONS Designing a Traffic Light Installation system on a Wondareware INTOUCH taught me lots of knowledge

about HMI systems. Firstly I draw the crossroad very simple and then I improved its visuality .Intouch

attracted me so much when I started to learn day by day. After all these, the most funny part of the

project was moving the cars with respect to the scenario because I really like programming .

REFERENCES - http://diamondtraffic.com/technicaldescription/125

- http://www.meas-spec.com/product/t_product.aspx?id=4725

- http://www.aldridgetraffic.com.au/

Page 26: HUMAN-MA HINE INTERFA E OF TRAFFI LIGHT INSTALLATION · Designing a Traffic Light Installation system on a Wondareware INTOUH taught me lots of knowledge about HMI systems. Firstly

REAL DEVICES IN A TRAFFIC LIGHT INSTALLATION

Page 24