Near field scanning method and device, equipment, storage medium and program product

By implementing a near-field scanning method based on electromagnetic field information, gradient information and attention value in the controller of the near-field scanning system, the problem of long-term use of traditional near-field scanning technology is solved and efficient near-field scanning is achieved , reduces cost and time consuming.

CN119438751APending Publication Date: 2025-02-14CHINA ELECTRONICS RELIABILITY AND ENVIRONMENTAL TESTING INSTITUTE ((THE FIFTH INSTITUTE OF ELECTRONICS MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY) (CHINA SAIBAO LABORATORY)
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411477711.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Traditional near-field scanning technology takes a long time and increases the cost of testing hardware devices through hardware improvements, but the effect is not obvious.

Method used

By implementing a method in the controller of the near-field scanning system, obtain the electromagnetic field information of each first scanning point in the two-dimensional grid, determine the gradient information and attention value based on the electromagnetic field information, and then determine the multiple first scans for the next scan Two scan points until the number of scans meets the preset conditions.

Benefits of technology

This method can effectively shorten the time spent in near-field scanning, reduce the number of scanning points, improve the efficiency of near-field scanning, and reduce the time spent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119438751A_ABST
    Figure CN119438751A_ABST
Patent Text Reader

Abstract

The invention relates to a near-field scanning method and device, equipment, a storage medium and a program product. The method comprises the steps that electromagnetic field information of each first scanning point in a two-dimensional grid is acquired, the two-dimensional grid is determined according to a target scanning area, and the number of the first scanning points is smaller than the total number of grid points in the two-dimensional grid; gradient information and attention values of the first scanning points are determined according to the electromagnetic field information, the gradient information is used for representing the direction in which the electromagnetic field change meets a preset threshold value in the target scanning area, and the attention values are used for focusing the area in which the electromagnetic field intensity meets the preset threshold value; determining a plurality of second scanning points of next scanning according to the gradient information and the attention value until the number of scanning times meets a preset condition; and determining electromagnetic field distribution of the target scanning area according to the electromagnetic field information of each scanning point in the two-dimensional grid. By adopting the method, the near-field scanning efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of microwave measurement technology, and in particular to a near-field scanning method, device, equipment and storage medium. Background Art

[0002] As an effective and convenient measurement method, near-field scanning (NFS) can intuitively obtain the distribution of electromagnetic fields and determine radiation hotspots, and is widely used in electromagnetic compatibility testing areas. However, traditional near-field scanning technology is time-consuming.

[0003] In the prior art, the time consumption of near-field scanning is reduced by increasing the sampling rate of the test equipment or increasing the moving rate of the displacement mechanism. However, the current method of improving hardware will increase the cost of the test hardware equipment and has no obvious effect on accelerating the progress of near-field scanning. Summary of the invention

[0004] Based on this, it is necessary to provide a near-field scanning method, device, equipment and storage medium that can effectively shorten the time consumption of near-field scanning in order to solve the above technical problems.

[0005] In a first aspect, the present application provides a near-field scanning method, which is used in a controller of a near-field scanning system, wherein the near-field scanning system includes a controller, a spectrum analyzer, a displacement mechanism, and a scanning probe, wherein the controller is connected to the spectrum analyzer and the displacement mechanism, and the displacement mechanism is connected to the scanning probe, and is used to move under the drive of the controller to drive the scanning probe to move within a target scanning area, and the near-field scanning method includes:

[0006] Acquire electromagnetic field information of each first scanning point in a two-dimensional grid, the two-dimensional grid is determined according to a target scanning area, and the number of the first scanning points is less than the total number of grid points in the two-dimensional grid;

[0007] Determine the gradient information and attention value of each first scanning point according to each electromagnetic field information, the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold, and the attention value is used to focus on the area where the electromagnetic field intensity meets the preset threshold;

[0008] Determine multiple second scanning points for the next scan according to each gradient information and the attention value until the number of scans meets a preset condition;

[0009] The electromagnetic field distribution of the target scanning area is determined according to the electromagnetic field information of each scanning point in the two-dimensional grid.

[0010] In one embodiment, each electromagnetic field information includes the electromagnetic field strength of the first scanning point at multiple scanning frequencies, and the gradient information and the attention value of each first scanning point are determined according to each electromagnetic field information, including:

[0011] The electromagnetic field information of each first scanning point is determined according to the sum of the electromagnetic field intensities at each scanning frequency; and the gradient information of each first scanning point is determined according to a preset discrete gradient operator and each electromagnetic field information.

[0012] In one embodiment, determining the gradient information and the attention value of each first scanning point according to each electromagnetic field information further includes:

[0013] The weight information of each scanning frequency is determined according to the attention mechanism; and the attention value is determined according to the weight information of each scanning frequency and the corresponding electromagnetic field strength.

[0014] In one embodiment, the gradient information includes a gradient value and a gradient direction, and determining a plurality of second scanning points for the next scan according to each gradient information and the attention value includes:

[0015] A plurality of basic scanning points are determined from the first scanning points according to the gradient value and the attention value, wherein the number of the basic scanning points is less than the number of the first scanning points; a plurality of second scanning points are determined according to the gradient direction of each basic scanning point and the moving step length of the displacement mechanism; and each second scanning point is scanned.

[0016] In one embodiment, determining a plurality of second scanning points for the next scan according to each gradient information and the attention value until the number of scans meets a preset condition includes:

[0017] Acquire the electromagnetic field information of each second scanning point; update the first scanning point according to each second scanning point to increase the number of first scanning points; determine the second scanning point of the next scan according to the gradient information and attention value of the updated first scanning point until the number of scans meets the preset conditions.

[0018] In one embodiment, obtaining electromagnetic field information of each first scanning point in a two-dimensional grid includes:

[0019] The two-dimensional grid of the target scanning area is determined according to the size of the target scanning area and the moving step length of the displacement mechanism; a plurality of first scanning points are selected in the two-dimensional grid, and the electromagnetic field information of each first scanning point is determined.

[0020] In a second aspect, the present application further provides a near-field scanning device, which is arranged in a controller of a near-field scanning system. The near-field scanning system includes a controller, a spectrum analyzer, a displacement mechanism and a scanning probe. The controller is connected to the spectrum analyzer and the displacement mechanism. The displacement mechanism is connected to the scanning probe and is used to move under the drive of the controller to drive the scanning probe to move within a target scanning area. The device includes:

[0021] An acquisition module, used to acquire electromagnetic field information of each first scanning point in a two-dimensional grid, the two-dimensional grid is determined according to a target scanning area, and the number of the first scanning points is less than the total number of grid points in the two-dimensional grid;

[0022] A first determination module is used to determine the gradient information and the attention value of each first scanning point according to each electromagnetic field information, the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold, and the attention value is used to focus on the area where the electromagnetic field intensity meets the preset threshold;

[0023] A second determination module is used to determine a plurality of second scanning points for the next scan according to each gradient information and the attention value until the number of scans meets a preset condition;

[0024] The third determination module is used to determine the electromagnetic field distribution of the target scanning area according to the electromagnetic field information of each scanning point.

[0025] In one embodiment, the first determination module is specifically used to determine the electromagnetic field information of each first scanning point according to the sum of the electromagnetic field intensities at each scanning frequency; and determine the gradient information of each first scanning point according to a preset discrete gradient operator and each electromagnetic field information.

[0026] In one of the embodiments, the first determination module is specifically used to determine the weight information of each scanning frequency according to the attention mechanism; and determine the attention value according to the weight information of each scanning frequency and the corresponding electromagnetic field strength.

[0027] In one of the embodiments, the gradient information includes a gradient value and a gradient direction. The second determination module is specifically used to determine multiple basic scanning points from the first scanning points based on the gradient value and the attention value, and the number of basic scanning points is less than the number of first scanning points; determine multiple second scanning points based on the gradient direction of each basic scanning point and the moving step of the displacement mechanism; and scan each second scanning point.

[0028] In one embodiment, the second determination module is specifically used to obtain the electromagnetic field information of each second scanning point; update the first scanning point according to each second scanning point to increase the number of first scanning points; determine the second scanning point for the next scan according to the gradient information and attention value of the updated first scanning point until the number of scans meets the preset conditions.

[0029] In one of the embodiments, the acquisition module is specifically used to determine a two-dimensional grid of the target scanning area according to the size of the target scanning area and the moving step of the displacement mechanism; select multiple first scanning points in the two-dimensional grid, and determine the electromagnetic field information of each first scanning point.

[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, any of the methods described in the first aspect is implemented.

[0031] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the methods described in the first aspect above.

[0032] In a fifth aspect, the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements any of the methods described in the first aspect above.

[0033] The above-mentioned near-field scanning method, device, equipment, storage medium and program product are used in the controller of the near-field scanning system, and the near-field scanning system includes a controller, a spectrum analyzer, a displacement mechanism and a scanning probe, the controller is connected to the spectrum analyzer and the displacement mechanism, and the displacement mechanism is connected to the scanning probe, and is used to move under the drive of the controller to drive the scanning probe to move in the target scanning area. First, the electromagnetic field information of each first scanning point in the two-dimensional grid is obtained, wherein the two-dimensional grid is determined according to the target scanning area, and the number of first scanning points is less than the total number of grid points in the two-dimensional grid; then, the gradient information and attention value of each first scanning point are determined according to each electromagnetic field information, wherein the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold, and the attention value is used to focus on the area where the electromagnetic field intensity meets the preset threshold; again, multiple second scanning points for the next scan are determined according to each gradient information and attention value, until the number of scans meets the preset condition; finally, the electromagnetic field distribution of the target scanning area is determined according to the electromagnetic field information of each scanning point in the two-dimensional grid. In this way, the position with higher electromagnetic field intensity in the target scanning area can be determined through the electromagnetic field information and attention value of the first scanning point, and the scanning points at the position with higher electromagnetic field intensity can be scanned, skipping the background area. There is no need to scan all scanning points in the target scanning area. In this way, the number of scanning points in the near-field scanning process can be reduced, thereby improving the efficiency of near-field scanning and reducing the time consumed by near-field scanning. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0035] FIG1 is a schematic diagram of an application system of a near-field scanning method according to an embodiment;

[0036] FIG2 is a schematic diagram of a near-field scanning method according to an embodiment;

[0037] FIG3 is a schematic flow chart of a step of determining gradient information and attention value of each first scanning point in one embodiment;

[0038] FIG4 is a schematic flow chart of the step of determining the gradient information and attention value of each first scanning point in another embodiment;

[0039] FIG5 is a schematic diagram of a flow chart of an attention mechanism in one embodiment;

[0040] FIG6 is a schematic flow chart of a step of determining a plurality of second scanning points for the next scan in one embodiment;

[0041] FIG7 is a schematic flow chart of a near-field scanning method in another embodiment;

[0042] FIG8 is a schematic flow chart of the steps of obtaining electromagnetic field information of each first scanning point in a two-dimensional grid;

[0043] FIG9 is a schematic flow chart of a near-field scanning method in another embodiment;

[0044] FIG10 is a block diagram of a near-field scanning device according to an embodiment;

[0045] FIG. 11 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application 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 application and are not used to limit the present application.

[0047] Nowadays, electronic products are gradually moving towards high frequency. In the production and reliability analysis of electronic products, electromagnetic compatibility (EMC) is one of the important standards for evaluating the reliability of electronic equipment. Before the product is launched on the market, the electromagnetic radiation of the device needs to be evaluated. The near-field scanning method (NFS) is an important diagnostic method for electromagnetic compatibility problems in international use. As an effective and convenient measurement method, the near-field scanning method is used to detect electromagnetic radiation. The device to be tested is placed very close to the radiation source, and then the detector is used to measure the intensity and distribution of the electromagnetic field of the device to be tested. This method can help determine whether the device to be tested generates bad electromagnetic radiation during operation, and can help identify and solve potential interference problems. Since the near-field scanning method can intuitively obtain the distribution of the electromagnetic field and determine the radiation hotspot, it is widely used in the electromagnetic compatibility detection area. However, traditional near-field scanning technology is time-consuming. In common electromagnetic compatibility experiments, the near-field measurement time is usually between ten minutes and dozens of hours, which depends on many factors (including the scanned spectrum range, scan bandwidth, test platform movement rate and test equipment data acquisition time, etc.). This greatly reduces the efficiency of the test and does not meet the needs of fast and efficient positioning.

[0048] In the prior art, the time consumption of near-field scanning is reduced by increasing the sampling rate of the test equipment or increasing the moving rate of the displacement mechanism. However, the current method of improving hardware will increase the cost of the test hardware equipment and has no obvious effect on accelerating the progress of near-field scanning.

[0049] In view of this, an embodiment of the present application provides a near-field scanning method that can effectively shorten the time consumption of near-field scanning. The near-field scanning method provided in the embodiment of the present application can be applied to a near-field scanning system 100 as shown in Figure 1, wherein the near-field scanning system 100 includes a controller 110, a spectrometer 120, a displacement mechanism 130, and a scanning probe 140. The controller 110 is connected to the spectrometer 120 and the displacement mechanism 130, and the displacement mechanism 130 is connected to the scanning probe 140. The displacement mechanism 130 is used to move under the drive of the controller 110 to drive the scanning probe 140 to move within the target scanning area. The controller 110 and the spectrometer 120 can be connected via a coaxial cable connection line, and the spectrometer 120 and the scanning probe 140 can also be connected via a coaxial cable connection line.

[0050] In an exemplary embodiment, as shown in FIG2 , a near-field scanning method is provided, which is described by taking the method applied to the controller 110 in FIG1 as an example, and includes the following steps 201 to 204. Among them:

[0051] S201, obtaining electromagnetic field information of each first scanning point in a two-dimensional grid.

[0052] The two-dimensional grid is determined according to the target scanning area, and the number of the first scanning points is less than the total number of grid points in the two-dimensional grid.

[0053] Optionally, the target scanning area may be the device to be tested, or some components in the device to be tested.

[0054] Optionally, when determining the two-dimensional grid according to the target scanning area, the size of the target scanning area (which may be the length and width of the target scanning area) may be acquired, and the target scanning area may be divided according to a preset two-dimensional grid interval.

[0055] In one possible implementation, the preset two-dimensional grid interval can be determined based on the moving step of the displacement mechanism. For example, the preset two-dimensional grid interval can be the moving step or an integer multiple of the moving step. The embodiment of the present application does not limit this. It can be understood that the moving step of the displacement mechanism can be determined first, and then the two-dimensional grid interval can be determined based on the moving step. It can also be adjusted according to the moving step of the displacement mechanism after the two-dimensional grid interval is obtained.

[0056] In another possible implementation, the total number of grid points may be preset first, and the size of the target scanning area and the preset total number of grid points may be used to determine a preset two-dimensional grid interval, and then the target scanning area may be divided according to the two-dimensional grid interval.

[0057] Optionally, the first scanning point can be any grid point in the two-dimensional grid. During the first scan, the first scanning point can be randomly determined from the two-dimensional grid, and the position information of each first scanning point can be obtained. It can be understood that each first scanning point can be an adjacent point in the two-dimensional grid, or a point far apart in the two-dimensional grid. The embodiment of the present application does not limit this. In subsequent scans, the first scanning point can be all the grid points that have been scanned, or it can be the grid point of the previous scan.

[0058] Optionally, during the first scan, the shift mechanism is driven according to the position information of each first scanning point, so that the scanning probe scans each first scanning point in turn. The scanning probe scans each first scanning point and the principle of determining the electromagnetic field information of each first scanning point is as follows: according to Faraday electromagnetic induction constant current, the changing magnetic field in each scanning point passes through the magnetic ring of the scanning probe, which will cause the magnetic flux of the magnetic ring to change, thereby generating an induced electromotive force. Therefore, during the scanning process, after the induced voltage of the scanning probe is obtained through the spectrum analyzer, the electromagnetic field information of each first scanning point can be determined according to the corresponding relationship between the induced voltage and the electromagnetic field strength.

[0059] Optionally, each electromagnetic field information includes the electromagnetic field strength of the first scanning point at multiple scanning frequencies. The frequency bandwidth, scanning frequency and scanning interval are set in the spectrum analyzer through the controller. When scanning a first scanning point, the electromagnetic field strength of the first scanning point at multiple scanning frequencies can be obtained.

[0060] Optionally, when determining the gradient information of each first scanning point based on the electromagnetic field information, the electromagnetic field strengths of the first scanning point at multiple scanning frequencies can be superimposed as the electromagnetic field information of the first scanning point, or the maximum value of the electromagnetic field strength of the first scanning point at multiple scanning frequencies can be used as the electromagnetic field information of the first scanning point, or the average value of the electromagnetic field strength of the first scanning point at multiple scanning frequencies can be used as the electromagnetic field information of the first scanning point. The embodiment of the present application does not limit the method for determining the electromagnetic field information of each first scanning point.

[0061] S202, determining the gradient information and attention value of each first scanning point according to each electromagnetic field information.

[0062] Among them, the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold, and the attention value is used to focus on the area where the electromagnetic field intensity meets the preset threshold.

[0063] Optionally, the gradient information may be a vector operator, which may represent the direction and magnitude of the maximum change of the electromagnetic field in the target scanning area.

[0064] In one possible implementation, the gradient information of each first scanning point can be determined based on the electromagnetic field information of each first scanning point and a gradient operator, wherein the gradient operator can be used to measure the change in the intensity value in a planar two-dimensional electromagnetic field, and the gradient operator can be a Sobel operator, a Prewitt operator, a Laplacian operator, a Canny operator, etc. The embodiment of the present application does not limit the specific form of the gradient operator.

[0065] Optionally, the Sobel operator is a combination of Gaussian smoothing and differential operations, and has strong noise resistance. The Prewitt operator has certain noise suppression capabilities and can also reduce the impact of noise. The Canny operator uses a Gaussian filter to smooth the electromagnetic field information and can also effectively remove noise. The Laplacian operator identifies intensity changes in a two-dimensional grid by calculating the second-order derivative of the electromagnetic field information.

[0066] In another possible implementation, the gradient information of a first scanning point can be determined based on the electromagnetic field information of two first scanning points on the left and right of the first scanning point. The gradient information of the first scanning point can be obtained by dividing the difference between the electromagnetic field information of the two left and right scanning points by 2.

[0067] Optionally, the attention value may be a value calculated by an attention mechanism, and used to focus on an area where the electromagnetic field intensity meets a preset threshold. The attention mechanism may be implemented by combining a self-attention model or a convolutional neural network.

[0068] Optionally, the attention value is obtained by calculating the similarity between the Query and each Key and then weighted summing the Value values ​​according to the similarity given a query and a set of key-value pairs. When determining the attention value of a first scanning point, the query may be a vector representation obtained by subjecting the electromagnetic field information of the first scanning point at each scanning frequency to a series of linear changes, the key may be a feature or identifier of each element in the input data set (i.e., a feature or identifier of the electromagnetic field information of the first scanning point at each scanning frequency), and the value may be the electromagnetic field information of the first scanning point at each scanning frequency.

[0069] S203, determining multiple second scanning points for the next scan according to each gradient information and the attention value, until the number of scans meets a preset condition.

[0070] Optionally, the gradient information may include a gradient magnitude and a gradient direction.

[0071] In one possible implementation, multiple second scanning points for the next scan can be determined based on each gradient information and attention value in the following manner: multiple basic scanning points are determined from multiple first scanning points based on the gradient value and attention value of the first scanning point, where it can be understood that the number of basic scanning points is less than the number of first scanning points, and then multiple second scanning points are determined on a two-dimensional grid along the gradient direction of each basic scanning point with each basic scanning point as the starting point.

[0072] In another possible implementation method, multiple second scanning points for the next scan can be determined based on the gradient information and attention values ​​in the following manner: randomly select multiple candidate scanning points other than the first scanning point in a two-dimensional grid, and determine multiple basic scanning points from the multiple first scanning points based on the gradient value and attention value of the first scanning point, and use the candidate scanning point in the gradient direction of the first scanning point as the second scanning point.

[0073] Optionally, the scanning number satisfying the preset condition may be that the scanning number is greater than or equal to a scanning number threshold, and the scanning number threshold may be pre-set or adaptively adjusted.

[0074] Optionally, if the scanning number threshold is adaptively adjusted, the adjustment method is described as follows: after a scan is completed, the electromagnetic field distribution of the target scanning area is determined based on the electromagnetic field information of each scanning point; if the resolution of the obtained electromagnetic field distribution meets the preset resolution, the current scanning number is used as the scanning number threshold. At this time, there is no need to determine the second scanning point and execute the scanning process; if the resolution of the obtained electromagnetic field distribution does not meet the preset resolution, the sum of the current scanning number and the preset scanning number increment is used as the scanning number threshold, and the electromagnetic field information of multiple second scanning points and each scanning point is continued to be determined until the resolution of the electromagnetic field distribution meets the preset resolution.

[0075] S204, determining the electromagnetic field distribution of the target scanning area according to the electromagnetic field information of each scanning point in the two-dimensional grid.

[0076] Optionally, during each scanning process, the electromagnetic field information of each scanning point is stored, and after the number of scans meets a preset condition, the electromagnetic field distribution of the target scanning area is determined based on the stored electromagnetic field information of each scanning point.

[0077] Optionally, each scanning point may be an area with a strong electromagnetic field intensity in the target scanning area. Therefore, when determining the electromagnetic field distribution of the target scanning area, the electromagnetic field information of each scanning point may be directly used as the electromagnetic field distribution of the target scanning area. Interpolation processing may also be performed based on a two-dimensional interpolation algorithm and the electromagnetic field information of each scanning point to obtain the electromagnetic field information of all grid points in the target scanning area, and then the electromagnetic field distribution of the target scanning area is determined based on the electromagnetic field information of all grid points.

[0078] The above-mentioned near-field scanning method is used in the controller of the near-field scanning system, and the near-field scanning system includes a controller, a spectrum analyzer, a displacement mechanism and a scanning probe. The controller is connected to the spectrum analyzer and the displacement mechanism, and the displacement mechanism is connected to the scanning probe, and is used to move under the drive of the controller to drive the scanning probe to move in the target scanning area. First, the electromagnetic field information of each first scanning point in the two-dimensional grid is obtained, wherein the two-dimensional grid is determined according to the target scanning area, and the number of first scanning points is less than the total number of grid points in the two-dimensional grid; then, the gradient information and attention value of each first scanning point are determined according to each electromagnetic field information, wherein the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold, and the attention value is used to focus on the area where the electromagnetic field intensity meets the preset threshold; again, multiple second scanning points for the next scan are determined according to each gradient information and attention value, until the number of scans meets the preset condition; finally, the electromagnetic field distribution of the target scanning area is determined according to the electromagnetic field information of each scanning point in the two-dimensional grid. In this way, the position with higher electromagnetic field intensity in the target scanning area can be determined through the electromagnetic field information and attention value of the first scanning point, and the scanning points at the position with higher electromagnetic field intensity can be scanned, skipping the background area. There is no need to scan all scanning points in the target scanning area. In this way, the number of scanning points in the near-field scanning process can be reduced, thereby improving the efficiency of near-field scanning and reducing the time consumed in near-field scanning.

[0079] In an exemplary embodiment, as shown in FIG3 , each electromagnetic field information includes the electromagnetic field strength of the first scanning point at multiple scanning frequencies, and the gradient information and attention value of each first scanning point are determined according to each electromagnetic field information, including the following steps 301 to 302. Among them:

[0080] S301, determining electromagnetic field information of each first scanning point according to the sum of electromagnetic field intensities at each scanning frequency.

[0081] Optionally, a preset spectrum bandwidth and scanning interval may be obtained, and each first scanning point may be scanned in sequence to obtain the electromagnetic field strength of the first scanning point at different scanning frequencies.

[0082] Optionally, the electromagnetic field strength may include magnetic field strength and electric field strength. The magnetic field strength can be used to evaluate the magnetic field radiation generated by the device to be tested or the device in the device to be tested in the target scanning area, and to detect possible magnetic field interference or leakage; the electric field strength can be used to evaluate the electric field radiation generated by the device to be tested or the device in the device to be tested in the target scanning area, and to detect possible electric field interference or leakage.

[0083] Optionally, the electric field strengths at each scanning frequency of the first scanning point can be superimposed, and the magnetic field strengths at each scanning frequency of the first scanning point can be superimposed, and the electric field strength of the first scanning point after superposition and / or the magnetic field strength of the first scanning point after superposition can be used as the electromagnetic field information of the first scanning point.

[0084] S302, determining the gradient information of each first scanning point according to a preset discrete gradient operator and each electromagnetic field information.

[0085] Exemplarily, the preset discrete gradient operator may be a Sobel operator, which uses a 3×3 convolution kernel to approximate the gradient. It is understandable that the embodiment of the present application does not limit the size of the convolution kernel, which may be increased or decreased according to usage.

[0086] Optionally, when determining the gradient information of each first scanning point according to a preset discrete gradient operator, the gradient component in the horizontal direction and the gradient component in the vertical direction of each first scanning point can be calculated separately, and then the gradient component in the horizontal direction and the gradient component in the vertical direction can be merged to obtain the gradient information of each first scanning point.

[0087] Optionally, the convolution kernel of the Sobel operator in the horizontal direction is as follows:

[0088]

[0089] The horizontal gradient component G of the first scanning point x (x,y) can be calculated by the following formula:

[0090]

[0091] Among them, I(x, y) is the electromagnetic field information of the first scanning point, I(x-1, y-1) is the electromagnetic field information of the scanning point to the lower left of the first scanning point in the two-dimensional grid, I(x-1, y) is the electromagnetic field information of the scanning point to the left of the first scanning point in the two-dimensional grid, I(x-1, y+1) is the electromagnetic field information of the scanning point to the upper left of the first scanning point in the two-dimensional grid, I(x+1, y) is the electromagnetic field information of the scanning point to the right of the first scanning point in the two-dimensional grid, and I(x+1, y+1) is the electromagnetic field information of the scanning point to the upper right of the first scanning point in the two-dimensional grid.

[0092] Optionally, the convolution kernel of the Sobel operator in the vertical direction is as follows:

[0093]

[0094] The vertical gradient component G of the first scanning point y (x,y) can be expressed by the following formula:

[0095]

[0096] Optionally, after determining the gradient components in the horizontal direction and the vertical direction of the first scanning point, the gradient information grad_magnitude of the first scanning point may be determined by the following formula:

[0097]

[0098] The electromagnetic field information of each first scanning point is determined according to the sum of the electromagnetic field intensities at each scanning frequency, and the gradient information of each first scanning point is determined according to a preset discrete gradient operator and the electromagnetic field information. In this way, the gradient information of each first scanning point can be accurately determined, and then the position with a larger electromagnetic field intensity in the target scanning area is determined, and the scanning points at the position with a larger electromagnetic field intensity are scanned, skipping the background area, which can reduce the number of scanning points in the near-field scanning process, thereby improving the efficiency of near-field scanning.

[0099] In an exemplary embodiment, as shown in FIG4 , determining the gradient information and the attention value of each first scanning point according to each electromagnetic field information includes the following steps 401 to 402 . Among them:

[0100] S401, determining the weight information of each scanning frequency according to the attention mechanism.

[0101] Optionally, as shown in FIG5 , the attention mechanism may include three stages, and determining the weight information of each scanning frequency may include two stages, a first stage and a second stage, where n is the number of scanning frequencies:

[0102] Phase 1: Calculate the correlation between the query value and different keys, where the query value and key are randomly initialized at the beginning to form the original similarity data, where is the similarity, for example, it can be calculated using cosine similarity, as shown in the following formula, where and are all matrices, represents the norm operator, the result of which after acting on the matrix is ​​a real number;

[0103]

[0104] The second stage: normalize the similarity data in the first stage so that its value falls between 0 and 1. At this time, the sum of all correlation data is 1, which meets the weight requirements in the probability sense. For example, the softmax function can be used to determine the weight information, as shown below:

[0105]

[0106] Among them, si is the similarity data of the first stage, and the calculation result softmax(s i ) is the weight information of each scanning frequency.

[0107] S402, determining an attention value according to weight information of each scanning frequency and the corresponding electromagnetic field strength.

[0108] Optionally, the third stage may determine the attention value of the first scanning point, that is, weighted summing the corresponding electromagnetic field strengths according to the weight information of each scanning frequency to obtain the attention value, which may be expressed by the following formula:

[0109]

[0110] in, is the weight information of the jth scanning frequency, that is, the calculation result of the second stage softmax(s i ), is the electric field strength or magnetic field strength of the first scanning point at the jth scanning frequency.

[0111] Optionally, at the beginning, since no information is known at all, the entire two-dimensional grid can be regarded as an image of complete background noise. As the scanning proceeds, more and more electromagnetic field information is obtained, and this two-dimensional image gradually contains more electromagnetic field distribution information. At this time, the attention mechanism used can gradually focus on areas with higher electromagnetic field intensity.

[0112] In an exemplary embodiment, as shown in FIG6 , the gradient information includes a gradient value and a gradient direction, and determining multiple second scanning points for the next scan according to each gradient information and attention value includes the following steps 601 to 603. Among them:

[0113] S601, determining a plurality of basic scanning points from the first scanning point according to the gradient value and the attention value.

[0114] The number of basic scanning points is smaller than the number of first scanning points.

[0115] Optionally, a basic scanning point may be determined from a plurality of first scanning points according to a gradient value and an attention value of each first scanning point.

[0116] In one possible implementation, mathematical operations can be performed based on the gradient values ​​and attention values ​​of each first scanning point. For example, the gradient values ​​and attention values ​​of each first scanning point are added or multiplied to obtain a target value of each first scanning point. Then, the first scanning points are sorted in positive order according to the target value, and based on the number of basic scanning points, the first scanning point in front is selected from the sorted first scanning points as the basic scanning point.

[0117] In another possible implementation, multiple first scanning points whose gradient values ​​and / or attention values ​​are greater than a preset threshold can be used as basic scanning points. For example, the first scanning point whose gradient value is greater than the preset gradient threshold can be used as the basic scanning point, or the first scanning point whose attention value is greater than the preset attention value can be used as the basic scanning point, or the first scanning point whose gradient value is greater than the preset gradient threshold and whose attention value is greater than the preset attention value can be used as the basic scanning point. Mathematical operations can also be performed based on the gradient values ​​and attention values ​​of each first scanning point to obtain the target value of each first scanning point, and the first scanning point whose target value is greater than the preset target threshold can be used as the basic scanning point.

[0118] S602, determining a plurality of second scanning points according to the gradient direction of each basic scanning point and the moving step length of the displacement mechanism.

[0119] Optionally, after the basic scanning points are determined, the number of the second scanning points may be less than or equal to the number of the basic scanning points. It is understandable that one basic scanning point corresponds to at most one second scanning point.

[0120] Optionally, the second scanning point may be a grid point in the two-dimensional grid that has not been scanned.

[0121] Optionally, starting from the basic scanning point, move a moving step along the gradient direction of the basic scanning point. If the grid point reached has not been scanned, the grid point is used as the second scanning point. If the grid point reached is the first scanning point, continue to move a moving step along the gradient direction until the grid point reached has not been scanned or reaches the edge of the two-dimensional grid.

[0122] S603, scanning each second scanning point.

[0123] Optionally, the method of scanning each second scanning point is consistent with the method of scanning each first scanning point in step 201, which is not described in detail in the embodiment of the present application.

[0124] In the above, multiple basic scanning points are determined from the first scanning points according to the gradient value and the attention value, multiple second scanning points are determined according to the gradient direction of each basic scanning point and the moving step length of the displacement mechanism, and each second scanning point is scanned. In this way, the position with a larger electromagnetic field intensity in the target scanning area can be determined, and the scanning points at the position with a larger electromagnetic field intensity can be scanned, and the background area can be skipped, which can reduce the number of scanning points in the near-field scanning process, thereby improving the efficiency of the near-field scanning.

[0125] In an exemplary embodiment, as shown in FIG7 , a plurality of second scanning points for the next scan are determined according to each gradient information and the attention value until the number of scans meets a preset condition, including the following steps 601 to 703. Among them:

[0126] S701, obtaining electromagnetic field information of each second scanning point.

[0127] Optionally, after scanning each second scanning point, the electromagnetic field strength of each second scanning point at different scanning frequencies is acquired, and the electromagnetic field information of the second scanning point is determined according to the electromagnetic field strength at each scanning frequency.

[0128] S702: Update the first scanning points according to the second scanning points to increase the number of the first scanning points.

[0129] Optionally, a first scanning point set may be established based on the first scanning point, and the second scanning point after scanning may be added to the first scanning point set, so as to determine the second scanning point for the next scan based on the second scanning point after scanning and the previous first scanning point.

[0130] S703, determining the second scanning point for the next scan according to the updated gradient information and attention value of the first scanning point, until the number of scans meets the preset condition.

[0131] Optionally, the updated first scanning point may be a scanned grid point in the two-dimensional grid.

[0132] Optionally, the method for determining the second scanning point for the next scan based on the updated gradient information and attention value of the first scanning point is consistent with that in steps 601-603.

[0133] In an exemplary embodiment, as shown in FIG8 , obtaining electromagnetic field information of each first scanning point in a two-dimensional grid includes the following steps 801 to 802. Among them:

[0134] S801, determining a two-dimensional grid of the target scanning area according to the size of the target scanning area and the moving step length of the displacement mechanism.

[0135] Optionally, in the target scanning area, the smaller the moving step size is, the more grid points there are in the two-dimensional grid, and the higher the scanning accuracy is.

[0136] Optionally, after the size of the target scanning area is acquired, the target scanning area may be divided into two-dimensional grids according to the moving step length, and the grid interval in the two-dimensional grid may be the moving step length.

[0137] Optionally, the moving step may be a scanning step of the scanning probe, that is, each time the shift mechanism moves a moving step, the scanning probe will scan the grid points directly below the shift mechanism.

[0138] S802, selecting a plurality of first scanning points in a two-dimensional grid, and determining electromagnetic field information of each first scanning point.

[0139] Optionally, after determining the two-dimensional grid, the target scanning area can be scanned based on the two-dimensional grid. The embodiment of the present application is an embodiment of acquiring electromagnetic field information of each first scanning point when scanning the target scanning area for the first time.

[0140] In a possible implementation manner, a plurality of random numbers may be generated according to a preset random number algorithm, and a plurality of first scanning points may be determined from a two-dimensional grid according to the random numbers.

[0141] In another possible implementation, multiple first scanning points can be determined based on Poisson disk sampling. An initial point can be randomly set from a two-dimensional grid, and a circular area with a radius r is generated with the initial point as the center. Then, a new point is randomly sampled in the circular area, and the sampled point is used as a first scanning point. By continuously repeating this process, the first scanning points that meet the quantity requirements can be obtained. While maintaining randomness, the distribution of the first scanning points can be made more uniform, which can make up for the shortcomings of random sampling.

[0142] Optionally, after selecting a plurality of first scanning points, each first scanning point may be scanned by a scanning probe to determine the electromagnetic field information of each first scanning point.

[0143] The above-mentioned method determines the two-dimensional grid of the target scanning area according to the size of the target scanning area and the moving step length of the displacement mechanism, selects multiple first scanning points in the two-dimensional grid, and determines the electromagnetic field information of each first scanning point. The electromagnetic field information of the first scanning point can be determined, so that the second scanning point for the next scan can be determined according to the electromagnetic field information of the first scanning point. Scanning all grid points in the two-dimensional grid can be avoided, and the efficiency of near-field scanning can be improved.

[0144] As an optional implementation, as shown in FIG9 , the near-field scanning method provided in the embodiment of the present application may include the following specific steps:

[0145] S901, determining a two-dimensional grid of the target scanning area according to the size of the target scanning area and the moving step length of the displacement mechanism.

[0146] S902, selecting a plurality of first scanning points in a two-dimensional grid, and determining electromagnetic field information of each first scanning point.

[0147] The two-dimensional grid is determined according to the target scanning area, the number of the first scanning points is less than the total number of grid points in the two-dimensional grid, and each electromagnetic field information includes the electromagnetic field strength of the first scanning point under multiple scanning frequencies.

[0148] S903, determining electromagnetic field information of each first scanning point according to the sum of the electromagnetic field intensities at each scanning frequency.

[0149] S904, determining the gradient information of each first scanning point according to a preset discrete gradient operator and each electromagnetic field information.

[0150] S905, determining the weight information of each scanning frequency according to the attention mechanism.

[0151] S906, determining the attention value according to the weight information of each scanning frequency and the corresponding electromagnetic field strength.

[0152] Among them, the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold. The gradient information includes the gradient value and the gradient direction. The attention value is used to focus on the area where the electromagnetic field strength meets the preset threshold.

[0153] S907, determining a plurality of basic scanning points from the first scanning point according to the gradient value and the attention value.

[0154] The number of basic scanning points is smaller than the number of first scanning points.

[0155] S908, determining a plurality of second scanning points according to the gradient direction of each basic scanning point and the moving step length of the displacement mechanism.

[0156] S909, scanning each second scanning point to obtain electromagnetic field information of each second scanning point.

[0157] S910, updating the first scanning points according to each second scanning point to increase the number of the first scanning points.

[0158] S911, determine whether the number of scans meets the preset conditions. If the number of scans does not meet the preset conditions, execute steps 903 to 911; if the number of scans meets the preset conditions, execute step 912.

[0159] S912, determining the electromagnetic field distribution of the target scanning area according to the electromagnetic field information of each scanning point in the two-dimensional grid.

[0160] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0161] Based on the same inventive concept, the embodiment of the present application also provides a near-field scanning device for implementing the near-field scanning method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more near-field scanning device embodiments provided below can refer to the above limitations on the near-field scanning method, and will not be repeated here.

[0162] In an exemplary embodiment, as shown in FIG10 , a near-field scanning device 1000 is provided, which is arranged in a controller of a near-field scanning system. The near-field scanning system includes a controller, a spectrum analyzer, a displacement mechanism and a scanning probe. The controller is connected to the spectrum analyzer and the displacement mechanism. The displacement mechanism is connected to the scanning probe and is used to move under the drive of the controller to drive the scanning probe to move within a target scanning area. The device includes: an acquisition module 1001, a first determination module 1002, a second determination module 1003 and a third determination module 1004, wherein:

[0163] The acquisition module 1001 is used to acquire electromagnetic field information of each first scanning point in a two-dimensional grid, the two-dimensional grid is determined according to the target scanning area, and the number of the first scanning points is less than the total number of grid points in the two-dimensional grid.

[0164] The first determination module 1002 is used to determine the gradient information and attention value of each first scanning point according to each electromagnetic field information, the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets the preset threshold, and the attention value is used to focus on the area where the electromagnetic field intensity meets the preset threshold.

[0165] The second determination module 1003 is used to determine multiple second scanning points for the next scan according to each gradient information and the attention value until the number of scans meets a preset condition.

[0166] The third determination module 1004 is used to determine the electromagnetic field distribution of the target scanning area according to the electromagnetic field information of each scanning point in the two-dimensional grid.

[0167] In an exemplary embodiment, the first determination module 1002 is specifically configured to determine the electromagnetic field information of each first scanning point according to the sum of the electromagnetic field intensities at each scanning frequency; and determine the gradient information of each first scanning point according to a preset discrete gradient operator and each electromagnetic field information.

[0168] In an exemplary embodiment, the first determination module 1002 is specifically configured to determine weight information of each scanning frequency according to an attention mechanism; and determine an attention value according to the weight information of each scanning frequency and a corresponding electromagnetic field strength.

[0169] In an exemplary embodiment, the gradient information includes a gradient value and a gradient direction. The second determination module 1003 is specifically used to determine multiple basic scanning points from the first scanning points according to the gradient value and the attention value, and the number of basic scanning points is less than the number of first scanning points; determine multiple second scanning points according to the gradient direction of each basic scanning point and the moving step of the displacement mechanism; and scan each second scanning point.

[0170] In an exemplary embodiment, the second determination module 1003 is specifically used to obtain the electromagnetic field information of each second scanning point; update the first scanning point according to each second scanning point to increase the number of first scanning points; determine the second scanning point for the next scan according to the electromagnetic field information of the updated first scanning point, until the number of scans meets the preset conditions.

[0171] In an exemplary embodiment, the acquisition module 1001 is specifically used to determine a two-dimensional grid of the target scanning area according to the size of the target scanning area and the moving step of the displacement mechanism; select multiple first scanning points in the two-dimensional grid, and determine the electromagnetic field information of each first scanning point.

[0172] Each module in the near-field scanning device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0173] In an exemplary embodiment, a computer device is provided, which may be an industrial computer, and its internal structure diagram may be shown in FIG11. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to the near-field scanning method. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a near-field scanning method is implemented.

[0174] Those skilled in the art will understand that the structure shown in FIG. 11 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0175] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps described in any of the above method embodiments when executing the computer program.

[0176] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps described in any of the above method embodiments are implemented.

[0177] In an exemplary embodiment, a computer program product is provided, including a computer program, which implements the steps described in any of the above method embodiments when executed by a processor.

[0178] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0180] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A near-field scanning method, characterized in that: In a controller for a near-field scanning system, the near-field scanning system comprises a controller, a spectrum analyzer, a displacement mechanism and a scanning probe, the controller is connected to the spectrum analyzer and the displacement mechanism, the displacement mechanism is connected to the scanning probe and is used to move under the drive of the controller to drive the scanning probe to move within a target scanning area, the method comprises: Acquire electromagnetic field information of each first scanning point in a two-dimensional grid, wherein the two-dimensional grid is determined according to the target scanning area, and the number of the first scanning points is less than the total number of grid points in the two-dimensional grid; Determine the gradient information and the attention value of each of the first scanning points according to each of the electromagnetic field information, wherein the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets a preset threshold, and the attention value is used to focus on the area in which the electromagnetic field intensity meets the preset threshold; Determine a plurality of second scanning points for the next scan according to each of the gradient information and the attention value until the number of scans meets a preset condition; The electromagnetic field distribution of the target scanning area is determined according to the electromagnetic field information of each scanning point in the two-dimensional grid.

2. The method according to claim 1, characterized in that Each of the electromagnetic field information includes the electromagnetic field strength of the first scanning point at multiple scanning frequencies, and the step of determining the gradient information and the attention value of each of the first scanning points according to each of the electromagnetic field information includes: Determining electromagnetic field information of each of the first scanning points according to the sum of the electromagnetic field intensities at each of the scanning frequencies; The gradient information of each of the first scanning points is determined according to a preset discrete gradient operator and each of the electromagnetic field information.

3. The method according to claim 2, characterized in that The determining the gradient information and the attention value of each of the first scanning points according to each of the electromagnetic field information comprises: Determine weight information of each scanning frequency according to the attention mechanism; The attention value is determined according to the weight information of each scanning frequency and the corresponding electromagnetic field strength.

4. The method according to claim 1, characterized in that: The gradient information includes a gradient value and a gradient direction, and the determining of a plurality of second scanning points for the next scan according to each of the gradient information and the attention value includes: Determine a plurality of basic scanning points from the first scanning points according to the gradient value and the attention value, wherein the number of the basic scanning points is less than the number of the first scanning points; Determine a plurality of second scanning points according to the gradient direction of each of the basic scanning points and the moving step length of the displacement mechanism; Scan each of the second scanning points.

5. The method according to claim 4, characterized in that The step of determining a plurality of second scanning points for the next scan according to each of the gradient information and the attention value until the number of scans meets a preset condition includes: Acquiring electromagnetic field information of each of the second scanning points; updating the first scanning points according to each of the second scanning points to increase the number of the first scanning points; The second scanning point for the next scan is determined according to the updated gradient information and the attention value of the first scanning point until the number of scans meets the preset condition.

6. The method according to claim 1, characterized in that The step of obtaining electromagnetic field information of each first scanning point in the two-dimensional grid includes: Determining a two-dimensional grid of the target scanning area according to the size of the target scanning area and the moving step length of the displacement mechanism; A plurality of first scanning points are selected in the two-dimensional grid, and electromagnetic field information of each of the first scanning points is determined.

7. A near-field scanning device, characterized in that: The device is arranged in a controller of a near-field scanning system, wherein the near-field scanning system comprises a controller, a spectrum analyzer, a displacement mechanism and a scanning probe, wherein the controller is connected to the spectrum analyzer and the displacement mechanism, and the displacement mechanism is connected to the scanning probe and is used to move under the drive of the controller to drive the scanning probe to move within a target scanning area. The device comprises: An acquisition module, used to acquire electromagnetic field information of each first scanning point in a two-dimensional grid, wherein the two-dimensional grid is determined according to the target scanning area, and the number of the first scanning points is less than the total number of grid points in the two-dimensional grid; A first determination module, configured to determine the gradient information and the attention value of each of the first scanning points according to each of the electromagnetic field information, wherein the gradient information is used to indicate the direction in which the electromagnetic field change in the target scanning area meets a preset threshold, and the attention value is used to focus on the area in which the electromagnetic field intensity meets the preset threshold; A second determination module, used to determine a plurality of second scanning points for the next scan according to each of the gradient information and the attention value, until the number of scans meets a preset condition; The third determination module is used to determine the electromagnetic field distribution of the target scanning area according to the electromagnetic field information of each scanning point in the two-dimensional grid.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Self-adaptive measurement and magnetic field visualization method for high-power semiconductor module space magnetic field radiation distribution

    CN120044316A

  • Near field scanning method and device, computer equipment, storage medium and program product

    CN121878362A

  • Near-field scanning method, device, computer equipment, storage medium and program product

    CN121878362B