<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Method for Parallel Calculation of Radar Detection Capability Based on 3D Subdivision Grid</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yang Li</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anran Yang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luo Chen</string-name>
          <email>luochen@nudt.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>College of Electronic Science and Technology, National University of Defense Technology</institution>
          ,
          <addr-line>Changsha, Hunan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Key Laboratory of Natural Resources Monitoring and Supervision in Southern Hilly Region, Ministry of Natural Resources</institution>
          ,
          <addr-line>Changsha, Hunan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <fpage>135</fpage>
      <lpage>141</lpage>
      <abstract>
        <p>In the field of electromagnetic computation, the expression ability of two-dimensional spatial calculation methods is limited, and the three-dimensional spatial calculation methods are complex. The existing radar detection capability calculation methods cannot calculate the power density distribution of radars in space position, comprehensively, quickly enough to depict the real-time capabilities of radars. In order to improve computing performance (To solve these problems), this paper proposes a multi-level fast calculation method of radar detection capability based on three-dimensional (3D) subdivision grid. The algorithm uses a unified encoding method to divide the space at different levels. After that, a parallel computing model is established to quickly calculate the radar power density corresponding to its spatial position and bearing. The experimental results show that the algorithm can provide an efficient calculation method for the power density distribution of various actual radars at different particle sizes.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Radar power density distribution</kwd>
        <kwd>3D Subdivision Grid</kwd>
        <kwd>parallel computing</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Radar detection is an important part of reconnaissance and early warning capabilities. Accurately
and quickly calculating the power density of radar at spatial sites can help users make decisions and
adjust the deployment of reconnaissance platforms. In the military field, accurate description of the
radar electromagnetic environment is a key process to implementing accurate and efficient
decisionmaking for military commanders[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>Current research on radar detection capabilities mainly includes the following two aspects:
Scholars in the field of Radio-wave communications mainly pay attention to the value calculation
of the radar equation, focus on research in two -dimensional conditions, or the numerical calculation of
a small range of three-dimensional positions:</p>
      <p>
        Awadallah et al. used the boundary integral equation to speed up the value calculation efficiency of
electromagnetic three-dimensional communication, but it is difficult to apply when the range is large
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Feng Qi et al. introduced the three-dimensional data generating method based on the planar radar
detecting area calculating method and vertical detecting distance calculating method [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. This method
reduces the quantity of data effectively. Xiaoguang Cheng et al. analyzed the detection capability of
radar network by using the radar detection information in altitude direction, and proposed a calculation
method for the detection range and distance of radar network at different elevation [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>Another aspect of research uses geometric optical principles and electromagnetic propagation
characteristics to simulate the electromagnetic space formed by radar:</p>
      <p>
        Yubing Bai et al. realized the processing method of complex terrain based on the principle of
geometric optics [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], however, this algorithm is based on space intersection, with high computational
cost. Hang Qiu et al. proposed a 3D modeling method for radar range based on the influence of mixed
sampling [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], which was sampled under different characteristics in the direction of azimuth and pitch.
Xiaoguang Cheng computed the 3D power region of air-defense radar by employing the power diagram
obtained via radar flight test and considering the influence of terrain and atmosphere [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. However, this
method has the problem of complex calculation and small computable range.
      </p>
      <p>
        However, the computational complexity of light propagation is high, making it difficult to handle
large amounts of three-dimensional spatial data calculations. In 2017, Yue Yuan et al. proposes a
method of calculating the radar detection range based on the space division structure [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], reducing the
computational complexity of radar detection ranges under the influence of terrain. This article verifies
the feasibility of the space division structure in electromagnetic computing problems.
      </p>
      <p>Based on the above-mentioned research, the radar detection capability modeling has problems such
as high computing complexity, small representation range, different This article verifies the feasibility
of the space division structure in electromagnetic computing problems.</p>
      <p>requirements for calculating accuracy, and low universality.</p>
      <p>Aiming at these problems, the multi-level fast calculation method of radar detection capability is
proposed in this paper. This method uses a 3D subdivision grid to represent the detection domain of the
radar, which reduces the computing complexity and calculates the power density distribution of the
radar at a variety of scales. In addition, MPI parallel strategy, pre-cache method, and other acceleration
algorithms are introduced in the calculation process, which greatly improve the calculation efficiency.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Space Subdivision Based on GeoSOT-3D</title>
      <p>
        Graphic projection maps cannot express three-dimensional data, and the visualization effect is not
good. The GeoSOT-3D spatial section method has the characteristics of global scale, different particle
sizes, and a supporting three-dimensional spatial section [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which is very suitable for expressing the
range of the radar.
      </p>
      <p>GeoSOT-3D grid originated from the GeoSOT, a 2 -dimensional geographical coordinates Earth
Code grid, proposed by Peking University. GeoSOT is a subdivision and encoding method of the Earth's
surface using planar dissection in the two-dimensional direction of latitude and longitude. It has the
characteristics of non-overlapping boundaries, orthogonal mesh, consistent longitude and latitude, and
good compatibility with traditional data specifications.</p>
      <p>On the basis of inheriting these characteristics, GeoSOT-3D expands GeoSOT on elevation
dimension. It uses the oct-tree space segmentation to divide the three-dimensional space which is from
the center of the earth to the space at 50000 km above ground, along with the longitude, latitude, and
elevation directions into spatial grids. In order to perform binary integer coding, GeoSOT-3D expands
the earth space to 512 °×512 °×512 °, expands 1 °to 64 ′, expands 1 ′ to 64 ″, and achieves recursive
oct-tree space segmentation.</p>
      <p>In this paper, the radar electromagnetic space can be found according to the center point of the radar
and the radar detecting range. Then, according to the partition granularity selected by the user, the space
is divided into three-dimensional grids. The grids obtained by division are real three-dimensional nodes
with longitude, latitude, and elevation position information. Each node corresponds to GeoSOT-3D
code one-to-one, encoded sequentially according to the Z-order encoding method, and the coded value
is obtained by Morton encoding, which can obtain a unique index of each spatial element. GeoSOT-3D
grid multi-level partitioning and the coding diagram are shown in Figure 1: The multi-level partitioning
and coding diagram based on GeoSOT-3D:</p>
    </sec>
    <sec id="sec-3">
      <title>3. Parallel Calculation for Radar Detection Capability Based on MPI</title>
    </sec>
    <sec id="sec-4">
      <title>3.1. Radar power density calculation model</title>
      <p>First, establish a spherical coordinate system as shown in Figure 2 for radar measurements:
  ( ,  ) =
,
(1)
 ( ,  ) =   ( )   (  ),
For aperture antennas, the following calculation formula is available:
(3)
  is the y-oriented rectangular aperture size.</p>
      <p>For array antennas, the formula is slightly different:</p>
      <p>( ) =
| ( )| = |</p>
    </sec>
    <sec id="sec-5">
      <title>3.2. Calculation model based on precomputation</title>
      <p>According to performance analysis, it was found that the most time-consuming part of the
calculation process was the calculation of the value of the sin function. Therefore, in order to speed up
the calculation efficiency, the calculation of the E(θ) table, etc. is carried out in advance and the results
will be saved in memory.</p>
      <p>The table is constructed as follows:</p>
      <p>According to radar types (seam array radar, phased array radar) and radar parameters (number of
array elements, element spacing or y-direction size, working frequency), using different directionality
coefficient calculation formulas, the corresponding directionality coefficient of 0°to 360 °can be
calculated (the default accuracy is 10−3degree, adjustable).</p>
      <p>Follow the above procedure to calculate the comparison table of angle and directivity coefficients.
When calculation needs to use it, look up the table directly. This approach reduces the actual total
calculation time.</p>
    </sec>
    <sec id="sec-6">
      <title>3.3. Parallel acceleration strategy based on MPI</title>
      <p>This article uses the MPI Parallel Computing framework. The advantage of the MPI parallel
computing framework is that the process space is independent, which can effectively avoid the
competition between memory and cache, and achieve a near-linear acceleration ratio. At the same time,
the MPI algorithm can run directly across nodes.</p>
      <p>The algorithm takes several measures to avoid the startup overhead of the MPI process and the data
interaction between the processes.</p>
      <p>1) According to the main use scenarios of the algorithm, the E(θ) table, etc. is calculated in the
preprocessing stage, and each process performs the full calculation so that when the position or attitude of
the radar vehicle is updated, the update of the calculation result can be realized at the minimum cost.</p>
      <p>The computing task is assigned according to the spatial grid, and each node is calculated separately
without interaction.</p>
      <p>Taking the four processes as an example, the spatial allocation of tasks is shown in Figure 3:
The calculation of different processes does not interfere with each other, and a confirmation message is
sent to process 0 after the process calculation is completed, indicating that the calculation has been
completed.</p>
      <p>In the selection of data services, considering the huge amount of large-scale electromagnetic field
data, it is necessary to consider the global data access efficiency.</p>
      <p>The column-oriented database is a column-related storage architecture for a data storage database,
mainly suitable for batch data processing and instant query, with a very high loading speed, can quickly
query the range, so it is very suitable for the storage of radar field data in this article.</p>
      <p>
        The experimental part of this paper selects ClickHouse[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] as the implementation scheme and takes
advantage of ClickHouse's concurrency to write directly after each process is calculated, so as to avoid
the communication and synchronization overhead caused by data aggregation.
      </p>
    </sec>
    <sec id="sec-7">
      <title>4. Experimental Results and Analysis</title>
      <p>In this paper, four types of radar (including slit array radar and phased array radar) were selected as
experimental data. These experiments calculated their power density distribution in different
geographical locations and at different levels.</p>
    </sec>
    <sec id="sec-8">
      <title>4.1. Experimental setting</title>
      <p>The electromagnetic situation analysis of radar direction with vehicle attitude is also carried out in
this paper. Taking a certain airborne radar as an example, based on the Angle of the vehicle as a
reference, the calculation of the vehicle's periphery is carried out according to the degree of freedom of
radar movement. The situation includes:</p>
      <p>1) The detection point is in the radar scan area. This is the area that the radar can directly reach
through rotation and pitch, and the radar equation for this area can be directly calculated (θ, φ=0) (the
sector area OAB, blue in Figure 4).</p>
      <p>2) The detection point is outside the radar scanning area, but within the antenna signal reachable
area. Although these areas cannot be directly detected by radar, they still have relatively weak field
strength due to the electromagnetic law of the antenna itself. The power density distribution of these
areas can be calculated by using the corresponding antenna pattern formula. When the radar rotation
Angle is set, the nearest Angle within the radar activity range is selected so that the calculated intensity
is the maximum possible intensity (the sector area OAC and OBD, orange area below).</p>
      <p>3) Areas where the antenna signal is unreachable. The power density in these areas is zero.</p>
    </sec>
    <sec id="sec-9">
      <title>4.2. Experimental results and analysis</title>
      <p>In this experiment, the segmentation strategies at different levels were selected for comparison. At
different levels, the number of obtained meshes shows an increasing trend of about 8 times. As the
number of calculations for the grid increases, so does the calculation time. Table 1 shows the situation
in the case of a single process (Take 50000m as the detection distance as an example):
Table 1
Experimental results under a single process</p>
      <p>Level Grid numbers Calculation time
14 21952 0.5ms
15 166375 4ms
16 1331000 30ms</p>
      <p>In the prototype system, the acceleration effect is analyzed as follows. In the experiment, the space
was divided and coded at different levels, and the number of partition elements within the scope of radar
was obtained from 100,000 to 10 million. The time cost before and after the use of the partition grid
parallel model was recorded respectively. Experimental results show that the speed is increased by
410 times. In addition, considering that the data calculation between the split meshes does not interfere
with each other, parallel computing has a good effect on the radar power density calculation
performance of large-scale spatial grid points. Therefore, assigning grid computing tasks to the MPI
process can further accelerate the computational efficiency.</p>
      <p>The results show that the average total time taken to calculate the radar power density of 1 million
grid points is about 40ms when running in parallel with 12 processes, which is about 11 times higher
than that of serial computing strategies. The parallel acceleration effect is shown in Figure 5 and Figure
6, which show that the calculation time decreases with the number of processes, and the acceleration
ratio is almost the same as the number of processes, which means that a nearly linear acceleration ratio
is obtained.</p>
    </sec>
    <sec id="sec-10">
      <title>5. Conclusion</title>
      <p>In this paper, different types and models of radars in real scenes are taken as research objects. Aiming
at the problems of different granularity of radar detection range and complex and time-consuming
calculation of intensity at detection points, a three-dimensional space model based on GeoSOT-3D split
mesh integrating radar power density calculation and expression is designed. In addition, this model
can respond in time when the position and direction of the radar vehicle change, and quickly calculate
the change in power density of the detection point.</p>
      <p>All in all, this paper provides a unified, efficient, and fast calculation method for the power density
distribution of various radars within their range of action.</p>
    </sec>
    <sec id="sec-11">
      <title>6. Acknowledgment</title>
      <p>This paper is the results of the research project funded by the National Science Foundation of China
under Grant No. 41971362.</p>
    </sec>
    <sec id="sec-12">
      <title>7. References</title>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Ying</given-names>
            <surname>Gao</surname>
          </string-name>
          , Zheng Zhang, Fenghua Wang, Shuxia Guo,
          <article-title>Survey on complex electromagnetic environment modeling and visualization</article-title>
          , Computer Engineering &amp; Science,
          <year>2014</year>
          , pp.
          <fpage>1536</fpage>
          -
          <lpage>1543</lpage>
          , doi: 10.3969/j.issn.
          <volume>1007</volume>
          -
          <fpage>130X</fpage>
          .
          <year>2014</year>
          .
          <volume>09</volume>
          .019.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>AWADALLAH R S</surname>
            ,
            <given-names>LAMAR M T,KUTTLER J R,</given-names>
          </string-name>
          <article-title>An Accelerated Boundary Integral Equation Scheme for Propagation over the Ocean Surface</article-title>
          , Radio Science,
          <year>2002</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Feng</given-names>
            <surname>Qi</surname>
          </string-name>
          , Yaqi Liu, Ning Lou,
          <article-title>Study on a Simple Method for Generating 3D Radar Detecting Data</article-title>
          ,
          <source>Computer Simulation</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>12</fpage>
          -
          <lpage>15</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Xiaoguang</surname>
            <given-names>Cheng</given-names>
          </string-name>
          , Wei Li,
          <string-name>
            <given-names>Zhengwei</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <article-title>Calculation Method for Radar Network Detecting Capability</article-title>
          ,
          <source>Command Information System and Technology</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>77</fpage>
          -
          <lpage>82</lpage>
          , doi: 10.15908/j.cnki.cist.
          <year>2019</year>
          .
          <volume>04</volume>
          .014.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Yubing</given-names>
            <surname>Bai</surname>
          </string-name>
          , Xiaoyou Yu, Shouzhe Chen, Ling Yin, Tie-jun
          <source>Chen. Research on Representation Arithmetic of Radar Detection Range in Complicated Terrain Environment, Computer Science</source>
          ,
          <year>2013</year>
          , pp.
          <fpage>29</fpage>
          -
          <lpage>32</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Hang</given-names>
            <surname>Qiu</surname>
          </string-name>
          ,
          <article-title>Leiting Chen, 3D visualization of radar coverage under considering terrain effect</article-title>
          ,
          <source>Journal of Electronic Measurement and Instrument</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>528</fpage>
          -
          <lpage>535</lpage>
          , doi: 10.3724/SP.J.
          <volume>1187</volume>
          .
          <year>2010</year>
          .
          <volume>00528</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Xiaoguang</surname>
            <given-names>Cheng</given-names>
          </string-name>
          , Tangxing Liu, Xinmin Yang,
          <source>Computation of 3D Power Region of Air-defense Radar Based on Power Diagram via Flight Test, Modern Radar</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>8</fpage>
          -
          <lpage>12</lpage>
          , doi: 10.16592/j.cnki/1004-
          <fpage>7859</fpage>
          .
          <year>2017</year>
          .
          <volume>05</volume>
          .002.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Yue</given-names>
            <surname>Yuan</surname>
          </string-name>
          , Chengqi Cheng, Xiaochong Tong,
          <source>Calculation Method of Radar Detection Range Based on Subdivision Expression Structure</source>
          , Geomatics World,
          <year>2017</year>
          .
          <volume>12</volume>
          , pp.
          <fpage>29</fpage>
          -
          <lpage>36</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Yubo</given-names>
            <surname>Yang</surname>
          </string-name>
          , Chengqi Cheng, Jigang Hao,
          <source>Geospatial Data Organization Method Based on GeoSOT Model, Applied Mechanics and Materials</source>
          ,
          <year>2012</year>
          , pp.
          <fpage>1420</fpage>
          -
          <lpage>1423</lpage>
          , doi: 10.4028/www.scientific.net/AMM.263-
          <fpage>266</fpage>
          .
          <fpage>1420</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Merrill</surname>
            <given-names>I. Skolnik</given-names>
          </string-name>
          ,
          <article-title>Radar Handbook(Third Edition)</article-title>
          ,
          <string-name>
            <surname>McGraw-Hill</surname>
          </string-name>
          , New York, NY,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Wickramasekara</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liyanage</surname>
            ,
            <given-names>M. P. P.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>Kumarasinghe</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <article-title>A comparative study between the capabilities of MySQL and ClickHouse in low-performance Linux environment</article-title>
          .
          <source>20th International Conference on Advances in ICT for Emerging Regions (ICTer)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>276</fpage>
          -
          <lpage>277</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>