Title: Local Dynamics Models for Crowd Simulation
1Local Dynamics Models for Crowd Simulation
2Outline
- Introduction
- Optimal Velocity Model
- Helbings Model and Extensions
- Rule Based and Others
- HiDAC in More Detail
- References
3Introduction Definition
- Narrow
- Helbings social forces.
4Introduction Definition
- Narrow
- Helbings social forces.
- Broad
- Forces
- Change of positions an velocities
- According to local environment
- Everything not Global (planning, navigation and
so on)
5Introduction Design flow
- Observation
- Choose the macroscopic phenomena you want to
reproduce.
6Introduction Design flow
- Observation
- Choose the macroscopic phenomena you want to
reproduce. - Design the form of (microscopic) forces.
- Highly arbitrary and heuristic.
- Analogous to physics.
7Introduction Design flow
- Observation
- Choose the macroscopic phenomena you want to
reproduce. - Design the form of (microscopic) forces.
- Highly arbitrary and heuristic.
- Analogous to physics.
- Simulation
- Fix the problems.
8Introduction - Examples
- Domain
- Roadmaps
- Cellular automata
- Continuous space
- etc.
- Methods
- Particle dynamics and potential field
- Rule based, eg. flocking
- Special, eg. RVO.
CA Very popular in Statistical Physics (eg.
Physica A), but not in Graphics
91D-Optimal Velocity Model (OVM)
- From Transportation Science
- 1D traffic flow.
- Imaging driving on highway
- A car will keep the maximum speed with enough the
distance to the next car. - A car tries to run with optimal velocity
determined by the distance to the next car. - Safety distance
101D-OVM
- Formula
- a How fast the car wants to accelerate to the
desired speed. - V optimal (desired) speed.
- b, c constants
Distance to the next car
tanh? Any monotonic increasing function with
upper/lower bounds suffice.
111D-OVM
- Demo
- Phenomena Congestion, phase transition
- The uniform flow becomes unstable when a lt 2
V(L/N). - Intuition lag in response time magnifies
fluctuations.
122D-OVM
- Similar ideas
- For
- Only attraction
- For
- Both attraction and repulsion
?
132D-OVM
- _
- Anything that models (approximates) the
anisotropic nature of human perception /
reaction. - For example
- Self driving force
- Range of consideration
?
142D-OVM
- Similar phenomena
- Lane formation in low density.
- Congestion in high density
15Helbings Forces
- Helbing and Molnar 1995
- Social force model for pedestrian dynamics
- Helbing et al. 2000
- The paper, published in Nature.
- Helbing et al. 2002
- Lakoba and Kaup 2005
- Helbing et al. 2005
- Helbing et al. 2007
- Crowd turbulence the physics of crowd disasters
- Yu and Johansson 2007
- Modeling Crowd Turbulence by Many-Particle
Simulation
16Helbing 2000
- Main equation
- Add features or modify this equation.
- Example
- HiDAC
- AERO
17Self-Driven Force
- First term
- Deviation of current velocity from preferred
velocity - p panic parameter (in)dependence
- preferred velocity own velocity.
- average velocity within a radius around
the agent himself collective velocity.
18Self-Driven Force
- First term
- Deviation of current velocity from preferred
velocity - p panic parameter (in)dependence
- preferred velocity own velocity.
- average velocity within a radius around
the agent himself collective velocity. - Compared to OVM
- No distance dependence for preferred velocity.
- No concept of safety distance. Can be added.
19Interactive Forces
20Interactive Forces
- Social force
- Baseline, almost in every paper
- A, B, dij
21Interactive Forces
- Pushing force
- Kernel
- k, elasticity, spring constant
22Interactive Forces
- Frictional force relative velocity
- But no static friction, alternative
23Agent-Obstacle Force
24Summary of Helbing 2000
- The social force do not have a physical source.
- Body force and sliding friction forces do.
- But rather simple
- no ground friction
- no dynamic constraint
- Details Qualitative vs quantitative.
25Summary of Helbing 2000
- Phenomena
- Nick talked about them
- Pressure buildup (Pressure discussed later)
- Clogging at bottleneck
- Jamming at widening
- Faster is slower
- Inefficient use of alternative exits (due to
panicking and herding)
26Lakoba and Kaup 2005
- Title Modifications of the Helbing-Molnár-Farkas-
Vicsek Social Force Model for Pedestrian
Evolution - HMFV later on.
- Fix some counterintuitive results of HMFV,
- by changing numerical values
- as well as modifying the model
27Problem 1 of HMFV
- Overlapping
- HMFV allows overlapping, it NEEDS overlapping for
pushing forces and frictional forces. - But no limit.
28Overlapping
- There should be a core which is not
penetratable.
29Overlapping
- There should be a core which is not
penetratable. - Maximum overlapping or squeezing
- Smax, say, 20 of the radius.
- Collision Elimination
30Methods for Handling Overlapping
- HMFV use high k in
- Problem In order to prevent overlapping ? makes
humans very stiff springs or bouncy balls. - 5cm ? 5000 N, or 7G
- Potential Barrier
- for
- approaches infinity as dij ? Rij 2 Smax
31Potential Barrier
- Numerically, Stiff equation
- Since
- f unbounded, very large.
- In order to be stable, (i.e. x not blowing off)
only very small time step can be used. - Runs forever.
- Implicit integration is expensive too
- Lakoba Kaup OEA
32Overlap-Eliminating Algorithm (OEA)
- n total number of pedestrians count 0
- While (overlapping occurs count lt n)
- Find the most overlapped pedestrian pi.
- If (pi intersects with the wall)
- Move pi away from the wall
- set vi,n ? 0 vi ,t stays the same.
- make pi stationary
- end if
- Move all pjs away from pi.
- Set vj ? vi
- end while
33OEA
- Set vj ? vi this only works for uni-goal system,
such as egress. - Still no guarantee.
- But probability very low.
- Can we do better?
- What if the only collision free configuration is
a packing one? - Finite packing? HARD
34OEA time step
- Determine the maximum allowable time step by
letting each pedestrian to move - No less than Smax.
- Can be even bigger if all (obstacles and
pedestrians) are at least d gt Smax apart.
35OEA time step
- OEA is a physical process. Need time.
- Deduce the needed time from change of momentum
and feasible force.
time left for other physical processes
36fOE
- fOE
- a free parameter, how hard he can bounce away
from overlapping objects. - Related to skeleton elasticity, c.f. k for
muscle elasticity.
37Problem 2 of HMFV
- Too small B
- 8 cm 1.4G
- or say, 50 cm for less then a weight of a
baseball. - Consider walking toward a wall.
- Too bouncy.
- Oscillation expected.
38Density Effects of the Social Force
- Since B is larger now
- need to suppress the social repulsion as the
person approaches a dense crowd density is high.
K0 0.3 K1 gt1
Normalized density
D0 diameter of pedestrian
39Orientational Dependence of the Social Force
- Face-to-back W1
- Give extra weight to Face-to-face W2
40Orientational Dependence of the Social Force
- Face-to-back W1
- Give extra weight to Face-to-face W2
41Helbing 05
- Add some more features
- Impatience
- average speed into the desired direction
of motion. - Long waiting times decrease the actual velocity
compared to the desired one, which increases the
desired velocity
42More features
- Fluctuation
- Orientational effects
0.2
0.8
43Helbing 05 Interesting Suggestions
44Helbing 05 Interesting Suggestions
45What is left in this lecture
- Examples of method-specific local dynamics
- in AERO
- in Autonomous Pedestrians Shao and Terzopoulos
05 - HiDAC in more details
- following Nicks lecture.
46Local Dynamics in AERO
47Local Dynamics in AERO
- New face Roadmap force field
lk
p
48Autonomous Pedestrians
- Rule-based.
- local rules
- A B D E F collision avoidance.
- C Modified Potential field. To maintain
separation in a moving crowd.
49Autonomous Pedestrians
- Temporary Crowd
- Moving in similar directions
- Situated within a parabolic region in front of H.
- ri repulsiveness
- di distance to Ci
fi
di
50HiDAC
51Avoidance Forces
- f F not force. but unit directional vector.
- Used to direct the speed (scalar).
52Avoidance Forces
- desired attractor (FiAt)
- walls w (FwiWa)
- obstacles k(FkiOb) and
- other agents j (FjiOt)
- trying to keep its previous direction of
movement to avoid abrupt changes in its
trajectory (FiTon -1).
53Avoiding Obstacles
Rectangle of influence
- Perpendicular to dki or nw
- Tangent.
54Avoiding Agents
- Tangent
- distance factor
- orientation factor
55Repulsion Force
- Recall
- Dimension displacement
- Use directly move the agent out of the
overlapping situation - 0.3 priorities between agents and walls or
obstacles.
56Repulsion Force (Displacement)
57Note
- Unlike Helbings model. More like RVO.
- Directly manipulate velocities. No real forces.
- Speed never blows off. Decide directions
mostly. - Stops and waits next page.
58Resolving Shaking
- Stopping rule
- If others push against you and you are not
panicking, you stop. - To avoid deadlock, a timer is set.
- alpha becomes zero can change position only if
pushed by others.
59Resolving Shaking
- Waiting rule
- If another agent j walking in the same direction
falls within the disk. - Timer too.
- Until the condition no longer holds.
60Pushing
- Waiting rule
- If another agent j walking in the same direction
falls within the disk. - Timer too.
- Until the condition no longer holds.
61Panic
- High level
- Communication
- Low level
- crowd density goes up.
- pushing occurs frequently.
62References
- OVM
- A. Nakayama and Y. Sugiyama. Two-Dimensional
Optimal Velocity Model for Pedestrians and
Biological Motion. AIP Conference Proceedings
2003661107 - A. Nakayama and Y. Sugiyama. Group Formation of
Organisms in 2-Dimensional OV Model. Traffic and
Granular Flow 03 2005399-404 - A. Nakayama, Katsuya Hasebe and Y. Sugiyama.
Instability of Pedestrian Flow and Phase
Structure, Physical Review E 200571036121 - Social Force
- D. Helbing, I. Farkas, and T. Vicsek, "Simulating
Dynamical Features of Escape Panic,"
cond-mat/0009448, September 2000. - D. Helbing et al., "Self-Organized Pedestrian
Crowd Dynamics Experiments, Simulations, and
Design Solutions," Transportation Science, vol.
39, pp. 1-24, 2005. - T.I. Lakoba, D.J. Kaup, and N.M. Finkelstein,
"Modifications of the Helbing-Molnar-Farkas-Vicsek
Social Force Model for Pedestrian Evolution,"
SIMULATION, vol. 81, pp. 339, 2005. - D. Helbing, A. Johansson, and H.Z. Al-Abideen,
"Dynamics of crowd disasters An empirical
study," Physical Review E, vol. 75, pp. 46109,
2007. - W. Yu and A. Johansson, "Modeling crowd
turbulence by many-particle simulations,"
Physical Review E, vol. 76, pp. 46105, 2007. - Crowd Simulation in Graphics
- W. Shao and D. Terzopoulos, "Autonomous
pedestrians," Proceedings of the 2005 ACM
SIGGRAPH/Eurographics symposium on Computer
animation, pp. 19-28, 2005. - N. Pelechano, J.M. Allbeck, and N.I. Badler,
"Controlling individual agents in high-density
crowd simulation," Proceedings of the 2007 ACM
SIGGRAPH/Eurographics symposium on Computer
animation, pp. 99-108, 2007. - A. Sud et al, "Real-time navigation of
independent agents using adaptive roadmaps,"
Proceedings of the 2007 ACM symposium on Virtual
reality software and technology, pp. 99-106, 2007.