Pulse wave generation method and device, electronic equipment and storage medium

By acquiring and correcting the pulse sequence and waveform output data of pulse waves in the electronic paramagnetic resonance spectrometer, the richness difference and distortion problems caused by the fixation of pulse waveforms in the prior art are solved, and more efficient and stable pulse wave generation is achieved.

CN119986497APending Publication Date: 2025-05-13CHINAINSTRU & QUANTUMTECH (HEFEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510218789.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The pulse waveform generated by existing electronic paramagnetic resonance spectrometers is relatively fixed and cannot be modified, resulting in poor richness of the pulse wave and prone to distortion.

Method used

By acquiring the pulse sequence of the pulse wave and the compensation sequence of the waveform generation device, the waveform output data of the pulse is determined, and the success rate amplifier protection sequence is generated to correct the waveform output data to generate the optimized pulse wave.

Benefits of technology

The pulse wave distortion is avoided, the richness of the output pulse wave is improved, and the intensity and signal-to-noise ratio of the electron paramagnetic resonance signal are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119986497A_ABST
    Figure CN119986497A_ABST
Patent Text Reader

Abstract

The invention discloses a pulse wave generation method and device, electronic equipment and a storage medium. The pulse wave generation method comprises the following steps: acquiring a pulse sequence of a pulse wave and a compensation sequence of a pulse waveform generation device; wherein the pulse wave comprises a plurality of pulses, the pulse sequence comprises a pulse parameter of each pulse, and the compensation sequence of the waveform generation device comprises a compensation amount of each pulse; determining waveform output data of each pulse according to each pulse parameter in the pulse sequence; wherein the waveform output data comprises the waveform of the pulse; generating a power amplifier protection sequence according to the waveform output data of the pulse; correcting waveform output data according to the power amplifier protection sequence; generating a pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse; and optimizing the pulse wave according to the electron paramagnetic resonance signal of the pulse wave. The pulse wave generation method provided by the embodiment of the invention is beneficial to avoiding the distortion of the pulse wave and improving the richness of the output pulse wave.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of pulse generation technology, and in particular to a pulse wave generation method, device, electronic equipment and storage medium. Background Art

[0002] Electron Paramagnetic Resonance Spectrometer (EPR), also known as electron spin resonance, is an instrument used to detect and study substances containing unpaired electrons. It is based on the spin characteristics of electrons and the magnetic resonance phenomenon. Electrons have spin quantum numbers and produce spin magnetic moments. In the absence of an external magnetic field, the spin energy levels of electrons are degenerate. When an external magnetic field is applied, the electron spin magnetic moment interacts with the external magnetic field, causing the electron spin energy levels to split. If a radio frequency field of a specific frequency is applied perpendicular to the direction of the external magnetic field, when the energy of the radio frequency field is equal to the energy difference of the electron spin energy level splitting, the electrons will absorb the energy of the radio frequency field and produce a transition from a low spin energy level to a high spin energy level, which is the electron paramagnetic resonance phenomenon. The instrument obtains the EPR spectrum by detecting this energy absorption or dispersion signal, and then analyzes the structure and properties of the substance.

[0003] However, in the prior art, the waveform of the pulse wave provided by the electron paramagnetic resonance spectrometer is relatively fixed, and the generated pulse wave cannot be modified, which also causes the pulse wave generated by the electron paramagnetic resonance spectrometer to have poor richness and be easily distorted. Summary of the invention

[0004] The present invention provides a pulse wave generation method, device, electronic equipment and storage medium to avoid pulse wave distortion and improve the richness of output pulse waves.

[0005] According to one aspect of the present invention, a pulse wave generation method is provided, the pulse wave generation method is applied to a pulse waveform generation device, the pulse waveform generation device includes a power amplifier; the pulse wave generation method includes:

[0006] Acquire a pulse sequence of a pulse wave and a compensation sequence of the pulse waveform generating device; wherein the pulse wave comprises a plurality of pulses, the pulse sequence comprises pulse parameters of each of the pulses, and the compensation sequence of the waveform generating device comprises a compensation amount of each of the pulses;

[0007] Determining waveform output data of each of the pulses according to the pulse parameters in the pulse sequence; wherein the waveform output data includes the waveform of the pulse;

[0008] generating a power amplifier protection sequence according to the waveform output data of the pulse;

[0009] Modifying the waveform output data according to the power amplifier protection sequence;

[0010] generating the pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse;

[0011] The pulse wave is optimized according to an electron paramagnetic resonance signal of the pulse wave.

[0012] Optionally, the specific method of acquiring the pulse sequence of the pulse wave includes:

[0013] Obtaining the arrangement order, local oscillator frequency, pulse width and interval of each pulse in the pulse wave;

[0014] Determining the start and end time, carrier frequency, amplitude and phase of each of the pulses according to the local oscillator frequency, pulse width and interval of each of the pulses;

[0015] The pulse sequence of the pulse wave is determined according to the arrangement order, local oscillation frequency, pulse width, interval, start and end time, carrier frequency, amplitude and phase of each pulse.

[0016] Optionally, the specific method of generating a power amplifier protection sequence according to the waveform output data of the pulse includes:

[0017] generating the pulse according to the waveform output data of the pulse and the pulse parameters corresponding to the pulse in the pulse sequence;

[0018] detecting a temperature and an output voltage of the power amplifier when the pulse is generated;

[0019] Calculating the voltage, current and maximum power of the pulse according to the waveform output data of the pulse;

[0020] The power amplifier protection sequence is generated according to the voltage, current, maximum power of the pulse, the temperature and output voltage of the power amplifier when the pulse is generated.

[0021] Optionally, the specific method of generating the pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse includes:

[0022] Compensating the corrected waveform output data according to the compensation amount of the pulse to obtain optimized waveform output data;

[0023] Calculate the waveform input data of the pulse wave according to each of the optimized waveform output data and the pulse sequence;

[0024] The pulse wave is generated according to the waveform input data.

[0025] Optionally, the pulse waveform generating device includes: an arbitrary waveform generator, a power amplifier, a mixer, a filter and a combiner; the specific method of obtaining the compensation sequence of the pulse waveform generating device includes:

[0026] Obtaining the amplitude flatness gain of the arbitrary waveform generator, the amplitude flatness gain of the power amplifier, the frequency response gain of the mixer, the frequency response gain of the filter, the power division gain of the combiner, and the local oscillator frequency of each of the pulses;

[0027] Calculating a compensation amount for each of the pulses according to the amplitude flatness gain of the arbitrary waveform generator, the amplitude flatness gain of the power amplifier, the frequency response gain of the mixer, the frequency response gain of the filter, the power frequency division gain of the combiner, and the local oscillator frequency of each of the pulses;

[0028] A compensation sequence of the pulse waveform generating device is generated according to the compensation amount of each of the pulses.

[0029] Optionally, the specific method for optimizing the pulse wave according to the electron paramagnetic resonance signal of the pulse wave includes:

[0030] Adjusting the start and end time of each pulse in the pulse wave and acquiring an electron paramagnetic resonance signal of the pulse wave;

[0031] The optimized pulse wave is determined according to the intensity change of the electron paramagnetic resonance signal when the start and end times of each pulse in the pulse wave change, so that the pulse width of the pulse wave matches the electron spin Rabi oscillation period; wherein the optimized pulse wave is the pulse wave when the intensity of the electron paramagnetic resonance signal is the maximum.

[0032] Optionally, the pulse wave generating device further comprises a waveform editing module;

[0033] The waveform output data is determined and corrected, and the pulse wave is optimized by the waveform editing software in the waveform editing module.

[0034] Optionally, the pulse wave includes: a prepolarization pulse for polarizing electron spins, a pump pulse for selectively exciting electron spins, and a probe pulse for obtaining an echo signal; after optimizing the pulse wave according to the electron paramagnetic resonance signal of the pulse wave, the method further includes:

[0035] Optimizing the power and phase of the prepolarization pulse in the pulse wave according to the intensity, line width, signal-to-noise ratio, integrated intensity and phase stability of the electron paramagnetic resonance signal of the optimized pulse wave;

[0036] The waveform output data of the pump pulse and the waveform output data of the probe pulse are optimized according to the coherence, phase consistency, phase noise and signal envelope between the pump pulse and the probe pulse.

[0037] According to another aspect of the present invention, a pulse wave generating device is further provided, and the pulse waveform generating device is used to execute the pulse wave generating method described in any of the above embodiments; the pulse wave generating device comprises: a waveform editing module, a storage module, an arbitrary waveform generating module, a microwave generating module, a pulse generating module, a sequence generating module, a microwave switch module and a power amplification module;

[0038] The waveform editing module is connected to the storage module, the storage module is also connected to the arbitrary waveform generating module, the arbitrary waveform generating module is also connected to the microwave generating module, the waveform editing module and the pulse generating module respectively, the microwave generating module is also connected to the microwave switch module, the microwave switch module is also connected to the pulse generating module and the power amplifying module respectively, the pulse generating module is also connected to the sequence generating module, the pulse generating module and the sequence generating module are both connected to the storage module, and the power amplifying module is also connected to an external device;

[0039] The waveform editing module is used for human-computer interaction so that the user can edit the waveform output data of each pulse in the pulse wave; the storage module is used to store the waveform output data; the arbitrary waveform generation module is used to convert the waveform output data into waveform input data; the microwave generation module is used to generate a pulse wave according to the waveform input data; the pulse generation module is used to drive the microwave switch module, the sequence generation module and the arbitrary waveform generation module; the sequence generation module is used to generate a power amplifier protection sequence to protect the power amplification module; the microwave switch module is used to control the output of the pulse wave; and the power amplification module is used to amplify the pulse wave.

[0040] Optionally, the arbitrary waveform generating module comprises: a first arbitrary waveform generator and a second arbitrary waveform generator;

[0041] A first end of the first arbitrary waveform generator is connected to the storage module, a second end of the first arbitrary waveform generator is connected to the microwave generating module, a third end of the first arbitrary waveform generator is connected to the waveform editing module, a fourth end of the first arbitrary waveform generator is connected to the pulse generating module, a first end of the second arbitrary waveform generator is connected to the storage module, a second end of the second arbitrary waveform generator is connected to the microwave generating module, a third end of the second arbitrary waveform generator is connected to the waveform editing module, and a fourth end of the second arbitrary waveform generator is connected to the pulse generating module.

[0042] Optionally, the pulse generation module includes: a microwave source, a phase shifter, a first mixer, a second mixer, a combiner and an output filter;

[0043] The microwave source is connected to the phase shifter, and the phase shifter is also connected to the first mixer and the second mixer respectively. The first mixer and the second mixer are both connected to the combiner, and the combiner is also connected to the output filter. The output filter is also connected to the microwave switch module. The first mixer and the second mixer are also connected to the arbitrary waveform generation module.

[0044] Optionally, the waveform editing module includes: a computer.

[0045] According to another aspect of the present invention, there is also provided an electronic device, the electronic device comprising:

[0046] at least one processor; and

[0047] a memory communicatively connected to the at least one processor; wherein,

[0048] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the pulse wave generating method described in any one of the above embodiments.

[0049] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the pulse wave generating method described in any of the above embodiments when executed.

[0050] The embodiment of the present invention determines the waveform output data of each pulse according to the parameters of each pulse in the pulse sequence, generates a power amplifier protection sequence through the waveform output data of the pulse, corrects the waveform output data based on the power amplifier protection sequence, generates a pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse, and optimizes the pulse wave according to the electron paramagnetic resonance signal of the pulse wave. The embodiment of the present invention corrects and optimizes the waveform output data of each pulse in the pulse wave through waveform editing software based on the pulse wave demand and the frequency selection characteristics of the hardware in the waveform generating device, which is conducive to avoiding pulse wave distortion and improving the richness of the output pulse wave.

[0051] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0053] Figure 1 is a flow chart of a pulse wave generating method provided by an embodiment of the present invention;

[0054] Figure 2 is a flow chart of another pulse wave generating method provided by an embodiment of the present invention;

[0055] Figure 3 It is a flow chart of a compensation sequence acquisition method of a pulse waveform generating device provided by an embodiment of the present invention;

[0056] Figure 4 is a flow chart of another pulse wave generating method provided by an embodiment of the present invention;

[0057] Figure 5 is a schematic diagram of a pulse waveform generating device provided by an embodiment of the present invention;

[0058] Figure 6 is a schematic diagram of another pulse waveform generating device provided by an embodiment of the present invention;

[0059] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0061] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0062] The embodiment of the present invention provides a pulse wave generation method. The pulse wave generation method is applied to a pulse waveform generation device. The pulse wave generation method corrects and optimizes the waveform output data of each pulse in the pulse wave through waveform editing software based on the pulse wave demand and the frequency selection characteristics of the hardware in the waveform generation device, which is conducive to avoiding pulse wave distortion and improving the richness of the output pulse wave. Figure 1 1 is a flow chart of a pulse wave generation method provided by an embodiment of the present invention. The pulse wave generation method is applied to a pulse waveform generation device, and the pulse waveform generation device includes a power amplifier; Figure 1 , the pulse wave generating method comprises:

[0063] S110, obtaining a pulse sequence of a pulse wave and a compensation sequence of a pulse waveform generating device; wherein the pulse wave includes a plurality of pulses, the pulse sequence includes pulse parameters of each pulse, and the compensation sequence of the waveform generating device includes a compensation amount of each pulse.

[0064] Specifically, the pulse sequence of the pulse wave includes the arrangement order of the pulses constituting the pulse wave and the pulse parameters of the pulses. The arrangement order indicates the generation order of the pulses. Exemplarily, the pulse parameters of the pulse may include local oscillator frequency, pulse width, interval, start and end time, carrier frequency, amplitude and phase. In different needs and scenarios, the required pulse waves are different, so the pulse sequence of the pulse wave can be determined according to the required pulse wave.

[0065] When acquiring the pulse sequence, the arrangement order, local oscillator frequency, pulse width and interval of each pulse in the pulse wave can be determined according to the spin relaxation and resonance frequency of the electron spin at the required magnetic field and required temperature, and the start and end time, carrier frequency, amplitude and phase of each pulse can be determined according to the local oscillator frequency, pulse width and interval of each pulse. The pulse sequence of the pulse wave is generated based on the arrangement order, local oscillator frequency, pulse width, interval, start and end time, carrier frequency, amplitude and phase of each pulse.

[0066] The compensation amount of the pulse is a compensation value for the frequency selection characteristics of the hardware of the waveform generating device. The compensation sequence of the waveform generating device can be determined according to the frequency selection characteristics of the hardware in the waveform generating device. Since the frequency selection characteristics of the hardware in the waveform generating device have different effects on different pulses, the compensation sequence of the waveform generating device includes multiple compensation amounts, and the compensation amounts in the compensation sequence correspond one-to-one to the pulses in the pulse wave.

[0067] S120. Determine waveform output data of each pulse according to the parameters of each pulse in the pulse sequence; wherein the waveform output data includes the waveform of the pulse.

[0068] Specifically, the complexity of the required pulse wave and the shape of the waveform are different, and the method of obtaining the waveform output data is also different. The waveform output data can be obtained by freely combining the pre-saved standard waveform according to the pulse parameters of the pulse sequence, or by self-editing through the waveform editing software according to the pulse parameters in the pulse sequence. In actual application, different methods can be selected to determine the waveform output data according to actual needs, and this embodiment does not limit this. Exemplarily, the waveform editing software can be Matlab or Simulink.

[0069] S130 , generating a power amplifier protection sequence according to the waveform output data of the pulse.

[0070] Specifically, since the characteristics of the power amplifier are not considered when the waveform output data is determined according to the pulse parameters of the pulses in the pulse wave, the voltage, current, power and temperature generated by the power amplifier when amplifying the pulse wave may exceed the maximum tolerance of the power amplifier, thus damaging the power amplifier. Therefore, the power amplifier protection sequence can be determined by the voltage, current, power and temperature generated by the power amplifier when amplifying the pulse wave.

[0071] Among them, the voltage, current and power generated by the power amplifier when amplifying the pulse wave can be calculated through the pulse waveform output data, the temperature generated by the power amplifier when amplifying the pulse wave can be detected by a temperature sensor, and the voltage generated by the power amplifier when amplifying the pulse wave can also be obtained by detecting the output voltage of the power amplifier.

[0072] S140, correcting waveform output data according to the power amplifier protection sequence.

[0073] Specifically, under the protection sequence of the power amplifier, the pulse wave after amplification by the power amplifier will produce certain distortion. Therefore, it is necessary to correct the output waveform data according to the influence of the power amplifier protection sequence on the output pulse wave, so as to avoid the distortion of the pulse wave after amplification by the power amplifier under the influence of the power amplifier protection sequence. Among them, the correction of the waveform output data can be realized by re-editing the waveform output data by waveform editing software.

[0074] S150, generating a pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse.

[0075] Specifically, since each device in the waveform generating device has a certain frequency selection characteristic, but the corrected waveform output data does not take into account the frequency selection characteristic of the hardware of the waveform generating device, a certain distortion will also be generated when the pulse wave is generated according to the corrected waveform output data. Therefore, it is necessary to compensate the corrected waveform output data according to the compensation amount of the pulse to obtain the optimized waveform output data. The pulse wave is composed of multiple pulses. After determining the optimized waveform output data of each pulse, the waveform input data of the pulse wave can be calculated according to the optimized waveform output data of each pulse and the pulse sequence of the pulse wave, and the pulse wave can be generated according to the waveform input data. Among them, the waveform input data includes I (In-phase) signal and Q (Quadrature, orthogonal) signal. It should be noted that the pulse wave is essentially a composite signal, the I signal is the component of the pulse wave on the real axis, the Q signal is the component of the pulse wave on the imaginary axis, and the Q signal and the I signal differ in phase by 90 degrees.

[0076] S160. Optimize the pulse wave according to the electron paramagnetic resonance signal of the pulse wave.

[0077] Specifically, electrons have spin angular momentum and a corresponding magnetic moment. In the absence of an external magnetic field, the orientation of the electron's spin magnetic moment is arbitrary and has the same energy. When an external magnetic field is applied, the electron's spin magnetic moment interacts with the external magnetic field, causing the electron's spin energy level to split and produce Zeeman energy levels. At this time, if an electromagnetic wave of appropriate frequency is applied perpendicular to the direction of the external magnetic field, when the energy of the electromagnetic wave is equal to the splitting distance of the electron's spin energy level, the electron will absorb the energy of the electromagnetic wave and transition from a low energy level to a high energy level. This phenomenon is called electron paramagnetic resonance. Changes in the absorption or radiation of electromagnetic wave energy by electrons during the transition process form electron paramagnetic resonance signals.

[0078] The optimization of the pulse wave can be achieved by adjusting the start and end time of each pulse in the pulse wave. When the start and end time of each pulse in the pulse wave changes, the electron paramagnetic resonance signal of the pulse wave also changes accordingly. While adjusting the start and end time of each pulse in the pulse wave, the electron paramagnetic resonance signal of the pulse wave is detected. Exemplarily, the electron paramagnetic resonance signal of the pulse wave can be obtained by using an electron paramagnetic resonance spectrometer through microwave absorption detection, magnetic resonance light detection, or electron-nuclear double resonance detection.

[0079] The optimized pulse wave is determined according to the intensity change of the electron paramagnetic resonance signal when the start and end time of each pulse in the pulse wave changes, so that the pulse width of the pulse wave matches the electron spin Rabi oscillation period. The start and end time of the pulse wave is adjusted according to the feedback of the electron paramagnetic resonance signal. Because different pulse start and end times will lead to different interaction times and methods between the pulse and the electron spin system, thus affecting the efficiency of electron absorption or radiation energy, which is ultimately reflected in the signal intensity. When the pulse width of the pulse wave matches the electron spin Rabi oscillation period, it means that the pulse can continuously provide energy at the right time for the electron spin state to oscillate, so that the electron can more effectively transition between the two spin energy levels, thereby enhancing the electron paramagnetic resonance signal. In the process of constantly changing the pulse start and end time and observing the change in signal intensity, a pulse wave parameter combination that maximizes the intensity of the electron paramagnetic resonance signal will be found. This pulse wave is the optimized pulse wave. Among them, the optimized pulse wave is the pulse wave when the intensity of the electron paramagnetic resonance signal is the largest. The optimized pulse wave can most effectively excite the electron paramagnetic resonance and achieve the best energy coupling between the electron and the pulse wave.

[0080] The embodiment of the present invention determines the waveform output data of each pulse according to the parameters of each pulse in the pulse sequence, generates a power amplifier protection sequence through the waveform output data of the pulse, corrects the waveform output data based on the power amplifier protection sequence, generates a pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse, and optimizes the pulse wave according to the electron paramagnetic resonance signal of the pulse wave. The embodiment of the present invention corrects and optimizes the waveform output data of each pulse in the pulse wave through waveform editing software based on the pulse wave demand and the frequency selection characteristics of the hardware in the waveform generating device, which is conducive to avoiding pulse wave distortion and improving the richness of the output pulse wave.

[0081] Figure 2 is a flow chart of another pulse wave generation method provided by an embodiment of the present invention. Based on the above embodiment, optionally, refer to Figure 2 The specific method of generating a power amplifier protection sequence according to the waveform output data of the pulse includes:

[0082] S131. Generate a pulse according to the waveform output data of the pulse and the pulse parameters corresponding to the pulse in the pulse sequence.

[0083] Specifically, the pulse parameters include the local oscillator frequency, pulse width, interval, start and end time, carrier frequency, amplitude and phase of the pulse. According to the amplitude parameter of the pulse, the corresponding amplitude information is extracted from the waveform output data and multiplied by the amplitude parameter to determine the actual intensity of the final pulse. For example, if a normalized pulse shape (the amplitude range is usually between 0 and 1) is given in the waveform output data, then by multiplying it by the specified amplitude value, a pulse of the actual required intensity can be obtained. According to the start time of the pulse, the corresponding waveform output data is positioned on the time axis, and the waveform data corresponding to the pulse is placed at the correct time position. The phase information in the waveform output data is adjusted using the phase parameter of the pulse. For example, for some periodic pulses, such as sinusoidal pulses, the starting position of the pulse on the time axis can be changed by adjusting the phase, thereby achieving different signal modulation or processing effects.

[0084] S132, detecting the temperature and output voltage of the power amplifier when generating pulses.

[0085] Specifically, when the power amplifier is working, since the internal electronic devices (such as transistors, resistors, etc.) consume electrical energy, part of this electrical energy will be converted into heat energy, causing the temperature of the power amplifier to rise. Especially when processing high-power, high-frequency pulse signals, the current and voltage of the components change dramatically, the power consumption increases, and more heat is generated. Excessive temperature may cause the gain of the power amplifier to change and the linearity to deteriorate, thereby distorting the output pulse signal and affecting the quality and accuracy of the signal. The output voltage can be used to promptly detect whether the voltage meets the expected value and whether there are fluctuations or anomalies. If the output voltage is unstable or deviates from the set value, the amplitude of the pulse signal may be unstable, affecting the integrity and accuracy of the signal, and thus affecting the performance of the entire system.

[0086] Exemplarily, the temperature of the power amplifier may be detected by a temperature sensor, and the output voltage of the power amplifier may be detected by a voltage sensor.

[0087] S133. Calculate the voltage, current and maximum power of the pulse according to the waveform output data of the pulse.

[0088] Specifically, the voltage peak of the pulse is calculated according to the rise and fall of the pulse waveform in the pulse waveform output data. If the pulse waveform output data is presented in a graphical form, such as a pulse waveform displayed on an oscilloscope screen, the voltage value corresponding to the highest point of the pulse can be directly observed and read from the waveform graph; when the pulse waveform output data is a series of discrete values, the maximum value can be found by analyzing the data sequence, and the maximum value is the peak voltage.

[0089] The pulse current is calculated based on the pulse waveform output data. According to Ohm's law, the pulse current can be calculated when the pulse voltage and circuit resistance are known. The pulse voltage can be obtained by analyzing the pulse waveform output data, and the resistance is usually a known parameter of the circuit or can be measured.

[0090] The maximum power of the pulse is calculated according to the waveform output data of the pulse, wherein the maximum power of the pulse can be calculated by the voltage peak of the pulse and the maximum value of the pulse current calculated above.

[0091] S134, generating a power amplifier protection sequence according to the voltage, current, maximum power of the pulse, the temperature of the power amplifier when the pulse is generated, and the output voltage.

[0092] Specifically, the power amplifier protection sequence is an operating parameter that ensures the safe and stable operation of the power amplifier. The power amplifier protection sequence smoothes the voltage spikes when amplifying the pulses generated by the waveform input data, limits the rate of change of the current, and limits the maximum output power. When the temperature of the power amplifier exceeds the limited temperature threshold during amplification, the output power of the power amplifier is limited. Among them, the limited temperature threshold is the maximum operating temperature of the power amplifier set in advance. The limited temperature thresholds of different power amplifiers are different. When applied, the limited temperature threshold can be set according to actual conditions, and this embodiment does not limit this.

[0093] Figure 3 1 is a flow chart of a compensation sequence acquisition method of a pulse waveform generating device provided by an embodiment of the present invention. Based on the above embodiment, optionally, the pulse waveform generating device includes: an arbitrary waveform generator, a power amplifier, a mixer, a filter and a combiner; Figure 3 , the specific method of obtaining the compensation sequence of the pulse waveform generating device includes:

[0094] S210, obtaining the amplitude flatness gain of the arbitrary waveform generator, the amplitude flatness gain of the power amplifier, the frequency response gain of the mixer, the frequency response gain of the filter, the power division gain of the combiner, and the local oscillator frequency of each pulse.

[0095] Exemplarily, the amplitude flatness gain of an arbitrary waveform generator can be obtained by calculating the difference between the amplitude of different frequency points and the amplitude of the center frequency or reference frequency point through a spectrum analyzer; the amplitude flatness gain of a power amplifier can be obtained by observing the change of gain with frequency through a network analyzer; the frequency response gain of a mixer can be calculated by the conversion loss / gain, matching, group delay and phase shift between devices of the mixer; the frequency response gain of a filter can be obtained by calculating the gain by comparing the amplitude of the input signal and the output signal at different frequencies; the power division gain of a combiner can be obtained by calculating the ratio of the power of each output port to the input power; the local oscillator frequency of each pulse can be obtained by spectrum analysis.

[0096] S220, calculating the compensation amount of each pulse according to the amplitude flatness gain of the arbitrary waveform generator, the amplitude flatness gain of the power amplifier, the frequency response gain of the mixer, the frequency response gain of the filter, the power division gain of the combiner and the local oscillator frequency of each pulse.

[0097] Specifically, the compensation amount of the pulse can be calculated by the following formula:

[0098] ΔF(f, t) = F(f, t) · {[G AW (f) G AM (f) G LO (f) G PF (f) G CB (f)] -1 -1};

[0099] Among them, ΔF(f, t) is the compensation amount of the pulse; F(f, t) is the local oscillator frequency of the pulse; G AW (f) is the amplitude flatness gain of the arbitrary waveform generator; G AM (f) is the amplitude flatness gain of the power amplifier; G LO (f) is the frequency response gain of the mixer; G PF (f) is the frequency response gain of the filter; G CB (f) is the power division gain of the combiner.

[0100] S230, generating a compensation sequence for the pulse waveform generating device according to the compensation amount of each pulse.

[0101] Specifically, the compensation amount of each pulse is sorted and combined according to the position of the pulse in the pulse sequence of the pulse wave to obtain the compensation sequence of the pulse waveform generating device.

[0102] Figure 4is a flow chart of another pulse wave generation method provided by an embodiment of the present invention. Based on the above embodiment, optionally, the pulse wave includes: a prepolarization pulse for polarizing electron spins, a pump pulse for selectively exciting electron spins, and a probe pulse for obtaining an echo signal; Figure 4 , after optimizing the pulse wave according to the electron paramagnetic resonance signal of the pulse wave, it also includes:

[0103] S170. Optimize the power and phase of the prepolarization pulse in the pulse wave according to the intensity, line width, signal-to-noise ratio, integrated intensity and phase stability of the electron paramagnetic resonance signal of the optimized pulse wave.

[0104] Specifically, the optimization of the power and phase of the prepolarization pulse can be achieved by changing the waveform input data of the prepolarization pulse. The power of the prepolarization pulse depends on the amplitude of the prepolarization pulse, that is, the optimization of the power of the prepolarization pulse can be achieved by changing the amplitude of the prepolarization pulse. The amplitude and phase of the prepolarization pulse are both related to the waveform input data of the prepolarization pulse. Among them, the waveform input data of the prepolarization pulse includes the I signal of the prepolarization pulse and the Q signal of the prepolarization pulse.

[0105] The relationship between the I signal of the prepolarization pulse and the Q signal of the prepolarization pulse with respect to the amplitude is as follows:

[0106]

[0107] Where A is the amplitude of the prepolarization pulse; A I is the I signal of the prepolarization pulse; A Q is the Q signal of the prepolarization pulse.

[0108] The phase relationship between the I signal of the prepolarization pulse and the Q signal of the prepolarization pulse is as follows:

[0109]

[0110] in, is the phase of the prepolarization pulse; A I is the I signal of the prepolarization pulse; A Q is the Q signal of the prepolarization pulse.

[0111] S180, optimizing the waveform output data of the pump pulse and the waveform output data of the probe pulse according to the coherence, phase consistency, phase noise and signal envelope between the pump pulse and the probe pulse.

[0112] Specifically, the coherence between the pump pulse and the probe pulse can be determined by the waveform reflected by the waveform input data of the above two pulses. For frequency components with poor coherence, the waveform output data can be adjusted using an interpolation algorithm based on the characteristics of the signal envelope.

[0113] The phase consistency between the pump pulse and the probe pulse can be determined by a phase diagram or a phase spectrum. The optimization of the phase consistency between the pump pulse and the probe pulse can be adjusted according to the change trend of the signal envelope between the pump pulse and the probe pulse by adjusting the waveform output data. For example, if the phase of the pump pulse is ahead of the probe pulse, the output of the pump pulse can be appropriately delayed to make the phases of the two consistent.

[0114] The phase noise between the pump pulse and the probe pulse can be obtained by analyzing the waveform output data of the pump pulse and the probe pulse with a phase noise analyzer. The optimization of the phase noise between the pump pulse and the probe pulse can be achieved by using the smoothness of the signal envelope in the frequency band with large phase noise and using a filtering algorithm to reduce the noise of the waveform output data.

[0115] The signal envelope between the pump pulse and the probe pulse can be obtained by extracting the envelope of the waveform output data of the pump pulse and the probe pulse. In the case where the signal envelope is distorted or does not meet the requirements, the waveform output data is adjusted according to the coherence, phase consistency and phase noise between the pump pulse and the probe pulse.

[0116] It should be noted that the adjustment of the waveform output data of the pump pulse and the waveform output data of the probe pulse can be achieved through waveform editing software.

[0117] The embodiment of the present invention also provides a pulse wave generating device. Figure 5 is a schematic diagram of a pulse waveform generating device provided by an embodiment of the present invention. The pulse waveform generating device is used to execute the pulse wave generating method provided by any of the above embodiments. Figure 5 The pulse wave generating device includes: a waveform editing module 110, a storage module 120, an arbitrary waveform generating module 130, a microwave generating module 140, a pulse generating module 150, a sequence generating module 160, a microwave switching module 170 and a power amplifying module 180.

[0118] The waveform editing module 110 is connected to the storage module 120, and the storage module 120 is also connected to the arbitrary waveform generating module 130. The arbitrary waveform generating module 130 is also respectively connected to the microwave generating module 140, the waveform editing module 110 and the pulse generating module 150. The microwave generating module 140 is also connected to the microwave switch module 170. The microwave switch module 170 is also respectively connected to the pulse generating module 150 and the power amplifying module 180. The pulse generating module 150 is also connected to the sequence generating module 160. Both the pulse generating module 150 and the sequence generating module 160 are connected to the storage module 120. The power amplifying module 180 is also connected to the external device 1000.

[0119] The waveform editing module 110 is used for human-computer interaction so that the user can edit the waveform output data of each pulse in the pulse wave; the storage module 120 is used to store the waveform output data; the arbitrary waveform generation module 130 is used to convert the waveform output data into waveform input data; the microwave generation module 140 is used to generate a pulse wave according to the waveform input data; the pulse generation module 150 is used to drive the microwave switch module 170, the sequence generation module 160 and the arbitrary waveform generation module 130; the sequence generation module 160 is used to generate a power amplifier protection sequence to protect the power amplifier module 180; the microwave switch module 170 is used to control the output of the pulse wave; and the power amplifier module 180 is used to amplify the pulse wave.

[0120] Exemplarily, the waveform editing module 110 may include a computer, the power amplification module 180 may include a power amplifier, the microwave switch module 170 may include a microwave switch, the pulse generation module 150 may include a pulse generator, and the sequence generation module 160 may include a sequence generator.

[0121] It should be noted that the pulse wave generating device provided in this embodiment has the beneficial effects of the pulse wave generating method provided in any of the above embodiments, which will not be described in detail here.

[0122] Figure 6 is a schematic diagram of another pulse waveform generating device provided by an embodiment of the present invention. Based on the above embodiment, optionally, referring to Figure 6 The arbitrary waveform generating module 130 includes: a first arbitrary waveform generator 131 and a second arbitrary waveform generator 132 .

[0123] A first end of the first arbitrary waveform generator 131 is connected to the storage module 120, a second end of the first arbitrary waveform generator 131 is connected to the microwave generating module 140, a third end of the first arbitrary waveform generator 131 is connected to the waveform editing module 110, a fourth end of the first arbitrary waveform generator 131 is connected to the pulse generating module 150, a first end of the second arbitrary waveform generator 132 is connected to the storage module 120, a second end of the second arbitrary waveform generator 132 is connected to the microwave generating module 140, a third end of the second arbitrary waveform generator 132 is connected to the waveform editing module 110, and a fourth end of the second arbitrary waveform generator 132 is connected to the pulse generating module 150.

[0124] Among them, continue to refer to Figure 6 The first arbitrary waveform generator 131 includes: a first clock 1311, a first trigger 1312, a first call buffer 1313, a first parallel-to-serial converter 1314, a first digital-to-analog converter 1315, a second clock 1316, a first amplifier 1317 and a first low-pass filter 1318.

[0125] The first clock 1311, the first trigger 1312 and the first call buffer 1313 are all connected to the first parallel-to-serial converter 1314, the first trigger 1312 is also connected to the pulse generation module 150, the first call buffer 1313 is also connected to the storage module 120, the first parallel-to-serial converter 1314 is also connected to the first digital-to-analog converter 1315, the first digital-to-analog converter 1315 is also respectively connected to the second clock 1316 and the first amplifier 1317, the first amplifier 1317 is also connected to the first low-pass filter 1318, and the first low-pass filter 1318 is also connected to the microwave generation module 140.

[0126] Continue to refer to Figure 6 The second arbitrary waveform generator 132 includes: a third clock 1321, a second trigger 1322, a second call buffer 1323, a second parallel-to-serial converter 1324, a second digital-to-analog converter 1325, a fourth clock 1326, a second amplifier 1327 and a second low-pass filter 1328.

[0127] The third clock 1321, the second trigger 1322 and the second call buffer 1323 are all connected to the second parallel-to-serial converter 1324, the second trigger 1322 is also connected to the pulse generation module 150, the second call buffer 1323 is also connected to the storage module 120, the second parallel-to-serial converter 1324 is also connected to the second digital-to-analog converter 1325, the second digital-to-analog converter 1325 is also respectively connected to the fourth clock 1326 and the second amplifier 1327, the second amplifier 1327 is also connected to the second low-pass filter 1328, and the second low-pass filter 1328 is also connected to the microwave generation module 140.

[0128] Based on the above embodiments, optionally, continue to refer to Figure 6 The pulse generating module 140 includes: a microwave source 141 , a phase shifter 142 , a first mixer 143 , a second mixer 144 , a combiner 145 and an output filter 146 .

[0129] The microwave source 141 is connected to the phase shifter 142, and the phase shifter 142 is also connected to the first mixer 143 and the second mixer 144 respectively. The first mixer 143 and the second mixer 144 are both connected to the combiner 145, and the combiner 145 is also connected to the output filter 146, and the output filter 146 is also connected to the microwave switch module 170. The first mixer 143 and the second mixer 144 are also connected to the arbitrary waveform generation module 130.

[0130] Figure 7 : is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0131] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0132] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0133] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a pulse wave generation method.

[0134] In some embodiments, the pulse wave generation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the pulse wave generation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the pulse wave generation method in any other appropriate manner (e.g., by means of firmware).

[0135] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0136] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0137] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0138] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0139] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0140] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0141] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0142] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A pulse wave generating method, characterized in that: The pulse wave generation method is applied to a pulse waveform generation device, and the pulse waveform generation device includes a power amplifier; The pulse wave generating method comprises: Acquire a pulse sequence of a pulse wave and a compensation sequence of the pulse waveform generating device; wherein the pulse wave comprises a plurality of pulses, the pulse sequence comprises pulse parameters of each of the pulses, and the compensation sequence of the waveform generating device comprises a compensation amount of each of the pulses; Determining waveform output data of each of the pulses according to the pulse parameters in the pulse sequence; wherein the waveform output data includes the waveform of the pulse; generating a power amplifier protection sequence according to the waveform output data of the pulse; Modifying the waveform output data according to the power amplifier protection sequence; generating the pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse; The pulse wave is optimized according to an electron paramagnetic resonance signal of the pulse wave.

2. The pulse wave generating method according to claim 1, characterized in that: The specific method for obtaining the pulse sequence of the pulse wave includes: Obtaining the arrangement order, local oscillator frequency, pulse width and interval of each pulse in the pulse wave; Determining the start and end time, carrier frequency, amplitude and phase of each of the pulses according to the local oscillator frequency, pulse width and interval of each of the pulses; The pulse sequence of the pulse wave is determined according to the arrangement order, local oscillation frequency, pulse width, interval, start and end time, carrier frequency, amplitude and phase of each pulse.

3. The pulse wave generating method according to claim 1, characterized in that: The specific method of generating a power amplifier protection sequence according to the waveform output data of the pulse includes: generating the pulse according to the waveform output data of the pulse and the pulse parameters corresponding to the pulse in the pulse sequence; detecting a temperature and an output voltage of the power amplifier when the pulse is generated; Calculating the voltage, current and maximum power of the pulse according to the waveform output data of the pulse; The power amplifier protection sequence is generated according to the voltage, current, maximum power of the pulse, the temperature and output voltage of the power amplifier when the pulse is generated.

4. The pulse wave generating method according to claim 1, characterized in that: The specific method of generating the pulse wave according to the corrected waveform output data, the pulse sequence and the compensation amount of each pulse includes: Compensating the corrected waveform output data according to the compensation amount of the pulse to obtain optimized waveform output data; Calculate the waveform input data of the pulse wave according to each of the optimized waveform output data and the pulse sequence; The pulse wave is generated according to the waveform input data.

5. The pulse wave generating method according to claim 1, characterized in that: The pulse waveform generating device comprises: an arbitrary waveform generator, a power amplifier, a mixer, a filter and a combiner; the specific method for obtaining the compensation sequence of the pulse waveform generating device comprises: Obtaining the amplitude flatness gain of the arbitrary waveform generator, the amplitude flatness gain of the power amplifier, the frequency response gain of the mixer, the frequency response gain of the filter, the power division gain of the combiner, and the local oscillator frequency of each of the pulses; Calculating a compensation amount for each of the pulses according to the amplitude flatness gain of the arbitrary waveform generator, the amplitude flatness gain of the power amplifier, the frequency response gain of the mixer, the frequency response gain of the filter, the power frequency division gain of the combiner, and the local oscillator frequency of each of the pulses; A compensation sequence of the pulse waveform generating device is generated according to the compensation amount of each of the pulses.

6. The pulse wave generating method according to claim 1, characterized in that: The specific method for optimizing the pulse wave according to the electron paramagnetic resonance signal of the pulse wave comprises: Adjusting the start and end time of each pulse in the pulse wave and acquiring an electron paramagnetic resonance signal of the pulse wave; The optimized pulse wave is determined according to the intensity change of the electron paramagnetic resonance signal when the start and end times of each pulse in the pulse wave change, so that the pulse width of the pulse wave matches the electron spin Rabi oscillation period; wherein the optimized pulse wave is the pulse wave when the intensity of the electron paramagnetic resonance signal is the maximum.

7. The pulse wave generating method according to any one of claims 1 to 6, characterized in that: The pulse wave generating device also includes a waveform editing module; The waveform output data is determined and corrected, and the pulse wave is optimized by the waveform editing software in the waveform editing module.

8. The pulse wave generating method according to any one of claims 1 to 6, characterized in that: The pulse wave includes: a prepolarization pulse for polarizing electron spins, a pump pulse for selectively exciting electron spins, and a probe pulse for obtaining an echo signal; after optimizing the pulse wave according to the electron paramagnetic resonance signal of the pulse wave, the method further includes: Optimizing the power and phase of the prepolarization pulse in the pulse wave according to the intensity, line width, signal-to-noise ratio, integrated intensity and phase stability of the electron paramagnetic resonance signal of the optimized pulse wave; The waveform output data of the pump pulse and the waveform output data of the probe pulse are optimized according to the coherence, phase consistency, phase noise and signal envelope between the pump pulse and the probe pulse.

9. A pulse wave generating device, characterized in that: Used to execute the pulse wave generation method according to any one of claims 1 to 8; the pulse wave generation device comprises: a waveform editing module, a storage module, an arbitrary waveform generation module, a microwave generation module, a pulse generation module, a sequence generation module, a microwave switch module and a power amplification module; The waveform editing module is connected to the storage module, the storage module is also connected to the arbitrary waveform generating module, the arbitrary waveform generating module is also connected to the microwave generating module, the waveform editing module and the pulse generating module respectively, the microwave generating module is also connected to the microwave switch module, the microwave switch module is also connected to the pulse generating module and the power amplifying module respectively, the pulse generating module is also connected to the sequence generating module, the pulse generating module and the sequence generating module are both connected to the storage module, and the power amplifying module is also connected to an external device; The waveform editing module is used for human-computer interaction so that the user can edit the waveform output data of each pulse in the pulse wave; the storage module is used to store the waveform output data; the arbitrary waveform generation module is used to convert the waveform output data into waveform input data; the microwave generation module is used to generate a pulse wave according to the waveform input data; the pulse generation module is used to drive the microwave switch module, the sequence generation module and the arbitrary waveform generation module; the sequence generation module is used to generate a power amplifier protection sequence to protect the power amplification module; the microwave switch module is used to control the output of the pulse wave; and the power amplification module is used to amplify the pulse wave.

10. The pulse wave generating device according to claim 9, characterized in that: The arbitrary waveform generating module comprises: a first arbitrary waveform generator and a second arbitrary waveform generator; A first end of the first arbitrary waveform generator is connected to the storage module, a second end of the first arbitrary waveform generator is connected to the microwave generating module, a third end of the first arbitrary waveform generator is connected to the waveform editing module, a fourth end of the first arbitrary waveform generator is connected to the pulse generating module, a first end of the second arbitrary waveform generator is connected to the storage module, a second end of the second arbitrary waveform generator is connected to the microwave generating module, a third end of the second arbitrary waveform generator is connected to the waveform editing module, and a fourth end of the second arbitrary waveform generator is connected to the pulse generating module.

11. The pulse wave generating device according to claim 9, characterized in that: The pulse generation module includes: a microwave source, a phase shifter, a first mixer, a second mixer, a combiner and an output filter; The microwave source is connected to the phase shifter, and the phase shifter is also connected to the first mixer and the second mixer respectively. The first mixer and the second mixer are both connected to the combiner, and the combiner is also connected to the output filter. The output filter is also connected to the microwave switch module. The first mixer and the second mixer are also connected to the arbitrary waveform generation module.

12. The pulse wave generating device according to claim 9, characterized in that: The waveform editing module includes: a computer.

13. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the pulse wave generating method according to any one of claims 1 to 8.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the pulse wave generating method according to any one of claims 1 to 8 when executed.