Radar directional diagram real-time automatic test method and device

By acquiring radar point frequency echo data in real time for FFT calculation and complex number processing, the slope and phase values ​​of the antenna pattern are automatically calculated. This solves the problems of cumbersome operation and low accuracy of existing radar pattern testing methods, realizes automated testing of radar patterns, and improves testing speed and accuracy.

CN119291313APending Publication Date: 2025-01-10CNGC INST NO 206 OF CHINA ARMS IND GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411443785.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

Existing radar pattern testing methods are cumbersome, inaccurate, and time-consuming, and cannot achieve automated calculations.

Method used

By acquiring radar point frequency echo time-domain data in real time, performing FFT calculations and pulse selection, the antenna pattern slope K value and phase value are automatically found, and automatic calculation and real-time transmission are achieved using complex data processing.

Benefits of technology

It has enabled automated testing of radar patterns, improving testing speed and accuracy. It is applicable to radars with various scanning methods and frequency bands, and reduces labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119291313A_ABST
    Figure CN119291313A_ABST
Patent Text Reader

Abstract

The invention relates to a radar directional diagram real-time automatic test method and device, and relates to the technical field of radar directional diagram calculation. Comprising the following steps: acquiring radar dot frequency time domain data of various wavebands; performing fast time dimension FFT processing on dot frequency original time domain data entering in real time to convert the time domain data into a frequency domain; the amplitude of the frequency domain data is selected to be large, and the position of a spectrum peak is found; combining all slow time dimension spectrum peaks of a fixed pulse number, accessing amplitude data of a sum path and a difference path after combination, and accessing an angle corresponding to each pulse; performing difference comparison and calculation through the two paths of accessed radar amplitude information, and accessing a module value and a phase of a calculation result; the modulus value and the angle are correspondingly calculated to obtain a K value, and the value before phase jump is the phase value of the antenna; and transmitting the calculated K value phase to a display control interface. According to the method, real-time automatic testing of the radar directional diagram is achieved, and meanwhile the method is easy to achieve for engineering and high in generalization performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of radar pattern calculation, and in particular to a real-time automatic testing method and device for radar pattern. Background Art

[0002] Radar pattern test plays an important role in radar performance test and is an important step to obtain key radar system indicators, including antenna gain, sensitivity, peak sidelobe ratio (PSLR) and half-power beamwidth (HPBW). These performance indicators play a decisive role in determining the performance of radar, which is directly related to the radar's target resolution ability, target detection distance and signal processing efficiency.

[0003] In the early days, people could only measure the directional pattern by offline testing. The baseband IQ data of the point frequency continuous wave was recorded by data acquisition software, and then the point frequency echo was manually processed by pulse compression through MATLAB simulation software. Then, the distance unit where the maximum value of the spectrum after pulse compression is located was manually input through the pulse compression result. Then, a certain number of pulse data of this distance unit was accessed by manually inputting the distance unit number, and the sum and difference path data of the directional pattern were obtained. Then, the MATLAB drawing software was used to draw (1) the quotient of the difference path and the sum path data and find the modulus; (2) the angle information of a certain number of pulses given by the data frame header information. By finding the two positions where the quotient is 0.5 before and after the minimum value in (1), and then manually finding the angle values ​​corresponding to the two positions in the angle information, the angles were subtracted and the modulus was obtained to obtain the antenna directional pattern slope K value. The phase value is similar to the K value. The phase value of the quotient of the difference path and the sum path is drawn, and the phase flip angle is manually found in the figure.

[0004] In the process of offline pattern testing, data collection, data analysis procedures, drawing and calculation are all done manually, which is cumbersome and error-prone, time-consuming, labor-intensive and with low accuracy. Moreover, after each radar is delivered to Party A, Party A requires our personnel to conduct pattern testing every time they go out for field testing, which consumes manpower and material resources. Summary of the invention

[0005] The technical problems to be solved by the present invention are:

[0006] In order to avoid the shortcomings of the prior art, the present invention provides a real-time automatic testing method and device for radar pattern, which are used to solve the problems of heavy workload and low precision caused by offline testing and calculation of the prior art pattern.

[0007] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0008] A real-time automatic test method for a radar pattern, characterized by comprising:

[0009] Acquire radar point frequency echo time domain data in real time; the radar point frequency echo time domain data includes sum point frequency echo time domain data and difference point frequency echo time domain data;

[0010] Performing FFT calculation on the summed path frequency echo time domain data and the difference path frequency echo time domain data respectively to obtain summed path frequency echo frequency domain data and difference path frequency echo frequency domain data;

[0011] Performing pulse inner selection on the sum path point frequency echo frequency domain data and the difference path point frequency echo frequency domain data respectively to obtain sum path maximum value data and difference path maximum value data;

[0012] Obtaining complex data based on the sum path maximum value data and the difference path maximum value data;

[0013] Automatically find the antenna pattern slope K value based on the complex data; automatically calculate the phase value based on the complex data;

[0014] The antenna pattern slope K value and the phase value are sent to the display control interface in real time.

[0015] A further technical solution of the present invention is to obtain complex data based on the sum path maximum value data and the difference path maximum value data, specifically:

[0016] The difference path maximum value data and the sum path maximum value data are complex divided to obtain complex data.

[0017] A further technical solution of the present invention is to automatically find the antenna pattern slope K value based on the complex data, including:

[0018] Performing a modulo process on the complex data to obtain a corresponding first modulus value;

[0019] Determining a minimum modulus value among the first modulus values ​​based on a scanning period;

[0020] Subtract 0.5 from the first modulus value to obtain a second modulus value;

[0021] Based on the minimum modulus value, obtaining a first zero value and a second zero value in the second modulus value;

[0022] Based on the first zero value and the second zero value, a value of antenna pattern slope K is determined.

[0023] A further technical solution of the present invention is to obtain a first zero value and a second zero value in the second modulus based on the minimum modulus, including:

[0024] In the second modulus, the first zero value that appears before the center point with the first modulus is the first zero value; the first zero value that appears after the center point with the first modulus is the second zero value.

[0025] A further technical solution of the present invention is to determine the antenna pattern slope K value based on the first zero value and the second zero value, including:

[0026] Obtaining a first angle value corresponding to the first zero value;

[0027] Obtain a second angle value corresponding to the second zero value;

[0028] Based on the first angle value and the second angle value, a value of the antenna pattern slope K is determined.

[0029] A further technical solution of the present invention: determining the antenna pattern slope K value based on the first angle value and the second angle value comprises:

[0030] The first angle value is subtracted from the second angle value, and the absolute value of the difference is taken to obtain the antenna pattern slope K value.

[0031] A further technical solution of the present invention is to automatically calculate the phase value based on the complex data, including:

[0032] Taking a phase of the complex data to obtain a first phase value;

[0033] Determining a phase value retained in the first phase value based on the number of points and the phase flip position in the scanning period;

[0034] The retained phase value is used as the antenna phase value.

[0035] A further technical solution of the present invention: the determination of the phase flip position comprises:

[0036] The absolute value of the difference between two adjacent phases in the first phase value is calculated in sequence, and when the absolute value is greater than 90°, the position of the latter phase of the two adjacent phases is determined to be the phase flip position.

[0037] A further technical solution of the present invention is as follows: the phase value retained in the first phase value is determined based on the number of points and the phase flip position in the scanning cycle, and the formula used is:

[0038]

[0039] Among them, n T is the number of points in one scanning cycle, and n is the phase reversal position.

[0040] A real-time automatic test device for radar pattern, characterized by comprising:

[0041] A data acquisition module is used to acquire radar point frequency echo time domain data; the radar point frequency echo time domain data includes sum point frequency echo time domain data and difference point frequency echo time domain data;

[0042] An FFT calculation module is used to perform FFT calculations on the sum point frequency echo time domain data and the difference point frequency echo time domain data respectively to obtain sum point frequency echo frequency domain data and difference point frequency echo frequency domain data;

[0043] The pulse inner selection processing module is used to perform pulse inner selection on the sum path point frequency echo frequency domain data and the difference path point frequency echo frequency domain data respectively to obtain sum path maximum value data and difference path maximum value data;

[0044] A complex data processing module, used for obtaining complex data based on the sum path maximum value data and the difference path maximum value data;

[0045] An antenna pattern slope K value automatic search module, used to automatically search for the antenna pattern slope K value based on the complex data;

[0046] A phase value automatic calculation module, used for automatically calculating the phase value based on the complex data;

[0047] The real-time sending module sends the antenna pattern slope K value and the phase value to the display control interface in real time.

[0048] The beneficial effects of the present invention are:

[0049] The present invention provides a real-time automatic test method and device for radar pattern, which utilizes radar point frequency echo information and angle information to perform automatic search and calculation, thereby realizing the automatic storage and access of original pattern data and calculation of antenna pattern slope K value and phase.

[0050] 1. Acquire radar echo data in real time and store the calculated data for easy access and display at any time.

[0051] 2. An automatic search for the difference ratio and amplitude of 0.5 is designed, and the antenna pattern slope K value is calculated based on the difference ratio and amplitude of 0.5.

[0052] 3. The system is designed to automatically obtain the phase reversal point and obtain the phase value according to the phase reversal point. Compared with the manual point finding in the prior art, it is convenient and has high accuracy.

[0053] 4. The present invention can calculate K value and phase for various scanning cycles and two azimuth phase scanning modes: mechanical scanning and phase scanning.

[0054] The method of the invention is relatively simple and has a wide range of applications. It can quickly perform real-time automatic test of the directional pattern of radars with different bands and scanning modes. The invention greatly improves the speed and accuracy of radar directional pattern testing, is easy to operate, and is convenient for various operators to get started, saving labor costs for radar designers. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0056] Figure 1 Flowchart of the real-time automatic testing method of radar pattern.

[0057] Figure 2 Radar point frequency echo time domain data.

[0058] Figure 3 Radar point frequency echo frequency domain data.

[0059] Figure 4 The frequency domain signal of a radar point frequency echo with a fixed number of pulses.

[0060] Figure 5 Radar angle information for a fixed number of pulses.

[0061] Figure 6 Radar pattern.

[0062] Figure 7 Difference / sum magnitude plot.

[0063] Figure 8 Calculate the K value corresponding to the point position.

[0064] Fig. 9 Difference / sum phase diagram.

[0065] Fig.10 Calculate the phase compensation angle map.

[0066] Fig.11 K value and phase calculated by real-time interface.

[0067] Fig.12 Export the display and control interface of three types of data. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0069] The present invention provides a real-time automatic testing method for a radar pattern, comprising the following steps:

[0070] Step 1: Obtain the radar point frequency echo time domain data, and perform range FFT calculation on the sum and difference time domain data;

[0071] Step 2: Calculate the modulus amplitude of the sum and difference data of each pulse and select the largest one to find the location of the spectrum peak;

[0072] Step 3: Arrange the complex points of the maximum modulus of the sum and difference paths of the fixed number of pulses and the angle information of each pulse in the order of the pulses to obtain the directional pattern data X i max , Y i max , Z i (i=1,2,3……N), and access to fixed memory;

[0073] Step 4: Use the difference path pattern data Y i max and road direction map data X i max Perform complex division to get P i , and respectively for P i Calculate the modulus and phase to get P i abs With P i angle :

[0074]

[0075] Step 5: Confirm the range of a scanning cycle through the angle information, and first find P in a scanning cycle. i abs The minimum value of P min abs Find P nearby 1abs ,P 2abs ,P 3abs ...P n abs The value P is 0.5 k1 With P k2 , and find P k1 With P k2 The corresponding angle values ​​K1 and K2 give the antenna K value:

[0076] K=|K1-K2|

[0077] In a scanning cycle, first find out P i angle Does the phase difference modulus between two adjacent points satisfy |P n angle-P (n-1)angle |>90°, when the condition is met, the n-1 point is the phase mutation point, and the number of points in a scanning cycle is n T , then the phase of the antenna P phase for The corresponding phase value is:

[0078]

[0079] Step 6: Place the X i max , Y i max , Z i and K, P phase The data is sent to the display and control interface via 4 high-speed Serdes links to achieve real-time printing and calculation.

[0080] The interface between the radar and the display and control interface is 4x-SRIO, the rate is 5gbps, and the time (in seconds) for sending the pattern data and all parameters is;

[0081]

[0082] Among them, s X 、s Y 、s Z They are the size of the sum path, difference path, and angle information respectively (in GB).

[0083] In order to enable those skilled in the art to better understand the present invention, the present invention is described in detail below in conjunction with specific embodiments.

[0084] The present invention takes the FT-M6678 platform as an embodiment, but the present invention can be applied not only to the FT-M6678 platform, but also to other embedded platforms; and can be applied to radar platforms of any band and any scanning mode.

[0085] Reference Figure 1 To describe the method of the present invention, for the convenience of description, it is assumed that the input vectors are x and y, the vector length is N, and the data type is float (single-precision floating point type).

[0086] A real-time automatic test method for radar pattern based on FT-M6678 platform includes the following steps:

[0087] (a) Perform FFT calculation of N distance units in the fast time dimension on the radar point frequency echo data of each band to obtain the sum / difference of n pulses and two-way point frequency echo frequency domain data X1 = {X 11 ,X 12 ,X 13 ,...,X 1N},

[0088] X2={X 21 ,X 22 ,X 23 ,...,X 2N},……X n ={X n1 ,X n2 ,X n3 ,...,X nN},Y1={Y 11 ,Y 12 ,Y 13 ,...,Y 1N},

[0089] Y2={Y 21 ,Y 22 ,Y 23 ,...,Y 2N},……Y n = {Y n1 ,Y n2 ,Y n3 ,...,Y n N}.

[0090] (b) For the sum / difference two-way point frequency echo frequency domain data of n pulses X1={X 11 ,X 12 ,X 13 ,...,X 1N},

[0091] X2={X 21 ,X 22 ,X 23 ,...,X 2N},……X n ={X n1 ,X n2 ,X n3 ,...,X n N}, Y1={Y 11 ,Y 12 ,Y 13 ,...,Y 1N},

[0092] Y2={Y 21 ,Y 22 ,Y 23 ,...,Y 2N},……Y n = {Y n1 ,Y n2 ,Y n3 ,...,Y n N}Pulse internal selection is performed to obtain X1max ,X 2max ,

[0093] X 3max ...X n max , Y 1max ,Y 2max ,Y 3max ...Y n max .

[0094] (c) X 1max ,X 2max ,X 3max ...X n max , Y 1max ,Y 2max ,Y 3max ...Y n max , and the angle information Z1, Z2, Z3...Z corresponding to each pulse n The three array data are stored in DDR memory in DSP.

[0095] In an optional implementation, the angle information Z corresponding to each pulse i ={Z1,Z2,Z3,...,Z N}, under the condition that the radar has both phase scanning and mechanical scanning capabilities:

[0096] Z i =Z i servo +Z i array

[0097] Among them, Z i servo is the radar servo azimuth corresponding to the current pulse moment, Z i array It is the electronic scanning azimuth of the radar corresponding to the current pulse.

[0098] (d) The difference path data Y 1max ,Y 2max ,Y 3max ...Y n max , and the road data X 1max ,X 2max ,X 3max ...X n max Perform complex division to obtain complex data P1, P2, P3...P n :

[0099] P i =Yi max / X i max i=1,2,3......n

[0100] (e) For P1, P2, P3, ... P n Modulo P 1abs ,P 2abs ,P 3abs ...P n abs The range of a scanning cycle is confirmed by angle information, and P is first found in a scanning cycle. min abs , then in P min abs Find P nearby 1abs ,P 2abs ,P 3abs ...P n abs The value P is 0.5 k1 With P k2 , and find P k1 With P k2 The corresponding angle values ​​K1 and K2 give the antenna K value:

[0101] K=|K1-K2|

[0102] In an optional implementation, it is assumed that the modulus data after complex division of the maximum value of the difference path and the sum path is p = {p1, p2, p3, ..., p N}, where N is the number of pulses processed by FT-M6678, and the whole set of data is taken as the smallest p min1 =min(p i ), subtract 0.5 from the array pi and then take the modulus to get the data d = {d1, d2, d3, ..., d N}, search for d before and after the index value min1 i =0, record the index values ​​as min2 and min3, and the K value is:

[0103] K=|Z min2 -Z min3 |

[0104] Where min1-min2=min3-min1 (ignoring the angle rotation error).

[0105] (f) For complex data P1, P2, P3...P n Take the phase to get P 1angle ,P 2angle ,P 3angle ...P nangle , because the phase value changes continuously except at the position where the angle is flipped, when the phase difference between two adjacent points |P n angle -P (n-1)angle |>90°, then point n-1 is the phase mutation point, and point n is the phase reversal position. Suppose the number of points in a scanning cycle is n T , select a scan period n T One eighth of is the protection unit, that is, the phase value P of the antenna phase for:

[0106]

[0107] In an optional implementation, assuming that the time when the radar first scans to 0° is t1, and the time when the radar second scans to 0° is t2, then the scanning period of the radar is t scan =t2-t1, and the number of scanning points corresponding to one scanning cycle is:

[0108]

[0109] Among them, t prt is the pulse repetition period, n sliprate is the radar azimuth extraction rate.

[0110] (g) X 1max ,X 2max ,X 3max ...X n max , Y 1max ,Y 2max ,Y 3max ...Y n max , Z1, Z2, Z3...Z n and K, P phase Send to the display control interface.

[0111] The following is a detailed description of the effects of this application in conjunction with simulation:

[0112] The process of real-time testing of the directional pattern is as follows Figure 2-6 The simulation conditions are as follows: the radar band is Ka band, and the baseband sampling frequency is f s =37.5MHz, LFM signal bandwidth is 30MHz~50MHz, pulse width is 54us, PRF=4KHz, scanning period (phase scanning) t scan =6s, azimuth extraction rate n sliprate = 4. Place the RF signal source and the speaker in front of the radar beam, and then put the radar into the target calibration mode for real-time pattern measurement.

[0113] Figure 2 is the time domain signal of the radar point frequency echo, Figure 3 The frequency domain signal that has been FFT processed for the time domain signal, Figure 4 The frequency domain signal of the radar point frequency echo with a fixed number of pulses. It can be seen that the maximum amplitude of all pulses is in the same distance unit, so the amplitude points of all pulses in the distance unit are combined, and then combined with the angle information such as Figure 5 As shown, the radar directional diagram is Figure 6 .

[0114] Figure 7 is the difference / sum amplitude diagram, Figure 7 The minimum point in the search is the exact center of the beam. The points with a value of 0.5 are searched before and after this point. Since the real-time system does not have the function of searching for fixed values ​​in the array, and the modulus value may be accurate to 5-6 decimal places, it is not necessarily exactly equal to 0.5. The only way to select the smaller value is to use the difference of 0.5 from the array and then take the modulus. When searching for the 0.5 point position, the search result may be greater than two points. This is because the fixed pulse contains multiple scanning cycles. In this case, the boundary judgment must be used to find out whether the point with a ratio of 0.5 of the scanning cycle where the minimum value point is located is within the range of the fixed pulse, and the minimum value index is subtracted from it. (n T The difference between the number of pulses corresponding to a scanning cycle) is not less than 1; then add the minimum value index The sum of is not greater than 16384 (the fixed number of pulses in this figure). The number of pulses n corresponding to a scanning cycle is calculated based on the radar repetition rate, scanning speed and azimuth extraction rate. T The number of points is 6000, and the index value of the minimum point in the figure is 8657. Since 8657-6000 / 4>0, 8657-6000 / 4<16384, both meet the above requirements, so this scanning cycle can be used for the calculation of the K value as the phase.

[0115] Figure 7 The points with a ratio of 0.5 found in Figure 8 As shown, reuse Figure 8 The pulse index values ​​corresponding to the two points are Figure 5 Find the angles corresponding to the two points at the corresponding pulse positions, subtract the two values ​​and take the modulus to get the K value.

[0116] The phase flip angle is calculated at the pulse index 8701. Fig. 9 As shown, the phase flip angle index position is searched forward (750 points) The result is as follows Fig.10 As shown, it is necessary to Fig.10The phase of the midpoint is compensated to 0°, so the phase value is 68°.

[0117] Fig.11 and 12 The data transmitted from the high-speed port to the display and control interface, the calculation results of K value and phase are as follows Fig.11 As shown, Fig.12 It is the operating interface of the display and control software to display three types of data.

[0118] From the above simulation results, it can be seen that according to the radar pattern test principle, a real-time automatic test technology for radar patterns is proposed. The real-time automatic test of radar patterns emphasizes that various pattern parameters can be accurately and quickly calculated based on the upper-level data, and the calculated results can be sent to the lower-level system immediately to meet the real-time requirements.

[0119] In summary, and in combination with all simulation experiments, it can be shown that the present invention can perform a real-time automatic test method for radar pattern on the FT-M6678 platform, and quickly calculate the corresponding parameters using two-way point frequency echo data and angle information.

[0120] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should be included in the protection scope of the present invention.

Claims

1. A real-time automatic test method for radar pattern, characterized in that: include: Acquire radar point frequency echo time domain data in real time; the radar point frequency echo time domain data includes sum point frequency echo time domain data and difference point frequency echo time domain data; Performing FFT calculation on the summed path frequency echo time domain data and the difference path frequency echo time domain data respectively to obtain summed path frequency echo frequency domain data and difference path frequency echo frequency domain data; Performing pulse inner amplification on the sum path point frequency echo frequency domain data and the difference path point frequency echo frequency domain data respectively to obtain sum path maximum value data and difference path maximum value data; Obtaining complex data based on the sum path maximum value data and the difference path maximum value data; Automatically searching for a K value of the antenna pattern slope based on the complex data; automatically calculating a phase value based on the complex data; The antenna pattern slope K value and the phase value are sent to the display control interface in real time.

2. A real-time automatic testing method for radar patterns according to claim 1, characterized in that: The complex data is obtained based on the sum path maximum value data and the difference path maximum value data, specifically: The difference path maximum value data and the sum path maximum value data are complex divided to obtain complex data.

3. A real-time automatic testing method for radar pattern according to claim 1, characterized in that: Automatically finding the antenna pattern slope K value based on the complex data, including: Performing a modulo process on the complex data to obtain a corresponding first modulus value; Determining a minimum modulus value among the first modulus values ​​based on a scanning period; Subtract 0.5 from the first modulus value to obtain a second modulus value; Based on the minimum modulus value, obtaining a first zero value and a second zero value in the second modulus value; Based on the first zero value and the second zero value, a value of antenna pattern slope K is determined.

4. A real-time automatic testing method for radar pattern according to claim 3, characterized in that: Based on the minimum modulus value, obtaining a first zero value and a second zero value in the second modulus value includes: In the second modulus, the first zero value that appears before the center point with the first modulus is the first zero value; the first zero value that appears after the center point with the first modulus is the second zero value.

5. A real-time automatic test method for radar pattern according to claim 3, characterized in that: Determining a value of a slope K of an antenna pattern based on the first zero value and the second zero value includes: Obtaining a first angle value corresponding to the first zero value; Obtain a second angle value corresponding to the second zero value; Based on the first angle value and the second angle value, a value of the antenna pattern slope K is determined.

6. A real-time automatic test method for radar pattern according to claim 5, characterized in that: The determining, based on the first angle value and the second angle value, a slope K value of the antenna pattern includes: The first angle value is subtracted from the second angle value, and the absolute value of the difference is taken to obtain the antenna pattern slope K value.

7. A real-time automatic testing method for radar pattern according to claim 1, characterized in that: Automatically calculating a phase value based on the complex data, including: Taking a phase of the complex data to obtain a first phase value; Determining a phase value retained in the first phase value based on the number of points and the phase flip position in the scanning period; The retained phase value is used as the antenna phase value.

8. A real-time automatic test method for radar pattern according to claim 7, characterized in that: The determination of the phase flip position includes: The absolute value of the difference between two adjacent phases in the first phase value is calculated in sequence, and when the absolute value is greater than 90°, the position of the latter phase of the two adjacent phases is determined to be the phase flip position.

9. A real-time automatic test method for radar pattern according to claim 7, characterized in that: The phase value retained in the first phase value is determined based on the number of points and the phase flip position in the scanning cycle, and the formula used is: Among them, n T is the number of points in one scanning cycle, and n is the phase reversal position.

10. A real-time automatic test device for radar pattern, characterized in that: include: A data acquisition module is used to acquire radar point frequency echo time domain data; the radar point frequency echo time domain data includes sum point frequency echo time domain data and difference point frequency echo time domain data; An FFT calculation module is used to perform FFT calculations on the sum point frequency echo time domain data and the difference point frequency echo time domain data respectively to obtain sum point frequency echo frequency domain data and difference point frequency echo frequency domain data; The pulse inner selection processing module is used to perform pulse inner selection on the sum path point frequency echo frequency domain data and the difference path point frequency echo frequency domain data respectively to obtain sum path maximum value data and difference path maximum value data; A complex data processing module, used for obtaining complex data based on the sum path maximum value data and the difference path maximum value data; An antenna pattern slope K value automatic search module, used to automatically search for the antenna pattern slope K value based on the complex data; A phase value automatic calculation module, used for automatically calculating the phase value based on the complex data; The real-time sending module sends the antenna pattern slope K value and the phase value to the display control interface in real time.