Automatic gain feedback control method and device
By performing delay mixing and low-pass filtering on the output signal and reference signal of the mass spectrometer RF power supply, the feedback control signal is obtained, and the input signal is adjusted to keep the amplitude of the specific frequency signal constant, which solves the difficulty of extracting amplitude information from multi-frequency signals. solve the problem and improve the stability of the RF power output and the analysis accuracy of the mass spectrometer.
Patent Information
- Application Number
- CN202010256714.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-02
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-04-02
AI Technical Summary
The existing technology cannot extract the amplitude information of a specific frequency signal when processing multi-frequency signals, causing the output amplitude of the radio frequency high-voltage module to be unstable and affecting the analysis accuracy of the mass spectrometer.
By obtaining the output signal of the controlled system and the reference signal of the preset frequency for delayed post-mixing, using a low-pass filter and PI controller to obtain the feedback control signal, and adjusting the input signal to keep the amplitude of the specific frequency signal constant, achieving control Precise control of RF power supply output signals.
It effectively solves the problem of extracting amplitude information of specific frequency signals in multi-frequency signals, improves the stability of RF power output and the accuracy of mass spectrometer analysis, and can accurately control sine wave signals or frequency sweep signals within 10M.
Smart Images

Figure CN112073015B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mass spectrometry, and in particular to an automatic gain feedback control method and device for the amplitude of a high-voltage radio frequency power supply of a mass spectrometer. Background Art
[0002] A mass spectrometer is a scientific instrument that can perform qualitative and quantitative material analysis and component identification based on the mass-to-charge ratio of ions. It has high resolution and sensitivity. Usually, a mass spectrometer is mainly composed of an ion source, an ion transmission system, a mass analyzer, a detector, a vacuum system, and a data acquisition system. Among them, there are many types of mass analyzers, such as quadrupole, ion trap, time of flight, Fourier transform ion cyclotron resonance trap, etc. Compared with other mass analyzers, ion trap mass analyzers can work under higher gas pressure conditions, making them one of the ideal choices for miniaturized mass spectrometers.
[0003] When using an ion trap mass analyzer for mass analysis, a radio frequency voltage is applied to the electrodes of the mass analyzer, and the radio frequency voltage is scanned to screen ions for mass analysis of the ions. The sine wave frequency scanning mode is a new scanning method. During the scanning phase, the sine wave frequency scanning mode uses a sine wave with a stable amplitude and a frequency that changes with time to excite ions. Under the same power consumption and volume, the sine wave frequency scanning mode can further expand the mass range of mass spectrometry measurement compared to the amplitude scanning mode. And because the sine wave does not contain steep edges, the electromagnetic compatibility performance is also improved to a certain extent.
[0004] During the scanning phase, if the RF (Radio Frequency) signal amplitude cannot remain stable, even a small change in amplitude will cause a shift in the mass spectrum peak. The stability of the RF signal amplitude is very important.
[0005] Using feedback control methods to stabilize the gain of amplifiers is one of the most widely used applications in electronic circuits. The circuit that automatically controls the gain based on the voltage amplitude of the system output as a feedback signal is called AGC (Automatic Gain Control). The traditional AGC circuit adjusts the gain of the amplifier circuit by detecting the average value of the output voltage. When the average value of the output voltage is less than the average value of the set voltage, the gain of the amplifier is increased, otherwise the gain of the amplifier is reduced.
[0006] The AGC circuit realizes automatic gain control by converting the output voltage average value into a suitable DC frequency through a detection circuit and feeding it back to the gain control end of the voltage-controlled gain controller. The detection circuit is generally composed of a detection circuit plus a low-pass filter.
[0007] For the output voltage detection circuit, the simplest detection circuit is the diode peak detection circuit. For this circuit, when the input signal amplitude is fixed, the average amplitude of the output signal of the diode peak detection circuit will change with the frequency of the input signal. More complex ones can use op amps to form peak voltage detection circuits and effective value detection circuits. You can also use integrated effective value / peak detection chips. The accuracy of the detection circuit made with integrated chips is mainly limited by the performance of the device.
[0008] Low-pass filtering is to average the signal output by the detection circuit, that is, to extract the DC component in the signal, and then according to the characteristics of the selected voltage-controlled gain amplifier, the DC component can be used as the control voltage of the voltage-controlled gain amplifier after appropriate processing. Usually, the time constant of the low-pass filter determines the response time of the AGC circuit. If the time constant is too large, the AGC will be slow to act, that is, it will take some time for the gain adjustment to take effect after the output changes. If the time constant is too small, anti-modulation may occur. Therefore, the filtering time of the low-pass filter should be greater than the period of the lowest frequency component in the input signal.
[0009] Since the temperature changes caused by the long-term operation of the RF high-voltage module will cause its transfer function to change, resulting in changes in the output amplitude, using an AGC control module to control the high-voltage RF power supply can make the output amplitude more stable and the analysis results obtained by the mass spectrometer more accurate.
[0010] However, when implementing the present invention, the inventors discovered that the AGC circuit of the prior art has the following defects: when using the existing detection circuit, if the input signal is composed of signals of multiple frequencies, the result obtained by the detection is the average amplitude of the voltage of the mixed signal, and it is impossible to extract the amplitude information of a certain frequency signal. Summary of the invention
[0011] The technical problem to be solved by the present invention is to provide an automatic gain feedback control method and device to overcome the defect in the prior art that when the input signal is composed of signals of multiple frequencies, it is impossible to extract the amplitude information of a certain frequency signal.
[0012] In order to achieve the above object, the present invention provides an automatic gain feedback control method, the method comprising the following steps:
[0013] A. Obtain the output signal of the controlled system;
[0014] B. Obtaining a reference signal of a preset frequency, and delaying the reference signal;
[0015] C. obtaining a feedback control signal according to the delayed reference signal and the output signal of the controlled system;
[0016] D. Adjusting the input signal of the controlled system according to the feedback control signal, thereby controlling the amplitude of the signal with the same frequency as the reference signal in the output signal of the controlled system to be constant.
[0017] Further, the step C specifically includes:
[0018] C1, mixing the delayed reference signal and the output signal of the controlled system to obtain a mixed signal;
[0019] C2, performing low-pass filtering on the mixed signal to obtain a filtered signal;
[0020] C3. Obtain the feedback control signal according to the filtered signal.
[0021] Further, the step C1 specifically includes:
[0022] According to the formula Get the mixed signal U A (t),
[0023] Among them U A (t) is the mixing signal; y(t) is the output signal of the controlled system, y(t) = Ar(t) + y1(t); r(t) is the delayed reference signal, r(t) = V r cos(ωt), the reference signal is r(t1), r(t1)=V r cos(ωt1), where t=t1+Δt, Δt is the delay time.
[0024] Further, the step C2 specifically includes:
[0025] The mixed signal U A (t) Perform low-pass filtering to obtain the filtered signal
[0026] Further, the step C3 specifically includes:
[0027] C31, U A_LPF (t) is squared to get
[0028] C32, will (V A -V B ) After passing through the PI control circuit, the feedback control signal V k , where V B For comparison voltage.
[0029] Further, the step D specifically includes:
[0030] The original input signal of the controlled system is mixed with the feedback control signal, and the mixed output signal is used as the adjusted input signal of the controlled system.
[0031] The present invention also provides an automatic gain feedback control device, the device comprising a delay unit, a feedback control signal acquisition unit and a signal adjustment unit;
[0032] The delay unit is used to receive a reference signal of a preset frequency and delay the reference signal;
[0033] The feedback control signal acquisition unit is connected to the output end of the delay unit and the controlled system respectively, and is used to receive the output signal of the controlled system, and obtain the feedback control signal according to the output signal of the controlled system and the delayed reference signal output by the delay unit;
[0034] The signal adjustment unit is connected to the input end of the controlled system and the feedback control signal acquisition unit respectively, and is used to receive the original input signal of the controlled system, and adjust the input signal of the controlled system according to the feedback control signal obtained by the feedback control signal acquisition unit, so as to control the amplitude of the signal with the same frequency as the reference signal in the output signal of the controlled system to be constant.
[0035] Further, the feedback control signal acquisition unit includes a second mixer, a low-pass filter and a PI controller;
[0036] The second mixer is connected to the output end of the delay unit and the controlled system respectively, and is used to receive the output signal of the controlled system, and mix the delayed reference signal and the output signal of the controlled system to obtain a mixed signal;
[0037] The low-pass filter is connected to the second mixer and is used to perform low-pass filtering on the mixed signal to obtain a filtered signal;
[0038] The PI controller is connected to the low-pass filter and the signal adjustment unit respectively, and is used to obtain a feedback control signal according to the filtered signal, and send the feedback control signal to the signal adjustment unit.
[0039] Furthermore, the feedback control signal acquisition unit also includes an external input comparison voltage interface and / or an internal input comparison voltage interface; when the external input comparison voltage interface is connected to the PI controller, the comparison voltage is input to the PI controller by the external input comparison voltage interface; when the internal input comparison voltage interface is connected to the PI controller, the comparison voltage is input to the PI controller by the internal input comparison voltage interface.
[0040] Furthermore, the signal adjustment unit includes a first mixer, which is respectively connected to the input end of the controlled system and the PI controller, and is used to receive the original input signal of the controlled system, mix the feedback control signal sent by the PI controller and the original input signal of the controlled system, and send the mixed output signal to the input end of the controlled system.
[0041] The present invention processes the delayed reference signal and the output signal of the controlled system to obtain a feedback control signal, and changes the amplitude of the input signal of the controlled system according to the feedback control signal, so as to achieve a constant amplitude of the signal with the same frequency as the reference signal in the output of the controlled system without affecting the amplitude of other frequency signals contained in the output signal of the controlled system. The present invention can control a sine wave signal or a sine wave swept frequency signal within 10M, and can accurately control the amplitude of the output signal of the high-voltage radio frequency power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a flow chart of an automatic gain feedback control method according to an embodiment of the present invention;
[0043] Figure 2 is a structural schematic diagram of an automatic gain feedback control device according to an embodiment of the present invention;
[0044] Figure 3 It is a structural schematic diagram of a high-voltage radio frequency power supply for a mass spectrometer according to an embodiment of the present invention;
[0045] Figure 4 is a schematic structural diagram of a PI controller according to an embodiment of the present invention;
[0046] Figure 5a to Figure 5b It is an output waveform diagram of the radio frequency power supply when the high-voltage radio frequency power supply is frequency scanning in an embodiment of the present invention;
[0047] Figure 6a It is a waveform diagram of a reference signal when the high-voltage radio frequency power supply is frequency scanning in an embodiment of the present invention;
[0048] Figure 6b It is a waveform diagram of the comparison voltage when the high-voltage radio frequency power supply is frequency scanning in an embodiment of the present invention;
[0049] Figure 7 It is a waveform diagram of a reference signal when the high-voltage radio frequency power supply is amplitude scanned in an embodiment of the present invention;
[0050] Figure 8a It is a waveform diagram of the comparison voltage when the high-voltage radio frequency power supply is amplitude scanned and the comparison voltage is fixed according to an embodiment of the present invention;
[0051] Figure 8bIt is a waveform diagram of the final output of the controlled system when the high-voltage radio frequency power supply is amplitude scanned and the comparison voltage is fixed in the embodiment of the present invention;
[0052] Figure 9a It is a waveform diagram of the comparison voltage when the high-voltage radio frequency power supply is amplitude scanned and the comparison voltage changes according to an embodiment of the present invention;
[0053] Figure 9b It is a waveform diagram of the final output of the controlled system when the high-voltage radio frequency power supply is amplitude scanned and the voltage change is compared in the embodiment of the present invention. DETAILED DESCRIPTION
[0054] The technical solution of the present invention is described in detail below with reference to the accompanying drawings and embodiments.
[0055] Example 1
[0056] A high-voltage radio frequency power supply for a mass spectrometer according to an embodiment of the present invention An automatic gain feedback control method according to an embodiment of the present invention is as follows Figure 1 As shown, the method comprises the following steps:
[0057] Step s101, obtaining the output signal of the controlled system.
[0058] Step s102, obtain a reference signal of a preset frequency, and delay the reference signal. In this embodiment, the reference signal is a pre-set sinusoidal signal, which is consistent with the frequency of the signal to be controlled. If the final output of the controlled system is a mixture of 1Mhz and 20Khz sinusoidal signals, but the amplitude of the sinusoidal signal corresponding to 1Mhz is controlled to be fixed, rather than the average voltage amplitude after the final output of the controlled system is fixed, it is necessary to input a reference signal with a frequency of 1Mhz (because what you want to control is the amplitude of the 1Mhz signal), and the amplitude of the reference signal is within the allowable amplitude range (the amplitude should be fixed rather than variable). When the controlled RF power supply is amplitude scanning, the frequency of the reference signal is fixed and the waveform is a sinusoidal signal; when the controlled RF power supply is frequency scanning, the frequency of the reference signal is consistent with the frequency change of the final output of the controlled system (because the frequency of the signal being tracked and controlled is variable), and the waveform is a sinusoidal signal.
[0059] In this embodiment, it is first assumed that the reference signal is r(t1), and the output signal of the controlled system is y(t)=Ar(t)+y1(t), where t=t1+Δt. The delay time that the delay circuit needs to delay the reference signal is Δt.
[0060] Step s103, obtaining a feedback control signal according to the delayed reference signal and the output signal of the controlled system. In this embodiment, this step specifically includes:
[0061] (1) Mix the delayed reference signal and the output signal of the controlled system to obtain a mixed signal. Specifically: According to the formula Get the mixed signal U A (t); where U A (t) is the mixing signal; y(t) is the output signal of the controlled system, y(t) = Ar(t) + y1(t); r(t) is the delayed reference signal, r(t) = V r cos(ωt), the reference signal is r(t1), r(t1)=V r cos(ωt1), where t=t1+Δt, Δt is the delay time.
[0062] (2) Low-pass filtering the mixed signal to obtain a filtered signal. A (t) Perform low-pass filtering to obtain the filtered signal
[0063] (3) Obtain the feedback control signal according to the filtered signal. Specifically: first, U A_LPF (t) is squared to get Then (V A -V B ) After passing through the PI control circuit, the feedback control signal V k , where V B For comparison voltage.
[0064] In addition, if the reference signal is not delayed, the reference signal and the output signal of the controlled system are directly mixed, and the mixed signal is filtered through a low-pass filter, the process is as follows:
[0065] First, the output signal y(t) of the controlled system and the reference signal r(t1) are mixed through a mixer to obtain the signal U A ′(t), then
[0066]
[0067] in
[0068] Then the signal U A ′(t) is filtered by a low-pass filter, and we can get
[0069]
[0070] in
[0071] From the above comparison, it can be seen that delaying the reference signal can prevent the amplitude of the controlled signal from changing when the frequency of the tracked signal changes, so that the AGC feedback circuit can track the component of a single frequency change in the output signal of the controlled system, and then control its amplitude to be constant.
[0072] Step s104, adjusting the input signal of the controlled system according to the feedback control signal, so as to control the amplitude of the signal with the same frequency as the reference signal in the output signal of the controlled system to be constant. In this embodiment, specifically: the original input signal of the controlled system is mixed with the feedback control signal, and the mixed output signal is used as the adjusted input signal of the controlled system.
[0073] The present invention processes the delayed reference signal and the output signal of the controlled system to obtain a feedback control signal, and changes the amplitude of the input signal of the controlled system according to the feedback control signal to achieve a constant amplitude of the signal with the same frequency as the reference signal in the output of the controlled system without affecting the amplitude of other frequency signals contained in the output signal of the controlled system.
[0074] Example 2
[0075] An automatic gain feedback control device according to an embodiment of the present invention is as follows Figure 2 As shown, the device includes a delay unit 21, a feedback control signal acquisition unit 22 and a signal adjustment unit 23; the feedback control signal acquisition unit 22 is connected to the delay unit 21 and the signal adjustment unit 23 respectively; when the device is applied to a controlled system 24, the output end of the controlled system 24 is connected to the feedback control signal acquisition unit 22, and the input end is connected to the signal adjustment unit 23.
[0076] The delay unit 21 is used to receive a reference signal of a preset frequency and delay the reference signal.
[0077] The feedback control signal acquisition unit 22 is used to receive the output signal of the controlled system 24, and obtain the feedback control signal according to the output signal of the controlled system 24 and the delayed reference signal output by the delay unit 21. The feedback control signal acquisition unit 22 includes a second mixer 221, a low-pass filter 222 and a PI controller 223. The second mixer 221 is connected to the output end of the delay unit 21 and the controlled system 24, respectively, and is used to receive the output signal of the controlled system 24, and mix the delayed reference signal and the output signal of the controlled system 24 to obtain a mixed signal; the low-pass filter 222 is connected to the second mixer 221, and is used to perform low-pass filtering on the mixed signal to obtain a filtered signal; the PI controller 223 is connected to the low-pass filter 222 and the signal adjustment unit 23, respectively, and is used to obtain the feedback control signal according to the filtered signal, and send the feedback control signal to the signal adjustment unit 23. In addition, the feedback control signal acquisition unit 22 also includes an external input comparison voltage interface and / or an internal input comparison voltage interface; when the external input comparison voltage interface is connected to the PI controller 223, the comparison voltage is input to the PI controller 223 by the external input comparison voltage interface; when the internal input comparison voltage interface is connected to the PI controller 223, the comparison voltage is input to the PI controller 223 by the internal input comparison voltage interface.
[0078] The structure of a PI controller according to an embodiment of the present invention is as follows: Figure 4 As shown,
[0079] R37=R35,
[0080] I=(V A -V B ) / R 37 ,
[0081] V K =-(R36 / R37)(V A -V B )-1 / (C 28 R 37 )∫(V A -V B )dt.
[0082] Regarding the usage of the external input interface and the internal input interface: In this embodiment, three connection interfaces are used, A (V of the PI controller) BThe jumper is used to select whether to connect AB or AC, that is, to select the two situations of external input comparison voltage or internal comparison voltage. When the output voltage is expected to change (such as linear change, that is, the controlled RF power supply is in amplitude scanning mode), an external input voltage corresponding to the change is required to control the change of the output amplitude. At this time, AB should be connected. When the output amplitude is expected to be fixed (that is, when the controlled RF power supply is frequency scanning, its output amplitude needs to be stabilized), the comparison voltage V B The value should be fixed. You can choose to use the internal input voltage (connect AC with a jumper, internal V B The amplitude can be adjusted by the knob), or you can select an external input fixed amplitude comparison voltage V B (Use jumper wire to connect AB).
[0083] The signal adjustment unit 23 is used to receive the original input signal of the controlled system 24, and adjust the input signal of the controlled system 24 according to the feedback control signal obtained by the feedback control signal acquisition unit 22, so as to control the amplitude of the signal with the same frequency as the reference signal in the output signal of the controlled system 24 to be constant. In this embodiment, the signal adjustment unit adopts a first mixer, which is connected to the input end of the controlled system 24 and the PI controller 223 respectively, and is used to receive the original input signal of the controlled system 24, mix the feedback control signal sent by the PI controller 223 and the original input signal of the controlled system 24, and send the mixed output signal to the input end of the controlled system 24.
[0084] This embodiment uses a mixer plus a low-pass filter to adjust the amplitude of the input signal in real time to achieve the amplitude of the output signal remains unchanged. This embodiment can control a sine wave signal or a sine wave swept frequency signal within 10M, and can accurately control the amplitude of the output signal of the high-voltage RF power supply. The sine wave signal and the sine wave swept frequency signal described in this embodiment respectively refer to the controlled signal being a sine signal with a fixed frequency or a sine wave swept frequency signal (i.e., a sine signal whose frequency changes continuously from high to low or from low to high within a frequency band).
[0085] Example 3
[0086] This embodiment is an application of the automatic gain feedback control device of the present invention to a high-voltage radio frequency power supply of a mass spectrometer. This embodiment uses a mixer plus a low-pass filter to extract the signal amplitude of a specified frequency in the output signal of the high-voltage radio frequency module to adjust the amplitude of the input signal to achieve the output of the frequency signal The amplitude remains unchanged.
[0087] There are two main working modes of high-voltage radio frequency power supplies used in mass spectrometers. One is amplitude scanning, which uses a sinusoidal signal with a constant frequency and linearly varying amplitude to scan to achieve mass analysis of ions; the other is frequency scanning, which uses a sinusoidal signal with a constant amplitude and linearly varying frequency to scan to achieve mass analysis of ions. Sine wave frequency scanning is a type of frequency scanning, emphasizing that its output signal is a sinusoidal signal.
[0088] The structure of a high-voltage radio frequency power supply for a mass spectrometer in this embodiment is as follows Figure 3 As shown, it includes an RF module and an AGC feedback control module, the input and output of the RF module are connected to the AGC feedback control module through an amplification / attenuation circuit respectively, and the AGC feedback control module is the automatic gain feedback control device of the present invention.
[0089] Reference Figure 3 The AGC feedback control module includes a delay circuit, a mixer 2, a low-pass filter LPF, a PI controller and a mixer 1. The mixer 2 is connected to the delay circuit, the low-pass filter LPF and the output end of the RF module respectively. The output end of the low-pass filter LPF is connected to the input end of the PI controller. The mixer 1 is connected to the output end of the PI controller and the input end of the RF module respectively, and receives the original input signal U of the RF module. IN .
[0090] When the high voltage RF power supply is frequency scanning, its working steps are as follows:
[0091] Step 1: Transform the reference signal U r (the signal of the frequency desired to be tracked) is connected to the reference signal input interface of the AGC feedback control module, and is obtained through the delay circuit U R First, assume that the reference signal is U r (t) = r(t1), the output signal of the controlled system (RF module) is U OUT (t) = Ar(t) + y1(t), where t = t1 + Δt. The delay time that the delay circuit needs to delay the reference signal is Δt. In this way, when the frequency of the signal to be tracked changes, the amplitude of the signal of the tracked frequency in the output remains the set amplitude. In this embodiment, the frequency of the signal to be tracked and controlled changes, so the frequency of the reference signal also changes accordingly.
[0092] Step 2: Extract U OUT To obtain the amplitude information of the signal with the specified frequency, the steps are as follows:
[0093] Step 1: The output U of the controlled system OUTAfter appropriate scaling, the signal U3(t) is obtained and input into the controlled signal input interface of the AGC feedback control module.
[0094] Step 2: Connect U3 and U R After passing through mixer 2, a signal U4 is obtained.
[0095] Assume that the reference signal is U r (t) = V r cos(ωt1), the delayed reference signal is U R (t) = V r cos(ωt),U3(t)=AV r cos(ωt)+V1cos(ω1t).
[0096] but
[0097] Step 3: After filtering the output U4(t) of mixer 2 through a low-pass filter and then taking the square root, we can get
[0098]
[0099] Step 3: (U5(t)-V B ) After passing through the PI control circuit, the feedback control voltage U6 is obtained, where V B The reference voltage for setting the output amplitude can be adjusted by the knob.
[0100] Step 4: Convert the input signal U of the original controlled system IN The output signal obtained by multiplying the feedback control voltage U6 through mixer 1 is used as the input U1 of the controlled system after adding feedback, where U IN It is the input interface of the AGC feedback control module, and U1 is the output interface of the AGC feedback control module.
[0101] In this embodiment, the AGC feedback control module has 5 interfaces, 4 of which must be connected, namely input interface U IN (connected to the input of the controlled system), output interface U1 (connected to the input of the controlled system), controlled signal input interface U3 (the controlled signal is input to this interface, i.e. the output signal of the controlled system), reference signal input interface U r (reference signal with the same frequency as the signal to be tracked), 1 optional interface for external input comparison voltage interface V B The present embodiment further includes two adjustment knobs, namely a delay adjustment knob (used to adjust the delay of the reference signal) and an output amplitude adjustment knob (used to adjust the amplitude of the output of the controlled system).
[0102] In this embodiment, when the controlled high-voltage RF power source is a sine wave frequency sweep, there is no need to use the external input comparison voltage interface V B ; When the controlled high-voltage RF power supply is amplitude scanning, the external input comparison voltage interface V B Input a changing comparison voltage to achieve linear amplitude change.
[0103] (1) In this embodiment, when the high-voltage RF power source is frequency scanning, it is assumed that in addition to the frequency sweep signal a, a sinusoidal signal b of another frequency is superimposed in the output of the RF power source (the frequencies of the signal a and the signal b are unrelated), such as Figure 5a As shown, the output waveform after superposition is as follows Figure 5b As shown, if the output of the swept frequency signal is to be constant through AGC feedback control, then in the AGC feedback control module of this embodiment, a swept frequency signal that is completely consistent with the controlled signal except for the amplitude is input as a reference signal (for extracting the amplitude information of the swept frequency signal in the superimposed output), and a comparison voltage V B (This voltage can be selected to use external input or internal input. The internal input can adjust the voltage value through the knob.) By changing the comparison voltage V B The size of the reference signal and the comparison voltage V B The waveform is as Figure 6a and Figure 6b shown.
[0104] (2) In this embodiment, when the high-voltage RF power source is amplitude scanning, if the output of the controlled system is a sine wave with a fixed frequency, a reference signal with the same frequency as the reference signal and a comparison voltage V B To control the output voltage amplitude of the controlled system. The input reference signal waveform is as follows Figure 7 As shown. When the comparison voltage V B When the comparison voltage V B Waveform Figure 8a As shown, the final output of the controlled system is as follows Figure 8b As shown; when the input comparison voltage V B is changing, the comparison voltage V B Waveform Figure 9a As shown, the final output of the controlled system is as follows Figure 9b shown.
[0105] The AGC feedback control module of this embodiment controls the amplitude of the specified frequency signal in the output of the controlled system to be constant by adjusting the amplitude of the signal input to the controlled system. The AGC feedback control module of this embodiment has a small size and complete interfaces. It can be connected to the circuit system to which automatic gain control is to be added for joint debugging and testing, and is easy to use; wide bandwidth, can control sine wave signals or swept frequency signals within 10M; high precision, when the controlled signal frequency is within 10M, it can accurately control the output gain; high input voltage, the maximum amplitude of the input signal can be up to 20 volts; strong anti-interference ability, shielding protection can block interference from external electromagnetic noise.
[0106] Although the present invention and its advantages have been described in detail, it should be understood that various changes, substitutions and conversions can be made without exceeding the spirit and scope of the present invention defined by the appended claims. Moreover, the scope of the present application is not limited to the specific embodiments of the process, equipment, means, method and steps described in the specification. It will be easily understood by those of ordinary skill in the art from the disclosure of the present invention that the process, equipment, means, method or step to be developed in the present and future can be used to perform the functions substantially the same as the corresponding embodiments described herein or to obtain the results substantially the same as the corresponding embodiments described herein. Therefore, the appended claims are intended to include such processes, equipment, means, methods or steps within their scope.
Claims
1. An automatic gain feedback control method, characterized in that: The method comprises the following steps: A. Obtain the output signal of the controlled system; B. Obtain a reference signal of a preset frequency and delay the reference signal, wherein the reference signal is a preset sine wave signal or a sine wave frequency sweep signal, which is consistent with the frequency of the signal to be controlled; C. obtaining a feedback control signal according to the delayed reference signal and the output signal of the controlled system; D. Adjusting the input signal of the controlled system according to the feedback control signal, thereby controlling the amplitude of the signal with the same frequency as the reference signal in the output signal of the controlled system to be constant.
2. The automatic gain feedback control method according to claim 1, characterized in that: The step C specifically comprises: C1, mixing the delayed reference signal and the output signal of the controlled system to obtain a mixed signal; C2, performing low-pass filtering on the mixed signal to obtain a filtered signal; C3. Obtain the feedback control signal according to the filtered signal.
3. The automatic gain feedback control method according to claim 2, characterized in that: The step C1 specifically comprises: According to the formula Get the mixed signal U A (t), Among them U A (t) is the mixing signal; y(t) is the output signal of the controlled system, y(t) = Ar(t) + y1(t); r(t) is the delayed reference signal, r(t) = V r cos(ωt), the reference signal is r(t1), r(t1)=V r cos(ωt1), where t=t1+Δt, Δt is the delay time.
4. The automatic gain feedback control method according to claim 3, characterized in that: The step C2 specifically includes: The mixed signal U A (t) Perform low-pass filtering to obtain the filtered signal 5. The automatic gain feedback control method according to claim 4, characterized in that: The step C3 specifically comprises: C31, U A_LPF (t) is squared to get C32, will (V A -V B ) After passing through the PI control circuit, the feedback control signal V k , where V B For comparison voltage.
6. The automatic gain feedback control method according to any one of claims 1 to 5, characterized in that: The step D specifically comprises: The original input signal of the controlled system is mixed with the feedback control signal, and the mixed output signal is used as the adjusted input signal of the controlled system.
7. An automatic gain feedback control device, characterized in that: The device comprises a delay unit, a feedback control signal acquisition unit and a signal adjustment unit; The delay unit is used to receive a reference signal of a preset frequency and delay the reference signal, wherein the reference signal is a preset sine wave signal or a sine wave frequency sweep signal, which is consistent with the frequency of the signal to be controlled; The feedback control signal acquisition unit is connected to the output end of the delay unit and the controlled system respectively, and is used to receive the output signal of the controlled system, and obtain the feedback control signal according to the output signal of the controlled system and the delayed reference signal output by the delay unit; The signal adjustment unit is connected to the input end of the controlled system and the feedback control signal acquisition unit respectively, and is used to receive the original input signal of the controlled system, and adjust the input signal of the controlled system according to the feedback control signal obtained by the feedback control signal acquisition unit, so as to control the amplitude of the signal with the same frequency as the reference signal in the output signal of the controlled system to be constant.
8. The automatic gain feedback control device according to claim 7, characterized in that: The feedback control signal acquisition unit includes a second mixer, a low-pass filter and a PI controller; The second mixer is connected to the output end of the delay unit and the controlled system respectively, and is used to receive the output signal of the controlled system, and mix the delayed reference signal and the output signal of the controlled system to obtain a mixed signal; The low-pass filter is connected to the second mixer and is used to perform low-pass filtering on the mixed signal to obtain a filtered signal; The PI controller is connected to the low-pass filter and the signal adjustment unit respectively, and is used to obtain a feedback control signal according to the comparison voltage and the filter signal, and send the feedback control signal to the signal adjustment unit.
9. The automatic gain feedback control device according to claim 8, characterized in that: The feedback control signal acquisition unit also includes an external input comparison voltage interface and / or an internal input comparison voltage interface; when the external input comparison voltage interface is connected to the PI controller, the comparison voltage is input to the PI controller by the external input comparison voltage interface; when the internal input comparison voltage interface is connected to the PI controller, the comparison voltage is input to the PI controller by the internal input comparison voltage interface.
10. The automatic gain feedback control device according to claim 8 or 9, characterized in that: The signal adjustment unit includes a first mixer, which is respectively connected to the input end of the controlled system and the PI controller, and is used to receive the original input signal of the controlled system, mix the feedback control signal sent by the PI controller and the original input signal of the controlled system, and send the mixed output signal to the input end of the controlled system.
