A nuclear pulse trapezoidal shaping method based on optimal waveform

By using clustering and simulated annealing algorithms to search for the optimal waveform in the pulse waveform space, the problem of diversity, complexity and volatility of the pulse signal waveform output by the front-end simulation system is solved, and the accuracy of pulse amplitude identification and pulse shaping is improved. and consistency, ensuring accurate acquisition of energy spectrum.

CN115436991BInactive Publication Date: 2024-09-20CHENGDU UNIVERSITY OF TECHNOLOGY +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211113614.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-14
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing digital waveform shaping algorithms process pulse signals output from front-end analog systems, accuracy, consistency, and reliability are difficult to guarantee due to the diversity, complexity, and volatility of pulse waveforms, which affects the accuracy of pulse amplitude identification and energy spectrum. Get.

Method used

The clustering algorithm and simulated annealing algorithm are used to search for the optimal waveform in the pulse waveform space. After discretization and normalization, the initial cluster center and objective function are determined. Combined with the simulated annealing algorithm optimization, the global optimal pulse waveform is finally obtained. To obtain the trapezoidal forming algorithm.

Benefits of technology

It improves the accuracy of pulse amplitude identification, overcomes waveform diversity, complexity and volatility, ensures the accuracy and consistency of pulse shaping, reduces the fluctuation of system characteristics and waveform characteristics, and suppresses the average error to the greatest extent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115436991B
    Figure CN115436991B
Patent Text Reader

Abstract

The present invention discloses a nuclear pulse trapezoidal forming method based on an optimal waveform, which is used to obtain an optimal pulse waveform for trapezoidal forming in the waveform space formed by the pulse waveform output by the front-end simulation system through a clustering algorithm and a simulated annealing algorithm, so as to overcome the volatility of the pulse waveform. First, the pulse waveforms output by the front-end simulation are discretized. Secondly, the discretized pulse waveforms are normalized. Then, the clustering algorithm is used to determine the cluster center and use it as the preliminary optimal pulse waveform. Next, the cluster center is used as the initial solution of the simulated annealing algorithm, and it is allowed to generate disturbances for the final optimization to prevent falling into the local optimum. Finally, the trapezoidal forming algorithm is used to obtain the optimal pulse waveform obtained by simulated annealing. The use of this trapezoidal forming algorithm overcomes the diversity, waveform complexity and volatility of the pulse waveform, and the accuracy of pulse amplitude identification can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a nuclear pulse trapezoidal shaping method based on an optimal waveform. Background Art

[0002] Digital pulse shaping technology has become an important shaping method for nuclear pulse signals, which is conducive to the recognition of nuclear signals using digital signal processing methods and greatly improves the performance of nuclear instruments. Usually, the detection channel composed of detectors, preamplifiers, CR / RC networks, amplifier circuits and other conditioning circuits is called a front-end analog system. Due to the different charge collection times of detectors (for example, silicon drift detectors, small semiconductor detectors or ultrafast scintillator detectors have a shorter charge collection time, while large germanium detectors and slower scintillator detectors have a longer charge collection time), the analog signal processing circuits connected to the detectors, such as the RC network, cascade RC network and switch reset preamplifier cascade CR-RC network, have various configurations (for example, selecting different numbers of cascade RC or CR to output single exponential, double exponential, step and other types of signals), as well as fluctuations in test conditions (for example, temperature, humidity, voltage, fluctuations in electronic component characteristics, etc.), resulting in the pulse signals output by the front-end analog system showing various forms, complex waveforms, and waveform fluctuations. Therefore, it is difficult to use accurate mathematical formulas to express the waveform characteristics of the pulses, which in turn makes it difficult to guarantee the accuracy, consistency and reliability of subsequent digital waveform shaping algorithms (for example, trapezoidal shaping algorithms). Based on the above problems of inaccuracy, inconsistency, unreliability, etc. of digital waveform shaping algorithms caused by the diversity, waveform complexity, waveform volatility, etc. of the pulse signals output by the front-end analog system, the present invention proposes a nuclear pulse trapezoidal shaping method based on the optimal waveform. The pulse waveform output by the front-end analog system is measured multiple times, and in the waveform space formed by these large numbers of output pulse waveforms, a clustering algorithm and a simulated annealing algorithm are used to search to obtain the optimal pulse waveform, and then a trapezoidal shaping algorithm is obtained based on the optimal pulse waveform. The use of this trapezoidal shaping algorithm based on the optimal pulse waveform overcomes the diversity, waveform complexity and volatility of the pulse waveform, making the trapezoidal shaping algorithm more accurate, consistent and reliable, and greatly improving the accuracy of pulse amplitude identification, which provides a guarantee for the accurate acquisition of the subsequent energy spectrum. Summary of the invention

[0003] The purpose of the present invention is to disclose a nuclear pulse trapezoidal shaping method based on an optimal waveform, which is used to search for the optimal pulse waveform in the waveform space spanned by the output pulse waveform of the front-end analog system by using a clustering algorithm and a simulated annealing algorithm, and to obtain a trapezoidal shaping algorithm based on the optimal pulse waveform. The use of this trapezoidal shaping algorithm overcomes the diversity, complexity and volatility of the pulse waveform, and can greatly improve the pulse amplitude recognition accuracy, which is of great significance.

[0004] The pulse waveform output by the front-end simulation system uses a clustering algorithm and a simulated annealing algorithm to obtain the trapezoidal shaping of the optimal pulse waveform, which is achieved through the following steps ① to ⑤.

[0005] Step ①, discretize the pulse waveform output by the front-end analog system.

[0006] Step ②, normalize each pulse waveform after discretization.

[0007] Step ③, use the clustering algorithm to process the normalized pulse waveform to obtain the initial optimal pulse waveform, which is implemented as follows A, B, C, D:

[0008] A. Randomly select a pulse waveform from N normalized pulse waveforms as the initial clustering center θ;

[0009] B. Calculate the distance between other pulse waveforms and the cluster center θ;

[0010] C. Calculate the sum of the distances between the cluster center θ and other pulse waveforms;

[0011] D. Select other pulse waveforms as cluster centers, and repeat steps B and C until all pulse waveforms are used as cluster centers and J(θ) is calculated. Finally, the cluster center with the minimum J(θ) is determined as the initial optimal pulse waveform θ. min .

[0012] Step ④, taking the preliminary optimal pulse waveform as the initial solution of the simulated annealing algorithm, and searching for the optimal solution again to prevent falling into the local optimum, is implemented according to the following steps A, B, C, D, E, and F:

[0013] Step A: The clustering algorithm determines the initial solution, namely V θ =θ min , calculate the objective function value J(V θ ), determine the initial temperature T = J (V θ )=J(θ min ), cooling rate a, number of iterations L and algorithm termination condition T end ;

[0014] Step B, set the loop count variable loop to 0;

[0015] Step C, perturb on the basis of θ to generate a new solution θ', and calculate the objective function value J(θ'); min On the basis of θ, perturb to generate a new solution θ', and calculate the objective function value J(θ');

[0016] Step D, calculate the objective function difference ΔJ = J(θ') - J(V θ ); Determine whether ΔJ is less than or equal to 0. When ΔJ <= 0, accept the new solution, that is, V θ = θ', J(V θ ); When ΔJ > 0, accept the new solution with probability Accept the new solution. Use rand(1) to generate a random number Q. If P >= Q, then accept the new solution, V θ = θ', J(V θ ); Otherwise, do not accept;

[0017] Step E, increment the loop count variable loop by 1 and determine whether the iteration count L is reached. When loop < L, return to Step C;

[0018] Step F, when the iteration count is reached, that is, loop >= L, determine whether the algorithm termination condition T <= T end ; When the termination condition is satisfied, end the algorithm and obtain the optimal pulse waveform V θ ; When T > T end , slowly reduce the temperature according to the cooling rate a, control the process of the temperature from high to low, T' = T * a, where T' represents the temperature after cooling and T is the current temperature; then set T = T', and return to Step B to continue the loop until the current temperature T satisfies the termination condition T <= T end End the algorithm and obtain the optimal pulse waveform V θ .

[0019] Step ⑤, obtain the trapezoidal shaping algorithm for the optimal pulse waveform obtained by the simulated annealing algorithm.

[0020] The beneficial effects of the present invention are as follows:

[0021] By using the clustering algorithm and the simulated annealing algorithm to search for the optimal pulse waveform, and then obtaining the trapezoidal shaping algorithm based on the optimal pulse waveform, this provides a guarantee for the accurate acquisition of the subsequent energy spectrum. It overcomes the diversity, waveform complexity and volatility of the pulse waveform; it can greatly improve the accuracy of pulse amplitude identification. The globally optimal pulse waveform obtained by searching through the clustering algorithm and the simulated annealing algorithm is the center of the waveform space or the function space. The pulse shaping and pulse identification carried out around the center are globally optimal, suppressing the fluctuations of the system characteristics and waveform characteristics to the greatest extent, and the average error values of pulse shaping and pulse identification are the smallest, which has important significance. Description of the Drawings

[0022] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION

[0023] The following is a detailed description of an embodiment of the present invention in conjunction with the accompanying drawings. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and process are given, but the protection scope of the present invention is not limited to the following embodiment.

[0024] The present invention is a nuclear pulse trapezoidal shaping method based on an optimal waveform. The trapezoidal shaping of the optimal pulse waveform is obtained by using a clustering algorithm and a simulated annealing algorithm for the pulse waveform output by a front-end analog system, and is achieved by the following steps ① to ⑤:

[0025] Step ①, discretize the pulse waveform output by the front-end analog system, and implement it according to the following A, B, and C steps:

[0026] A. The pulse waveform output by the front-end analog system is expressed in the following form:

[0027]

[0028] In formula (1), e=0,1,2,3...E; r=0,1,2,3...R; (E≥R), a e 、b r is a real constant;

[0029] B. Discretize the output pulse waveform and express it in sequence value as follows:

[0030] X(j)=(x1,x2,x3,…,x m ) (2)

[0031] C. All discretized pulse waveforms are represented by a set as follows:

[0032] X={X(1),X(2),X(3),…,X(N)} (3)

[0033] In formulas (2) and (3), X represents a set of pulse waveforms, X(j) represents a single pulse in the pulse set X; j = 1, 2, 3, ..., N, where N represents the number of pulse waveforms; m represents the dimension of the pulse waveform, and the dimension m of each pulse X(j) in the pulse waveform set X after discretization is the same; x i Represents the element value of the i-th dimension of the pulse waveform, i=1, 2, 3, ..., m.

[0034] Step ②, normalize each pulse waveform after discretization in step ①, according to the following method:

[0035]

[0036]

[0037] In formulas (4) and (5), j = 1, 2, 3, ..., N, where N represents the number of normalized pulse waveforms; i = 1, 2, 3, ..., m, where m represents the dimension of the pulse waveform; Represents the element value of the normalized pulse waveform in the i-th dimension; X(j) * represents the normalized pulse waveform of the pulse waveform X(j).

[0038] Step ③, use the clustering algorithm to process the normalized pulse waveform in step ② to preliminarily obtain the optimal pulse waveform, which is implemented as follows A, B, C, and D:

[0039] A. The normalized pulse waveform set is:

[0040] X * ={X(1) * ,X(2) * , X(3) * , …, X(N) *} (6)

[0041] In formula (6), X * represents a normalized set of pulse waveforms, and N represents the number of normalized pulse waveforms;

[0042] B. Randomly select a pulse waveform from these N pulse waveforms as the initial cluster center θ, and calculate the distance between other pulse waveforms and the cluster center θ:

[0043]

[0044] In formula (7), t==1, 2, 3, ..., m, where m represents the dimension of the pulse waveform, j=1, 2, 3, ..., N, where N represents the number of normalized pulse waveforms; X(j) * represents the normalized pulse waveform X(j), X(j) * (t) represents the element corresponding to the t-th dimension of the pulse waveform; θ(t) represents the element corresponding to the t-th dimension of the cluster center θ;

[0045] C. Calculate the sum of the distances between the cluster center θ and each pulse waveform:

[0046]

[0047] In formula (8), j = 1, 2, 3, ..., N, where N represents the number of normalized pulse waveforms; X(j) * represents the normalized pulse waveform of the pulse waveform X(j); θ is the cluster center;

[0048] D. Select other pulse waveforms as cluster centers, and repeat the process of steps B and C until all pulse waveforms are used as cluster centers and J(θ) is calculated. Finally, the cluster center with the minimum J(θ) is determined as the initial optimal pulse waveform θ. min .

[0049] Step ④, taking the preliminary optimal pulse waveform in ③ as the initial solution of the simulated annealing algorithm, and optimizing again to prevent falling into the local optimum; this is achieved by the following steps S1 to S10:

[0050] Step S1: The initial optimal pulse waveform θ determined by the clustering algorithm is min As the initial solution of the simulated annealing algorithm, V θ =θ min , calculate the initial solution V θ The corresponding objective function value The meanings of the letters are the same as those in formula (8);

[0051] Step S2, determine the initial temperature T = J (V θ )=J(θ min ), cooling rate a = 0.99, set the number of iterations L = 100, set the algorithm termination condition, that is, the termination temperature T end <=0.001;

[0052] Step S3, setting loop count variable loop=0;

[0053] Step S4, at V θ Based on the perturbation, a new solution θ' is generated, which is implemented as follows:

[0054] A. After normalization, the pulse waveform set X * ={X(1) * ,X(2) * , X(3) * , …, X(N) *}, the maximum and minimum values ​​of each dimension are taken as the upper and lower limits of the fluctuation of the dimension corresponding to θ', that is, as the fluctuation range of the dimension corresponding to θ';

[0055] B. Generate disturbances within the fluctuation range corresponding to each dimension to generate a new solution θ' in the form of:

[0056]

[0057] In formula (9), Indicates the pulse waveform θ min The element value corresponding to the i-th dimension of Represents the pulse waveform set X * The maximum value of the element corresponding to the i-th dimension in , Represents the pulse waveform set X * The minimum value of the element corresponding to the i-th dimension in , S represents the step factor, and rand(1) represents the generation of a random number uniformly distributed in the interval (0, 1). Indicates the corresponding The element value of the i-th dimension of the new solution θ' generated by the perturbation;

[0058] C. Calculate the objective function value J(θ') of the new solution θ' generated by the disturbance:

[0059]

[0060] The letters in formula (10) have the same meaning as those in formula (8);

[0061] Step S5, calculate the current objective function value J(θ') and the previous objective function value J(V θ ), that is, to calculate the objective function difference ΔJ = J(θ')-J(V θ );

[0062] Step S6, determine whether ΔJ is less than or equal to 0. If ΔJ<=0, accept the new solution, i.e., V θ =θ', J(V θ )=J(θ'); when ΔJ>0, according to probability Accept the new solution and use rand(1) to generate a random number Q. If P>=Q, then accept the new solution. V θ =θ', J(V θ )=J(θ'); otherwise, it is not accepted;

[0063] Step S7, the loop count variable loop is increased by 1;

[0064] Step S8, determine whether the number of iterations L has been reached, and when loop < L, return to step S4;

[0065] Step S9: When the number of iterations is reached, that is, loop>=L, determine whether the algorithm termination condition is met; when T<=T end The algorithm ends when the termination condition is reached and the optimal pulse waveform V is obtained. θ ;

[0066] Step S10, when T>T endThe temperature is slowly lowered according to the cooling rate a, and the temperature is controlled from high to low. The annealing method shown in formula (11) is adopted:

[0067] T'=T*a (11)

[0068] In formula (11), T' represents the temperature after cooling, T is the current temperature, and a is the cooling rate; then let T = T' and return to step S3, and continue the cycle until the current temperature T satisfies the termination condition T < = T end End the algorithm and get the optimal pulse waveform V θ .

[0069] Step ⑤, the optimal pulse waveform obtained by the simulated annealing algorithm is obtained by the trapezoidal shaping algorithm, which is implemented according to the following A, B, and C steps:

[0070] A. The Z transform expression of trapezoidal pulse is as follows:

[0071]

[0072] In formula (12), A max is the flat-top amplitude of the trapezoidal pulse, n a is the rising dimension of the trapezoidal pulse, n b is the sum of the rising dimension and the flat-top dimension of the trapezoidal pulse, n c is the total dimension of the trapezoidal formation, n c =n a +n b =m, m represents the dimension of the pulse waveform;

[0073] B. Optimal pulse waveform V obtained by simulated annealing algorithm θ The Z transform expression is as follows:

[0074]

[0075] In formula (13), V θ =(x1, x2, x3, ..., x m ), m represents the dimension of the pulse waveform, V θ (n) represents the element value corresponding to the nth dimension of the pulse waveform, n=1, 2, 3, ..., m;

[0076] C. Optimal pulse waveform V θ The transfer function expression of the trapezoidal shape is as follows:

[0077]

[0078] In formula (14), V θ =(x1, x2, x3, ..., x m ), m represents the dimension of the pulse waveform, Vθ (n) represents the element value corresponding to the nth dimension of the pulse waveform, n = 1, 2, 3, ..., m; A max is the flat-top amplitude of the trapezoidal pulse, n a is the rising dimension of the trapezoidal pulse, n b is the sum of the rising dimension and the flat-top dimension of the trapezoidal pulse, n c is the total dimension of the trapezoidal formation, n c =n a +n b =m.

[0079] The above steps ① to ⑤ are the nuclear pulse trapezoidal forming method based on the optimal waveform.

[0080] As described above, the core pulse trapezoidal forming method based on the optimal waveform, by adopting the clustering algorithm and the simulated annealing algorithm to obtain the trapezoidal forming method of the optimal pulse waveform, can search for the optimal pulse waveform in the waveform space of the pulse waveform output by the front-end analog system, and obtain the trapezoidal forming algorithm based on the optimal pulse waveform. It overcomes the diversity, waveform complexity and volatility of the pulse waveform, making the trapezoidal forming algorithm more accurate, consistent and reliable, and can greatly improve the accuracy of pulse amplitude identification. The global optimal pulse waveform obtained by the clustering algorithm and the simulated annealing algorithm is the center of the waveform space. The pulse shaping unfolded around the center is globally optimal, which suppresses the fluctuation of system characteristics and waveform characteristics to the greatest extent, and the average error value of pulse shaping is the smallest, which is of great significance.

[0081] In the above-mentioned embodiment of the present invention, the method for finding the optimal nuclear pulse waveform is described in detail, but it should be noted that the above is only one embodiment of the present invention. When other types of pulse waveforms are involved in the trapezoidal shaping mentioned in this article, the present invention is still effective. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A nuclear pulse trapezoidal shaping method based on an optimal waveform, characterized in that: The trapezoidal shaping of the optimal pulse waveform obtained from the pulse waveform output by the front-end analog system using the clustering algorithm and the simulated annealing algorithm is achieved through the following steps ① to ⑤: Step ①: Discretize the pulse waveform output by the front-end analog system, which is implemented according to the following links A, B, and C: A. The pulse waveform output by the front-end analog system is represented in the following form: In formula (1), e=0,1,2,3...E; r=0,1,2,3...R; (E≥R), a e , b r is a real constant; B. The output pulse waveform is sampled at a period of T s The discretization and sequence value representation are as follows: X(j)=(x1,x2,x3,…,x m ) (2) C. Represent all the discretized pulse waveforms as a set as follows: X = {X(1), X(2), X(3), …, X(N)} (3) In formulas (2) and (3), X represents the set of pulse waveforms, and X(j) represents a single pulse in the pulse set X; j = 1, 2, 3, …, N, and N represents the number of pulse waveforms; m represents the dimension of the pulse waveform. The discretized dimension m of each pulse X(j) in the pulse waveform set X is the same; x i Represents the element value of the i-th dimension of the pulse waveform, i = 1, 2, 3, ..., m; Step ②: Normalize each of the pulse waveforms discretized in Step ① according to the following method: In formulas (4) and (5), j = 1, 2, 3, ..., N, where N represents the number of normalized pulse waveforms; i = 1, 2, 3, ..., m, where m represents the dimension of the pulse waveform; Represents the element value of the normalized pulse waveform in the i-th dimension; X(j) * represents the normalized pulse waveform of the pulse waveform X(j); Step ③: Use the clustering algorithm to process the pulse waveforms normalized in Step ② to obtain a preliminary optimal pulse waveform, which is implemented according to the following links A, B, C, and D: A. The set of normalized pulse waveforms is: X * ={X(1) * ,X(2) * ,X(3) * ,…,X(N) * } (6) In formula (6), X * represents a normalized set of pulse waveforms, and N represents the number of normalized pulse waveforms; B. Randomly select a pulse waveform from these N pulse waveforms as the initial clustering center θ; Calculate the distance between other pulse waveforms and the clustering center θ: In formula (7), t = 1, 2, 3, ..., m, m represents the dimension of the pulse waveform, j = 1, 2, 3, ..., N, N represents the number of normalized pulse waveforms; X(j) * represents the normalized pulse waveform X(j), X(j) * (t) represents the element corresponding to the t-th dimension of the pulse waveform; θ(t) represents the element corresponding to the t-th dimension of the cluster center θ; C. Calculate the sum of the distances between the clustering center θ and each of the other pulse waveforms: In formula (8), j = 1, 2, 3, ..., N, N represents the number of normalized pulse waveforms; X(j) * represents the normalized pulse waveform of the pulse waveform X(j); θ is the clustering center; D. Select other pulse waveforms as cluster centers, and repeat the process of steps B and C until all pulse waveforms are used as cluster centers and J(θ) is calculated. Finally, the cluster center with the minimum J(θ) is determined as the initial optimal pulse waveform θ. min ; Step ④: Use the preliminary optimal pulse waveform in Step ③ as the initial solution of the simulated annealing algorithm, and perform optimization again to prevent falling into a local optimum, which is implemented according to the following steps S1 to S10: Step S1: The initial optimal pulse waveform θ determined by the clustering algorithm is min As the initial solution of the simulated annealing algorithm, V θ =θ min , calculate the initial solution V θ The corresponding objective function value The meanings of the letters are the same as those in formula (8); Step S2, determine the initial temperature T = J (V θ )=J(θ min ), cooling rate a = 0.99, set the number of iterations L = 100, set the algorithm termination condition, that is, the termination temperature T end <=0.001; Step S3: Set the loop count variable loop = 0; Step S4, at V θ Based on the perturbation, a new solution θ is generated, which is implemented by the following A, B, and C steps: A. After normalization, the pulse waveform set X * ={X(1) * ,X(2) * ,X(3) * ,…,X(N) * }, the maximum and minimum values ​​of each dimension are taken as the upper and lower limits of the fluctuation of the dimension corresponding to θ', that is, as the fluctuation range of the dimension corresponding to θ'; B. Generate a perturbation within the fluctuation range corresponding to each dimension to generate a new solution θ' in the following form: In formula (9), Indicates the pulse waveform θ min The element value corresponding to the i-th dimension of represents the pulse waveform set X * The maximum value of the element corresponding to the i-th dimension in , represents the pulse waveform set X * The minimum value of the element corresponding to the i-th dimension in , S represents the step factor, and rand(1) represents the generation of a random number uniformly distributed in the interval (0,1). Indicates the corresponding The element value of the i-th dimension of the new solution θ' generated by the perturbation; C. Calculate the objective function value J(θ') of the new solution θ' generated by the perturbation: The meanings of the letters in formula (10) are the same as those in formula (8); Step S5, calculate the current objective function value J(θ') and the previous objective function value J(V θ ), that is, to calculate the objective function difference ΔJ = J(θ')-J(V θ ); Step S6, determine whether ΔJ is less than or equal to 0. If ΔJ<=0, accept the new solution, i.e., V θ =θ,'J(V θ )=J(θ'); when ΔJ>0, according to probability Accept the new solution and use rand(1) to generate a random number Q. If P>=Q, then accept the new solution, i.e. V θ =θ,'J(V θ )=J(θ'); otherwise, it is not accepted; Step S7: Increment the loop count variable loop by 1; Step S8: Determine whether the iteration count L has been reached. When loop < L, return to Step S4; Step S9: When the number of iterations is reached, that is, loop>=L, determine whether the algorithm termination condition is met; when T<=T end The algorithm ends when the termination condition is reached and the optimal pulse waveform V is obtained. θ ; Step S10, when T>T end The temperature is slowly lowered according to the cooling rate a, and the temperature is controlled from high to low. The annealing method shown in formula (11) is adopted: T' = T * a (11) In formula (11), T' represents the temperature after cooling, T is the current temperature, and a is the cooling rate; then let T = T' and return to step S3, and continue the cycle until the current temperature T satisfies the termination condition T < = T end End the algorithm and get the optimal pulse waveform V θ ; Step ⑤: Obtain the trapezoidal shaping algorithm for the optimal pulse waveform obtained by the simulated annealing algorithm in Step ④, which is implemented according to the following links A, B, and C: A. The Z-transform expression of the trapezoidal pulse is as follows: In formula (12), A max is the flat-top amplitude of the trapezoidal pulse, n a is the rising dimension of the trapezoidal pulse, n b is the sum of the rising dimension and the flat-top dimension of the trapezoidal pulse, n c is the total dimension of the trapezoidal formation, n c =n a +n b =m, m represents the dimension of the pulse waveform; B. Optimal pulse waveform V obtained by simulated annealing algorithm θ The Z transform expression is as follows: In formula (13), V θ =(x1,x2,x3,…,x m ), m represents the dimension of the pulse waveform, V θ (n) represents the element value corresponding to the nth dimension of the pulse waveform, n = 1, 2, 3, ..., m; C. Optimal pulse waveform V θ The transfer function expression of the trapezoidal shape is as follows: In formula (14), V θ =(x1,x2,x3,…,x m ), m represents the dimension of the pulse waveform, V θ (n) represents the element value corresponding to the nth dimension of the pulse waveform, n = 1, 2, 3, ..., m; A max is the flat-top amplitude of the trapezoidal pulse, n a is the rising dimension of the trapezoidal pulse, n b is the sum of the rising dimension and the flat-top dimension of the trapezoidal pulse, n c is the total dimension of the trapezoidal formation, n c =n a +n b =m.