Научная статья на тему 'Traffic flow model based on cellular Automation with adaptive deceleration'

Traffic flow model based on cellular Automation with adaptive deceleration Текст научной статьи по специальности «Физика»

CC BY
164
49
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
MODELING / TRAFFIC FLOW / CELLULAR AUTOMATA / TRAFFIC / ADAPTIVE DECELERATION / FORMALIZATION / МОДЕЛИРОВАНИЕ / ТРАНСПОРТНЫЙ ПОТОК / КЛЕТОЧНЫЙ АВТОМАТ / ДОРОЖНОЕ ДВИЖЕНИЕ / АДАПТИВНОЕ ТОРМОЖЕНИЕ / ФОРМАЛИЗАЦИЯ

Аннотация научной статьи по физике, автор научной работы — Shinkarev A.A.

This paper describes continuation of the authors’ work in the field of traffic flow mathematical models based on the cellular automata theory. The refactored representation of the multifactorial traffic flow model based on the cellular automata theory is used for a representation of an adaptive deceleration step implementation. The adaptive deceleration step in the case of a leader deceleration allows slowing down smoothly but not instantly. Concepts of the number of time steps without conflicts and deceleration aggressiveness coefficient are introduced. Also in this paper a new step type for models based on the cellular automata is formulated on the example of a stop signal. The new step type unites notification and signalization steps. The new step type extends the concept of the three-stepped unified representation of the traffic flow models based on the cellular automata that was formulated in the previous authors’ work.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Traffic flow model based on cellular Automation with adaptive deceleration»

DOI: 10.14529/ctcr160115

TRAFFIC FLOW MODEL BASED ON CELLULAR AUTOMATION WITH ADAPTIVE DECELERATION

A.A. Shinkarev, sania.kill@mail.ru

"741 Studios.ru" LLC, Ekaterinburg, Russian Federation

This paper describes continuation of the authors' work in the field of traffic flow mathematical models based on the cellular automata theory. The refactored representation of the multifactorial traffic flow model based on the cellular automata theory is used for a representation of an adaptive deceleration step implementation. The adaptive deceleration step in the case of a leader deceleration allows slowing down smoothly but not instantly. Concepts of the number of time steps without conflicts and deceleration aggressiveness coefficient are introduced. Also in this paper a new step type for models based on the cellular automata is formulated on the example of a stop signal. The new step type unites notification and signalization steps. The new step type extends the concept of the three-stepped unified representation of the traffic flow models based on the cellular automata that was formulated in the previous authors' work.

Keywords: modeling, traffic flow, cellular automata, traffic, adaptive deceleration, formalization.

Introduction

In the paper [1] the three-stepped unified representation of the traffic flow models based on the cellular automata was introduced. This unified representation included three step types of the cellular automata work: velocity changing, validation and driving. The last step is always the driving step. Before this step there could be any number of velocity changing and the result velocity validation steps.

In the paper [2] the way how the refactoring approach could be applied for several cellular automata traffic flow models was demonstrated. The goal of such refactoring was a unification of these models representation. In particular the multifactorial model representation that is described in the work [3] was reformed. The work algorithm of this model is much easier to analyze for the refactored representation than for the original one. This simplified analysis allows to identify steps which behavior could be improved to achieve more realistic results of the modeling process.

1. Model Environment and Notations

Let's assume that we have a two-dimensional matrix L, which consists of cells with a fixed length. M and N parameters determine the height (lanes number) and the weight (road length) of the matrix respectively. At any given moment of time each cell can be empty or occupied by a vehicle. Each vehicle length could vary and be more or equal to one cell.

Time t is a discrete quantity and has a step that equals to 1 second that is approximately a reaction time of an average driver. The i vehicle position determines by mt h n^ variables where m; is the traffic lane and n^ is the cell number on that traffic lane.

Velocity Vi is measured in cells passed during the time step which is 1 second.

Hereinafter in the article the following notations are used:

t - current time step of the automaton work;

t — 1 - previous time step of the automaton work;

Vi - returns velocity of the i vehicle;

gt - returns distance from the i vehicle to the leader;

vmax - maximally allowed velocity of the vehicles;

vi maxi - velocity that is maximally allowed by a Rules of the Road;

vm(ci) - maximum velocity of the vehicle that is limited by its technical characteristics;

vrec. - recommended velocity according to the vehicle position;

^ - random value that is distributed equally;

Шинкарев А.А.

Модель транспортных потоков на основе клеточного автомата с адаптивным торможением

Psts - probability of the slow-to-start rule triggering;

dsts - limit distance when the slow-to-start rule is still applicably;

Psa - probability of the spatial anticipation rule triggering;

dsa - limit distance when the spatial anticipation rule is still applicably;

bi - sign that the stop-light is on;

SS^ - determines if a full stop of the vehicles is allowed.

2. Transition to Adaptive Deceleration Step

2.1. Original Model Representation

Let's list the representation of the multifactorial model that was obtained in the paper [2].

1. Acceleration

if El(t) < psts and vi(t-1) = 0 and g^t - 1) < dsts,

then Vi(t) = 0, (1)

else Vi(t) = Vi(t -1) + 1.

2. Deceleration bi(t) = 0,

if E,(t) < psa and Vi(t 1) > 0 and Vi+i(t 1) > 0 and @i(t < dsa

and (bi+1(t -1) = 1 or vi+1(t -1)<Vi(t- 1)), (2)

then vi(t) = vi+1(t-1),bi(t) = 1, if Vi(t) > gi(t - 1) then bi(t) = 1.

3. Random deceleration

if m<P then vi(t) = vi(t)-1. (3)

4. Validation of the recommended and the maximally allowed by the Rules of the Road velocities exceeding

vi(t) = min (vi(t),vlmax.(t - 1),vrec.(t - 1)). (4)

5. Velocity exceeding

if E,(t) < ps and Vi(t -1) = vxmaXi(t-1),

then vi(t) = vi(t-1) + 1. (5)

6. Validation of the maximally allowed velocity exceeding

vi(t) = min (vi(t), vmax, vm(ci)). (6)

7. Validation of the negative velocity

if vO < 0 then vO = 0. (7)

8. Validation of the full stop

if Vi(t) = 0 and SSA = F then v^t) = 1. (8)

9. Validation of the leader vehicle impact

if Vi(t) >gi(t- 1) then Vi(t) = gi(t - 1). (9)

10. Driving

ni(t) = ni(t-1) + vi(t). (10)

The represented model aggregates the classical unidirectional multilane driving model, the slow-to-start rule [4], the spatial anticipation rule [5], random velocity exceeding and also limits of the maximum velocity vl max., vm(ci), vrec.).

2.2. Introduction of Adaptive Deceleration Step

Considerable disadvantage of this model is the deceleration step. The main reason of this is the fact that the velocity deceleration to the leader velocity occurs instantly and only within the dsa distance.

Also it's possible that the next vehicle decreased its velocity but it's still faster than the i vehicle and in this case we would have unwanted velocity adaptation up to the next vehicle velocity with bt signal on.

Formally this model uses the stop signal ¿¿, but actually it isn't the classical stop signal during a deceleration. It's in some way an analog which for this model signalized about the velocity adaptation up to the next vehicle velocity.

In this particular situation it seems efficient and not so difficult to modernize this model by a revision of the deceleration step. The main task here is the implementation of an adequate deceleration in

Вестник ЮУрГУ. Серия «Компьютерные технологии, управление, радиоэлектроника». 2015. Т. 16, № 1. С. 160-164

response to the leader vehicle stop signal. From the real traffic point of view it would be an analog of the progressive deceleration with the smooth distance decreasing to the leader vehicle.

Let's introduce a notation vdif., which would denote the velocities difference between the i vehicle and the next vehicle.

Vdifi = vi(t) — vi+i(t). (11)

To be able to calculate the number of the time steps for which the leader vehicle impact is impossible we need to divide the distance to the leader gt on the velocities difference vdif. and round it down. Let's introduce a function , which returns the number of time steps without conflicts.

Zt = . (12)

Now when we know the distance to the leader vdif., the number of time steps without conflicts Z^ and the fact that the current velocity won't be changed we can calculate how much should we decrease the velocity in the current time step to be able to decrease the velocity up to the leader one for the Zt time steps. This velocity deceleration could be calculated as a relation of the velocities difference vd.ifi(t — 1) to the number of time steps without conflicts Zi(t — 1).

vdifi(t~1) (13)

Zi(t-i) . ( ) Thus velocity changing for the deceleration step could be formulated in the following way:

Vi(t) = vi(t — 1) — (14)

Zj(t-l) 'Казг

Zj(t-l) a9r

In this case Kagr is the coefficient of the deceleration aggressiveness. As a whole now the deceleration step would be formulated in the following way: if < psa and gi(t — 1) < dsa and (bi+1(t — 1) = 1 or vdif.(t — 1) > 0) and 0<Zi(t — 1)<

^upper, (15)

then Vi(t) = Vi(t — 1)~ \Vdifi(t~1}

In this case Z^ppg^ is the upper limit of the number of time steps without conflicts above which the deceleration is devoid of sense.

Besides changing of the new velocity formula as a reaction on the leader deceleration redundant checks of non-zero velocities were removed.

Now we need to notify the vehicle behind about the fact that the velocity was decreased comparing to the previous time step.

Let's add a new notification step that would signal that the stop signal is on: if Vi(t)<Vi(t — 1),

then bt(t) = 1, (16)

else bi(t) = 0.

On the example of this step which in fact notify other drivers about the velocity decreasing there could be introduced a new common step type for the traffic flow models based on the cellular automata theory. The new step type unites notification and signalization steps which could be used for information exchange modeling among the motoring public. In this paper the stop signal notification step represented. Also it seems viable to investigate a possibility of performing notifications about the intention to change the traffic lane and waiting for a response from other vehicles.

As the result of the new step type introduction the three-stepped unified representation of the cellular automata traffic flow models is transformed to the four-stepped one. The result steps list would be the following: velocity changing, validation, notification and driving.

Conclusion

In this article on the example of the refactored representation of the unidirectional multilane multi-factorial traffic flow model the deceleration step was completely refined. The number of time steps without conflicts Zi and the coefficient of the deceleration aggressiveness Kagr were introduced. Also the formula (14) was introduced. This formula allows to decrease the velocity smoothly in the response to the deceleration of the leader but only within the decision making interval. The response velocity de-

Шинкарев А.А.

Модель транспортных потоков на основе клеточного автомата с адаптивным торможением

celeration has a stochastic nature and it won't be made at all if there are enough time steps without conflicts according to the Zupper parameter.

Besides the deceleration step logic changing the bi signal meaning was changed. In particular the transition from the pseudo stop signal modeling to the real one was made. Also the reaction on the stop signal was modeled.

On the example of the stop signal the new fourth step type was added to the unified representation of the traffic flow models based on the cellular automata. It is the notification (signalization) step type.

References

1. Shinkarev A.A. [Three-stepped Unified Representation of Traffic Flow Models Based on Cellular Automaton]. International Research Journal, 2015, no. 3(34), pp. 126-128. (in Russ.)

2. Shinkarev A.A. [Analysis and Refactoring of Representation of Traffic Flow Models Based on Cellular Automaton]. In the World of Scientific Discoveries, 2015, no. 4.1(64), pp. 585-595. (in Russ.)

3. Dolgushin D.Yu. Primenenie kletochnykh avtomatov k modelirovaniyu avtotransportnykh poto-kov [Appliance of cellular automata in traffic flow modeling]. Available at: http://bek.sibadi.org/fulltext/ epd624.pdf (accessed 01.08.2015).

4. Takayasu M., Takayasu H. 1/f Noise in a Traffic Model. Fractals, 1993, vol. 4, no. 1, pp. 860866.

5. Knospe W., Santen L., Schadschneider A., Schreckenberg M. Towards a Realistic Microscopic Description of Highway Traffic. J. Phys. A: Math. Gen, 2000, no. 33, pp. 477-485.

iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.

Received 25 December 2015

УДК 62:004.942:004.4 DOI: 10.14529/^сг160115

МОДЕЛЬ ТРАНСПОРТНЫХ ПОТОКОВ НА ОСНОВЕ КЛЕТОЧНОГО АВТОМАТА С АДАПТИВНЫМ ТОРМОЖЕНИЕМ

А.А. Шинкарев

ООО «741 Студиос.ру», г. Екатеринбург

Рассмотрено продолжение работы автора в области математических моделей транспортных потоков на основе теории клеточных автоматов. На примере переработанного представления многофакторной модели транспортных потоков на основе теории клеточных автоматов представлена реализация шага адаптивного торможения, который в случае торможения впереди едущего транспортного средства позволяет снижать скорость плавно, а не мгновенно. Введены понятия количества тактов без конфликта и коэффициента агрессивности торможения. Также в статье на примере стоп-сигнала сформулирован новый тип шагов для моделей на основе клеточного автомата, который объединяет шаги оповещения и сигнализации. Новый тип шагов расширяет концепцию трёхступенчатого унифицированного представления математических моделей транспортных потоков на основе клеточного автомата, которая была сформулирована в предыдущей работе автора.

Ключевые слова: моделирование, транспортный поток, клеточный автомат, дорожное движение, адаптивное торможение, формализация.

Литература

1. Шинкарев, А.А. Трехступенчатое унифицированное представление моделей транспортных потоков на основе клеточного автомата / А.А. Шинкарев // Международный научно-исследовательский журнал. - 2015. - № 3(34). - С. 126-128.

Вестник ЮУрГУ. Серия «Компьютерные технологии, управление, радиоэлектроника». 2015. Т. 16, № 1. С. 160-164

2. Шинкарев, А.А. Анализ и рефакторинг представления моделей транспортных потоков на основе клеточного автомата /А.А. Шинкарев // В мире научных открытий. - 2015. - № 4.1(64). -

3. Долгушин, Д.Ю. Применение клеточных автоматов к моделированию автотранспортных потоков / Д.Ю. Долгушин. - http://bek.sibadi.org/fulltext/epd624.pdf (дата обращения 01.08.2015).

4. Takayasu, M. 1/f Noise in a Traffic Model /M. Takayasu, H. Takayasu // Fractals. - 1993. - Vol. 4, no. 1. - P. 860-866.

5. Towards a Realistic Microscopic Description of Highway Traffic / W. Knospe, L. Santen, A. Schadschneider, M. Schreckenberg // J. Phys. A: Math. Gen. - 2000. - No. 33. - P. 477-485.

Шинкарев Александр Андреевич, инженер-программист, ООО «741 Студиос.ру», г. Екатеринбург; sania.kill@mail.ru.

С. 585-595

Поступила в редакцию 25 декабря 2015 г.

ОБРАЗЕЦ ЦИТИРОВАНИЯ

FOR CITATION

Shinkarev A.A. Traffic Flow Model Based on Cellular Automation with Adaptive Deceleration / A.A. Shinkarev // Вестник ЮУрГУ. Серия «Компьютерные технологии, управление, радиоэлектроника». - 2016. -Т. 16, № 1. - С. 160-164. DOI: 10.14529/ctcr160115

Shinkarev A.A. Traffic Flow Model Based on Cellular Automation with Adaptive Deceleration. Bulletin of the South Ural State University. Ser. Computer Technologies, Automatic Control, Radio Electronics, 2015, vol. 16, no. 1, pp. 160-164. DOI: 10.14529/ctcr160115

i Надоели баннеры? Вы всегда можете отключить рекламу.