A real-time wind field modeling method for helicopter engineering simulators
By processing the wind field data of the helicopter engineering simulator and modeling special wind field, combining weighted interpolation and dual-threading technology, the problem of lack of standards and subjectivity in the existing technology of wind field modeling is solved, and the helicopter engineering simulator is realized Real-time wind farm modeling improves simulation effect and data real-time.
Patent Information
- Application Number
- CN202111399084.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2041-11-23
AI Technical Summary
The lack of unified standards and subjective functional evaluation in the prior art has resulted in poor wind farm modeling effects of helicopter engineering simulators and cannot meet the real-time wind farm modeling needs.
By processing the wind farm data in the training area, dividing it into a wind farm model database, and modeling typical special wind farms, weighted interpolation and two-thread parallel execution technology are used to quickly find and manage wind farm data to ensure wind farm modeling completeness and real-timeness.
It realizes the integrity and effectiveness of wind farm modeling, improves the simulation effect of the simulator, saves R&D costs, meets the real-time wind farm modeling requirements of helicopter engineering simulator, and ensures real-time and efficient wind farm data. sex.
Smart Images

Figure CN114169228B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of flight simulation technology, but is not limited to it, and in particular to a real-time wind field modeling method for a helicopter engineering simulator. Background Art
[0002] The main purpose of developing a helicopter engineering simulator is to provide a verification platform for flight quality, control law design, avionics design, etc. in the early stages of helicopter development, and to provide pilots with a realistic operating environment so that they can become proficient in flight operations and fault handling procedures before the model's first flight, thereby reducing the risk of the first flight.
[0003] The real-time wind field model is an important part of the development of helicopter engineering simulators. It mainly provides the real-time wind field required for take-off, landing and flight of helicopter engineering simulators. The real-time wind field model consists of basic regional wind field, special wind field, typical characteristic wind field, etc. The real-time wind field runs through the entire process of helicopter engineering simulator testing, especially in the test process closely related to the aerodynamic characteristics of helicopters, such as flight quality test and control law design test. The simulation effect of the real-time wind field directly affects the evaluation of the test results.
[0004] At present, there is no relevant normative research on wind field modeling technology for helicopter engineering simulators in China. For flight training simulators, wind field-related research is mainly focused on some typical special wind field modeling, some typical take-off and landing characteristic wind field modeling, etc., which cannot meet the needs of real-time wind field modeling of helicopter engineering simulators. The current wind field modeling method lacks unified standards and is mainly based on subjective functional evaluation. This wind field modeling method seriously restricts the wind field modeling effect of domestic helicopter engineering simulators. Summary of the invention
[0005] The purpose of the present invention is: an embodiment of the present invention provides a real-time wind field modeling method for a helicopter engineering simulator to solve the problem that the existing wind field modeling method lacks unified standards and is mainly based on subjective functional evaluation, which seriously restricts the wind field modeling effect of domestic helicopter engineering simulators.
[0006] The technical solution of the present invention is: the present invention provides a real-time wind field modeling method for a helicopter engineering simulator, comprising:
[0007] Step 1, processing the wind field data in the training area, including: dividing the large batch of wind field data in the training area to obtain a wind field model database; the wind field data in the training area includes: basic training area wind field data and typical characteristic training area wind field data;
[0008] Step 2, modeling a typical special wind field that affects the test results of the helicopter engineering simulator to obtain a typical special wind field model;
[0009] Step 3: According to the location of the helicopter, the flow field data points around the helicopter are searched in the wind field model database, and the flow field conditions at the location of the helicopter are obtained by weighted interpolation, thereby obtaining a real-time wind field model for the helicopter engineering simulator.
[0010] Optionally, in the real-time wind field modeling method for a helicopter engineering simulator as described above, step 1 comprises:
[0011] Step 11, establishing a three-dimensional model of the training area, and calculating the wind field data of the training area as a basic database according to the three-dimensional model of the training area, wherein the wind field data of the training area is composed of data contents of multiple large files;
[0012] Step 12, divide each of the large files into multiple small files, and store wind field data of the same size in binary form in each small file, and the wind field model database is formed by the multiple small files; wherein, the standard for dividing the small files is: dividing the calculation domain when establishing the three-dimensional model of the training area into multiple small areas of the same size, the calculation domain is a rectangular parallelepiped, and the multiple small areas divided correspond to a small cube respectively, and the wind field data located in the small cube is stored separately in a small file.
[0013] Optionally, in the real-time wind field modeling method for a helicopter engineering simulator as described above, the typical special wind field models include: turbulence model, gust model, wind shear model; and each typical special wind field model includes the following two trigger modes, an immediate trigger mode and a conditional trigger mode.
[0014] Optionally, in the real-time wind field modeling method for a helicopter engineering simulator as described above, in step 2, the turbulence model is established in the following manner:
[0015] A Dryden turbulence model is selected as the turbulence model, wherein the flow scale and turbulence intensity in the transfer function of the turbulence model are functions of the height, thereby obtaining the turbulence scale and turbulence intensity at different heights;
[0016] In step 2, the gust model is established in the following manner:
[0017] The cross-sectional geometric shapes of the gust model to be established are classified, and the types of cross-sectional geometric shapes include: rectangular, trapezoidal, triangular, sine and cosine;
[0018] According to the use requirements of the helicopter engineering simulator, a combined model of at least one type of cross-sectional geometry is selected as a gust model;
[0019] In step 2, the wind shear model is established as follows:
[0020] Based on the analysis and statistics of wind shear accidents, the established wind shear model is a full three-dimensional micro-downburst wind shear model including headwind / tailwind, crosswind, vertical wind and horizontal vortex.
[0021] Optionally, in the real-time wind field modeling method for a helicopter engineering simulator as described above, step 3 comprises:
[0022] Step 31, according to the location of the helicopter, determine the small area where the helicopter is located in the air flow field calculation domain;
[0023] Step 32, finding a small file storing the flow field data in the small area;
[0024] Step 33, extracting data points in the small file corresponding to the flow field data whose helicopter distance is within a preset threshold;
[0025] Step 34, according to the distances between the extracted data points and the helicopter and the wind speed of each data point, weighted interpolation is performed to obtain the flow field conditions at the location of the helicopter.
[0026] Optionally, in the real-time wind field modeling method for a helicopter engineering simulator as described above, step 3 is executed in parallel by two threads, one of which is a positioning search thread and the other is a preloading thread;
[0027] The positioning search thread is used to search for the flow field conditions at the position of the helicopter according to steps 31 to 34;
[0028] The preloading thread is used to preload the flow field data of the area near the helicopter into the cache, so that when the helicopter changes position next time, the positioning search thread can directly perform positioning search from the cache to obtain the flow field conditions at the current position of the helicopter.
[0029] Optionally, the real-time wind field modeling method for a helicopter engineering simulator as described above further includes:
[0030] Step 4: Perform data management and scheduling on the real-time wind farm model, including data transmission and model control.
[0031] Optionally, in the real-time wind field modeling method for a helicopter engineering simulator as described above,
[0032] The data transmission refers to: the real-time wind field model interacting with the outside world;
[0033] The model control refers to: the internal model control and data interaction of the real-time wind farm model, and the ability to receive external control commands.
[0034] Beneficial technical effects of the present invention:
[0035] The present invention provides a real-time wind field modeling method for a helicopter engineering simulator, which mainly includes four parts: wind field data processing, special wind field modeling, data fast search and data management scheduling. The real-time wind field modeling method for a helicopter engineering simulator provided by the embodiment of the present invention can guide the completion of the real-time wind field modeling of the helicopter engineering simulator, save research and development costs, and improve the simulation effect of the simulator. Based on the above four parts, the embodiment of the present invention has the following beneficial effects:
[0036] The first is the integrity of wind field modeling. Through the development and use experience of helicopter engineering simulators, the real-time wind field modeling work of helicopter engineering simulators is divided into four major steps: wind field data processing, special wind field modeling, fast data search and data management scheduling. This can meet the needs of helicopter engineering simulators and avoid functional and performance deficiencies.
[0037] Second, the effectiveness of wind field modeling. In response to the needs of helicopter engineering simulator tests, the concept of typical characteristic wind field modeling is proposed to ensure the effectiveness of wind field modeling. For example, when conducting urban take-off and landing tests, characteristic wind field modeling should be carried out on typical buildings; when conducting ship take-off and landing tests, characteristic wind field modeling should be carried out on the ship surface flow field; when conducting plateau-related tests, characteristic wind field simulation should be carried out on typical plateau landforms.
[0038] The third is the real-time call of wind field model data. The volume of wind field data is huge. The real-time call of wind field data can be guaranteed through the flow field data processing module and data fast search module technology. The basic idea of flow field data processing is to divide the calculation domain into multiple cubes of different sizes, and the flow field data in each small cube is stored separately in binary mode; the data fast search module uses the idea of preloading to improve efficiency. Specifically, it uses a dual-thread parallel positioning search solution. One thread is responsible for positioning and searching, and the other thread is responsible for preloading the air flow field data in the area near the helicopter. After the thread responsible for positioning and searching obtains the air flow field data at the helicopter position, the thread responsible for preloading loads the data in the area near the helicopter into the cache. Because the helicopter does not move much in a short time, the next time the helicopter changes its position, the thread responsible for positioning and searching can directly perform positioning and searching from the cache to obtain the flow field situation at the new position of the helicopter. This can greatly shorten the time consumption of positioning and searching and improve real-time performance.
[0039] Fourth, the real-time performance of wind farm modeling. Since the helicopter engineering simulator has high requirements for real-time performance, it is generally required that the wind farm model be controlled within one simulation cycle from data input to data output. According to the experience of developing helicopter engineering simulators, it is generally not more than 5ms. In order to ensure that the real-time wind farm system can meet the real-time requirements of the helicopter engineering simulator, multi-threaded control technology is adopted. Interface display modules such as data monitoring occupy a large amount of computer resources and do not have high requirements for real-time performance. In order to avoid affecting the model solution, an independent thread is established and the thread priority is lowered; for modules such as wind farm model data call that have high real-time requirements and are time-consuming, an independent thread is established and the thread priority is increased; other modules that have high real-time requirements and are less time-consuming are completed directly in the main thread. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0041] Figure 1 A flow chart of a real-time wind field modeling method for a helicopter engineering simulator provided by an embodiment of the present invention;
[0042] Figure 2 , which is a schematic diagram of simulation of a turbulence model at a height of 350m using the real-time wind field modeling method provided by an embodiment of the present invention;
[0043] Figure 3 Schematic diagram of a typical 9m / s gust model of NASA selected in a specific embodiment of the present invention;
[0044] Figure 4 It is a simulation schematic diagram of the wind coming from the 235° direction (left rear) and the gusts blowing vertically downward in a specific embodiment of the present invention;
[0045] Figure 5 It is a simulation schematic diagram of a wind shear model in a specific embodiment of the present invention;
[0046] Figure 6 A flowchart of fast data search in a specific embodiment of the present invention;
[0047] Figure 7 It is a schematic diagram of the wind farm data reading process in a specific embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0049] As explained in the above background technology, the current wind field modeling method lacks a unified standard and is mainly based on subjective functional evaluation. This wind field modeling method seriously restricts the wind field modeling effect of domestic helicopter engineering simulators. This is mainly reflected in the following two aspects:
[0050] First, the modeling effect is greatly affected by subjective factors. The individual skills and expression abilities of the researchers vary, which often leads to incomplete functions or performance. In addition, due to the differences between the simulator and the actual driving environment, the driver's sense of wind field recognition on the simulator is inconsistent with that on the actual installation.
[0051] The second is the increase in costs. Due to the lack of relevant development specifications, R&D personnel need to invest a lot of energy in test verification during the wind farm modeling process, and in order to improve the realism of the modeling, multiple batches of drivers are often required to participate, which greatly increases the economic and time costs.
[0052] Third, there are great limitations. The current wind field modeling mainly includes: modeling of some typical special wind fields, and modeling of some typical take-off and landing characteristic wind fields, and no wind field modeling that meets the requirements of helicopter engineering simulators has been proposed.
[0053] In view of the above-mentioned problems existing in the existing wind field modeling, the embodiment of the present invention proposes a real-time wind field modeling method for a helicopter engineering simulator based on the development of a certain type of helicopter engineering simulator. This method can guide the completion of real-time wind field modeling for a helicopter engineering simulator, save R&D costs, and improve the simulation effect of the simulator.
[0054] The present invention provides the following specific embodiments which can be combined with each other. The same or similar concepts or processes may not be described in detail in some embodiments.
[0055] Figure 1 A flowchart of a real-time wind field modeling method for a helicopter engineering simulator provided by an embodiment of the present invention. The real-time wind field modeling method for a helicopter engineering simulator provided by an embodiment of the present invention may include the following steps:
[0056] Step 1, processing the wind field data in the training area, including: dividing the large batch of wind field data in the training area to obtain a wind field model database; the wind field data in the training area includes: basic training area wind field data and typical characteristic training area wind field data;
[0057] Step 2, modeling a typical special wind field that affects the test results of the helicopter engineering simulator to obtain a typical special wind field model;
[0058] Step 3: According to the location of the helicopter, the flow field data points around the helicopter are searched in the wind field model database, and the flow field conditions at the location of the helicopter are obtained by weighted interpolation, thereby obtaining a real-time wind field model for the helicopter engineering simulator.
[0059] The specific implementation process of the above step 1 in the embodiment of the present invention may include:
[0060] Step 11, establishing a three-dimensional model of the training area, and calculating the wind field data of the training area as a basic database based on the three-dimensional model of the training area, wherein the wind field data of the training area is composed of data contents of multiple large files;
[0061] Step 12, divide each large file into multiple small files, and store wind field data of the same size in binary form in each small file, and form a wind field model database by multiple small files; wherein, the standard for dividing the small files is: divide the calculation domain when establishing the three-dimensional model of the training area into multiple small areas of the same size, the calculation domain is a rectangular parallelepiped, and the multiple small areas divided correspond to a small cube respectively, and the wind field data located in the small cube is stored separately in a small file.
[0062] It should be noted that the typical special wind field models in the embodiments of the present invention include: turbulence model, gust model, wind shear model; and each typical special wind field model includes the following two trigger modes, an immediate trigger mode and a conditional trigger mode.
[0063] The turbulence model in step 2 of the embodiment of the present invention may be established in the following manner:
[0064] The Dryden turbulence model is selected as the turbulence model. The flow scale and turbulence intensity in the transfer function of the turbulence model are functions of the height, so the turbulence scale and turbulence intensity at different heights are obtained.
[0065] The gust model in step 2 of the embodiment of the present invention may be established in the following manner:
[0066] The cross-sectional geometric shapes of the gust model to be established are classified, and the types of cross-sectional geometric shapes include: rectangular, trapezoidal, triangular, sine and cosine;
[0067] According to the use requirements of the helicopter engineering simulator, a combined model of at least one type of cross-sectional geometry is selected as a gust model;
[0068] The wind shear model in step 2 of the embodiment of the present invention may be established in the following manner:
[0069] Based on the analysis and statistics of wind shear accidents, the established wind shear model is a full three-dimensional micro-downburst wind shear model including headwind / tailwind, crosswind, vertical wind and horizontal vortex.
[0070] The specific implementation process of step 3 in the embodiment of the present invention may include:
[0071] Step 31, according to the location of the helicopter, determine the small area where the helicopter is located in the air flow field calculation domain;
[0072] Step 32, finding a small file storing the flow field data in the small area;
[0073] Step 33, extracting data points in the small file corresponding to the flow field data whose helicopter distance is within a preset threshold;
[0074] Step 34, according to the distances between the extracted data points and the helicopter and the wind speed of each data point, weighted interpolation is performed to obtain the flow field conditions at the location of the helicopter.
[0075] In step 3 of the embodiment of the present invention, two threads are executed in parallel, one of which is a positioning and searching thread, and the other is a preloading thread;
[0076] The positioning search thread is used to find the flow field conditions at the position of the helicopter according to steps 31 to 34;
[0077] The preloading thread is used to preload the flow field data of the area near the helicopter into the cache, so that when the helicopter changes its position next time, the positioning search thread can directly perform positioning search from the cache to obtain the flow field conditions at the current position of the helicopter.
[0078] Furthermore, the method provided by the embodiment of the present invention may also include:
[0079] Step 4: Perform data management and scheduling on the real-time wind farm model, including data transmission and model control.
[0080] It should be noted that the above data transmission refers to: the real-time wind farm model interacts with the outside world; the above model control refers to: the real-time wind farm model interacts with the inside world and can receive external control commands.
[0081] The real-time wind field modeling method for a helicopter engineering simulator provided by the embodiment of the present invention mainly includes four parts: wind field data processing, special wind field modeling, data fast search and data management scheduling. The real-time wind field modeling method for a helicopter engineering simulator provided by the embodiment of the present invention can guide the completion of the real-time wind field modeling of the helicopter engineering simulator, save research and development costs, and improve the simulation effect of the simulator. Based on the above four parts, the embodiment of the present invention has the following beneficial effects:
[0082] The first is the integrity of wind field modeling. Through the development and use experience of helicopter engineering simulators, the real-time wind field modeling work of helicopter engineering simulators is divided into four major steps: wind field data processing, special wind field modeling, fast data search and data management scheduling. This can meet the needs of helicopter engineering simulators and avoid functional and performance deficiencies.
[0083] Second, the effectiveness of wind field modeling. In response to the needs of helicopter engineering simulator tests, the concept of typical characteristic wind field modeling is proposed to ensure the effectiveness of wind field modeling. For example, when conducting urban take-off and landing tests, characteristic wind field modeling should be carried out on typical buildings; when conducting ship take-off and landing tests, characteristic wind field modeling should be carried out on the ship surface flow field; when conducting plateau-related tests, characteristic wind field simulation should be carried out on typical plateau landforms.
[0084] The third is the real-time call of wind field model data. The volume of wind field data is huge. The real-time call of wind field data can be guaranteed through the flow field data processing module and data fast search module technology. The basic idea of flow field data processing is to divide the calculation domain into multiple cubes of different sizes, and the flow field data in each small cube is stored separately in binary mode; the data fast search module uses the idea of preloading to improve efficiency. Specifically, it uses a dual-thread parallel positioning search solution. One thread is responsible for positioning and searching, and the other thread is responsible for preloading the air flow field data in the area near the helicopter. After the thread responsible for positioning and searching obtains the air flow field data at the helicopter position, the thread responsible for preloading loads the data in the area near the helicopter into the cache. Because the helicopter does not move much in a short time, the next time the helicopter changes its position, the thread responsible for positioning and searching can directly perform positioning and searching from the cache to obtain the flow field situation at the new position of the helicopter. This can greatly shorten the time consumption of positioning and searching and improve real-time performance.
[0085] Fourth, the real-time performance of wind farm modeling. Since the helicopter engineering simulator has high requirements for real-time performance, it is generally required that the wind farm model be controlled within one simulation cycle from data input to data output. According to the experience of developing helicopter engineering simulators, it is generally not more than 5ms. In order to ensure that the real-time wind farm system can meet the real-time requirements of the helicopter engineering simulator, multi-threaded control technology is adopted. Interface display modules such as data monitoring occupy a large amount of computer resources and do not have high requirements for real-time performance. In order to avoid affecting the model solution, an independent thread is established and the thread priority is lowered; for modules such as wind farm model data call that have high real-time requirements and are time-consuming, an independent thread is established and the thread priority is increased; other modules that have high real-time requirements and are less time-consuming are completed directly in the main thread.
[0086] The specific implementation of the real-time wind field modeling method for a helicopter engineering simulator provided by an embodiment of the present invention is described in detail below through a specific embodiment.
[0087] This specific embodiment provides a real-time wind field modeling method for a helicopter engineering simulator, which includes four major steps: wind field data processing, special wind field modeling, fast data search, and data management scheduling.
[0088] Step 1: Wind field data processing, including: basic training area wind field data processing and typical characteristic training area wind field data processing, mainly completing: on the one hand, the engineering calculation software calculates a large number of wind field data in the training area, and divides the large number of wind field data in the training area wind field data for real-time search. Among them, compared with the basic training area wind field, the typical characteristic area wind field is a typical characteristic training area that has a significant impact on the engineering test effect of the helicopter engineering simulator, including at least one of the following: valleys, plateaus, buildings, ships, platforms, fire scenes, etc.
[0089] The original files such as elevation maps of all training areas are used to establish a three-dimensional model of the training area. The wind field simulation method based on FLUENT SIMPLE (engineering calculation software) is used to import the three-dimensional model of the training area into the FLUENT software. The individual wind field data corresponding to the four directions of east, west, south and north are calculated in the FLUENT software (as the input of the model) as the basic database. Since the amount of basic data (i.e., the individual wind field data in the four directions) is very large, it brings great trouble to real-time search. The above-mentioned large batch of wind field data is composed of the data content of multiple large files. In order to achieve the real-time simulation requirements, the large files need to be divided into many small files. The standard for dividing small files is to divide the calculation domain during CFD (computational fluid dynamics) simulation modeling into many small areas of the same size. Since the calculation domain of simulation modeling is a rectangular parallelepiped, this calculation domain is divided into multiple small cubes of the same size, and the wind field data located in these small cubes are stored separately in a small file. The wind field data in the small file is stored in binary mode, which is more conducive to real-time simulation. Software for dividing large batches of wind field data is written through this idea to automatically generate small files for storing wind field data.
[0090] For example: In this project, in order to realize the real-time search of wind farm data, the data file is divided into small terrain files at intervals of 600m in the x direction and 1000m in the y direction, and stored in binary form to speed up the data search. When dividing, the origin of the coordinate system is located in the lower left corner of the terrain plane figure.
[0091] Step 2: Special wind field modeling: It is to model the typical special wind fields that affect the test results of helicopter engineering simulators. Generally, three types of special wind fields, turbulence, gusts, and wind shear, need to be considered, and two modes, immediate triggering and conditional triggering, should be considered.
[0092] The idea of implementing the turbulence model is as follows:
[0093] In this project, the Dryden turbulence model is selected as the turbulence model. The advantage of the Dryden turbulence model is that the spectrum form is simple, it can be factorized, and it can be directly implemented.
[0094] The excitation source of the Dryden turbulence model is Gaussian noise, and its transfer function is:
[0095]
[0096] Among them, σ u , σ v , σ w The turbulence intensity of turbulence in the three directions of u, v, and w; L u , L v , L w It is the scale of turbulence in the u, v, and w directions; V is the aircraft's flight speed (ground speed).
[0097] According to the helicopter flight quality specifications, the turbulence scale and turbulence intensity used in the turbulence basic model are functions of altitude. The turbulence scale and turbulence intensity at different altitudes can be obtained, as shown in the following table.
[0098]
[0099] Taking this project as an example, Figure 2 , which is a schematic diagram of simulation of a turbulence model at a height of 350 m using the real-time wind field modeling method provided in an embodiment of the present invention.
[0100] The idea of implementing the gust model is as follows:
[0101] The gust model is generally determined based on statistics of measured data. According to the cross-sectional geometry of the gust model, it can be divided into several types, such as rectangular, trapezoidal, triangular, sinusoidal and "1-consine" (cosine) shapes.
[0102] For example, this project uses a gust model from NASA, which is a combination of the trapezoidal model and the (1-consine) model. The model is represented by a piecewise function:
[0103]
[0104] In the formula, v wx is the gust speed corresponding to the flight displacement x, X ref is the reference longitudinal position, V max is the amplitude of the gust, d m The half thickness of the gust layer, which can be taken as 25-150 meters or (2-3)V max ; h is the gust speed at the front and rear edges of the trapezoidal gust, increasing from 0 to V maxThe thickness of the gas layer experienced.
[0105] In this specific embodiment, NASA's typical 9m / s gust model is selected, such as Figure 3 FIG. 1 is a schematic diagram of a typical 9 m / s gust model of NASA selected in a specific embodiment of the present invention, wherein V max =9m / s. Gust half thickness d of gust model m The value is between 30-150, where horizontal gust is d m =60m, vertical gust takes d m = 30m. For other winds, h = 30m for horizontal gusts and h = 15m for vertical gusts. The reference longitudinal position X in the figure is ref =0, but in reality X ref It should be set to the initial position of the helicopter when the gust begins, not a fixed value.
[0106] How to use the gust model: The above gust model can be used as horizontal gusts and vertical gusts, and the basic trigger condition is z≤300m. After setting the gust direction, the corresponding horizontal wind speed and vertical wind speed can be obtained according to the horizontal flight displacement and vertical flight displacement. In addition, the horizontal wind speed is converted into the x and y wind speeds in the earth axis system according to the wind direction, so that the wind speed vector in the earth axis system output by the gust model can be obtained.
[0107] In this specific embodiment, Figure 4 As shown, it is a simulation schematic diagram of the wind coming from the 235° direction (left rear) and the vertically downward gusts in a specific embodiment of the present invention.
[0108] The wind shear model implementation ideas are as follows:
[0109] Wind shear generally occurs at low altitudes below several hundred meters. Wind shear affects the airspeed of the helicopter and changes the lift, causing the helicopter's flight altitude to change suddenly, which is very detrimental to flight safety.
[0110] Based on the statistical data of wind shear accident analysis, the FAA recommends four wind shear models for use in flight training simulators. Wind shear model No. 4 is the most harmful among them. In addition to headwind / tailwind, it also contains a full three-dimensional micro-downburst wind shear model of crosswind, vertical wind and horizontal vortex. Therefore, wind model No. 4 is selected in this specific embodiment.
[0111]
[0112] In this specific embodiment, the parameters of wind model No. 4 are shown in the table above, and the basic trigger condition is that the height above the ground is z≤370m. According to the cumulative flight distance of the helicopter, the wind speed vector in the body axis system output by the wind shear model can be obtained by interpolation, and converted into the three-way wind speed in the earth axis system through the direction cosine matrix. Figure 5 FIG. 1 is a schematic diagram of a simulation of a wind shear model in a specific embodiment of the present invention.
[0113] Step 3: Quickly search for data.
[0114] like Figure 6 The figure shows a flowchart of fast data search in a specific embodiment of the present invention. When the helicopter is in the air flow field, first, according to the location of the helicopter, determine which small area the helicopter is in in the structured and divided air flow field calculation domain, and then find the small file corresponding to the flow field data of the small area. Because the CFD simulation flow field space is a discrete data point, the data points found in the small file may not contain the data of the helicopter's location. Therefore, it is necessary to set a threshold to extract the data points in the small file corresponding to the flow field data whose distance to the helicopter is within the preset threshold. And suppose the distances of the data points in these small files to the helicopter are L1, L2, L3...L N The wind speeds of these data points are U1, V1, W1, U2, V2, W2, U3, V3, W3, ..., U N , V N , W N . Let the sum of these distances be L, let S1 = L / L1, S2 = L / L2, S3 = L / L3... SN = L / LN. S is the weight;
[0115] L=L1+L2+L3+......L N ;
[0116] SUM=S1+S2+S3+......+S N ;
[0117]
[0118] According to the above formula and the existing air flow field data, the flow field at the location of the helicopter can be obtained by weighted interpolation.
[0119] In order to realize the real-time simulation of the flow field data at the helicopter position in the air flow field, this project proposes a dual-thread parallel positioning and searching solution. Specifically, one thread is responsible for positioning and searching, and the other thread is responsible for pre-loading the flow field data of the area near the helicopter.
[0120] After the helicopter position is known and a small file containing the air flow field data at that position is found, the thread responsible for positioning and searching obtains the air flow field at the helicopter position according to the method described in the previous section. At the same time, the thread responsible for preloading loads the flow field data of the area near the helicopter into the cache. Because the helicopter does not move much in a short period of time (i.e., the requirement of real-time simulation), the next time the helicopter changes position, the thread responsible for positioning and searching can directly perform positioning and searching from the cache to obtain the flow field at the new position of the helicopter, which greatly shortens the time consumption of positioning and searching, thereby meeting the standard of real-time simulation. At the same time, the thread responsible for preloading synchronously updates the area near the helicopter and uses them to overwrite the original air flow field data of the area near the helicopter in the cache.
[0121] Step 4: Data management scheduling (provides scheduling control for the execution of step 3 of step 1). The main tasks are data transmission (data transmission from the real-time wind farm model to the outside) and model control (internal control of the real-time wind farm model). Data transmission refers to the real-time wind farm model interacting with the outside world. The current mainstream interaction protocol is the Ethernet UDP protocol, and the interaction cycle is generally 10ms. Model control refers to: internal model control and data interaction of the real-time wind farm model, which can receive external control commands; among them, synthetic wind calculation is an important module of internal model control.
[0122] An example of composite wind calculation: Winds that are not coming from the east, west, south or north are represented by composite winds. For example, northeast wind is the composite of east wind and north wind.
[0123] An example based on composite wind: Given the wind in any direction, first analyze whether the wind in that direction is a single wind or a composite wind;
[0124] Case 1: If the wind is blowing in a single direction, a quick search and preload is performed directly in the existing wind field model database for that direction, and the result is sent to other programs through the interface.
[0125] Case 2: If it is a synthetic wind, the program first decomposes the wind into two single-direction winds, and quickly searches and preloads the wind field model databases for the two directions respectively. The two wind force results are weighted to obtain the actual wind force at the location. Suppose the wind obtained by quickly searching the database for the east wind is U e , V e , W e , the wind obtained by quickly searching the database for the north wind is U n , V n , W n The composite wind is U, V, W. It is assumed that the composite wind can be decomposed into the due east wind and the due north wind, and the angle between the composite wind and the due east wind is θ:
[0126]
[0127] like Figure 7 As shown, it is a schematic diagram of the wind field data reading process in a specific embodiment of the present invention. This specific embodiment was born in a certain type of helicopter engineering simulator, and was applied in a certain type of helicopter engineering simulator and a certain type of helicopter flight training simulator. The method used in the present invention has completed the demonstration and application of multiple types of helicopter simulators. The real-time wind field models completed by using this method have all been technically evaluated at one time, saving a lot of R&D costs and improving R&D progress.
[0128] Although the embodiments disclosed in the present invention are as above, the contents are only embodiments adopted to facilitate understanding of the present invention and are not intended to limit the present invention. Any technician in the field to which the present invention belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined by the attached claims.
Claims
1. A real-time wind field modeling method for helicopter engineering simulators, It is characterized in that include: Step 1, processing the wind field data in the training area, including: dividing the large batch of wind field data in the training area to obtain a wind field model database; the wind field data in the training area includes: basic training area wind field data and typical characteristic training area wind field data; Step 2, modeling a typical special wind field that affects the test results of the helicopter engineering simulator to obtain a typical special wind field model; Step 3: According to the location of the helicopter, the flow field data points around the helicopter are searched in the wind field model database, and the flow field conditions at the location of the helicopter are obtained by weighted interpolation, thereby obtaining a real-time wind field model for the helicopter engineering simulator.
2. The real-time wind field modeling method for a helicopter engineering simulator according to claim 1, It is characterized in that The step 1 comprises: Step 11, establishing a three-dimensional model of the training area, and calculating the wind field data of the training area as a basic database according to the three-dimensional model of the training area, wherein the wind field data of the training area is composed of data contents of multiple large files; Step 12, divide each of the large files into multiple small files, and store wind field data of the same size in binary form in each small file, and the wind field model database is formed by the multiple small files; wherein, the standard for dividing the small files is: dividing the calculation domain when establishing the three-dimensional model of the training area into multiple small areas of the same size, the calculation domain is a rectangular parallelepiped, and the multiple small areas divided correspond to a small cube respectively, and the wind field data located in the small cube is stored separately in a small file.
3. The real-time wind field modeling method for a helicopter engineering simulator according to claim 2, It is characterized in that The typical special wind field models include: a turbulence model, a gust model, and a wind shear model; and each typical special wind field model includes the following two trigger modes, an immediate trigger mode and a conditional trigger mode.
4. The real-time wind field modeling method for a helicopter engineering simulator according to claim 3, It is characterized in that In step 2, the turbulence model is established as follows: A Dryden turbulence model is selected as the turbulence model, wherein the flow scale and turbulence intensity in the transfer function of the turbulence model are functions of the height, thereby obtaining the turbulence scale and turbulence intensity at different heights; In step 2, the gust model is established in the following manner: The cross-sectional geometric shapes of the gust model to be established are classified, and the types of cross-sectional geometric shapes include: rectangular, trapezoidal, triangular, sine and cosine; According to the use requirements of the helicopter engineering simulator, at least one type of combined model of cross-sectional geometry is selected as a gust model; In step 2, the wind shear model is established as follows: According to the analysis and statistics of wind shear accidents, the established wind shear model is a full three-dimensional micro-downburst wind shear model including headwind / tailwind, crosswind, vertical wind and horizontal vortex.
5. The real-time wind field modeling method for a helicopter engineering simulator according to claim 4, It is characterized in that The step 3 comprises: Step 31, according to the location of the helicopter, determine the small area where the helicopter is located in the air flow field calculation domain; Step 32, finding a small file storing the flow field data in the small area; Step 33, extracting data points in the small file corresponding to the flow field data whose helicopter distance is within a preset threshold; Step 34, according to the distances between the extracted data points and the helicopter and the wind speed of each data point, weighted interpolation is performed to obtain the flow field conditions at the location of the helicopter.
6. The real-time wind field modeling method for a helicopter engineering simulator according to claim 5, It is characterized in that Step 3 is executed in parallel by two threads, one of which is a positioning and searching thread, and the other is a preloading thread; The positioning search thread is used to search for the flow field conditions at the position of the helicopter according to steps 31 to 34; The preloading thread is used to preload the flow field data of the area near the helicopter into the cache, so that when the helicopter changes position next time, the positioning search thread can directly perform positioning search from the cache to obtain the flow field conditions at the current position of the helicopter.
7. The real-time wind field modeling method for a helicopter engineering simulator according to claim 6, It is characterized in that Also includes: Step 4: Perform data management and scheduling on the real-time wind farm model, including data transmission and model control.
8. The real-time wind field modeling method for a helicopter engineering simulator according to claim 7, It is characterized in that The data transmission refers to: the real-time wind field model interacting with the outside world; The model control refers to: the internal model control and data interaction of the real-time wind farm model, and the ability to receive external control commands.
