CN103870639A - Moving target tendency motion model, and three-dimensional dynamic building method and system thereof - Google Patents
Moving target tendency motion model, and three-dimensional dynamic building method and system thereof Download PDFInfo
- Publication number
- CN103870639A CN103870639A CN201410073589.8A CN201410073589A CN103870639A CN 103870639 A CN103870639 A CN 103870639A CN 201410073589 A CN201410073589 A CN 201410073589A CN 103870639 A CN103870639 A CN 103870639A
- Authority
- CN
- China
- Prior art keywords
- moving target
- moving
- information
- module
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000033001 locomotion Effects 0.000 title claims abstract description 55
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000004088 simulation Methods 0.000 claims abstract description 69
- 238000004364 calculation method Methods 0.000 claims abstract description 48
- 238000012544 monitoring process Methods 0.000 claims abstract description 15
- 230000010365 information processing Effects 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims abstract description 7
- 238000004422 calculation algorithm Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 4
- 230000029251 gravitaxis Effects 0.000 claims 2
- 238000002203 pretreatment Methods 0.000 claims 1
- 230000004044 response Effects 0.000 claims 1
- 238000007781 pre-processing Methods 0.000 abstract description 10
- 238000005516 engineering process Methods 0.000 description 9
- 230000026058 directional locomotion Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012800 visualization Methods 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 238000005094 computer simulation Methods 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动目标趋向性运动三维仿真。The invention relates to a three-dimensional simulation of the directional movement of a moving target.
背景技术Background technique
随着计算机技术的不断提高,对于移动目标趋向性运动的研究越来越多地应用到了计算机仿真技术。利用仿真技术,人们可以直接在计算机上观察到移动目标在某个区域内的有趋向性的移动情况,记录移动目标的方位,计算移动用时。采用计算机来模拟移动目标的运动趋势,具有较强的直观性,而且这种模拟不需要付出实际的代价。正由于上述优点,移动目标趋向性运动的研究得到了国内外学者的重视,出现了多种仿真模型。With the continuous improvement of computer technology, the research on the directional motion of moving objects is more and more applied to computer simulation technology. Using simulation technology, people can directly observe the trending movement of the moving target in a certain area on the computer, record the position of the moving target, and calculate the time spent on moving. Using a computer to simulate the movement trend of a moving target is highly intuitive, and this simulation does not need to pay actual costs. Due to the above advantages, the research on the directional motion of moving targets has been paid attention by scholars at home and abroad, and many simulation models have emerged.
移动目标趋向性运动的仿真模型根据标准不同可以分为很多种,较为常用的有磁场力模型、社会力模型和元胞自动机模型。但是,这些仿真模型都存在着一些不足之处。磁场力模型将移动目标以及障碍物全部视为有磁性的个体,运动中满足库伦定律,不过其模型参数目前无法被验证是合理的;社会力模型将移动目标视为粒子,粒子的运动符合牛顿运动定律,由牛顿运动方程求解得到运动方向和速度,该方法得到的数值精确,但是其编程极为繁琐,运算量巨大不利于应用在工程上;元胞自动机模型将空间和时间变成离散状,具有较好的仿真效果,不过“场域”构建非常繁琐,而且功能上还不能被完全实现。The simulation model of the moving target's tendency to move can be divided into many kinds according to different standards, and the more commonly used ones are the magnetic force model, the social force model and the cellular automata model. However, these simulation models all have some shortcomings. The magnetic field force model regards moving targets and obstacles as magnetic individuals, and Coulomb’s law is satisfied in motion, but its model parameters cannot be verified at present. It is reasonable; the social force model regards moving targets as particles, and the movement of particles conforms to Newton’s The law of motion, the direction and speed of motion are obtained by solving Newton's equation of motion. The value obtained by this method is accurate, but its programming is extremely cumbersome, and the huge amount of calculation is not conducive to application in engineering; the cellular automata model turns space and time into discrete states , which has a good simulation effect, but the construction of the "field" is very cumbersome, and the function cannot be fully realized.
同时,现行的移动目标趋向性运动的仿真系统主要利用传统的二维仿真技术,在可视化方面不能满足具体应用系统的移动目标种类多、运动复杂、趋向各异性等特点,不能对真实移动目标进行深层次刻画并提供全方位多角度的三维仿真展示。At the same time, the current simulation system of the moving target's tendency movement mainly uses the traditional two-dimensional simulation technology, which cannot meet the characteristics of the specific application system in terms of visualization, such as many types of moving targets, complex movements, and heterogeneous trends. In-depth description and provide a full range of multi-angle 3D simulation display.
发明内容Contents of the invention
针对现有技术的上述特点,本发明的目的在提出了一种基于“格子气”模型的移动目标趋向性运动模型及其三维建模与仿真系统及其方法。格子气模型,该模型运算规则简单,计算效率高,在保证仿真效果的同时,提高了系统性能。Aiming at the above-mentioned characteristics of the prior art, the purpose of the present invention is to propose a moving object tendency motion model based on the "lattice gas" model, its three-dimensional modeling and simulation system and its method. Lattice gas model, the model has simple operation rules and high calculation efficiency, which improves the system performance while ensuring the simulation effect.
本发明给出的技术方案为:The technical scheme provided by the present invention is:
一种移动目标趋向性运动模型及其三维动态构建系统,其特征在于,该系统包括预处理层、运算层、显示层、和数据层。所述预处理层包括系统配置信息处理模块、移动区域信息处理模块和移动目标信息处理模块。所述运算层包括仿真计算模块和监听模块,其中仿真计算模块又包括移动目标运动计算模块和移动区域信息更新模块,监听模块又包括接收消息模块和发送消息模块。所述显示层包括移动目标显示模块和移动区域显示模块。所述数据层包括移动目标信息、移动区域信息和三维模型,数据层为预处理层、运算层和显示层提供所需的数据信息和模型库。它们之间的关系为:A moving target tendency motion model and its three-dimensional dynamic construction system are characterized in that the system includes a preprocessing layer, a calculation layer, a display layer, and a data layer. The preprocessing layer includes a system configuration information processing module, a moving area information processing module and a moving target information processing module. The computing layer includes a simulation calculation module and a monitoring module, wherein the simulation calculation module further includes a moving target motion calculation module and a moving area information update module, and the monitoring module further includes a message receiving module and a message sending module. The display layer includes a moving target display module and a moving area display module. The data layer includes moving target information, moving area information and a three-dimensional model, and the data layer provides required data information and model library for the preprocessing layer, computing layer and display layer. The relationship between them is:
所述系统配置信息处理模块,从配置文件中读取仿真系统的总体配置信息,这些信息是由用户设定的,配置与系统仿真相关的各种控制以及设置信息,包括格子气模型的偏向强度参数D、移动目标运动速度和数目等。The system configuration information processing module reads the overall configuration information of the simulation system from the configuration file, which is set by the user, configures various controls and setting information related to the system simulation, including the bias strength of the lattice gas model Parameter D, moving target speed and number, etc.
所述移动区域信息处理模块,将移动区域进行划分,得到同等大小的M*N个格子区域,并为每个格子设定对应的ID号和状态信息。The mobile area information processing module divides the mobile area to obtain M*N grid areas of the same size, and sets a corresponding ID number and status information for each grid.
所述移动目标信息处理模块,为每个移动目标初始化个体信息,主要包括:移动目标位置ID、移动目标的目标ID以运动趋向。The moving target information processing module initializes individual information for each moving target, mainly including: moving target position ID, moving target ID and movement trend.
所述仿真计算模块,是运算层乃至整个仿真系统的核心模块。采用格子气模型进行仿真,判断移动目标所处的位置状态,确定其运动方向并更新其位置信息,同时还需要更新相应网格的信息。仿真计算模块又包括移动目标运动计算模块、和移动区域信息更新模块,所述移动目标运动计算模块主要负责处理移动目标的状态信息,即包括计算运动方向和更新位置信息。移动区域信息更新模块主要负责更新移动区域的状态信息,即包括移动区域状态可用性和区域中的移动目标信息。移动目标运动计算模块和移动区域信息更新模块是两个独立分开的模块,当仿真过程中环境发生变化则只需要更新移动区域信息,则也只调用移动区域信息更新模块即可,所以有时系统只会调用其中的一个模块。The simulation calculation module is the core module of the calculation layer and even the whole simulation system. The lattice gas model is used for simulation to judge the position and state of the moving target, determine its motion direction and update its position information, and at the same time update the information of the corresponding grid. The simulation calculation module further includes a moving object motion calculation module and a moving area information update module, the moving object motion calculation module is mainly responsible for processing the state information of the moving object, including calculating the moving direction and updating the position information. The mobile area information update module is mainly responsible for updating the status information of the mobile area, including the availability of the status of the mobile area and the information of the moving target in the area. The moving target motion calculation module and the moving area information update module are two independent modules. When the environment changes during the simulation process, only the moving area information needs to be updated, and only the moving area information update module can be called, so sometimes the system only needs to update the moving area information. One of the modules will be called.
所述监听模块,负责与后台服务器之间的通讯,采用后台线程的模式,监听并接收服务器端的消息,并将消息及时传送给仿真计算模块。监听模块又包括接收消息模块和发送消息模块。监听模块主要负责整个仿真过程中与后台的通讯任务,随时对后台的信息做出响应,根据接收的消息分别调用仿真计算模块中的移动区域信息更新模块和/或移动目标运动计算模块以执行相应的仿真计算。在整个仿真过程中,监听模块始终处于运行状态。The monitoring module is responsible for communication with the background server, adopts the mode of background thread, monitors and receives the message of the server, and transmits the message to the simulation calculation module in time. The monitoring module further includes a message receiving module and a message sending module. The monitoring module is mainly responsible for the communication tasks with the background during the whole simulation process, responds to the background information at any time, and calls the moving area information update module and/or the moving target motion calculation module in the simulation calculation module to perform corresponding tasks according to the received messages. simulation calculation. During the whole simulation process, the monitoring module is always running.
所述显示层的移动目标显示模块和移动区域显示模块同时接收仿真计算模块发送的脚本信息,串行更新移动目标的当前位置。The moving target display module and the moving area display module of the display layer simultaneously receive the script information sent by the simulation calculation module, and update the current position of the moving target serially.
一种移动目标趋向性运动模型及其三维动态构建方法,其特征在于,包括步骤:A moving target tendency motion model and a three-dimensional dynamic construction method thereof, characterized in that it comprises the steps of:
预处理步骤一:配置系统信息,设定好格子气模型的偏向强度参数D、移动目标运动速度和数目;划分好移动区域,得到同等大小的M*N个格子区域,并为每个格子设定对应的ID号和状态信息;对每个移动目标的移动目标位置ID、移动目标的目标ID、运动趋向这些个体信息进行初始化。Preprocessing step 1: Configure system information, set the bias strength parameter D of the grid gas model, the moving speed and number of moving targets; divide the moving area, obtain M*N grid areas of the same size, and set Determine the corresponding ID number and state information; initialize the individual information such as the moving target position ID, the moving target ID, and the movement trend of each moving target.
运算处理步骤二:对步骤一预处理后输出的数据采用格子气模型进行仿真计算,判断移动目标所处的位置状态,确定其运动方向并更新其位置信息,同时更新相应网格的信息。同时,负责与后台服务器之间的通讯,采用后台线程的模式,监听并接收服务器端的消息,并将消息反馈仿真计算。Operational processing step 2: Use the lattice gas model to simulate and calculate the data output after the preprocessing in step 1, judge the position state of the moving target, determine its motion direction and update its position information, and update the information of the corresponding grid at the same time. At the same time, it is responsible for the communication with the background server, adopts the mode of background thread, monitors and receives the message of the server, and feeds the message back to the simulation calculation.
所述采用格子气模型进行仿真计算,为采用随机串行的更新算法,流程如下:The simulation calculation using the lattice gas model is a random serial update algorithm, and the process is as follows:
1)产生移动目标个体的更新的随机次序;1) Generate a random sequence of updates for moving target individuals;
2)按步骤1产生的次序,检查并且判断移动目标所处的状态;2) According to the order generated in step 1, check and judge the state of the moving target;
3)根据所处的状态,按照格子气模型的公式计算出移动目标个体向周围各个方向上移动的概率大小并由此确定下一步的运动方向;3) According to the state, according to the formula of the lattice gas model, the probability of moving the target individual to move in various directions around is calculated, and thus the next movement direction is determined;
4)计算步骤3中移动目标个体的移动,更新网格和移动目标数据结构中的信息;4) Calculate the movement of the moving target individual in step 3, and update the information in the grid and moving target data structure;
5)重复步骤2-4,直到所有移动目标的位置完成一次更新;5) Repeat steps 2-4 until the positions of all moving targets are updated once;
6)重复步骤1-5,终止仿真运行。6) Repeat steps 1-5 to terminate the simulation run.
显示步骤三:接收步骤二仿真计算获得的移动目标更新后的位置信息,串行更新移动目标的当前位置,显示出移动目标和移动区域。Display step 3: receive the updated position information of the moving target obtained by the simulation calculation in step 2, update the current position of the moving target serially, and display the moving target and the moving area.
本发明采用流体动力学中的格子气模型作为核心技术,并辅助以三维展示技术将其应用于移动目标趋向性运动的仿真系统中,通过格子气模型保证一定的仿真效果同时提高了系统性能,通过三维展示技术满足了仿真系统在可视化方面移动目标种类多、运动复杂、趋向各异性等特点,最终提供了对具体移动目标进行深层次刻画和全方位多角度展示的三维仿真系统。The present invention adopts the lattice gas model in fluid dynamics as the core technology, and applies it to the simulation system of the directional motion of the moving target with the aid of three-dimensional display technology. The lattice gas model ensures a certain simulation effect and improves the system performance at the same time. The 3D display technology satisfies the characteristics of the simulation system in terms of visualization, such as many types of moving targets, complex movements, and heterogeneous trends, and finally provides a 3D simulation system that can deeply describe specific moving targets and display them from all directions and from multiple angles.
附图说明Description of drawings
图1移动区域内的网格空间。Figure 1. Grid space within a moving region.
图2移动目标趋向性运动示意图。Fig. 2 Schematic diagram of the directional motion of the moving target.
图3移动目标八种状态(图中圆点代表移动目标,交叉点代表该位置已被其移动目标或障碍物占据)。Figure 3 Eight states of the moving target (the dot in the figure represents the moving target, and the intersection represents that the position has been occupied by its moving target or obstacle).
图4仿真计算模块流程图。Figure 4 is a flow chart of the simulation calculation module.
图5移动目标趋向性运动三维仿真系统体系结构示意图。Figure 5. Schematic diagram of the architecture of the 3D simulation system for the directional motion of the moving target.
具体实施方式Detailed ways
“格子气”模型属于离散型的仿真模型,无论是它的空间、时间,还是移动目标的速度等变量都具有离散性。在空间上,模型中的移动区域二维空间平面都被同等划分成多个与移动目标大小一致的正方形网格,如图1所示。The "lattice gas" model is a discrete simulation model, and its variables such as space, time, and the speed of the moving target are all discrete. In space, the two-dimensional space plane of the moving area in the model is equally divided into multiple square grids with the same size as the moving target, as shown in Figure 1.
在场景中,无论何时网格只有两种状态,分别为空闲和占用,因此各个网格中的移动目标之间不允许有重叠现象发生。在时间维上,整个移动目标趋向性运动模拟的过程被分成多个时间步。每个移动目标在一个时间步内只能移动一个网格位置,且只能移动一次位置。在这个模型中,规定移动目标不可以向后移动,只能以一定的概率从向其周围的空网格进行移动。同时,运动的优势方向被移动目标认为是目的点位置。因此,随着运动的展开,移动目标会朝着目的点方位移动,它们的位置也会不断发生变化。当移动目标处于不同的位置,他们的优势方向也不同。“偏向强度”(Drift)是格子气仿真模型的一个概念,移动目标对其移动方向的喜好程度可用偏向强度参数D表示,它也是决定移动目标向临近网格运动的概率的主要参数。当偏向强度参数D的值越大,移动目标运动的目的性就越强。根据格子气模型的规则,移动目标向其周围各方向移动的概率会有多种情况,下面针对这些可能出现的情况一一进行探讨。图2所示为移动目标从一个移动区域内向出口进行疏散的趋向性运动示意图。In the scene, the grid has only two states at any time, which are idle and occupied, so there is no overlap between moving objects in each grid. In the time dimension, the process of the whole moving object directional motion simulation is divided into multiple time steps. Each moving target can only move one grid position in one time step, and only one position can be moved. In this model, it is stipulated that the moving target cannot move backwards, but can only move from the empty grid around it with a certain probability. At the same time, the dominant direction of motion is considered as the destination point position by the moving target. Therefore, as the motion unfolds, the moving objects move towards the destination point bearing and their positions are constantly changing. When moving targets are in different positions, their dominant directions are also different. "Drift" is a concept of the grid gas simulation model. The degree of preference of the moving target to its moving direction can be expressed by the parameter D of the drift. It is also the main parameter that determines the probability of the moving target moving to the adjacent grid. When the value of the bias strength parameter D is larger, the purpose of the moving target movement is stronger. According to the rules of the lattice gas model, there are many situations in which the probability of the moving target moving in various directions around it. The following will discuss these possible situations one by one. Figure 2 is a schematic diagram of the tendency movement of a moving target to evacuate from a moving area to an exit.
在图3所示的矩形移动区域中,在上方中间只有一个出口。我们以出口的两边为界把移动区域分为左侧、中间以及右侧三个区域。In the rectangular movement area shown in FIG. 3, there is only one exit in the upper middle. We divide the mobile area into three areas: the left, the middle, and the right, taking the two sides of the exit as the boundary.
以移动目标位于出口的左侧区域内为例,其移动的优势方向为向上和向右。此时,该移动目标可能处于的所有八种状态如图3所示。Taking the moving target located in the left area of the exit as an example, the dominant direction of its movement is upward and rightward. At this time, all eight possible states of the moving target are shown in FIG. 3 .
移动目标在各个状态下的各个方向运动概率可由以下公式(1.1)计算得到。The probabilities of movement in each direction of the moving target in each state can be calculated by the following formula (1.1).
(a)Pt,y=Dy+(1D)/3,Pt,x=Dx+(1D)/3,Pt,x=(1D)/3(a)P t,y =D y +(1D)/3,P t,x =D x +(1D)/3,P t,x =(1D)/3
(b)Pt,y=Dy+(1D)/2,Pt,x=Dx+(1D)/2,Pt,x=0(b)P t,y =D y +(1D)/2,P t,x =D x +(1D)/2,P t,x =0
(c)Pt,y=Dy+(1D)/2,Pt,x=0,Pt,x=(1D)/2(c)P t,y =D y +(1D)/2,P t,x =0,P t,x =(1D)/2
(d)Pt,y=0,Pt,x=Dx+(1D)/2,Pt,x=(1D)/2 (1.1)(d)P t,y =0,P t,x =D x +(1D)/2,P t,x =(1D)/2 (1.1)
(e)Pt,y=1,Pt,x=0,Pt,x=0(e)P t,y =1,P t,x =0,P t,x =0
(f)Pt,y=0,Pt,x=1,Pt,x=0(f)P t,y =0,P t,x =1,P t,x =0
(g)Pt,y=0,Pt,x0,Pt,x=1(g)P t,y =0,
(h)Pt,y=Pt,x=Pt,x=0(h)P t,y =P t,x =P t,x =0
在上面的公式中,Pt,x、Pt,x、Pt,x分别表示移动目标向上、向左、向右方向运动的概率。其中D表示的是偏向强度,Dx表示的是D在x轴的分量而Dy表示的是D在y轴的分量,它们的计算公式如公式(1.2)所示。In the above formula, P t,x , P t,x , and P t,x represent the probabilities of the moving target moving upward, leftward, and rightward, respectively. Among them, D represents the bias strength, D x represents the component of D on the x-axis and D y represents the component of D on the y-axis, and their calculation formulas are shown in formula (1.2).
Dx=D|x x0|/(|x x0||y y0|)(1.2)D x = D|x x 0 |/(|x x 0 ||y y 0 |)(1.2)
Dy=D|y y0|/(|x x0||y y0|)D y =D|y y 0 |/(|x x 0 ||y y 0 |)
其中,(x,y)是移动目标的坐标,(x0,y0)为目标点中心的坐标。Wherein, (x, y) are the coordinates of the moving target, and (x 0 , y 0 ) are the coordinates of the center of the target point.
“格子气”模型采用随机串行的更新算法。每个移动目标在每个时间步中按照一组随机生成的序号,依次调用仿真计算模块进行计算、更新。该模块的基本流程如下:The "lattice gas" model uses a random serial update algorithm. Each moving target calls the simulation calculation module in turn to calculate and update according to a set of randomly generated serial numbers in each time step. The basic flow of this module is as follows:
7)产生移动目标个体的更新的随机次序;7) Generate a random sequence of updates for moving target individuals;
8)按步骤1产生的次序,检查并且判断移动目标所处的状态(即格子气模型中移动目标可能的八种状态);8) According to the order generated in step 1, check and judge the state of the moving target (that is, the eight possible states of the moving target in the lattice gas model);
9)根据所处的状态,按照格子气模型的公式计算出移动目标个体向周围各个方向上移动的概率大小并由此确定下一步的运动方向;9) According to the state, calculate the probability of moving the target individual to move in all directions around according to the formula of the lattice gas model, and then determine the next movement direction;
10)计算步骤3中移动目标个体的移动,更新网格和移动目标数据结构中的信息;10) Calculate the movement of the moving target individual in step 3, and update the information in the grid and moving target data structure;
11)重复步骤2-4,直到所有移动目标的位置完成一次更新;11) Repeat steps 2-4 until the positions of all moving targets are updated once;
12)重复步骤1-5,系统终止仿真运行。12) Repeat steps 1-5, the system terminates the simulation run.
上述流程中,步骤1-5是由仿真计算模块独立完成的,步骤6则是由系统的主程序调用仿真计算模块实现的。系统仿真的整个流程图如图4所示。In the above process, steps 1-5 are independently completed by the simulation calculation module, and step 6 is realized by calling the simulation calculation module by the main program of the system. The entire flow chart of the system simulation is shown in Figure 4.
图5所示为一种基于格子气模型的移动目标趋向性运动的三维仿真系统。该系统包括预处理层、运算层、数据层、显示层。所述预处理层主要任务是完成初始化工作。这一层的主要功能包括从外部文件中导入各种预定义信息,根据获得的信息,在移动区域内划分网格,生成网格信息,同时生成移动目标信息,然后将生成的信息发送到运算层,完成的工作本质上就是仿真开始前的一系列准备工作。所述运算层主要包括仿真系统的仿真计算模块和监听模块两部分。其中,仿真计算模块是整个仿真系统的核心模块,该模块根据事先定义的规则,采用“格子气”模型,判断每个移动目标的运动方向并确定移动路径,更新整个区域内的网格信息。仿真计算模块又包括移动目标运动计算模块、和移动区域信息更新模块,所述移动目标运动计算模块主要负责处理移动目标的状态信息,即包括计算运动方向和更新位置信息。移动区域信息更新模块主要负责更新移动区域的状态信息,即包括移动区域状态可用性和区域中的移动目标信息。监听模块又包括接收消息模块和发送消息模块。监听模块主要负责整个仿真过程中与后台的通讯任务,随时对后台的信息做出响应,根据接收的消息分别调用仿真计算模块中的移动区域信息更新模块和/或移动目标运动计算模块以执行相应的仿真计算。在整个仿真过程中,监听模块始终处于运行状态。所述显示层负责根据运算层处理得到的各种数据,通过三维场景中提供的接口,调用脚本语句,从而将数据的变化反映到显示层中,包括移动目标的运动等等。所述数据层包含移动目标信息、移动区域信息以及三维模型,为系统的顺利运行提供必要的数据支持。仿真系统中最主要的数据结构是移动目标信息和移动区域信息,这两个信息的改变直接影响三维前端的展示。此外,数据层还包含各种三维模型的具体信息。Fig. 5 shows a three-dimensional simulation system of a moving target's tendency to move based on a lattice gas model. The system includes a preprocessing layer, a computing layer, a data layer, and a display layer. The main task of the preprocessing layer is to complete the initialization work. The main functions of this layer include importing various predefined information from external files, dividing the grid in the moving area according to the obtained information, generating grid information, and generating moving target information at the same time, and then sending the generated information to the calculation The completed work is essentially a series of preparatory work before the start of the simulation. The operation layer mainly includes two parts of the simulation calculation module and the monitoring module of the simulation system. Among them, the simulation calculation module is the core module of the whole simulation system. According to the rules defined in advance, this module adopts the "lattice gas" model to judge the movement direction of each moving target and determine the moving path, and update the grid information in the entire area. The simulation calculation module further includes a moving object motion calculation module and a moving area information update module, the moving object motion calculation module is mainly responsible for processing the state information of the moving object, including calculating the moving direction and updating the position information. The mobile area information update module is mainly responsible for updating the status information of the mobile area, including the availability of the status of the mobile area and the information of the moving target in the area. The monitoring module further includes a message receiving module and a message sending module. The monitoring module is mainly responsible for the communication tasks with the background during the whole simulation process, responds to the background information at any time, and calls the moving area information update module and/or the moving target motion calculation module in the simulation calculation module to perform corresponding tasks according to the received messages. simulation calculation. During the whole simulation process, the monitoring module is always running. The display layer is responsible for invoking script statements through interfaces provided in the three-dimensional scene according to various data processed by the operation layer, so as to reflect changes in data to the display layer, including the movement of moving objects and the like. The data layer includes moving target information, moving area information and a three-dimensional model, providing necessary data support for the smooth operation of the system. The most important data structures in the simulation system are moving target information and moving area information. The changes of these two information directly affect the display of the 3D front end. In addition, the data layer also contains specific information for various 3D models.
本发明的创新点:Innovation point of the present invention:
1)本发明将格子气模型技术应用于移动目标趋向性运动仿真系统,该模型运算规则简单,计算效率高,在保证仿真效果的同时提高了系统性能。1) The present invention applies the lattice gas model technology to a moving target directional motion simulation system. The model has simple operation rules and high calculation efficiency, and improves the system performance while ensuring the simulation effect.
2)本发明采用三维展示技术,满足了仿真系统在可视化方面移动目标种类多、运动复杂、趋向各异性等特点,提供了对具体移动目标进行深层次刻画和全方位多角度展示的三维仿真系统。2) The present invention adopts the three-dimensional display technology, which satisfies the characteristics of the simulation system in terms of visualization, such as many types of moving targets, complex movements, and heterogeneity of trends, and provides a three-dimensional simulation system for in-depth description and omnidirectional multi-angle display of specific moving targets .
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410073589.8A CN103870639A (en) | 2014-02-28 | 2014-02-28 | Moving target tendency motion model, and three-dimensional dynamic building method and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410073589.8A CN103870639A (en) | 2014-02-28 | 2014-02-28 | Moving target tendency motion model, and three-dimensional dynamic building method and system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103870639A true CN103870639A (en) | 2014-06-18 |
Family
ID=50909166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410073589.8A Pending CN103870639A (en) | 2014-02-28 | 2014-02-28 | Moving target tendency motion model, and three-dimensional dynamic building method and system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870639A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101774700A (en) * | 2009-12-30 | 2010-07-14 | 北京工业大学 | Cellular automata model-based visual simulation method for sewage purification process |
-
2014
- 2014-02-28 CN CN201410073589.8A patent/CN103870639A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101774700A (en) * | 2009-12-30 | 2010-07-14 | 北京工业大学 | Cellular automata model-based visual simulation method for sewage purification process |
Non-Patent Citations (2)
Title |
---|
张鹏 等: "格子气模型在机场出港大厅旅客疏散过程应用", 《中国民航学院学报》 * |
战洪仁 等: "多方位粒子相互作用的格子气自动机法相变模型", 《材料与冶金学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111260764B (en) | Method, device and storage medium for making animation | |
CN110299042B (en) | Immersive nuclear power plant main equipment process simulation deduction method and system | |
CN110411464B (en) | Three-dimensional point cloud map generation method, device, equipment and storage medium | |
CN103440357B (en) | Virtual reality roaming scence generates method and system | |
EP3759692B1 (en) | Automatic rig creation process | |
CN107423458A (en) | Steel manufacture process analogue system | |
CN103679264A (en) | Crowd evacuation path planning method based on artificial fish swarm algorithm | |
CN102331711A (en) | Formation control method for mobile autonomous robots | |
CN109003322A (en) | A kind of three-dimensional ocean waves simulation optimization method of dynamic positioning ship operation on the sea | |
CN105808071A (en) | Display control method and device and electronic equipment | |
O'Brien et al. | Automatic simplification of particle system dynamics | |
CN102063534B (en) | High furnace overhaul project schedule three-dimensional simulation device and method | |
US20220019939A1 (en) | Method and system for predicting motion-outcome data of a robot moving between a given pair of robotic locations | |
US11380058B2 (en) | Method and apparatus for continuity based smoothing | |
CN107515966A (en) | A kind of radar simulator system layering construction method based on DDS | |
CN115393538A (en) | Visual SLAM method and system for indoor dynamic scenes based on deep learning | |
Hung et al. | Automatic clustering method for real-time construction simulation | |
CN109491381A (en) | Multiple mobile robot based on observer adaptively forms into columns tracking and controlling method | |
Kim et al. | Collaborative visualization of a warfare simulation using a commercial game engine | |
CN103870639A (en) | Moving target tendency motion model, and three-dimensional dynamic building method and system thereof | |
CN113129456A (en) | Vehicle three-dimensional model deformation method and device and electronic equipment | |
Guan et al. | Real-time 3d visualization for distributed simulations of vanets | |
CN113313809A (en) | Rendering method and device | |
CN105635806A (en) | Rendering method of group motion scene | |
KR101858108B1 (en) | Motion simulating apparatus and method for robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140618 |
|
RJ01 | Rejection of invention patent application after publication |