Method, system and device for performing three-dimensional visualization processing on antenna pattern based on bilinear interpolation, processor and medium thereof

By using bilinear interpolation and coordinate transformation, antenna pattern table data is converted into three-dimensional visualized xyz coordinates, which solves the problem of lacking intuitive three-dimensional preview in existing technologies, realizes intuitive evaluation and optimization of antenna performance, and improves R&D efficiency.

CN119378193APending Publication Date: 2025-01-28TRANSCOM INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411277653.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In existing technologies, the lack of intuitive 3D previews when configuring antenna pattern parameters leads to channel modeling errors and affects R&D efficiency.

Method used

A bilinear interpolation-based method is used to transform antenna pattern table data into three-dimensional visualized xyz coordinates through interpolation algorithms and coordinate transformations. Then, a three-dimensional surface graphic is drawn using a graphics drawing tool to achieve three-dimensional visualization of the antenna pattern.

Benefits of technology

It improves the visualization quality of antenna radiation patterns, allowing engineers to more intuitively understand and optimize antenna performance, thereby improving signal transmission and reception efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119378193A_ABST
    Figure CN119378193A_ABST
Patent Text Reader

Abstract

The invention relates to a method for performing three-dimensional visualization processing on an antenna pattern based on bilinear interpolation, which comprises the following steps of: performing bilinear interpolation according to table data of the antenna pattern to obtain an interpolated data set; converting each data point into xyz coordinates according to each parameter of the interpolated data set; and drawing and displaying a three-dimensional curved surface graph. The invention also relates to a method for realizing three-dimensional visualization processing for the antenna pattern based on bilinear interpolation. According to the method, the system, the device, the processor and the computer readable storage medium for realizing the three-dimensional visualization processing for the antenna pattern based on the bilinear interpolation, the structure and parameters of the antenna can be adjusted by observing the change of the antenna pattern, so that better signal transmission and receiving efficiency is realized, and the reliability of the antenna is improved. And the antenna research and development efficiency is improved. According to the interpolation smoothing processing of the three-dimensional curved surface of the antenna directional diagram, the display effect of the finally drawn three-dimensional curved surface is improved through interpolation expansion of data points, and the visualization quality of the directional diagram is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of channel model data visualization, in particular to antenna direction Figure 3 The present invention relates to the field of three-dimensional visualization, specifically referring to a method, system, device, processor and computer-readable storage medium thereof for realizing three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation. Background Art

[0002] 1. Basic concepts of channel simulator

[0003] A channel simulator is a simulation device that uses computer hardware and software, channel modeling, and radio frequency circuits to simulate the complex wireless communication environment of the real world. The use of a channel simulator can make the characteristics of complex wireless channels repeatable and controllable in the laboratory, which can accelerate the development of wireless communication equipment.

[0004] 2. Working principle of channel simulator

[0005] The working principle of the channel simulator is as follows: Figure 1 As shown in the figure, the base station and the terminal are connected to the input and output ports of the channel simulator respectively. The base station downlink signal is input to the channel simulator through the simulator RF port, and then converted into a digital signal through the ADC. The digital signal is superimposed with the channel model data containing the channel characteristics in the FPGA operation unit. The superimposed digital signal is converted by the DAC, passed to the RF port, and finally sent to the terminal through the RF port.

[0006] 3. Channel Modeling Parameters

[0007] From the basic working principle of the channel simulator, we can know that channel characteristics such as multipath effect, large-scale fading, delay and interference are mainly expressed by channel model data. Therefore, channel model data modeling is an important task in the development of channel simulators. In general, channel model data modeling requires the input of scenario parameters. This includes the number of base stations and terminals, the number of antennas, spatial position, antenna parameters, and the moving direction and speed of the terminal. Among them, the antenna parameters include the relevant parameter configuration of the antenna pattern.

[0008] 4. The concept of antenna pattern

[0009] In the field of wireless communications, antenna performance is crucial for signal transmission and reception. Among them, the antenna pattern is one of the important parameters that describe the antenna radiation characteristics. The antenna pattern table is often used to describe the antenna characteristics in each direction. When modeling the channel, the antenna pattern table consists of the following fields:

[0010] Parameter name unit scope describe Elevation Degree(°) [0,180] The angle of the antenna in the vertical plane. Azimuth Degree(°) [0,360] The angle of the antenna in the horizontal plane. V Decibel (dB) \ The power gain of the antenna in the vertical plane. H Decibel (dB) \ The power gain of the antenna in the horizontal plane. Vphase Degree(°) \ The phase shift of the antenna in the vertical plane. Hphase Degree(°) \ The phase shift of the antenna in the horizontal plane.

[0011] 5. Problems with existing technologies

[0012] Currently, when configuring antenna pattern parameters, there is only a table of information, and there is no intuitive preview of the three-dimensional graph of the power gain in each direction of the antenna, so it is impossible to know the correctness of the antenna pattern generated based on the table content. If a pattern table containing incorrect data is used, it will lead to unpredictable errors such as channel modeling failure, affecting R&D efficiency and slowing down the progress of R&D projects. Summary of the invention

[0013] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a method, system, device, processor and computer-readable storage medium thereof for realizing three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation, which meets the requirements of visualization, high transmission and reception efficiency and a wide range of applications.

[0014] In order to achieve the above-mentioned object, the method, system, device, processor and computer-readable storage medium thereof for implementing three-dimensional visualization processing of antenna pattern based on bilinear interpolation of the present invention are as follows:

[0015] The method for realizing three-dimensional visualization processing of antenna pattern based on bilinear interpolation has the following main features:

[0016] (1) Perform bilinear interpolation based on the antenna pattern table data to obtain an interpolated data set;

[0017] (2) converting each data point into xyz coordinates according to the parameters of the interpolated data set;

[0018] (3) Draw and display three-dimensional surface graphics.

[0019] Preferably, the step (1) specifically comprises the following steps:

[0020] (1.1) Set four neighboring points (x0, y0), (x1, y0), (x0, y1) and (x1, y1);

[0021] (1.2) Calculate the interpolation value in the y direction in the x direction; Calculate the interpolation value in the x direction in the y direction;

[0022] (1.3) Multiply the interpolated value in the x direction and the interpolated value in the y direction to obtain the interpolated result, which is the value of the point (x, y) between the four neighboring points.

[0023] Preferably, the interpolation value in the y direction is calculated in the step (1.2), specifically:

[0024] The interpolated value in the y direction is calculated according to the following formula:

[0025] Interpolation in the y direction = (x1-x0)(y-y0) / (x1-x0)+y0;

[0026] The interpolation value in the x direction is calculated in step (1.2), specifically:

[0027] The interpolated value in the x direction is calculated according to the following formula:

[0028] Interpolation in the x direction = (x-x0)(y1-y) / (x1-x0)+y;

[0029] Among them, (x0, y0), (x1, y0), (x0, y1) and (x1, y1) are the coordinates of four neighboring points.

[0030] Preferably, the step (2) specifically comprises the following steps:

[0031] (2.1) Calculate the phase complex numbers eV and eH of each data point based on the vertical phase value Vphase and the horizontal phase value Hphase;

[0032] (2.2) Calculate the power gain value R based on the values ​​of V, H, eV and eH;

[0033] (2.3) Calculate the xyz coordinates of each data point in the spatial rectangular coordinate system.

[0034] Preferably, the power gain value R is calculated in step (2.2) as follows:

[0035] The power gain value R is calculated according to the following formula:

[0036]

[0037] Wherein, eV and eH are phase complex numbers, V is the power gain value in the vertical direction, and H is the power gain value in the horizontal direction.

[0038] Preferably, in the step (2.3), the xyz coordinates of each data point in the spatial rectangular coordinate system are calculated as follows:

[0039] The xyz coordinates of each data point in the spatial rectangular coordinate system are calculated according to the following formula:

[0040] x = R × sin(E) × cos(A);

[0041] y = R × cos(E);

[0042] z = R × sin(E) × sin(A);

[0043] Among them, R is the power gain value, A refers to Azimuth, that is, the azimuth angle, and E refers to Elevation, that is, the pitch angle.

[0044] Preferably, the step (3) specifically comprises the following steps:

[0045] (3.1) Use a graphics drawing tool to draw each data point according to the position of the xyz coordinates of each data point in the spatial rectangular coordinate system, and draw it into a three-dimensional surface graph;

[0046] (3.2) Use 3D rendering tools to render 3D surface graphics.

[0047] The main feature of the system for performing three-dimensional visualization processing on antenna patterns based on bilinear interpolation is that the system comprises:

[0048] Data layer, logic layer and interface layer,

[0049] The data layer includes the original data set and the interpolated data set.

[0050] The original data set is used to store the data content of the original antenna pattern table, and the interpolated data set is used to store the data content processed by the interpolation algorithm;

[0051] The logic layer includes an interpolation algorithm module and a coordinate conversion algorithm module.

[0052] The interpolation algorithm module is used for performing an interpolation algorithm for interpolating and expanding data points, and the coordinate conversion algorithm module is used for converting the field parameters of the antenna pattern table content into xyz coordinates in a three-dimensional rectangular coordinate system;

[0053] The interface layer includes graphics drawing and display, which is used to draw the corresponding three-dimensional space surface according to the xyz coordinate points, and display the drawing results in the three-dimensional space rectangular coordinate system.

[0054] The main feature of the device for realizing three-dimensional visualization processing of antenna patterns based on bilinear interpolation is that the device comprises:

[0055] a processor configured to execute computer executable instructions;

[0056] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for performing three-dimensional visualization processing on the antenna pattern based on bilinear interpolation are implemented.

[0057] The main feature of the processor for realizing three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation is that the processor is configured to execute computer-executable instructions. When the computer-executable instructions are executed by the processor, the various steps of the method for realizing three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation are realized.

[0058] The computer-readable storage medium has the main feature of storing a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation.

[0059] The method, system, device, processor and computer-readable storage medium of the present invention for implementing three-dimensional visualization of antenna patterns based on bilinear interpolation can visualize the power gain in each direction of the antenna, so that engineers can more intuitively understand the performance of the antenna, evaluate its performance in different environments, and optimize its design and application. For example, by observing the changes in the antenna pattern, the structure and parameters of the antenna can be adjusted to achieve better signal transmission and reception efficiency, thereby improving the efficiency of antenna research and development. Antenna Direction Figure 3 The interpolation and smoothing processing of the three-dimensional surface improves the display effect of the final drawn three-dimensional surface and improves the quality of the directional map visualization by interpolating and expanding the data points. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 This is a schematic diagram of the basic structure of the channel simulator.

[0061] Figure 2 It is a hierarchical architecture diagram of the system for performing three-dimensional visualization processing on antenna patterns based on bilinear interpolation of the present invention.

[0062] Figure 3 The present invention is a flow chart of a method for implementing three-dimensional visualization processing of antenna patterns based on bilinear interpolation. DETAILED DESCRIPTION

[0063] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0064] The method of the present invention for implementing three-dimensional visualization processing of antenna patterns based on bilinear interpolation comprises the following steps:

[0065] (1) Perform bilinear interpolation based on the antenna pattern table data to obtain an interpolated data set;

[0066] (2) converting each data point into xyz coordinates according to the parameters of the interpolated data set;

[0067] (3) Draw and display three-dimensional surface graphics.

[0068] As a preferred embodiment of the present invention, the step (1) specifically comprises the following steps:

[0069] (1.1) Set four neighboring points (x0, y0), (x1, y0), (x0, y1) and (x1, y1);

[0070] (1.2) Calculate the interpolation value in the y direction in the x direction; Calculate the interpolation value in the x direction in the y direction;

[0071] (1.3) Multiply the interpolated value in the x direction and the interpolated value in the y direction to obtain the interpolated result, which is the value of the point (x, y) between the four neighboring points.

[0072] As a preferred embodiment of the present invention, the interpolation in the y direction is calculated in step (1.2), specifically:

[0073] The interpolated value in the y direction is calculated according to the following formula:

[0074] Interpolation in the y direction = (x1-x0)(y-y0) / (x1-x0)+y0;

[0075] The interpolation value in the x direction is calculated in step (1.2), specifically:

[0076] The interpolated value in the x direction is calculated according to the following formula:

[0077] Interpolation in the x direction = (x-x0)(y1-y) / (x1-x0)+y;

[0078] Among them, (x0, y0), (x1, y0), (x0, y1) and (x1, y1) are the coordinates of four neighboring points.

[0079] As a preferred embodiment of the present invention, the step (2) specifically comprises the following steps:

[0080] (2.1) Calculate the phase complex numbers eV and eH of each data point based on the vertical phase value Vphase and the horizontal phase value Hphase;

[0081] (2.2) Calculate the power gain value R based on the values ​​of V, H, eV and eH;

[0082] (2.3) Calculate the xyz coordinates of each data point in the spatial rectangular coordinate system.

[0083] As a preferred embodiment of the present invention, the power gain value R is calculated in step (2.2), specifically:

[0084] The power gain value R is calculated according to the following formula:

[0085]

[0086] Wherein, eV and eH are phase complex numbers, V is the power gain value in the vertical direction, and H is the power gain value in the horizontal direction, and the unit is decibel (dB).

[0087] As a preferred embodiment of the present invention, the xyz coordinates of each data point in the spatial rectangular coordinate system are calculated in step (2.3), specifically:

[0088] The xyz coordinates of each data point in the spatial rectangular coordinate system are calculated according to the following formula:

[0089] x = R × sin(E) × cos(A);

[0090] y = R × cos(E);

[0091] z = R × sin(E) × sin(A);

[0092] Among them, R is the power gain value, A refers to Azimuth, that is, the azimuth angle, and E refers to Elevation, that is, the pitch angle.

[0093] As a preferred embodiment of the present invention, the step (3) specifically comprises the following steps:

[0094] (3.1) Use a graphics drawing tool to draw each data point according to the position of the xyz coordinates of each data point in the spatial rectangular coordinate system, and draw it into a three-dimensional surface graph;

[0095] (3.2) Use 3D rendering tools to render 3D surface graphics.

[0096] The system of the present invention for performing three-dimensional visualization processing on antenna patterns based on bilinear interpolation, wherein the system comprises:

[0097] Data layer, logic layer and interface layer,

[0098] The data layer includes the original data set and the interpolated data set.

[0099] The original data set is used to store the data content of the original antenna pattern table, and the interpolated data set is used to store the data content processed by the interpolation algorithm;

[0100] The logic layer includes an interpolation algorithm module and a coordinate conversion algorithm module.

[0101] The interpolation algorithm module is used for performing an interpolation algorithm for interpolating and expanding data points, and the coordinate conversion algorithm module is used for converting the field parameters of the antenna pattern table content into xyz coordinates in a three-dimensional rectangular coordinate system;

[0102] The interface layer includes graphics drawing and display, which is used to draw the corresponding three-dimensional space surface according to the xyz coordinate points, and display the drawing results in the three-dimensional space rectangular coordinate system.

[0103] The device for implementing three-dimensional visualization processing of antenna patterns based on bilinear interpolation of the present invention, wherein the device comprises:

[0104] a processor configured to execute computer executable instructions;

[0105] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for performing three-dimensional visualization processing on the antenna pattern based on bilinear interpolation are implemented.

[0106] The processor of the present invention is used to implement three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation, wherein the processor is configured to execute computer-executable instructions. When the computer-executable instructions are executed by the processor, the various steps of the above-mentioned method for implementing three-dimensional visualization processing of antenna radiation patterns based on bilinear interpolation are implemented.

[0107] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for performing three-dimensional visualization processing on antenna radiation patterns based on bilinear interpolation.

[0108] Antenna pattern is an important parameter that describes the radiation characteristics of an antenna, including radiation direction, radiation intensity, etc. In practical applications, the radiation characteristics of an antenna need to be optimized according to different requirements, such as achieving omnidirectional coverage, directional coverage, etc. By converting the antenna pattern table data into a three-dimensional graph, the radiation characteristics of the antenna can be more intuitively displayed.

[0109] direction Figure 3 Interpolation and smoothing of dimensional surfaces. Based on the existing data points, additional data points can be introduced on the basis of the original data points through interpolation methods to make the drawn surface smoother. The data surface obtained by interpolation can better meet the shape and characteristics of the original data.

[0110] The present invention adopts the following technical solutions to solve the above technical problems:

[0111] 1. Add a directional pattern preview module based on the directional pattern parameter input of the modeling software. The hierarchical structure of this functional module is as follows: Figure 2 As shown, it includes the following parts:

[0112] (1) Data layer: original data set and interpolated data set;

[0113] The original data set saves the data content of the original antenna pattern table.

[0114] The interpolated data set stores the larger data content after being processed by the interpolation algorithm.

[0115] (2) Logical layer: interpolation algorithm, coordinate conversion algorithm;

[0116] The interpolation algorithm is an interpolation algorithm that interpolates and expands data points.

[0117] The coordinate conversion algorithm converts the field parameters of the antenna pattern table content into xyz coordinates in a three-dimensional rectangular coordinate system.

[0118] (3) Interface layer: graphics drawing and display.

[0119] The graphics drawing and display class draws the corresponding three-dimensional space surface based on the xyz coordinate points obtained after processing by the coordinate conversion algorithm, and then uses the rendering engine to display the graphics drawing results in the three-dimensional space rectangular coordinate system, supporting functions such as perspective rotation and zooming.

[0120] 2. Interpolation algorithm for antenna pattern table data

[0121] The interpolation algorithm uses bilinear interpolation, which is an interpolation method based on neighboring points. It assumes that the change of data points is linear in two directions. This method is very common in two-dimensional or higher-dimensional data interpolation. The present invention uses Elevation and Azimuth in the table as two-dimensional reference values, and the remaining four field values ​​are to be calculated.

[0122] The basic idea of ​​the bilinear interpolation method is to perform linear interpolation between four neighboring points. Suppose there are four neighboring points (x0, y0), (x1, y0), (x0, y1) and (x1, y1) in a two-dimensional data set, and you want to interpolate a point (x, y) between these four points.

[0123] First, linear interpolation can be performed in the x and y directions respectively. For the x direction, the value in the y direction can be calculated according to the formula (x1-x0)(y-y0) / (x1-x0)+y0, where (x1-x0) is the step size in the x direction. Similarly, the value in the x direction can be calculated according to the formula (x-x0)(y1-y) / (x1-x0)+y.

[0124] Then, the interpolation results in these two directions can be multiplied to obtain the final interpolation result. This result represents the value of the point (x, y) between the four neighboring points.

[0125] An advantage of the bilinear interpolation method is that it takes into account the trend of changes between four neighboring points and can therefore provide more accurate results.

[0126] 3. Coordinate conversion algorithm for antenna pattern data

[0127] After the interpolation algorithm is used to process the interpolated data set, each data point is converted into xyz coordinates according to the parameters of the interpolated data set.

[0128] (1) Calculate the phase complex numbers eV and eH of each data point based on Vphase and Hphase. The complex number is represented by a+bi, Vphase is the phase value in the vertical direction, and Hphase is the phase value in the horizontal direction. The unit is degree (°). For eV, a=cos(Vphase), b=sin(Vphase); for eH, a=cos(Hphase), b=sin(Hphase);

[0129] (2) Calculate the power gain value R based on the values ​​of V, H, eV and eH. The formula is as follows:

[0130]

[0131] Wherein, eV and eH are phase complex numbers, V is the power gain value in the vertical direction, and H is the power gain value in the horizontal direction;

[0132] (3) According to the values ​​of Elevation, Azimuth and R, the xyz coordinates of each data point in the spatial rectangular coordinate system are calculated. The specific formula is as follows: (Elevation is denoted as E, Azimuth is denoted as A)

[0133] x=R×sin(E)×cos(A)

[0134] y=R×cos(E)

[0135] z=R×sin(E)×sin(A)

[0136] Among them, E is the elevation angle, A is the azimuth angle, and the unit is degree (°).

[0137] 4. Drawing and display of three-dimensional surface graphics

[0138] After obtaining the xyz coordinates of each data point through the coordinate conversion algorithm, use the graphics drawing tool to draw each data point according to the position of these data points in the spatial rectangular coordinate system, connect the points into lines, connect the lines into surfaces, and draw a three-dimensional surface graphic. Then use a certain three-dimensional rendering tool to render the three-dimensional surface in a new window to achieve a three-dimensional visual preview of the antenna pattern table data.

[0139] The specific implementation of the present invention is as follows:

[0140] 1. Use Qt Creator development tool to create source code project, and the development language is C++.

[0141] (1) Dataset class

[0142] The original data of the table is saved using a nested vector structure to save the data of each row and column of the table.

[0143] vector <vector <double>>originAntennaTable; / / Nested vector structure to save table data

[0144] vector <double>rowData; / / is the inner vector of the nested vector, saving a row of data in the table

[0145] Each rowData object in the originAntennaTable object is a data point.

[0146] The interpolated data is saved in the same way, except that there are more inner rowData objects.

[0147] (2) Interpolation algorithm

[0148] The C++ code implementation of the bilinear interpolation algorithm is as follows:

[0149] double bilinear_interpolation(double q11, double q12, double q21, double q22, double x1, double x2, double y1, double y2, double x, double y)

[0150] {

[0151] double r1=((x2-x) / (x2-x1))×q11+((x-x1) / (x2-x1))×q21;

[0152] double r2=((x2-x) / (x2-x1))×q12+((x-x1) / (x2-x1))×q22;

[0153] return((y2-y) / (y2-y1))×r1+((y-y1) / (y2-y1))×r2;

[0154] }

[0155] Among them, q11, q12, q21, and q22 are coordinates (x1, y1), (x1, y2), (x2, y1), and (x2, y2), respectively, and (x, y) is the coordinate point to be interpolated.

[0156] (3) Coordinate conversion algorithm

[0157] The coordinate conversion algorithm formula given in the technical solution is implemented using C++ code:

[0158] vector <complex <double>>eV;

[0159] vector<complex <double>>eH;

[0160] vector <double>R;

[0161] for(int i = 0; i < count; i++) / / Traverse data points, count is the number of data points

[0162] {

[0163] eV.push_back(cos(Vphase), sin(Vphase));

[0164] eH.push_back(cos(Hphase), sin(Hphase));

[0165] R.push_back(pow(abs(sqrt(pow(10, V / 10)) * eV), 2) + pow(abs(sqrt(pow(10, H / 10)) * eH), 2));

[0166] float x = R[i] * sin(Elevation) * cos(Azimuth);

[0167] float y = R[i] * cos(Elevation);

[0168] float z = R[i] * sin(Elevation) * sin(Azimuth);

[0169] }

[0170] Get the xyz coordinates of each data point.

[0171] (4) Graph drawing and display

[0172] The graph drawing and display are implemented using the interfaces provided by the Q3DSurface class in Qt Creator to draw the data points of the xyz coordinates and draw the surface based on the data points. At the same time, the graph rendering of Q3DSurface is based on OpenGL and is already integrated in Qt, so it can be used directly. Create a new window and display the rendered three-dimensional rectangular coordinate system and three-dimensional surface graph in the new window. The following is the graph drawing code based on Q3DSurface:

[0173] Q3DSurface *surface = new Q3DSurface();

[0174] / / Axis settings

[0175] surface->axisX()->setTitle("X-axis");

[0176] surface->axisY()->setTitle("Y-axis");

[0177] surface->axisZ()->setTitle("Z axis");

[0178] / / Data point settings

[0179] QSurfaceDataProxy×proxy=new QSurfaceDataProxy();

[0180] QSurface3DSeries×series=new QSurface3DSeries(proxy);

[0181] QSurfaceDataArray×dataArray=new QSurfaceDataArray();

[0182] QSurfaceDataRow×newRow=new QSurfaceDataRow();

[0183] QSurfaceDataItem item;

[0184] / / Pass the xyz coordinates of the data point to the point to be drawn, and Q3DSurface completes the graphics drawing

[0185] item.setPosition(QVector3D(x, y, z));

[0186] ×newRow< <item;

[0187] ×dataArray< <newRow;

[0188] proxy->resetArray(dataArray);

[0189] surface->addSeries(series);

[0190] / / Create a new window to display graphics

[0191] QVBoxLayout×vLayout=new QVBoxLayout;

[0192] vLayout->addWidget(CreateWindowContainer(surface));

[0193] this->setLayout(vLayout);

[0194] 2. If Figure 3 As shown in the flowchart, the process of the complete directional map preview function is as follows:

[0195] ① Prepare the directional diagram table: prepare the directional diagram table file in csv format. Note that you need to add the table headers Elevation, Azimuth, V, H, Vphase, and Hphase, and fill in the parameters of each data point;

[0196] ②Import directional pattern table: Select Import directional pattern file on the software to import the data in the csv format file prepared in step ① into the directional pattern table on the software interface line by line;

[0197] ③ Check whether the table data is correct: Check whether the Elevation and Azimuth values ​​of all the data in the table are within their respective reasonable ranges. If they are out of range, the software will pop up an error warning window and correction suggestions;

[0198] ④ Data table interpolation: After checking that the table data is correct, interpolation will be performed. The interpolation algorithm uses bilinear interpolation to expand the data points according to the parameter values ​​of the existing data points, and finally obtain 181×361=65341 data points.

[0199] ⑤ Coordinate calculation: After the interpolation is completed, the six parameters of the 65341 data points are processed by a specific algorithm to obtain the xyz coordinates of the 65341 data points.

[0200] ⑥ Three-dimensional surface drawing: Use the interface provided by Q3DSurface to establish a spatial rectangular coordinate system, draw all data points into the coordinate system, and Q3DSurface will draw a three-dimensional surface based on these data points.

[0201] In this solution, the data set before interpolation will be verified for correctness, and correction suggestions will be given if it is incorrect, such as Figure 3 shown.

[0202] Since the bilinear interpolation algorithm is used, the prerequisite is to limit a certain range and at least four known points in the range. In this solution, the Evelation pitch angle and Azimuth azimuth parameters in the two coordinate axis directions are limited to a range, requiring the effective value interval of the pitch angle to be [0,180] degrees and the effective value interval of the azimuth angle to be [0,360] degrees. If the coordinates of the known points in the uninterpolated data set provided are not within the range or there are less than four known points, there will be corresponding data verification prompts and certain correction suggestions.

[0203] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.

[0204] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0205] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0206] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0207] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0208] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.

[0209] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0210] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0211] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0212] The method, system, device, processor and computer-readable storage medium of the present invention for implementing three-dimensional visualization of antenna patterns based on bilinear interpolation can visualize the power gain in each direction of the antenna, so that engineers can more intuitively understand the performance of the antenna, evaluate its performance in different environments, and optimize its design and application. For example, by observing the changes in the antenna pattern, the structure and parameters of the antenna can be adjusted to achieve better signal transmission and reception efficiency, thereby improving the efficiency of antenna research and development. Antenna Direction Figure 3 The interpolation and smoothing processing of the three-dimensional surface improves the display effect of the final drawn three-dimensional surface and improves the quality of the directional map visualization by interpolating and expanding the data points.

[0213] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.< / double> < / double> < / double> < / double> < / double>

Claims

1. A method for three-dimensional visualization of antenna patterns based on bilinear interpolation, characterized in that: The method comprises the following steps: (1) Perform bilinear interpolation based on the antenna pattern table data to obtain an interpolated data set; (2) converting each data point into xyz coordinates according to the parameters of the interpolated data set; (3) Draw and display three-dimensional surface graphics.

2. The method for realizing three-dimensional visualization of antenna patterns based on bilinear interpolation according to claim 1, characterized in that: The step (1) specifically comprises the following steps: (1.1) Set four neighboring points (x0, y0), (x1, y0), (x0, y1) and (x1, y1); (1.2) Calculate the interpolation value in the y direction in the x direction; Calculate the interpolation value in the x direction in the y direction; (1.3) Multiply the interpolated value in the x direction and the interpolated value in the y direction to obtain the interpolated result, which is the value of the point (x, y) between the four neighboring points.

3. The method for realizing three-dimensional visualization of antenna patterns based on bilinear interpolation according to claim 2, characterized in that: The interpolation value in the y direction is calculated in step (1.2), specifically: The interpolated value in the y direction is calculated according to the following formula: Interpolation in the y direction = (x1-x0)(y-y0) / (x1-x0)+y0; The interpolation value in the x direction is calculated in step (1.2), specifically: The interpolated value in the x direction is calculated according to the following formula: Interpolation in the x direction = (x-x0)(y1-y) / (x1-x0)+y; Among them, (x0, y0), (x1, y0), (x0, y1) and (x1, y1) are the coordinates of four neighboring points.

4. The method for realizing three-dimensional visualization of antenna patterns based on bilinear interpolation according to claim 1, characterized in that: The step (2) specifically comprises the following steps: (2.1) Calculate the phase complex numbers eV and eH of each data point based on the vertical phase value Vphase and the horizontal phase value Hphase; (2.2) Calculate the power gain value R based on the values ​​of V, H, eV and eH; (2.3) Calculate the xyz coordinates of each data point in the spatial rectangular coordinate system.

5. The method for realizing three-dimensional visualization of antenna patterns based on bilinear interpolation according to claim 4, characterized in that: The power gain value R is calculated in step (2.2), specifically: The power gain value R is calculated according to the following formula: Wherein, eV and eH are phase complex numbers, V is the power gain value in the vertical direction, and H is the power gain value in the horizontal direction.

6. The method for realizing three-dimensional visualization of antenna patterns based on bilinear interpolation according to claim 4, characterized in that: In the step (2.3), the xyz coordinates of each data point in the spatial rectangular coordinate system are calculated as follows: The xyz coordinates of each data point in the spatial rectangular coordinate system are calculated according to the following formula: x = R × sin(E) × cos(A); y = R × cos(E); z = R × sin(E) × sin(A); Among them, R is the power gain value, A refers to Azimuth, that is, the azimuth angle, and E refers to Elevation, that is, the pitch angle.

7. The method for realizing three-dimensional visualization of antenna patterns based on bilinear interpolation according to claim 1, characterized in that: The step (3) specifically comprises the following steps: (3.1) Use a graphics drawing tool to draw each data point according to the position of the xyz coordinates of each data point in the spatial rectangular coordinate system, and draw it into a three-dimensional surface graph; (3.2) Use 3D rendering tools to render 3D surface graphics.

8. A system for performing three-dimensional visualization processing of antenna patterns based on bilinear interpolation for implementing the method of claim 1, characterized in that: The system comprises: Data layer, logic layer and interface layer, The data layer includes the original data set and the interpolated data set. The original data set is used to store the data content of the original antenna pattern table, and the interpolated data set is used to store the data content processed by the interpolation algorithm; The logic layer includes an interpolation algorithm module and a coordinate conversion algorithm module. The interpolation algorithm module is used for performing an interpolation algorithm for interpolating and expanding data points, and the coordinate conversion algorithm module is used for converting the field parameters of the antenna pattern table content into xyz coordinates in a three-dimensional rectangular coordinate system; The interface layer includes graphics drawing and display, which is used to draw the corresponding three-dimensional space surface according to the xyz coordinate points, and display the drawing results in the three-dimensional space rectangular coordinate system.

9. A device for realizing three-dimensional visualization processing of antenna patterns based on bilinear interpolation, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, the steps of the method for performing three-dimensional visualization processing on antenna radiation patterns based on bilinear interpolation as described in any one of claims 1 to 7 are implemented.

10. A processor for implementing three-dimensional visualization of antenna patterns based on bilinear interpolation, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for performing three-dimensional visualization processing on antenna radiation patterns based on bilinear interpolation as described in any one of claims 1 to 7 are implemented.

11. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for performing three-dimensional visualization processing on antenna radiation patterns based on bilinear interpolation as described in any one of claims 1 to 7.