Mechanical arm near-field antenna testing method and system based on singular point compensation

By determining and compensating singular points in robotic arm antenna testing, using distance compensation and amplitude phase interpolation algorithms, the data incompleteness caused by singular points in robotic arm testing is solved, the test accuracy and scanning range are improved, and the far-field direction is ensured The accuracy of the diagram.

CN119087053APending Publication Date: 2024-12-06CHINA ELECTRONIS TECH INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411144804.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The robotic arm has singular points in antenna testing, resulting in incomplete sampling data and cannot meet the requirements of near-far field transformation algorithms, affecting the test accuracy and scanning range.

Method used

By determining the effective sampling point, singular point and compensation singular point, recording its position and amplitude phase data, using distance compensation and amplitude phase interpolation algorithm to compensate singular point data, and obtaining the far-field direction map of the measured antenna.

Benefits of technology

The accuracy and scanning range of antenna tests are improved, the impact of singular points on the test is avoided, and the completeness and accuracy of the far-field pattern is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087053A_ABST
    Figure CN119087053A_ABST
Patent Text Reader

Abstract

The invention discloses a mechanical arm near-field antenna testing method and system based on singular point compensation, and relates to the technical field of mechanical arm near-field antenna testing, and the method comprises the steps: obtaining a scanning range and a sampling interval of a testing probe at the tail end of a mechanical arm, calculating the rectangular coordinates of all sampling points, and then calculating the coordinates of a mechanical arm joint; determining effective sampling points and singular points in the sampling points; performing iterative detection on the singular point in a set detection range in a z direction, and determining a compensation singular point; mechanical arm scanning sampling is carried out, coordinates of all effective sampling points and compensation singular points and corresponding near-field amplitude and phase data are recorded, and coordinates of all singular points are recorded; near-field amplitude and phase data corresponding to the singular points are calculated and obtained through distance compensation, amplitude and phase-real and virtual data conversion and an interpolation algorithm; and performing near-far field conversion on the near-field amplitude-phase data of all the sampling points to obtain a far-field directional diagram of the tested antenna. The influence of singular points on antenna testing can be avoided, and the testing precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of manipulator near-field antenna testing, and in particular to a manipulator near-field antenna testing method and system based on singularity compensation. Background Art

[0002] Robotic arm near-field antenna testing technology is one of the main technical means to achieve in-situ testing of conformal antennas. The principle of conventional robotic arm near-field scanning is to use a test probe to perform a plane, cylindrical or spherical scan in the near field of the antenna under test to obtain near-field sampling data, and then use the near-far field transformation algorithm to obtain the far-field radiation pattern. The mechanical scanning equipment used includes a turntable, a scanning frame, etc. Since the mechanical equipment of the turntable and the scanning frame are bulky and difficult to carry, a lightweight robotic arm is usually used instead to complete the near-field scanning test.

[0003] Usually, in a robotic arm antenna test scenario, if you want to obtain the far-field radiation pattern of the antenna under test, you need to use the robotic arm to mount the test probe, perform a plane, cylindrical or spherical scan around the antenna under test to obtain near-field test data, and then use the near-far field transformation algorithm to obtain the far-field radiation characteristics of the antenna under test. Because the robotic arm uses six joint axes (the number of axes varies depending on the configuration of the robotic arm) to combine with each other to achieve the specified position coordinate point, when the scanning range is too large or the interval is too small, it may cause the robotic arm joints to be unable to reach the sampling position point no matter how they are combined. This point is called the "singularity point" of the robotic arm, and the near-field amplitude and phase data collected by the robotic arm at the singularity point is missing, which makes it difficult to meet the sampling interval requirements of the near-far field transformation algorithm. Figure 1 The figure shows a certain model of robotic arm performing near-field scanning data of a plane of size 500mm×500mm. The circle indicates the missing part (i.e., the singular point) of the data collected by the robotic arm. Since the near-field to far-field transformation algorithm requires that the near-field sampling data be equally spaced, the near-field sampling data is not completely acquired and there are missing data, and thus the far-field radiation pattern of the antenna under test cannot be obtained.

[0004] To solve the impact of the above-mentioned singular points on antenna testing, there are currently two main solutions: one is to limit the test area. For a robotic arm with a specific arm span, it can be guaranteed that there are no singular points in a very small scanning area. However, in actual testing, only a smaller scanning area is selected for antenna test data collection. The scanning area determined by this method is too small and not very practical. The other is to skip the singular points during the test and continue data collection. The disadvantage of this method is that the sampling data is lost, resulting in a decrease in the accuracy of the antenna performance test. Summary of the invention

[0005] In order to solve the deficiencies of the above-mentioned prior art, the present invention provides a method and system for testing near-field antennas of a manipulator based on singular point compensation, which determines effective sampling points, singular points and compensated singular points, records the positions of the manipulator singular points and the positions and amplitude and phase data of all effective sampling points and compensated singular points, and completes the compensation of the singular point amplitude and phase data through distance compensation combined with an amplitude and phase interpolation algorithm, thereby obtaining correct and accurate far-field radiation pattern data of the antenna under test, thereby avoiding the influence of singular points on antenna testing, improving test accuracy, and to a certain extent expanding the scanning range of the manipulator, thereby improving the reliable angular range of the manipulator antenna testing technology.

[0006] In a first aspect, the present invention provides a method for testing a manipulator near-field antenna based on singularity compensation.

[0007] A method for testing a manipulator near-field antenna based on singular point compensation, comprising:

[0008] Obtain the scanning range and sampling interval of the test probe at the end of the robotic arm, calculate the rectangular coordinates of all sampling points, and then calculate the robotic arm joint coordinates corresponding to each sampling point, so as to determine the valid sampling points and singular points among the sampling points;

[0009] Iteratively detect the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point;

[0010] Based on all sampling points and compensation singular points, perform robotic arm scanning sampling, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points;

[0011] Based on the recorded data, the near-field amplitude and phase data corresponding to each singular point are calculated and obtained through distance compensation, amplitude-phase-real and imaginary data transformation and interpolation algorithm;

[0012] The near-field amplitude and phase data of all sampling points are transformed into far-field data to obtain the far-field radiation pattern of the antenna under test.

[0013] In a second aspect, the present invention provides a robotic arm near-field antenna testing system based on singularity compensation.

[0014] A mechanical arm near-field antenna test system based on singular point compensation, comprising:

[0015] The singular point determination module is used to obtain the scanning range and sampling interval of the test probe at the end of the robot arm, calculate the rectangular coordinates of all sampling points, and then calculate the robot arm joint coordinates corresponding to each sampling point, so as to determine the valid sampling points and singular points among the sampling points;

[0016] A compensation singular point determination module is used to perform iterative detection on the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point;

[0017] A scanning sampling module is used to perform robotic arm scanning sampling based on all sampling points and compensation singular points, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points;

[0018] The test result acquisition module is used to calculate and obtain the near-field amplitude and phase data corresponding to each singular point based on the recorded data through distance compensation, amplitude-phase-real and imaginary data transformation and interpolation algorithm; perform near-field and far-field transformation on the near-field amplitude and phase data of all sampling points to obtain the far-field radiation pattern of the antenna under test.

[0019] In a third aspect, the present invention further provides an electronic device comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the steps of the method described in the first aspect are completed.

[0020] In a fourth aspect, the present invention further provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps of the method described in the first aspect.

[0021] One or more of the above technical solutions have the following beneficial effects:

[0022] 1. The present invention proposes a manipulator near-field antenna test method and system based on singular point compensation. By determining effective sampling points, singular points and compensated singular points, recording the positions of the manipulator singular points and the positions and amplitude and phase data of all effective sampling points and compensated singular points, the amplitude and phase data of the singular points are compensated by distance compensation combined with an amplitude and phase interpolation algorithm, thereby obtaining correct and accurate far-field radiation pattern data of the antenna under test, thereby avoiding the influence of singular points on antenna testing and improving test accuracy.

[0023] 2. In the present invention, all joint coordinates are calculated before the robot arm data is sampled, and when a singular point exists, the corresponding rectangular coordinates are recorded for subsequent singular point compensation. In the subsequent data processing process, the singular point data is compensated to improve the test accuracy. This algorithm based on distance compensation based on compensated singular point data and combined with real and virtual interpolation can effectively improve the near-field antenna test accuracy of the robot arm, and through singular point compensation and subsequent measurement processing, the scanning range of the robot arm is expanded to a certain extent, and the reliable angular range of the robot arm antenna test technology is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0025] Figure 1A schematic diagram of scanning data for near-field scanning of a plane of 500 mm × 500 mm using a robotic arm using an existing method;

[0026] Figure 2 This is an overall flow chart of a method for testing a manipulator near-field antenna based on singular point compensation according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] It should be noted that the following detailed descriptions are exemplary only, are intended to describe specific embodiments, are intended to provide further explanation of the present invention, and are not intended to limit exemplary embodiments according to the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those of ordinary skill in the art to which the present invention belongs. In addition, it should also be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0028] Embodiment 1

[0029] In order to solve the influence of singular points on antenna testing, this embodiment provides a method for testing near-field antennas using a robotic arm based on singular point compensation. When a robotic arm is used for planar near-field antenna testing, the coordinates of the robotic arm joint and the coordinates of the test probe at the end of the robotic arm can be expressed as follows:

[0030]

[0031] Among them, (P x ,P y ,P z ) represents the rectangular coordinate corresponding to the end of the robot arm, θ 1 ,θ 2 ,θ 3 ,θ 4 ,θ 5 ,θ 6 Indicates the joint coordinates corresponding to the six joints of the robotic arm, represents the transformation matrix from the joint coordinates of the robot to the rectangular coordinates of the end. Therefore, when the joint coordinates are known, the end coordinates of the robot can be obtained by substituting them into the above formula (1).

[0032] The principle of the manipulator planar near-field antenna scanning is: first, according to the planar near-field test requirements, the size and interval of the scanning surface are calculated, and then all the sampling points in the plane are calculated, that is, (P x ,P y ,P z ) coordinate value, and then substitute it into equation (1) to inversely solve the six joint coordinates corresponding to the sampling point (x, y, z). However, in actual testing, there may be specific (P x ,Py ,P z ) coordinates, there is no solution to equation (1), that is, the robot arm cannot reach this point, and this point is the "singular point" of the robot arm. Figure 1 The figure shows the near-field sampling data points of a six-DOF robotic arm. The circle indicates the singular point that the robotic arm cannot reach. A traditional robotic arm may stop moving when encountering a singular point during scanning, so subsequent measurement data cannot be obtained.

[0033] To address this problem, in this embodiment, all joint coordinates are calculated before data sampling. When there are singular points, the rectangular coordinates of the corresponding sampling points (i.e., the test probe at the end of the robotic arm) are recorded. When the robotic arm scans, only non-singular points are scanned. The final data point distribution is as follows: Figure 1 As shown, it is non-equally spaced sampling data and cannot meet the requirements of the planar near-far field transformation algorithm. For this reason, this embodiment also proposes a near-field data recovery method based on real and imaginary interpolation. After special interpolation processing, the equally spaced near-field amplitude and phase data are restored. Finally, the far-field radiation pattern of the antenna under test is obtained through near-far field transformation.

[0034] That is, this embodiment provides a method for testing a manipulator near-field antenna based on singularity compensation, which specifically includes the following steps:

[0035] Obtain the scanning range and sampling interval of the test probe at the end of the robotic arm, calculate the rectangular coordinates of all sampling points, and then calculate the robotic arm joint coordinates corresponding to each sampling point, so as to determine the valid sampling points and singular points among the sampling points;

[0036] Iteratively detect the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point;

[0037] Based on all sampling points and compensation singular points, perform robotic arm scanning sampling, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points;

[0038] Based on the recorded data, the near-field amplitude and phase data corresponding to each singular point are calculated and obtained through distance compensation, amplitude-phase-real and imaginary data transformation and interpolation algorithm;

[0039] The near-field amplitude and phase data of all sampling points are transformed into far-field data to obtain the far-field radiation pattern of the antenna under test.

[0040] The following content introduces the manipulator near-field antenna testing method based on singular point compensation proposed in this embodiment in more detail.

[0041] like Figure 2As shown, step S1, before the mechanical arm test, first obtain the parameters of the aperture, test frequency, and test distance of the antenna to be tested, and calculate and set the mechanical arm scanning range and sampling interval according to the obtained parameters.

[0042] The calculation formula for the scanning range is:

[0043] L=D+2*d*tan(θ) (2)

[0044] In the above formula, D represents the aperture of the antenna under test, d represents the test distance, and θ represents the credible angle range, which is usually 60°.

[0045] The calculation formula for the sampling interval is:

[0046] △x=λ / 2 (3)

[0047] In the above formula, λ represents the operating wavelength.

[0048] Step S2: Determine the sampling point according to the scanning range and sampling interval, and calculate the rectangular coordinates of the sampling point required for sampling. The rectangular coordinates of the sampling point are the rectangular coordinates of the test probe at the end of the robot arm, that is, (P x ,P y ,P z ).

[0049] Step S3: According to the relationship between the rectangular coordinates of the test probe at the end of the robotic arm and the joint coordinates of the robotic arm, that is, the above formula (1), the existing solution algorithm is used to inversely solve the joint coordinate value θ of the robotic arm. 1 ,θ 2 ,θ 3 ,θ 4 ,θ 5 ,θ 6 .

[0050] Step S4, by calculating the robot arm joint coordinate values, determine the valid sampling points and singular points in the sampling points. Specifically, when solving the joint coordinates, some sampling points have no solution. If there is no solution to solve the corresponding joint coordinates according to the sampling point, the sampling point is considered to be a singular point, and the rectangular coordinates (x, y, z) corresponding to the singular point are recorded. Otherwise, the sampling point is considered to be a valid sampling point.

[0051] Step S5: perform iterative detection on the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point.

[0052] Specifically, when a singular point exists, the robot arm is made to step forward and backward in the z direction, that is, z=z+dz, where dz represents the distance of each movement, and z+dz is required to be within the detection range of the robot arm, and steps S3 and S4 are repeated to recalculate the joint coordinates of the updated sampling point, and determine whether the point is the compensation singular point corresponding to the current singular point based on the calculation result, wherein, if the calculation result shows that the sampling point has a solution, then the point is considered to be the compensation singular point corresponding to the current singular point; if the calculation result shows that the sampling point still has no solution, then dz is continued to be changed and the robot arm is moved a distance of dz in the z direction, and steps S3 and S4 are repeated for calculation until the compensation singular point is determined; if there is still no solution within the range of the robot arm, then dz is continued to be changed, and steps S3 and S4 are repeated until a solution is found. In addition, the above detection range is related to the structure of the robot arm itself, and the detection ranges of different robot arms are different. In this embodiment, Figure 1 The simulation diagram given corresponds to a robot arm detection range of 1m.

[0053] Through this step, the coordinate data of each valid sampling point and singular point are recorded, and the compensation singular point of each singular point is determined (the point where dz is not zero is named "compensation singular point"). The robot arm can reach this point, but it is not in the same plane as other scanning points, and distance compensation is required during algorithm processing.

[0054] Step S6, start the robotic arm scanning sampling, perform robotic arm scanning sampling based on all sampling points (including valid sampling points and singular points) and compensation singular points, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points.

[0055] Specifically, during the sampling process, for all sampling points, before each sampling point of the robotic arm is in place, it is first determined whether the sampling point is a singular point. If so, the sampling point is skipped and the next sampling point is determined to be a singular point. Otherwise, the robotic arm moves to the sampling point position and performs data sampling, thereby recording the coordinate data of each valid sampling point and the corresponding near-field amplitude and phase data, and recording the coordinates of each singular point at the same time. In the above process, the coordinate data and the corresponding near-field amplitude and phase data of each compensation singular point are also collected by sampling the robotic arm, that is, after sampling all valid sampling points, all compensation singular points are uniformly sampled to obtain corresponding data.

[0056] Step S7: Based on the coordinates of all valid sampling points and compensated singular points and the corresponding near-field amplitude and phase data, and the coordinates of the singular points, the near-field amplitude and phase data corresponding to the singular points are calculated and obtained through distance compensation, amplitude and phase-real and imaginary data transformation, and interpolation algorithms.

[0057] Specifically, the rectangular coordinates of the effective sampling points and the corresponding near-field amplitude and phase data and the rectangular coordinates of the singular points are used to perform distance compensation on the amplitude and phase data corresponding to the compensation singular points, that is, the following formula (4), and then the amplitude and phase-real and imaginary data are transformed, and the real and imaginary near-field data with equal intervals are obtained through the interpolation algorithm, and then the near-field amplitude and phase data corresponding to the rectangular coordinates of the singular points are obtained.

[0058] In this embodiment, the distance compensation formula is:

[0059]

[0060] Among them, E 2 represents the compensated signal, E 0 represents the signal before compensation, r represents the probe test distance before compensation, and r 0 represents the compensated test distance (equal to z in step S3), and k represents the beam.

[0061] The above-mentioned amplitude-phase-real-imaginary data transformation refers to transforming the amplitude and phase data directly sampled by the robot arm into real and imaginary data, and its formula is:

[0062] A*exp(jψ)=R+j*I (5)

[0063] In the above formula, A represents the amplitude, ψ represents the phase, R represents the real part, and I represents the imaginary part.

[0064] Step S8: Based on the above data processing, the data is restored to amplitude and phase data, and near-field to far-field transformation is performed on the near-field amplitude and phase data of all sampling points to obtain the far-field radiation pattern of the antenna under test.

[0065] Through the above method proposed in this embodiment, the singular points existing in the plane scan are compensated for singular point processing, so that the robot arm can obtain more effective sampling data, reduce the number of singular points of the robot arm during the plane near-field antenna test, and improve the test accuracy; the compensated singular point data is used for distance compensation, and combined with the real-virtual interpolation algorithm, the test accuracy of the robot arm near-field antenna is effectively improved; after the singular point compensation and continued measurement processing, the scanning range of the robot arm is also expanded to a certain extent, and the reliable angle range of the robot arm antenna test technology is improved.

[0066] Embodiment 2

[0067] This embodiment provides a mechanical arm near-field antenna test system based on singular point compensation, including:

[0068] The singular point determination module is used to obtain the scanning range and sampling interval of the test probe at the end of the robot arm, calculate the rectangular coordinates of all sampling points, and then calculate the robot arm joint coordinates corresponding to each sampling point, so as to determine the valid sampling points and singular points among the sampling points;

[0069] A compensation singular point determination module is used to perform iterative detection on the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point;

[0070] A scanning sampling module is used to perform robotic arm scanning sampling based on all sampling points and compensation singular points, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points;

[0071] The test result acquisition module is used to calculate and obtain the near-field amplitude and phase data corresponding to each singular point based on the recorded data through distance compensation, amplitude-phase-real and imaginary data transformation and interpolation algorithm; perform near-field and far-field transformation on the near-field amplitude and phase data of all sampling points to obtain the far-field radiation pattern of the antenna under test.

[0072] Embodiment 3

[0073] This embodiment provides an electronic device, including a memory and a processor, and computer instructions stored in the memory and running on the processor. When the computer instructions are run by the processor, the steps in the mechanical arm near-field antenna testing method based on singularity compensation as described above are completed.

[0074] Embodiment 4

[0075] This embodiment further provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the steps in the method for testing a manipulator near-field antenna based on singularity compensation as described above are completed.

[0076] The steps involved in the above embodiments 2 to 4 correspond to the method embodiment 1, and the specific implementation methods can refer to the relevant description part of embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood to include any medium that can store, encode or carry an instruction set for execution by a processor and enable the processor to execute any method in the present invention.

[0077] Those skilled in the art should understand that the modules or steps of the present invention described above can be implemented by a general-purpose computer device, or alternatively, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.

[0078] The above description is only a preferred embodiment of the present invention. Although the specific implementation mode of the present invention is described in conjunction with the accompanying drawings, it is not a limitation of the protection scope of the present invention. Those skilled in the art should understand that on the basis of the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative work are still within the protection scope of the present invention.

Claims

1. A method for testing a manipulator near-field antenna based on singular point compensation, characterized in that: include: Obtain the scanning range and sampling interval of the test probe at the end of the robotic arm, calculate the rectangular coordinates of all sampling points, and then calculate the robotic arm joint coordinates corresponding to each sampling point, so as to determine the valid sampling points and singular points among the sampling points; Iteratively detect the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point; Based on all sampling points and compensation singular points, perform robotic arm scanning sampling, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points; Based on the recorded data, the near-field amplitude and phase data corresponding to each singular point are calculated and obtained through distance compensation, amplitude-phase-real and imaginary data transformation and interpolation algorithm; The near-field amplitude and phase data of all sampling points are transformed into far-field data to obtain the far-field radiation pattern of the antenna under test.

2. The method for testing a manipulator near-field antenna based on singular point compensation according to claim 1, characterized in that: The settings of the scanning range and sampling interval are: Obtain the aperture, test frequency, and test distance parameters of the antenna under test; According to the acquired parameters, the robot arm scanning range and sampling interval are obtained and set.

3. The method for testing a manipulator near-field antenna based on singular point compensation according to claim 1, characterized in that: The rectangular coordinates of the sampling points are the rectangular coordinates of the test probe at the end of the robotic arm. The relationship between the rectangular coordinates of the test probe at the end of the robotic arm and the coordinates of the robotic arm joint is: Among them, (P x ,P y ,P z ) represents the rectangular coordinates corresponding to the end of the robot arm, θ1, θ2, θ3, θ4, θ5, θ6 represent the joint coordinates corresponding to the six joints of the robot arm, Represents the transformation matrix from the robot arm joint coordinates to the end rectangular coordinates.

4. The method for testing a manipulator near-field antenna based on singular point compensation according to claim 1, characterized in that: By calculating the joint coordinate values ​​of the robot arm, the valid sampling points and singular points in the sampling points are determined, including: If there is no solution for the corresponding joint coordinates based on the sampling point, the sampling point is considered to be a singular point; otherwise, the sampling point is considered to be a valid sampling point.

5. The method for testing a manipulator near-field antenna based on singular point compensation according to claim 1, characterized in that: Based on all sampling points and compensation singular points, the robot scans and samples, including: For all sampling points, before the robot arm reaches each sampling point, it first determines whether the sampling point is a singular point. If so, it skips the sampling point and continues to determine whether the next sampling point is a singular point; otherwise, the robot arm moves to the sampling point position and performs data sampling.

6. The method for testing a manipulator near-field antenna based on singular point compensation according to claim 1, characterized in that: Calculate and obtain the near-field amplitude and phase data corresponding to the coordinates of the singular point, including: The rectangular coordinates of the effective sampling points and the corresponding near-field amplitude and phase data, as well as the rectangular coordinates of the singular points, are used to perform distance compensation on the amplitude and phase data corresponding to the compensated singular points, and then the amplitude and phase-real and imaginary data are transformed. The real and imaginary near-field data with equal intervals are obtained through the interpolation algorithm, and then the near-field amplitude and phase data corresponding to the rectangular coordinates of the singular points are obtained.

7. The method for testing a manipulator near-field antenna based on singular point compensation according to claim 1, characterized in that: The formula for distance compensation is: Wherein, E2 represents the signal after compensation, E0 represents the signal before compensation, r represents the probe test distance before compensation, r0 represents the test distance after compensation, and k represents the beam.

8. A robotic arm near-field antenna test system based on singular point compensation, characterized in that: include: The singular point determination module is used to obtain the scanning range and sampling interval of the test probe at the end of the robot arm, calculate the rectangular coordinates of all sampling points, and then calculate the robot arm joint coordinates corresponding to each sampling point, so as to determine the valid sampling points and singular points among the sampling points; A compensation singular point determination module is used to perform iterative detection on the singular points within a set detection range in the z direction to determine the compensation singular point of each singular point; A scanning sampling module is used to perform robotic arm scanning sampling based on all sampling points and compensation singular points, record the coordinates of all valid sampling points and compensation singular points and the corresponding near-field amplitude and phase data, and record the coordinates of all singular points; The test result acquisition module is used to calculate and obtain the near-field amplitude and phase data corresponding to each singular point based on the recorded data through distance compensation, amplitude-phase-real and imaginary data transformation and interpolation algorithm; perform near-field and far-field transformation on the near-field amplitude and phase data of all sampling points to obtain the far-field radiation pattern of the antenna under test.

9. An electronic device, characterized in that: The invention comprises a memory and a processor and computer instructions stored in the memory and executed on the processor. When the computer instructions are executed by the processor, the steps of a method for testing a manipulator near-field antenna based on singular point compensation as described in any one of claims 1 to 7 are completed.

10. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the steps of a manipulator near-field antenna testing method based on singular point compensation as described in any one of claims 1-7.