A dynamic generation and interactive control system suitable for various visual fire scenes
By using a dynamic interactive control system to generate multiple fire scene visuals, the problems of discrepancies between the model and the actual geographical distribution, the lack of dynamic effects, and the low coupling degree of multiple physical fields in fire simulation systems have been solved. This system enables dynamic demonstrations of various fire source types and scientific fire extinguishing assessments, thereby improving the realism of fire scene visuals and emergency simulation capabilities.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ACCEL (TIANJIN) FLIGHT SIMULATION CO LTD
- Filing Date
- 2026-01-30
- Publication Date
- 2026-05-26
AI Technical Summary
Existing fire simulation systems generate fire scene models that differ significantly from actual geographical distributions, making them unsuitable for diverse fire scene scenarios. Their dynamic effects are limited, and the realism of smoke diffusion and fire intensity changes is lacking. They also exhibit low coupling between multiple physical fields, lack scientific evaluation in fire extinguishing simulations, fail to achieve coordinated interaction between fire, smoke, and wind, and struggle to interact with external systems in real time.
A dynamic generation and interactive control system for fire scenes with multiple visual scenarios is provided, including a fire scene database model generation module, a custom fire scene model generation module, a dynamic fire scene simulation module, a multi-physics coupling module, an interactive control module, and a fire extinguishing module. By simulating the changes in flame height and color, as well as the interaction between smoke and airflow, it supports automatic adjustment and real-time data interaction for multiple scenarios, generates a dynamic fire scene model that conforms to physical laws, and realizes accurate calculation of the fire extinguishing agent coverage area and visual update.
It enhances the realism and dynamic effects of fire scene visualization, supports dynamic demonstrations of various fire source types, simulates the interaction between smoke diffusion and airflow, provides scientific evaluation of fire extinguishing effects, provides a scientific basis for emergency rescue training, realizes real-time data interaction with external systems and flexible parameter configuration, and improves fire emergency simulation and training capabilities.
Smart Images

Figure CN121617305B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fire emergency simulation technology, and in particular to an interactive control system for dynamically generating various visual fire scenes. Background Technology
[0002] In fire emergency rescue training and flight simulation tests, the realism of the fire scene visuals directly affects the training effect and the accuracy of the test. Traditional fire scene simulation systems generate fire scene models that deviate significantly from the actual geographical distribution, failing to provide high-precision basic data for the visual system. At the same time, existing systems do not design differentiated extension logic for different initial fire types (point fire, block fire), resulting in a lack of flexibility in model generation, difficulty in adapting to diverse fire scene scenarios, monotonous dynamic effects, and a lack of realism in the changes of flames and smoke, making it difficult to simulate the dynamic spread of fire due to environmental factors.
[0003] Existing systems suffer from low multiphysics coupling, failing to effectively combine airflow, temperature, and other factors to achieve coordinated simulation of smoke diffusion and fire intensity changes. They also lack dynamic coupling between smoke diffusion and environmental factors such as airflow and temperature. Smoke morphology is mostly of a single type, lacking support for point-like, block-like, area-like smoke, and large smoke plumes of varying diameters. Furthermore, the direction and rate of smoke diffusion cannot be adjusted in real-time according to wind speed and direction, ignoring changes in smoke density gradients and light shading effects. This results in a disconnect between smoke simulation and flame combustion, failing to represent the coordinated interaction of "fire-smoke-wind" in a realistic fire scene. Existing systems also struggle to achieve real-time data interaction with external visual systems and engineering simulators, and their parameter configuration flexibility is insufficient to meet the simulation needs of diverse scenarios.
[0004] Existing fire suppression simulations are mostly simple visualizations of fire weakening, lacking a scientific fire suppression effectiveness assessment system. They cannot accurately generate fire line polygons and extinguishing agent coverage areas using geographic coordinate calculation algorithms, making it difficult to accurately calculate their intersection to assess the fire suppression effect. At the same time, they do not dynamically construct the extinguishing agent coverage area by combining parameters such as aircraft position, attitude, and speed, resulting in a lack of data support for fire suppression command generation and a mismatch between visual updates and actual fire suppression logic. Summary of the Invention
[0005] The present invention aims to at least solve one of the technical problems existing in related technologies. To this end, the present invention provides an interactive control system for dynamically generating various visual fire scenes, which enhances the realism of fire scene visuals by simulating changes in flame height and color, as well as the interaction between smoke and airflow.
[0006] It supports various scenarios such as grasslands, forests, and airports, and can automatically adjust the physical model according to environmental parameters; it can realize real-time data interaction with external systems, support flexible parameter configuration and scripted batch control; it can be used in the fields of simulation test verification, demonstration training and other fields of flight simulation fire emergency scenarios, effectively improving fire emergency simulation and training capabilities.
[0007] This invention provides a dynamic generation and interactive control system for various visual fire scenes, including a fire scene database model generation module, a custom fire scene model generation module, a dynamic fire scene simulation module, a multi-physics field coupling module, an interactive control module, a fire extinguishing module, a parameter configuration management module, and an interface adaptation module.
[0008] The fire scene database model generation module outputs a fire scene model that can be used by the visual system through data cleaning and filtering, geographic point connection analysis and optimized sampling.
[0009] The custom fire scene model generation module generates a dynamic fire scene model that conforms to physical laws through a grid-based fire scene extension model generation algorithm, a time-step incremental fire point detection algorithm, and a direction-sensitive fire spread distance correction algorithm.
[0010] The dynamic fire simulation module selects either a fire scene model that can be used by the visual system or a dynamic fire scene model that conforms to physical laws based on the parameter configuration management module, and dynamically generates various types of fire sources.
[0011] The multiphysics coupling module simulates the dynamic interaction between smoke diffusion and airflow and temperature;
[0012] The fire suppression module generates a fire line polygon based on the fire source type and smoke diffusion process, calculates the coverage area of the fire extinguishing bag / fire extinguishing agent based on the aircraft status, and generates a fire suppression command based on the fire line polygon and the coverage area of the fire extinguishing bag / fire extinguishing agent.
[0013] The interactive control module establishes bidirectional communication with the external visual system and engineering simulator, is compatible with existing databases and communication protocols, receives external control commands and provides real-time feedback of fire scene status data, responds to fire extinguishing commands and controls visual updates.
[0014] The interface adaptation module adapts to various visual systems according to the visual communication protocol, enabling seamless integration with external systems.
[0015] Furthermore, the working steps of the fire scene database model generation module include:
[0016] Read the CSV file and configuration file containing geographic information, and map key fields through the configuration file. The key fields include latitude and longitude, altitude, and fire intensity value.
[0017] The key field data is cleaned by retaining fire intensity values within the valid range;
[0018] By comparing the longitude values of adjacent data, duplicate points with longitude differences less than a threshold are deleted, thus deduplicating key field data.
[0019] The Haversine formula is used to calculate the spherical distance between two points, and the first line relationship is established by filtering point pairs whose distance is less than a first set threshold.
[0020] The connected component with the most points in the first connection relationship is identified by breadth-first search and used as the main connection.
[0021] Points on the main connecting line are sorted in geographical order and sampled according to the baseline distance;
[0022] For the sampled point set, select point pairs whose distance is less than the second set threshold and establish a second connection relationship;
[0023] Based on the second connection relationship and the fire intensity value, determine the fire line model type and smoke model type, and generate a fire model file that conforms to the specified format.
[0024] Furthermore, a grid-based fire spread model generation algorithm generates point-like fire spread models and block-like fire spread models.
[0025] Furthermore, the grid-based fire spread model generation algorithm generates point-like fire spread models, including:
[0026] Using the center point of the point fire as a reference, calculate the maximum spread distance in 360 / M directions at M° intervals, and then generate point fire grid points at intervals of twice the initial radius;
[0027] Calculate the coordinates of the points in the fire grid, the azimuth angle between the points in the fire grid and the center point of the fire, and the straight-line distance between the points in the fire grid and the center point of the fire.
[0028] A point is considered an effective point fire expansion grid point if the straight-line distance between a point fire grid point and the center point of the point fire is less than or equal to the maximum spread distance along the azimuth direction.
[0029] By filtering all point fire grid points, all valid point fire expansion grid points are obtained, forming a point fire field expansion model.
[0030] Furthermore, the grid-based fire spread model generation algorithm generates a blocky fire spread model, including:
[0031] Grid points are generated along the wind direction with the initial block fire length as the spacing, and along the vertical wind direction with the initial block fire vertical wind direction width as the spacing;
[0032] The grid point coordinates are calculated using the grid spacing along the wind direction and the grid spacing perpendicular to the wind direction.
[0033] Calculate the distance between the grid point and the center of the block fire along the wind direction and the distance between the grid point and the center of the block fire along the perpendicular wind direction based on the grid point coordinates;
[0034] The maximum spread distance along the wind direction and the maximum spread distance perpendicular to the wind direction are calculated based on the direction-sensitive fire spread distance correction algorithm.
[0035] A grid point is considered an effective grid point for expanding a block fire if its distance from the center of the block fire along the wind direction is less than or equal to the maximum spread distance along the wind direction and its distance from the center of the block fire along the vertical wind direction is less than or equal to the maximum spread distance along the vertical wind direction.
[0036] By filtering all block fire grid points, all valid block fire expansion grid points are obtained, forming a block fire field expansion model.
[0037] Furthermore, the time-step incremental fire detection algorithm includes:
[0038] The accuracy of the latitude and longitude coordinates of the fire point is standardized by rounding them to the nearest whole number.
[0039] New fire points at each time step with uniform coordinate precision are identified by set difference operation;
[0040] When the number of new fire points in a continuous time step is less than or equal to the fire point number threshold, the addition of fire points stops.
[0041] Furthermore, the direction-sensitive fire spread distance correction algorithm includes:
[0042] Calculate the angle between the wind direction and the fire spread direction, and divide the angle between the wind direction and the fire spread direction into key intervals, including the downwind zone, the headwind zone, and the vertical wind zone.
[0043] A piecewise function is used to define the direction correction coefficients for the downwind, headwind, and perpendicular regions, while linear interpolation is used to calculate the direction correction coefficients for the transition interval.
[0044] The actual fire spread distance is calculated based on the direction correction factor.
[0045] Furthermore, the formulas for calculating the direction correction coefficients in the downwind, headwind, vertical, and transition zones are as follows:
[0046]
[0047] in, This is the direction correction factor. It is the angle between the wind direction and the direction of fire spread.
[0048] Furthermore, the fire extinguishing module includes:
[0049] Fire line model data from the fire scene is used to generate fire line polygons through a geographic coordinate extrapolation algorithm;
[0050] Calculate the extinguishing agent coverage area based on the aircraft's position, attitude, and speed;
[0051] Calculate the intersection of the extinguishing agent coverage area and the fire line polygon;
[0052] The fire extinguishing effectiveness is calculated based on the intersection of the extinguishing agent coverage area and the fire line polygon, and fire extinguishing control commands are automatically generated.
[0053] Furthermore, the interactive control module is compatible with existing databases in the visual system, including airport, terrain, and meteorological databases;
[0054] Supports existing communication protocols for visual systems;
[0055] Receive external control commands, including fire source location, fire scale, and smoke density parameters; provide real-time feedback of fire status data, including flame height and smoke spread range;
[0056] When a fire extinguishing agent release command is received, the fire scene extinguishing script is invoked to control the visual system to update the display effect.
[0057] The above-described one or more technical solutions in the embodiments of the present invention have at least one of the following technical effects:
[0058] This invention addresses the shortcomings of existing fire simulation systems, such as insufficient dynamic effects, low multiphysics coupling, and poor interactivity. The fire scene database model generation module generates fire scene models that can be used by the visual system to display fire scene effects. The custom fire scene model generation module has a spread function, achieving dynamic fire scene simulation that conforms to actual physical laws and generating custom dynamic fire scene models. The dynamic fire scene simulation module can dynamically demonstrate various fire source types, supporting flame height changes, color gradients, and spark splash effects. The multiphysics coupling module can simulate the dynamic interaction between smoke diffusion and airflow / temperature. The fire extinguishing module solves the problems of simplistic fire extinguishing simulation and ambiguous evaluation in existing systems. Simultaneously, fire extinguishing commands directly drive the visual system to update fire and smoke status, forming a closed-loop simulation of fire scene status, fire extinguishing operation, and effect feedback, providing a scientific basis for effect evaluation in emergency rescue training. The interactive control module supports real-time data interaction with external visual systems and engineering simulators. The parameter configuration management module provides a visual interface for customizing fire scene parameters. The interface adaptation module adapts to the visual communication protocol, supporting multiple visual systems. This invention provides realistic dynamic effects, enhancing the realism of fire scene visuals by simulating flame height, color changes, and the interaction between smoke and airflow. It supports various scenarios such as grasslands, forests, and airports, and can automatically adjust the physical model according to environmental parameters. It enables real-time data interaction with external systems, supports flexible parameter configuration and scripted batch control, and can be used in simulation testing, demonstration training, and other fields of flight simulation fire emergency scenarios, effectively improving fire emergency simulation and training capabilities.
[0059] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0060] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0061] Figure 1 This is a structural block diagram of an interactive control system for dynamic generation of fire scenes applicable to various visual scenarios provided by the present invention. Detailed Implementation
[0062] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention. The following embodiments are used to illustrate this invention but cannot be used to limit the scope of this invention.
[0063] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0064] like Figure 1 As shown, a dynamic generation and interactive control system for fire scenes with multiple visual scenarios includes a fire scene database model generation module, a custom fire scene model generation module, a dynamic fire scene simulation module, a multi-physics field coupling module, an interactive control module, a fire extinguishing module, a parameter configuration management module, and an interface adaptation module.
[0065] The fire scene database model generation module outputs a fire scene model that can be used by the visual system through data cleaning and filtering, geographic point connection analysis and optimized sampling.
[0066] The custom fire scene model generation module generates a dynamic fire scene model that conforms to physical laws through a grid-based fire scene extension model generation algorithm, a time-step incremental fire point detection algorithm, and a direction-sensitive fire spread distance correction algorithm.
[0067] The dynamic fire simulation module selects either a fire scene model that can be used by the visual system or a dynamic fire scene model that conforms to physical laws based on the parameter configuration management module, and dynamically generates various types of fire sources.
[0068] The multiphysics coupling module simulates the dynamic interaction between smoke diffusion and airflow and temperature;
[0069] The fire suppression module generates a fire line polygon based on the fire source type and smoke diffusion process, calculates the coverage area of the fire extinguishing bag / fire extinguishing agent based on the aircraft status, and generates a fire suppression command based on the fire line polygon and the coverage area of the fire extinguishing bag / fire extinguishing agent.
[0070] The interactive control module establishes bidirectional communication with the external visual system and engineering simulator, is compatible with existing databases and communication protocols, receives external control commands and provides real-time feedback of fire scene status data, responds to fire extinguishing commands and controls visual updates.
[0071] The interface adaptation module adapts to various visual systems according to the visual communication protocol, enabling seamless integration with external systems.
[0072] The fire scene database model generation module of this invention generates fire scene models that can be used by visual systems to display fire scene effects. The custom fire scene model generation module has a spread function, realizing dynamic fire scene simulation that conforms to actual physical laws and generating custom dynamic fire scene models. The dynamic fire scene simulation module can realize dynamic demonstration of various fire source types, supporting flame height changes, color gradients, and spark splash effects. The multi-physics coupling module can simulate the dynamic interaction between smoke diffusion and airflow and temperature. The fire extinguishing module generates fire extinguishing commands, which directly drive the visual system to update the fire situation and smoke status, forming a closed-loop simulation of fire scene status-fire extinguishing operation-effect feedback, providing a scientific basis for effect evaluation for emergency rescue training. The interactive control module supports real-time data interaction with external visual systems and engineering simulators. The parameter configuration management module provides a visual interface for customizing fire scene parameters. The interface adaptation module adapts according to the visual communication protocol and can support multiple visual systems.
[0073] The fire scene database model generation module is used to generate various fire scene models. This module processes fire scene data based on MATLAB or CSV geographic information, automating the filtering, connection analysis, main connector extraction, optimized sampling, and fire model generation of the raw MATLAB or CSV geographic data. This improves data processing efficiency and model generation accuracy. The generated fire scene models can be used by visual systems to display the fire scene effect.
[0074] The working steps of the fire scene database model generation module include:
[0075] Read the CSV file and configuration file containing geographic information, and map key fields through the configuration file. The key fields include latitude and longitude, altitude, and fire intensity value.
[0076] The key field data is cleaned by retaining data with fire intensity values within the valid range (0-100); duplicate points with longitude differences less than the threshold (1e-9) are deleted by comparing the longitude values of adjacent data.
[0077] The Haversine formula is used to calculate the spherical distance between two points, and the first line relationship is established by filtering point pairs whose distance is less than a first set threshold.
[0078] The connected component with the most points in the first connection relationship is identified by breadth-first search (BFS) and used as the main connection.
[0079] Points on the main connecting line are sorted in geographical order and sampled according to the baseline distance;
[0080] In some specific embodiments of the present invention, the reference distance is 915 meters. Taking the initial point as the reference, points with a distance less than the threshold of 915 meters are deleted, and the process is iterated until all points are filtered.
[0081] For the sampled point set, select point pairs whose distance is less than the second set threshold and establish a second connection relationship;
[0082] Based on the second connection relationship and the fire intensity value, determine the fire line model type and smoke model type, and generate a fire model file that conforms to the specified format.
[0083] For points with only one connection, connect the nearest point whose distance is less than the completion threshold (e.g., 1500 meters).
[0084] In some specific embodiments of the present invention, the second set threshold is 1000 meters.
[0085] A visual interactive interface was built based on Tkinter, including modules for file selection, parameter setting, progress display, log output, and result visualization; enabling automated execution and interactive control of the entire data processing process.
[0086] The custom fire scene model generation module has a spread function, and the grid-based fire scene expansion model generation algorithm generates point fire scene expansion models and block fire scene expansion models.
[0087] The grid-based fire spread model generation algorithm generates point-like fire spread models, including:
[0088] Using the center point of the point fire as a reference, the maximum spread distance in 360 / M directions is calculated at M° intervals. Then, point fire grid points are generated at intervals of twice the initial radius. The expression for calculating the coordinates of the point fire grid points is as follows:
[0089]
[0090] in, For the first The latitude and longitude of each point in the fire grid. The latitude and longitude of the center of the point fire. For the number of grid iterations ( (integer) The initial radius of the point fire is in meters. The grid arrangement direction angle is set to 0°, 45°, 90°, and 135° to achieve full coverage of the square grid.
[0091] Points falling within the spread range in each direction are selected as new fire points;
[0092] The azimuth angle between a point in the ignition grid and the center point of the ignition fire, as well as the straight-line distance between them, are considered valid ignition fire propagation grid points. The calculation expression is as follows:
[0093]
[0094]
[0095] in, The azimuth angle between the point of fire grid and the center point of the point fire, in degrees. The distance between the center point of the fire grid and the center point of the fire is expressed in meters. for Maximum spread distance in the direction. It was calculated using a direction-sensitive fire spread distance correction algorithm.
[0096] By filtering all point fire grid points, all valid point fire expansion grid points are obtained, forming a point fire field expansion model.
[0097] In some specific embodiments of the present invention, M=10.
[0098] The grid-based fire spread model generation algorithm generates a blocky fire spread model, including:
[0099] Grid points are generated along the wind direction with the initial block fire length as the spacing, and along the vertical wind direction with the initial block fire vertical wind direction width as the spacing;
[0100] The expression for calculating the mesh spacing is:
[0101]
[0102] in, The grid spacing is along the wind direction, in meters. The initial length of the block fire along the wind direction. This represents the grid spacing perpendicular to the wind direction, in meters. The initial vertical wind width of the block fire, in meters.
[0103] The grid point coordinates are calculated using the grid spacing along the wind direction and the grid spacing perpendicular to the wind direction. The expression for calculating the grid point coordinates of a block fire is as follows:
[0104]
[0105] in, For the first The latitude and longitude of each block-shaped fire grid point The latitude and longitude of the center of the block fire. This represents the number of iterations for the first grid. This represents the number of iterations for the second grid. , This is the wind direction angle.
[0106] Calculate the distance between the grid point and the center of the block fire along the wind direction and the distance between the grid point and the center of the block fire along the perpendicular wind direction based on the grid point coordinates;
[0107] The maximum spread distance along the wind direction and the maximum spread distance perpendicular to the wind direction are calculated based on the direction-sensitive fire spread distance correction algorithm.
[0108] A grid point is considered a valid grid point for block fire expansion if its distance from the center of the fire along the wind direction is less than or equal to the maximum spread distance along the wind direction and its distance from the center of the fire perpendicular to the wind direction is less than or equal to the maximum spread distance perpendicular to the wind direction; the calculation expression is:
[0109]
[0110] in, The distance between the grid point and the center of the block fire along the wind direction. The maximum spread distance along the wind direction. The distance between the grid point and the center of the block fire, perpendicular to the wind direction. This represents the maximum spread distance in the vertical wind direction.
[0111] By filtering all block fire grid points, all valid block fire expansion grid points are obtained, forming a block fire field expansion model.
[0112] Time-step incremental fire detection algorithms include:
[0113] By rounding the latitude and longitude coordinates of the fire point to ensure consistent accuracy, the calculation expression is as follows:
[0114]
[0115] in, For normalized longitude, The latitude is normalized (retaining 6 decimal places, corresponding to approximately 0.1m spatial precision). For original longitude, Original latitude This is a function for rounding to 6 decimal places.
[0116] New fire points at each time step are identified using set difference operations to determine the normalized latitude and longitude of fire points.
[0117] Let the first The set of fire points in the time step is , No. The set of fire points in the time step is Then a new set of fire points will be added. The calculation expression is:
[0118]
[0119]
[0120] in, For the first The total number of fire points in the time step. For time step, For the first Time step The normalized latitude and longitude of each fire point.
[0121] When the number of newly added fire points in a continuous time step is less than or equal to the fire point number threshold, the addition of fire points stops. The calculation expression is:
[0122]
[0123] in, For the first The new set of fire points in the time step. for The number of elements, To continuously determine the number of steps, This represents the threshold for the number of fire points.
[0124] In some specific embodiments of the present invention , .
[0125] Direction-sensitive fire spread distance correction algorithms include:
[0126] Calculate the angle between the wind direction and the fire spread direction, and divide the angle between the wind direction and the fire spread direction into key intervals, including the downwind zone, the headwind zone, and the vertical wind zone.
[0127] The angle between the wind direction and the spread direction (0-360°) is divided into key zones (tailwind, headwind, vertical wind and transition zone), and a differentiated spread coefficient is set for each zone (e.g., 1.0 for tailwind, 0.3 for headwind and 0.6 for vertical wind).
[0128] The expression for calculating the angle between the wind direction and the fire spread direction is:
[0129]
[0130] in, The angle between the direction of fire spread and the wind direction. The angle of fire spread. Wind direction angle To find the remainder.
[0131] The direction correction coefficients for the downwind, headwind, and perpendicular regions are defined using piecewise functions. Linear interpolation is used to calculate the direction correction coefficients for the transition region. The expressions for calculating the direction correction coefficients for the downwind, headwind, perpendicular, and transition regions are as follows:
[0132]
[0133] in, This is the direction correction factor. It is the angle between the wind direction and the direction of fire spread.
[0134] The actual fire spread distance is calculated based on the direction correction factor. The calculation expression is as follows:
[0135]
[0136] in, This represents the actual distance the fire spread, in meters. The base speed of fire spread, expressed in meters per second. The duration of the spread is measured in seconds. Wind speed, in meters per second. The gain coefficient of wind speed on fire spread rate is used to quantify the promoting effect of wind speed on fire spread.
[0137] The dynamic fire simulation module selects either a fire scene model that can be used by the visual system or a dynamic fire scene model that conforms to physical laws based on the parameter configuration management module, and dynamically generates various types of fire sources.
[0138] The dynamic fire simulation module is used to dynamically demonstrate various fire source types. Based on the fire scene model selected by the parameter configuration management module (fire scene database model and custom fire scene model), it dynamically generates various fire source types such as grassland, forest, and mountains. The flame simulation features height variations and a gradient effect from orange-red to blue high-temperature zones, while also simulating particle effects like sparks flying. For different fire source types, the grassland fire simulation simulates low-profile flames (0.5-2m) and supports the difference in burning rates between dry and wet grass (2-3 times); the forest fire simulation simulates a dual-layer combustion model of crown fire (5-20m) and surface fire, distinguishing the smoke color between coniferous and broadleaf forests (grey-white for coniferous forests, gray-black for broadleaf forests), and supporting independent physical simulation of ≥2 concurrent fire points.
[0139] The dynamic fire simulation module can link with engineering simulator data to demonstrate fire extinguishing scenarios and supports feedback on the effectiveness of fire extinguishing scenarios. After the extinguishing agent / fire bag is released, the visual status of the fire is updated in real time (flame weakening, smoke color change, etc.).
[0140] The multiphysics coupling module is used to simulate the smoke diffusion process, supporting three smoke colors: white, gray, and black, and covering various forms such as point smoke, block smoke, area smoke, and large smoke of different diameters (400ft, 800ft). The module's visual model can adjust the smoke diffusion direction and rate based on wind speed and direction parameters, smoke density gradient changes, and light occlusion effects. Simulation calculations generate visual driving scripts to achieve dynamic display of the fire scene while simultaneously realizing dynamic interaction between the fire scene and the surrounding airflow, presenting a dynamic effect of tilting with the wind.
[0141] The fire suppression module includes:
[0142] Fire line model data from the fire scene is used to generate fire line polygons through a geographic coordinate extrapolation algorithm;
[0143] The coordinates of the vertices of the polygon covering the fire extinguishing bag / extinguishing agent area are calculated using a geographic coordinate calculation algorithm. After deduplication and closure processing, a complete polygon (closed geometric figure) based on the fire extinguishing bag / extinguishing agent coverage area is generated. The calculation expression is as follows:
[0144]
[0145]
[0146]
[0147]
[0148]
[0149]
[0150] in, For the flight time of fire extinguishing bags / extinguishing agents, Flight speed, measured in meters per second. The pitch angle is expressed in units of 1 / 200°. , It is the acceleration due to gravity. , This refers to the flight altitude, in meters. The horizontal component velocity of the fire extinguishing bag / extinguishing agent. The duration of the extinguishing agent's action, measured in seconds. To estimate the horizontal flight distance at the time of the advance. The horizontal flight distance at standard time. Horizontal distance This represents the change in latitude. This represents the change in longitude. For the Earth's radius, , The heading angle is expressed in units of 1. , The initial latitude of the aircraft. This is the aircraft's initial longitude. For diffusion width The corresponding change in longitude, For diffusion width The corresponding change in latitude, This refers to the longitudinal offset of the previous horizontal displacement. This refers to the latitudinal offset of the previous horizontal displacement. This refers to the longitudinal offset of the horizontal displacement. This refers to the latitudinal offset of the subsequent horizontal displacement. This is the front left vertex of the fireline polygon. This is the right front vertex of the fireline polygon. This is the left rear vertex of the Fireline polygon. It is the right rear vertex of the Fireline polygon.
[0151] The fire extinguishing agent coverage area is calculated based on the aircraft's position, attitude, and speed. The calculation formula is as follows:
[0152]
[0153] in, The area covered by the extinguishing agent. The effective radius of action of the extinguishing agent spray. For the first The length corresponding to the vertices of the fireline polygon. For the first Latitude offset of each vertex of the fireline polygon For the first The length corresponding to the vertices of the fireline polygon. For the first Latitude offset of each vertex of the fireline polygon The closure condition for the Fireline polygon is that the quadrilateral vertices are cyclic. Then connect back This ensures that the calculation of the coverage area and the fireline polygon is the intersection of closed figures.
[0154] Calculate the intersection of the extinguishing agent coverage area and the fire line polygon;
[0155] The fire extinguishing effectiveness is calculated based on the intersection of the extinguishing agent coverage area and the fire line polygon, and fire extinguishing control commands are automatically generated.
[0156] The parameter configuration management module provides a visual operation interface, allowing users to customize the latitude and longitude of the fire source, the scale of the fire area, the spread rate (0.1-5m / s), and the smoke density (levels 1-10, corresponding to 0.1-10kg / m³). 3 The module can configure parameters such as JSON / XML and save these parameters as preset configuration files. It can also automatically generate fire scene scripts in .rst and .cfg formats, supporting scripted batch operations to drive concurrent fire scene execution sequences.
[0157] Configuration management software provides the following functions:
[0158] It provides a visual configuration interface that allows users to customize fire field parameters (fire source location, fire size, spread rate, smoke density, etc., where the fire source location is defined by latitude and longitude), and the configuration parameters can be saved as a preset configuration file.
[0159] The system automatically generates fire scene scripts. The scene system supports scripted batch operations and can call scripts to drive the scene system to execute sequences concurrently at the fire scene through the engineering simulator main control program.
[0160] Configuration management software enables flexible configuration of fire scene parameters and rapid deployment of scenarios through visual interaction and scripted control.
[0161] Configuration management software includes parameter setting functions, save and load configuration parameters functions, and script generation functions.
[0162] Parameter setting function:
[0163] Fire source location: Provides latitude and longitude input boxes (accuracy supports up to 0.0001°).
[0164] Fire size (range 10-1000 meters): Defines the radius of the fire area.
[0165] Spread rate: Input value (0.1-5 m / s).
[0166] Smoke density: Grade selector (levels 1-10, corresponding to 0.1-10 kg / m³) 3 ).
[0167] Save and load function: Save and load configuration parameters.
[0168] Save function: After clicking the "Save" button, the system will automatically serialize the current parameters into a preset configuration file in JSON / XML format. The default storage path is the local directory of the debugging tool, and custom naming is supported (such as "Forest Fire_High Wind Speed.set").
[0169] Loading function: After clicking the "Load" button, the system will pop up a folder browser. Select the file to be loaded, and all parameter data will be displayed in the configuration management software.
[0170] Script generation function:
[0171] This system generates executable scripts in various formats, including .rst.cfg, and is compatible with multiple visual system script engines. It can be batch-executed through the visual system. After clicking the "Save" button, the system calculates and generates a script file based on the current configuration parameters, centering on the fire source, and considering the fire's size and spread rate. This file's name is the same as the custom preset configuration file name.
[0172] The interactive control module establishes bidirectional communication with the external visual system and the engineering simulator. It is compatible with the existing database of the visual system (airport, terrain, weather, etc.) and supports existing communication protocols. This module can receive external control commands (such as fire source location, fire scale, smoke density, etc.) and provide real-time feedback of fire scene status data (flame height, smoke diffusion range, etc.). When it receives a fire extinguishing agent release command from the engineering simulator, it calls the fire extinguishing script to control the visual system's scene display—resulting in a weakening fire, a change in smoke color, and eventual disappearance of the smoke.
[0173] The interface adaptation module adapts to the visual communication protocol and can support multiple visual systems. It supports Windows 10 / 11 and Linux real-time kernel operating systems, enabling seamless integration with external systems and supporting independent physics simulations with ≥2 concurrent firing points.
[0174] This invention addresses the shortcomings of existing fire simulation systems, such as insufficient dynamic effects, low multiphysics coupling, and poor interactivity. The fire scene database model generation module generates fire scene models that can be used by the visual system to display fire scene effects. The custom fire scene model generation module has a spread function, achieving dynamic fire scene simulation that conforms to actual physical laws and generating custom dynamic fire scene models. The dynamic fire scene simulation module can dynamically demonstrate various fire source types, supporting flame height changes, color gradients, and spark splash effects. The multiphysics coupling module can simulate the dynamic interaction between smoke diffusion and airflow / temperature. The fire extinguishing module solves the problems of simplistic fire extinguishing simulation and ambiguous evaluation in existing systems. Simultaneously, fire extinguishing commands directly drive the visual system to update fire and smoke status, forming a closed-loop simulation of fire scene status, fire extinguishing operation, and effect feedback, providing a scientific basis for effect evaluation in emergency rescue training. The interactive control module supports real-time data interaction with external visual systems and engineering simulators. The parameter configuration management module provides a visual interface for customizing fire scene parameters. The interface adaptation module adapts to the visual communication protocol, supporting multiple visual systems. This invention provides realistic dynamic effects, enhancing the realism of fire scene visuals by simulating flame height, color changes, and the interaction between smoke and airflow. It supports various scenarios such as grasslands, forests, and airports, and can automatically adjust the physical model according to environmental parameters. It enables real-time data interaction with external systems, supports flexible parameter configuration and scripted batch control, and can be used in simulation testing, demonstration training, and other fields of flight simulation fire emergency scenarios, effectively improving fire emergency simulation and training capabilities.
[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dynamic generation and interactive control system for fire scenes with multiple visual perspectives, characterized in that, It includes a fire scene database model generation module, a custom fire scene model generation module, a dynamic fire scene simulation module, a multiphysics coupling module, an interactive control module, a fire extinguishing module, a parameter configuration management module, and an interface adaptation module; The fire scene database model generation module outputs a fire scene model that can be used by the visual system through data cleaning and filtering, geographic point connection analysis and optimized sampling. The working steps of the fire scene database model generation module include: Read the CSV file and configuration file containing geographic information, and map key fields through the configuration file. The key fields include latitude and longitude, altitude, and fire intensity value. The key field data is cleaned by retaining fire intensity values within the valid range; By comparing the longitude values of adjacent data, duplicate points with longitude differences less than a threshold are deleted, thus deduplicating key field data. The Haversine formula is used to calculate the spherical distance between two points, and the first line relationship is established by filtering point pairs whose distance is less than a first set threshold. The connected component with the most points in the first connection relationship is identified by breadth-first search and used as the main connection. Points on the main connecting line are sorted in geographical order and sampled according to the baseline distance; For the sampled point set, select point pairs whose distance is less than the second set threshold and establish a second connection relationship; Based on the second connection relationship and the fire intensity value, determine the fire line model type and smoke model type, and generate a fire model file that conforms to the specified format; The custom fire scene model generation module generates a dynamic fire scene model that conforms to physical laws through a grid-based fire scene extension model generation algorithm, a time-step incremental fire point detection algorithm, and a direction-sensitive fire spread distance correction algorithm. The dynamic fire simulation module selects either a fire scene model that can be used by the visual system or a dynamic fire scene model that conforms to physical laws based on the parameter configuration management module, and dynamically generates various types of fire sources. The multiphysics coupling module simulates the dynamic interaction between smoke diffusion and airflow and temperature; The fire suppression module generates a fire line polygon based on the fire source type and smoke diffusion process, calculates the coverage area of the fire extinguishing bag / fire extinguishing agent based on the aircraft status, and generates a fire suppression command based on the fire line polygon and the coverage area of the fire extinguishing bag / fire extinguishing agent. The fire extinguishing module includes: Fire line model data from the fire scene is used to generate fire line polygons through a geographic coordinate extrapolation algorithm; Calculate the extinguishing agent coverage area based on the aircraft's position, attitude, and speed; Calculate the intersection of the extinguishing agent coverage area and the fire line polygon; The fire extinguishing effectiveness is calculated based on the intersection of the fire extinguishing agent coverage area and the fire line polygon, and fire extinguishing control commands are automatically generated. The interactive control module establishes bidirectional communication with the external visual system and engineering simulator, is compatible with existing databases and communication protocols, receives external control commands and provides real-time feedback of fire scene status data, responds to fire extinguishing commands and controls visual updates. The interface adaptation module adapts to various visual systems according to the visual communication protocol, enabling seamless integration with external systems.
2. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 1, characterized in that, A grid-based fire spread model generation algorithm generates point-like and block-like fire spread models.
3. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 2, characterized in that, The grid-based fire spread model generation algorithm generates point-like fire spread models, including: Using the center point of the point fire as a reference, calculate the maximum spread distance in 360 / M directions at M° intervals, and then generate point fire grid points at intervals of twice the initial radius; Calculate the coordinates of the points in the fire grid, the azimuth angle between the points in the fire grid and the center point of the fire, and the straight-line distance between the points in the fire grid and the center point of the fire. A point is considered an effective point fire expansion grid point when the straight-line distance between a point fire grid point and the center point of the point fire is less than or equal to the maximum spread distance along the azimuth direction. By filtering all point fire grid points, all valid point fire expansion grid points are obtained, forming a point fire field expansion model.
4. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 2, characterized in that, The grid-based fire spread model generation algorithm generates a blocky fire spread model, including: Grid points are generated along the wind direction with the initial block fire length as the spacing, and along the vertical wind direction with the initial block fire vertical wind direction width as the spacing; The grid point coordinates are calculated using the grid spacing along the wind direction and the grid spacing perpendicular to the wind direction. Calculate the distance between the grid point and the center of the block fire along the wind direction and the distance between the grid point and the center of the block fire along the perpendicular wind direction based on the grid point coordinates; The maximum spread distance along the wind direction and the maximum spread distance perpendicular to the wind direction are calculated based on the direction-sensitive fire spread distance correction algorithm. A grid point is considered an effective grid point for expanding a block fire if its distance from the center of the block fire along the wind direction is less than or equal to the maximum spread distance along the wind direction and its distance from the center of the block fire along the vertical wind direction is less than or equal to the maximum spread distance along the vertical wind direction. By filtering all block fire grid points, all valid block fire expansion grid points are obtained, forming a block fire field expansion model.
5. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 1, characterized in that, The time-step incremental fire detection algorithm includes: By rounding the latitude and longitude coordinates of the fire point to the nearest whole number, the accuracy of the latitude and longitude coordinates of the fire point is standardized, and the normalized latitude and longitude of the fire point is obtained. New fire points at each time step are identified using set difference operations to determine the normalized latitude and longitude of fire points. When the number of newly added fire points in a continuous time step is less than or equal to the fire point number threshold, the addition of fire points stops.
6. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 1, characterized in that, The direction-sensitive fire spread distance correction algorithm includes: Calculate the angle between the wind direction and the fire spread direction, and divide the angle between the wind direction and the fire spread direction into key intervals, including the downwind zone, the headwind zone, and the vertical wind zone. A piecewise function is used to define the direction correction coefficients for the downwind, headwind, and perpendicular regions, while linear interpolation is used to calculate the direction correction coefficients for the transition interval. The actual fire spread distance is calculated based on the direction correction factor.
7. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 6, characterized in that, The formulas for calculating the direction correction coefficients in the downwind, headwind, vertical, and transition zones are as follows: in, This is the direction correction factor. It is the angle between the wind direction and the direction of fire spread.
8. The interactive control system for dynamic generation of fire scenes applicable to multiple visual scenarios as described in claim 1, characterized in that, The interactive control module is compatible with the existing databases of the visual system, including airport, terrain, and meteorological databases; Supports existing communication protocols for visual systems; Receive external control commands, including fire source location, fire size, and smoke density parameters; Real-time feedback of fire situation data, including flame height and smoke spread range; When a fire extinguishing agent release command is received, the fire scene extinguishing script is invoked to control the visual system to update the display effect.
Citation Information
Patent Citations
Virtual fire extinguishing training system and method based on deep learning flame recognition
CN120411640A
Fire-fighting fire dynamic simulation system based on multi-physics field coupling
CN121118582A