Cím: 1111 Budapest, Stoczek u. 2.
 St. Building, 1. floor 110

 E-mail: kjit@kjk.bme.hu

 Telefon: (36-1) 463-1013

mechatronika

kozut

vasut

legi

Competencies
 

vasut

Industrial works

oktatas

>
Education

vasut

Research

PLC based Traffic Light Control system with V2X Communication Simulation using SPaT/MAP messages

A PLC synchronized with OMNeT++ can simulate detailed V2X and I2V/V2I communication with virtualized traffic. The HIL test can be run in real-time. The PLC is responsible for providing traffic light state information with standardized SPaT/MAP messages for the virtual traffic. This HIL test demonstrates the PLC-based traffic light control's capabilities and the advantages of simulating communication. This way, the traffic light program is very flexible, and a mixed reality system is realized. A flexible traffic light program is a requirement in case of enormous testing of autonomous vehicles and their behavior to faulty traffic lights.


Sustainable Commuting

Example fallback content: This browser does not support PDFs. Please download the PDF to view it: Download PDF.

Hardware

Laboratory HW:

 

ACTROS VTC 3000 Traffic Controller

The lab owns two ACTROS road traffic controllers equipped with inductive loop detectors. The controllers are the product of Swarco Traffic Hungaria Ltd. This controller can be programmed in JAVA program language and is able to handle the complete language functionality. OCIT communication protocoll is supported by ACTROS. The controller is also used in BSc/MSc courses.

actros 1actros 2

 

 

Siemens C840XS Traffic Controller

The smallest model of SITRAFFIC family with pedestrian signals, 4 signal  goups, and 6 detectors.
Important parameters:
- Standard: DIN VDE 0832 (prEN50278), RiLSA, EMC and Low-Voltage Directive.
- Processor: 32 bit Motorola 68340 CPU, Memory: 2 MB protected SRAM; Flash SIMS. Minimal memory: 5.5 MB. - Serial port (for DCF or GPS moduls).
- Central communication: BEFA12/15/16, CANTO, or OCIT.
- Signal checking: 2 channel fail-safe system.

 c840 1 c840 2

 

 

Traffic Lights Controlled by PLCs

 The Laboratory has Siemens PLCs (S7-1200 and LOGO! 12/24 RC models). A small traffic control system was built based on the PLCs containing 3 LED signal heads and button for pedestrian crossing. Each PLC is responsible for the control of one signal head, furthermore the equipment S7-1200 receives the pedestrian requests for a green sign. The PLC 1200 checks the operation of the two LOGO!s. The described devices simulate a fixed time signal program with a green request opportunity for pedestrians.

The first figure shows an overview of the system.  In the second figure the wire network can be seen. The last pictures present the signal heads and the LOGO! PLCs.

plc plc kapcsolas plc 2 plc 3

 

 

Variable Message Sign (VMS)

 The Lab has 2 Swarco Futurit Variable Message Signs in two sizes (96x64 and 64x64 pixels). Each pixel is realized with three RGB LEDs (red, green, blue), i.e. capable to show 64 colors. Arbitrary traffic signs (text, pictures) can be put on these screens.

A maintenance software is also available to draw new signs, and manage the existing ones. Special communication protocol of the signs can also be used for dynamic control of the screens.
The first picture shows the VMSs, the second one represents a display in operation. Third photo shows a screenshot of the maintenace software. The last one presents the RGB LEDs.

vmss vms_2 vms 3 vms led

Connecting SUMO with Unreal Engine 4 (UE4) through Simulink

In recent years, co-simulation became an exciting area in the industry as well as in the industry. The aim of co-simulation is creating synergies between different simulation software. In the following example the traffic simulator SUMO is connected to a visualization module built in Unreal Engine 4, through Simulink.

 

unreal1

 

 

The Vehicle Dynamics Blockset of Matlab Simulink provides interface blocks to connect with scenes, created with UE4. SUMO cannot directly connect to Simulink, but it can be interfaced with Matlab through TraCI. To circumvent this limitation of Simulink, a set of embedded Matlab function blocks are created. These blocks initialize a predefined traffic simulation network and communicate with it. Relevant states (vehicle ID, position, velocity, and heading) are continuously read from SUMO and output to Simulink. The states of each individual vehicle are passed to 3D vehicle simulation blocks that can be directly visualized in UE4.

 

The simulation example is based on the models SmartCity module of the ZalaZone automotive proving ground. The accurate models of the test track are available in different file formats: https://github.com/BMEAutomatedDrive/ZalaZONE-automotive-proving-ground-virtual-simulation-models.