An improved GS phase retrieval method based on particle swarm optimization
By combining the G-S algorithm with the particle swarm algorithm, the phase recovery method in the compact field test of high-frequency antennas is improved, the local optimal solution problem is solved, the stability and accuracy of the test results are improved, and a more accurate pseudo-plane wave is achieved Directivity and far-field characteristics data analysis.
Patent Information
- Application Number
- CN202410103677.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-01-25
AI Technical Summary
In the compact field test of high-frequency antennas, it is difficult to accurately evaluate the plane wave quality in the quiet zone with existing technology, and the G-S phase recovery algorithm easily falls into a local optimal solution, resulting in unstable and insufficient accuracy of the recovery results.
An improved G-S phase recovery method based on the particle swarm algorithm is used. By converting the G-S algorithm into the objective function of the particle swarm algorithm, the global information sharing and random motion characteristics of the particle swarm algorithm are used to avoid local optimal solutions and iteratively obtain the phase value. Global optimal solution.
It achieves more accurate pseudo-plane wave phase information estimation, improves the stability and accuracy of measurement results, avoids test result differences caused by local optimal solutions, and enhances the accuracy of compact field testing.
Smart Images

Figure CN117929846B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of phase recovery, and in particular to an improved GS phase recovery method based on a particle swarm algorithm. Background Art
[0002] Antenna testing generally uses the far-field principle, where the spherical wave emitted by the transmitting antenna is converted into a plane wave after a certain distance to directly measure the far-field characteristics of the antenna without additional calculation. This is because according to the receiving equivalent principle, the directivity, far-field characteristics and other data can be directly obtained from the receiving characteristics of the antenna to be tested.
[0003] For high-frequency antennas, long-distance signal transmission will cause the electromagnetic wave energy to be severely attenuated in the air and be easily affected by various noises. In order to solve this problem, a compact field test method is proposed. The basic principle of the compact field is to reduce the straight-line distance between the transmitting antenna and the antenna to be tested by using some optical methods such as reflection, so as to reduce the footprint of the test system.
[0004] In the compact field measurement system, the electromagnetic wave emitted by the feed source is a spherical wave. The phase difference of the spherical wave is adjusted through the reflection plane of the key component in the compact field system, so that the phase difference on the same plane perpendicular to the propagation direction is as close to zero as possible. Finally, in the emission area, which is generally called the quiet zone, an approximate plane wave similar to the one received by the receiving antenna in the far-field test is formed, which is called a pseudo-plane wave. This is the principle of the compact field. However, no matter how precisely the reflection plane is designed, considering some interference in the conversion and the processing accuracy of the reflection plane itself, this method of adjusting the phase of the spherical wave by shaping the reflection plane to infinitely approach the plane wave is impossible to achieve an absolute plane wave, and ultimately it can only achieve an approximate plane wave, that is, a pseudo-plane wave.
[0005] Generally speaking, the quality of plane waves in the quiet zone can be evaluated by the phase disturbance in the quiet zone. However, as the frequency increases, the jitter of the scanning frame during scanning will cause a huge shift in the wavelength level, resulting in a huge phase shift, which is difficult to measure accurately.
[0006] As a test method for high-frequency signals, there are not many products on the market. The general evaluation method of the plane wave quality in the compact field quiet zone uses the amplitude range, i.e., amplitude disturbance, and the phase range, i.e., phase disturbance, to evaluate. So far, there is no particularly accurate result in the evaluation direction of the compact field phase quiet zone.
[0007] The method of recovering phase from amplitude in this paper is computationally complex, such as Yang Guozhen-Gu Benyuan algorithm, fractional Fourier recursion algorithm, etc., but the conditions of use are not general.
[0008] The GS algorithm is generally good, but it still needs to be improved to be better applied to practical scenarios to avoid falling into the local optimal situation where iteration stops. Therefore, the present invention combines the PSO algorithm, converts the GS algorithm into the form of an objective function, and substitutes it into the PSO for iteration. The PSO algorithm can realize global information sharing, can effectively avoid using global information to guide the iteration process, and due to the characteristics of random movement of particles in the group, can avoid entering the local optimal solution too quickly in the initial stage.
[0009] Since the observation of phase is inaccurate in the high-frequency wave observation environment, but the observation of amplitude is stable, the amplitude can be used to restore the phase.
[0010] The GS (Gercjneg-Saxton) phase recovery iterative algorithm is a common method for phase recovery, but it is easy to fall into the local minimum, causing the optimization algorithm to stagnate in the search space, resulting in the inability to obtain the global optimal solution, and there may be multiple similar solutions locally, causing the solution to be easily disturbed by tiny noise, resulting in unstable convergence results. Such instability will be multiplied in high-frequency environments, greatly reducing the accuracy of the phase recovery results.
[0011] The PSO-GS method in this paper is an optimization algorithm based on swarm intelligence. It is more universal and can obtain the optimal result through continuous iteration. It is a data mining method. Summary of the invention
[0012] In order to solve the above technical problems, the purpose of the present invention is to provide a GS phase recovery method improved based on particle swarm algorithm, which effectively solves the problem that the original GS method is prone to fall into local optimal solution, resulting in unstable recovery results and insufficient accuracy.
[0013] The purpose of the present invention is achieved through the following technical solutions:
[0014] A GS phase recovery method improved based on particle swarm algorithm, comprising:
[0015] Step A starts the feed source, emits a high-frequency spherical wave, and obtains a spherical wave after the phase difference is adjusted after being reflected by the reflecting surface. The reflected spherical wave approximates to a plane wave after a certain distance, which is a pseudo-plane wave;
[0016] Step B obtains the amplitude of the pseudo plane wave signal reflected in the spatial domain and calculates the initial objective function of the GS algorithm;
[0017] Step C iterates the GS objective function through the particle swarm algorithm to obtain the global optimal solution of the phase value.
[0018] In this solution, the GS algorithm is implemented based on the principle of obtaining phase information by continuously alternating forward and inverse Fourier transforms. Specifically, it includes:
[0019] Assume that the complex amplitude function of the object is expressed as:
[0020]
[0021] According to Fourier transform, the amplitude of the object is converted into the complex amplitude in the frequency domain:
[0022]
[0023] Where f is the Fourier transform factor; keep the amplitude and correct the phase to obtain the observed amplitude distribution I observed ;
[0024] The corrected complex amplitude in the frequency domain is inversely transformed by inverse Fourier transform to obtain the corrected complex amplitude of the object:
[0025]
[0026] Substituting the initial phase actually measured for the first time:
[0027]
[0028] Keep the observed amplitude in the object plane, correcting the phase:
[0029]
[0030] The inferred amplitude distribution is obtained:
[0031]
[0032] Furthermore, the iterative process is continuously repeated until convergence. When convergence occurs, the optimal actual phase is obtained, and the error calculation method is used as the end exit of the iteration, so that the estimated amplitude I calculated by the corrected phase calculated and the actual observed amplitude I observed Consistent.
[0033] Furthermore, the error calculation method is used as the end exit of the iteration, so that the estimated amplitude I calculated by the corrected phase calculated and the actual observed amplitude I observed The specific agreement includes:
[0034] The root mean square error RMSE is used to evaluate whether the iteration converges. According to the definition,
[0035]
[0036] Formula (7) reflects the goal of the GS algorithm, which is to continuously adjust the phase The difference between the actual observed amplitude and the calculated amplitude is then used Contains phase The function to express RMSE is:
[0037]
[0038] Furthermore, in step C, the GS objective function is optimized by a particle swarm algorithm to obtain the optimal result of the phase function, which specifically includes:
[0039] Randomly generate the position x of each particle in the particle swarm i and speed v i , substitute into the particle swarm algorithm formula, the formula is:
[0040]
[0041] Where w is the inertia weight, which controls the contribution of the previous speed to the current speed. c1 and c2 are learning factors, which respectively control the influence of individual experience and group collaboration on speed. r1 and r2 are random numbers, usually between [0,1]. Let p g , p i are the global optimal position and the individual optimal position respectively;
[0042] Combined with phase function As the objective function
[0043]
[0044] Among them, argmin means selecting the minimum value between the objective functions;
[0045] Substitute the initial phase calculated in the first iteration into the formula, that is, Let the iteration start, continuously update the speed and position of the particle swarm according to formulas (8) and (9), and regain the individual and global optimal positions.
[0046] Furthermore, using the standard deviation formula:
[0047]
[0048] The stability of the global optimal solution is evaluated, where the standard deviation is set to 0.01 and t is set to 10. That is, if the standard deviation is less than 0.01 in 10 iterations, the iteration is considered to have entered a convergence state, and the iteration is stopped. The global solution obtained is the optimal solution.
[0049] The GS phase recovery method improved by particle swarm algorithm is implemented through a single-mirror compact field test system;
[0050] Furthermore, a single-reflector compact range test system includes: a compact range feed source, a compact range reflector, a receiving antenna and a host computer;
[0051] The compact field feed source is used to reflect high-frequency spherical waves to the compact field reflection surface;
[0052] The compact field reflection surface adjusts the phase difference of the spherical wave and reflects the spherical wave;
[0053] The receiving wire obtains the pseudo plane wave signal reflected back in the spatial domain through the data acquisition module, and obtains the actual amplitude I of the signal observed , calculate the initial GS objective function;
[0054] The host computer continuously iterates the GS objective function through the particle swarm algorithm, and stops the iteration when the set standard deviation threshold is reached to obtain the phase value.
[0055] Furthermore, the spherical wave reflected by the compact field reflection surface is adjusted by phase difference and approximates to a plane wave after passing a certain distance, and the plane wave is a pseudo plane wave.
[0056] Compared with the prior art, one or more embodiments of the present invention may have the following advantages:
[0057] The phase information of the reflected pseudo-plane wave can be more accurately calculated, so that more accurate data on the directivity and far-field characteristics of the pseudo-plane wave can be obtained, which is helpful for analyzing it;
[0058] It will not fall into the local optimum, effectively avoiding different results in each test, making the measurement results more stable and accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a flow chart of the GS phase recovery method improved based on the particle swarm algorithm provided by the present invention;
[0060] Figure 2 It is a flow chart of the algorithm provided by the present invention;
[0061] Figure 3 It is a schematic diagram of a single reflector compact field provided by the present invention;
[0062] Figure 4 is a schematic diagram of a phase recovery system provided by the present invention;
[0063] Figure 5 This is a schematic diagram of the wave phase value at a frequency of 77 GHz directly measured by the instrument;
[0064] Figure 6 This is a schematic diagram of the phase difference obtained after phase restoration. DETAILED DESCRIPTION
[0065] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below in conjunction with embodiments and drawings.
[0066] like Figure 1-Figure 4 As shown in FIG. 1 , a GS phase recovery method improved based on a particle swarm algorithm is shown, which includes the following steps:
[0067] Step 10: Start the feed source, emit a high-frequency spherical wave, and obtain a spherical wave after adjusting the phase difference after reflection on the reflection surface. The reflected spherical wave is approximately converted into a pseudo-plane wave (such as Figure 3 The above step 10 is implemented based on a single-mirror compact field, and its high-frequency spherical wave is reflected to the compact field reflection surface through the feed source.
[0068] Step 20 obtains the amplitude of the pseudo plane wave signal reflected back in the spatial domain and calculates the objective function of the initial GS algorithm;
[0069] The amplitude I of the pseudo-plane wave signal reflected back in the spatial domain is obtained by connecting the data acquisition module of the receiving antenna part observed .
[0070] The GS algorithm is based on the principle of obtaining phase information by alternating forward and inverse Fourier transforms. Specifically, it includes:
[0071] Assume that the complex amplitude function of the object is expressed as:
[0072]
[0073] According to Fourier transform, the amplitude of the object is converted into the complex amplitude in the frequency domain:
[0074]
[0075] Where f is the Fourier transform factor;
[0076] Maintain the amplitude, correct the phase, and obtain the observed amplitude distribution I observed ;
[0077] The corrected complex amplitude in the frequency domain is inversely transformed by inverse Fourier transform to obtain the corrected complex amplitude of the object:
[0078]
[0079] Substituting the initial phase actually measured for the first time:
[0080]
[0081] Keep the observed amplitude in the object plane, correcting the phase:
[0082]
[0083] The inferred amplitude distribution is obtained:
[0084]
[0085] The iterative process is repeated until convergence. When convergence occurs, the optimal actual phase can be obtained, so that the estimated amplitude I calculated by the corrected phase calculated and the actual observed amplitude I observed Therefore, it is necessary to determine an error calculation method as the end exit of the iteration;
[0086] The root mean square error RMSE is used to evaluate whether the iteration converges. According to its definition,
[0087]
[0088] This formula reflects the goal of the GS algorithm, which is to continuously adjust the phase The difference between the actual observed amplitude and the calculated amplitude is then used One contains the phase The function to express RMSE is:
[0089]
[0090] Step 30 iterates the GS objective function through the particle swarm algorithm to obtain the global optimal solution of the phase value.
[0091] In the host computer, the particle swarm algorithm is used to continuously iterate the GS objective function. The iteration stops when the set standard deviation threshold is reached. The phase value obtained at this time is regarded as the global optimal value, which includes the following:
[0092] The GS objective function is optimized by particle swarm optimization to obtain the optimal result of the phase function, including:
[0093] Randomly generate the position x of each particle in the particle swarm i and speed v i , substitute into the particle swarm PSO algorithm formula, the formula is:
[0094]
[0095] Where w is the inertia weight, which controls the contribution of the previous speed to the current speed. c1 and c2 are learning factors, which respectively control the influence of individual experience and group collaboration on speed. r1 and r2 are random numbers, usually between [0,1]. Let p g , p iare the global optimal position and the individual optimal position respectively;
[0096] Combined with phase function As the objective function
[0097]
[0098] Among them, argmin means selecting the minimum value between the objective functions;
[0099] Substitute the initial phase calculated in the first iteration into the formula, that is, After that, the iteration can be started, and the speed and position of the particle swarm are continuously updated according to formulas (8) and (9), and the individual and global optimal positions are obtained again.
[0100] Using the standard deviation formula:
[0101]
[0102] To evaluate the stability of the global optimal solution, the standard deviation is set to 0.01 (but not limited to this value, the user can choose according to needs), and t is set to 10. That is, if the standard deviation is less than 0.01 in 10 iterations, the iteration is considered to have entered a convergence state, and the iteration is stopped. At this time, the global solution obtained is the optimal solution.
[0103] This embodiment also provides a single-reflector compact range test system for implementing a GS phase recovery method improved by a particle swarm algorithm, comprising: a compact range feed source, a compact range reflector, a receiving antenna and a host computer;
[0104] The compact field feed source is used to reflect high-frequency spherical waves to the compact field reflection surface;
[0105] The compact field reflection surface adjusts the phase difference of the spherical wave and reflects the spherical wave;
[0106] The receiving wire obtains the pseudo plane wave signal reflected back in the spatial domain through the data acquisition module, and obtains the actual amplitude I of the signal obseved , calculate the initial GS objective function;
[0107] The host computer continuously iterates the GS objective function through the particle swarm algorithm, and stops the iteration when the set standard deviation threshold is reached to obtain the phase value.
[0108] The spherical wave reflected by the compact field reflection surface is adjusted for phase difference and approximated into a plane wave after passing a certain distance. The plane wave is a pseudo plane wave.
[0109] like Figure 5 As shown in the figure, the wave phase value at 77Ghz frequency is directly measured by the instrument. Figure 5It can be seen that in an environment with absolutely accurate mechanical environment, the small mechanical error of the receiving antenna itself or the measurement uncertainty of the instrument will be magnified exponentially in a high-frequency environment. Figure 5 The maximum phase difference of the measured phase value can reach 4.5°. Theoretically, the phase curve should be a straight line.
[0110] The technology provided by this embodiment:
[0111] Since the measurement of amplitude in a high-frequency environment is not easily affected by errors and the fluctuation is much smaller than the phase, the amplitude of the wave is measured by a network analyzer to restore the phase.
[0112] Since the measurement of the antenna in the compact field uses the receiving antenna to sweep horizontally to obtain data at different horizontal distances. Therefore, after measuring the amplitude data at different horizontal distances, we perform phase restoration on the amplitude based on each point. For example, the amplitude point obtained at -150mm is substituted into the GS algorithm based on particle swarm improvement provided in this embodiment. After the standard deviation converges, the iteration is stopped, and the phase obtained at this time is regarded as the actual phase value successfully restored; after that, the same operation is repeated for each point until all the collected amplitude points are restored to phase values. The final phase restoration will obtain a curve with a small phase difference fluctuation, such as Figure 6 As shown (above Figure 5 and 6 This is only an example image, and the results restored by the algorithm may not be exactly the same as shown in the above image).
[0113] Although the embodiments disclosed in the present invention are as above, the above contents are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.
Claims
1. A GS phase recovery method based on particle swarm optimization, characterized in that: The method comprises the following steps: Step A starts the feed source, emits a high-frequency spherical wave, and obtains a spherical wave after the phase difference is adjusted after being reflected by the reflecting surface. The reflected spherical wave approximates to a plane wave after a certain distance, which is a pseudo-plane wave; Step B obtains the amplitude of the pseudo plane wave signal reflected in the spatial domain and calculates the initial objective function of the GS algorithm; Step C iterates the GS objective function through the particle swarm algorithm to obtain the global optimal solution of the phase value; The GS algorithm is implemented based on the principle of obtaining phase information by continuously alternating forward and inverse Fourier transforms; Specifically include: Assume that the complex amplitude function of the object is expressed as: According to Fourier transform, the amplitude of the object is converted into the complex amplitude in the frequency domain: Where f is the Fourier transform factor; keep the amplitude, correct the phase, and get the observed amplitude distribution I observed ; The corrected complex amplitude in the frequency domain is inversely transformed by inverse Fourier transform to obtain the corrected complex amplitude of the object: Substituting the initial phase actually measured for the first time: Keep the observed amplitude in the object plane, correcting the phase: The inferred amplitude distribution is obtained: The iterative process is continuously repeated until convergence. When convergence occurs, the optimal actual phase is obtained, and the error calculation method is used as the end exit of the iteration, so that the estimated amplitude I calculated by the corrected phase calculated and the actual observed amplitude I observed Consistency; The error calculation method is used as the end exit of the iteration, so that the estimated amplitude I calculated by the corrected phase calculated and the actual observed amplitude I observed The specific agreement includes: The root mean square error RMSE is used to evaluate whether the iteration converges. According to the definition, Formula (7) reflects the goal of the GS algorithm, which is to continuously adjust the phase The difference between the actual observed amplitude and the calculated amplitude is then used Contains phase The function to express RMSE is: In the step C, the GS objective function is optimized by the particle swarm algorithm to obtain the optimal result of the phase function, which specifically includes: Randomly generate the position x of each particle in the particle swarm i and speed v i , substitute into the particle swarm algorithm formula, the formula is: Where w is the inertia weight, which controls the contribution of the previous speed to the current speed. c1 and c2 are learning factors, which respectively control the influence of individual experience and group collaboration on speed. r1 and r2 are random numbers, usually between [0, 1]. Let p g , p i are the global optimal position and the individual optimal position respectively; Combined with phase function As the objective function Among them, argmin means selecting the minimum value between the objective functions; Substitute the initial phase calculated in the first iteration into the formula, that is, Let the iteration start, continuously update the speed and position of the particle swarm according to formulas (8) and (9), and regain the individual and global optimal positions; Using the standard deviation formula: The stability of the global optimal solution is evaluated, where the standard deviation is set to 0.01 and t is set to 10. That is, if the standard deviation is less than 0.01 in 10 iterations, the iteration is considered to have entered a convergence state, and the iteration is stopped. The global solution obtained is the optimal solution.
2. The GS phase recovery method based on particle swarm algorithm improvement according to claim 1 is characterized in that: The GS phase recovery method improved based on the particle swarm algorithm is implemented based on a single-mirror compact field test system.
3. The GS phase recovery method based on particle swarm algorithm improvement according to claim 2 is characterized in that: The single-reflector compact range test system comprises: a compact range feed source, a compact range reflector, a receiving antenna and a host computer; The compact field feed source is used to reflect high-frequency spherical waves to the compact field reflection surface; The compact field reflection surface adjusts the phase difference of the spherical wave and reflects the spherical wave; The receiving wire obtains the pseudo plane wave signal reflected back in the spatial domain through the data acquisition module, and obtains the actual amplitude I of the signal observed , calculate the initial GS objective function; The host computer continuously iterates the GS objective function through the particle swarm algorithm, and stops the iteration when the set standard deviation threshold is reached to obtain the phase value.
4. The GS phase recovery method based on particle swarm algorithm improvement according to claim 3 is characterized in that: The spherical wave reflected by the compact field reflection surface is adjusted for phase difference and approximated into a plane wave after passing a certain distance. The plane wave is a pseudo plane wave.
