Support Topics
 Support Topics - UC-win/Road

Advanced traffic flow settings

Maintenance and support service related information

UC-win/Road has extensive traffic simulation capabilities. This time, we will introduce some advanced settings and control methods related to traffic flow.


Changes in traffic volume and speed for each lane

In UC-win/Road, traffic volume is specified as the number of vehicles per hour for each road. However, in addition to specifying traffic volume for entire roads, it is also possible to set traffic volume, speed, and traffic profiles (vehicle composition) for individual lanes. This setting allows for the reproduction of various traffic conditions that match the specific characteristics of each road, such as differences in congestion between lanes, the representation of bus lanes, or the simulation of a higher proportion of trucks on the driving lane of a highway compared to the passing lane, with a difference in speed between them.

To configure this, click "Generate" under the "Traffic" section of the "Edit" menu to open the "Traffic Flow Registration" screen.

Figure 1: Traffic flow generation

Select the desired traffic flow and click "Edit" to open the "Traffic Flow Editing" screen. Click the [+] button to expand the lanes, allowing you to set the traffic volume, initial speed, and profile for each lane.


Figure 2: Point cloud data import settings screen Figure 3: Traffic flow editing Figure 4: Initial speed of each lane

Specify the direction of travel for a particular vehicle

Normally, vehicles traveling on roads in UC-win/Road have their direction randomly determined at intersections and lane split points, and even when the simulation is repeated, the same vehicle does not always travel in the same direction. If you want to have a vehicle automatically follow a specific route or run vehicles generated by a scenario along a particular route, you can fix the route by adding a "traveling vehicle group."

For example, you can set a behavior for the vehicle that specifies it must proceed in a certain direction, such as when an emergency vehicle approaching from behind overtakes the subject vehicle and then turns left at the next intersection.


Figure 5: Direction specification

First, create a dedicated vehicle group and operating profile for specific vehicles. Click on the "Vehicle Groups" item under the "Edit" tab and then the "Traffic" section to open the "Edit Vehicle Group" screen. In the "Vehicle Group" section, click the "New" button to create a new vehicle group (in the image, it's an emergency vehicle), and for the "Operating Profile," either create a new one or copy from another vehicle type to add a dedicated profile. In the image, an operating profile named "Ambulance" has been added.

In addition, when the "Emergency Vehicle" option is selected for the vehicle group, only the "Ambulance" operation profile will be checked, and no other vehicle groups will have the "Ambulance" operation profile checked. Also, select the appropriate sound profile for the "Ambulance."


Figure 6: Editing the group of moving vehicles

Next, assign the newly created operation profile to the car model. Open the editing screen for the car model you want to control, and in the "Car Settings" tab, change the operation profile setting to the one you just created (in this case, an ambulance). If you want to control only one of multiple cars of the same type, such as passenger cars, duplicate the car model and use different profiles for the models that run randomly and the model you want to control.


Figure 7: Automobile settings

Once the vehicle settings are configured, the next step is to specify the driving route. After left-clicking on an intersection on the route, right-click to open the "Edit Intersection" screen. In the "Driving Route" tab, you can specify the direction of travel for each group of vehicles. If you want emergency vehicles to always turn left, click the arrow indicating the entry route in the image, then check the box next to the "Emergency Vehicles" group in the table on the right, enter a value only for the "left turn" direction weight, and set all other weights to 0. By entering a numerical value only in one column like this, vehicles with the selected profile will only be able to move in a specific direction.


Figure 8: Editing planar intersections


Setting up intersections where left turns are always permitted

Vehicles passing through intersections are controlled to always obey traffic signals, but in reality, some intersections, often referred to as "always allow left turns," permit left turns even when the signal is red. This can be replicated by setting a specific route within the intersection editing screen to ignore the traffic signals.

To configure settings, you need to open the intersection editing screen from the road plan view. In the "Traffic Control" tab of the editing screen, click on the entry point (green bar) at the base of the driving route that allows left turns to select the route; the selected route will then be displayed in green. If you check the box next to "Overwrite" under "Selected Driving Route" and switch it to "Do not control," vehicles traveling along this route will no longer obey traffic signals. Additionally, if you select "Stop," vehicles will always come to a complete stop at the designated stopping point, and if you select "Yield," vehicles will always yield to other vehicles that approach.

Figure 9: Always permitted to turn left
Figure 10: Traffic control for planar intersections

Control of turn signals

The turn signal flashing during right and left turns at intersections is controlled by software and operates automatically, but depending on the road structure, you may want to modify the turn signal behavior. For example, in an intersection like the one shown in the image, the default setting recognizes vehicles entering from below and turning right as making a right turn, so it automatically activates the right turn signal. However, in this particular configuration, driving straight ahead from below is more natural, so not activating the turn signal would be the correct action.

If you want to change the behavior of the turn signals from the initial settings, you can do so in the intersection editing screen. In the "Driving Route" tab of the editing screen, click on the entry point (green arrow) at the base of the driving route you want to modify, and then, in the "Direction" tab on the right side, change the direction of the exit point. In this case, the initial setting for the route that goes straight is "right," so you should change it to "straight." With this adjustment, vehicles approaching from below will no longer use their turn signals when turning to the right.


Figure 11: Direction of the driving route

Furthermore, you can control the turn signals of specific vehicles within the scenario. This can be configured in the "Model Control" tab under "Edit Event." Select the target model and then specify the blinking pattern and control duration in the "Toggle Turn Signal" section on the right side.


Figure 12: Model control

Setting the drivable range in version 14.2

From version 14.2, it is now possible to configure vehicles to drive outside of their lane during operation. Previously, if a vehicle was configured to drive in a way that would encroach on the opposing lane, a special road cross-section had to be created. However, with version 14.2, this type of driving behavior is possible without requiring any special configurations.

In the "File" menu, under "Project Options," on the "Simulation" tab, checking the box labeled "Allow self-vehicle to cross into the opposing lane" will allow the vehicle to encroach into the opposing lane during its route.


Figure 13: Overflow Figure 14: Project Options

We will continue to improve traffic flow on UC-win/Road, so please make use of it.



Previous page
 
Index
  
Next page
(Featured in the New Year issue of Up&Coming '21)
Go back
Up&Coming

FORUM8

LOADING