Amplitude and phase control method, system and device and storage medium
By adding integral gain and feedforward links to the controller, evaluating characteristic parameters, and adjusting the sinusoidal signal, the problem of large amounts of calculation in the existing technology is solved, and efficient amplitude and phase control and signal tracking are achieved.
Patent Information
- Application Number
- CN202410698469.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing technology realizes the amplitude and phase adjustment of the sinusoidal signal, the calculation amount is large and the calculation efficiency is low, making it difficult to improve the calculation efficiency while ensuring the control accuracy.
Add the integral gain and feedforward link of the amplitude, phase and mean value of the sinusoidal signal to the controller, and adjust the sinusoidal signal to achieve amplitude and phase control through the evaluation of characteristic parameters and the input of system control quantities.
Efficient sinusoidal signal tracking is achieved, taking into account fast response and control stability, simplifying the control process, and improving calculation efficiency and robust performance.
Smart Images

Figure CN118713614A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automatic control technology, and in particular relates to an amplitude-phase control method, system, device and storage medium. Background Art
[0002] Sinusoidal signals are a common type of command signal in loading systems. A lower system closed-loop bandwidth will cause larger amplitude and phase tracking errors in sinusoidal signal loading.
[0003] MTS uses the LMS algorithm to adjust the amplitude and phase of the sine signal by real-time adjusting the weight coefficient of the ADALINE network composed of a given sine signal and a signal that lags 90 degrees behind it. However, this method requires adjusting different weight coefficients according to different control objects and finding the appropriate parameters through multiple adjustment processes, which results in large amount of calculation and low calculation efficiency.
[0004] In summary, how to improve computing efficiency while ensuring control accuracy is the current problem to be solved. Summary of the invention
[0005] In order to overcome the above-mentioned shortcomings of the prior art, the present invention provides an amplitude-phase control method, comprising the following steps:
[0006] In the controller, the given sinusoidal signal S is increased successively. c The integral gain and feed-forward link of the amplitude, phase and mean value of are used to obtain the amplitude and phase controller;
[0007] For a given sinusoidal signal S c The amplitude, phase and mean of the signal are used to evaluate the characteristic parameters and obtain the output signal S f ;
[0008] The sinusoidal signal S c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller to generate system control quantity u s ;
[0009] According to the system control quantity u s For a sinusoidal signal S c Adjust to get a new sinusoidal signal, and pass the new sinusoidal signal through the control instruction q c Input to the original closed-loop control system G cl , the original closed-loop control system G cl The amplitude and phase of the new sinusoidal signal are controlled.
[0010] Preferably, the sinusoidal signal S c The method for determining the value of the integral gain of the amplitude, phase and mean is:
[0011] If the tracking signal frequency is within the bandwidth of the internal closed-loop control system, the amplitude, phase and mean integral gain of the sinusoidal signal are set at the sinusoidal signal input corresponding to the starting frequency point required to be tracked;
[0012] If the tracking signal frequency is outside the bandwidth of the internal closed-loop control system, the phase and mean integral gain values remain unchanged, and the amplitude integral gain value increases with the increase of the tracking signal frequency.
[0013] Preferably, the method for determining the system control amount is:
[0014] u s =∫k ii e s dt+G ff s c
[0015] k ii is the integral gain, G ff is the feedforward link, e s is the characteristic parameter error vector, S c is a sinusoidal signal.
[0016] Preferably, the mean f The evaluation is done by:
[0017]
[0018] Where τ is the time constant of the low-pass filter, y f is the response signal, S is the complex domain description factor, B f is the mean of the response signal.
[0019] Preferably, the amplitude is evaluated by the following formula:
[0020]
[0021] Where τ is the time constant of the low-pass filter, y ff is the response signal after filtering out the mean value, A f is the amplitude of the response signal, and S is the complex domain description factor.
[0022] Preferably, the phase is evaluated according to the phase difference between a given sinusoidal signal and a fed-back sinusoidal signal, specifically:
[0023]
[0024] In the formula, is the time when a given sinusoidal signal crosses zero in the positive direction, s; is the time when the feedback sinusoidal signal crosses zero in the positive direction, s, ωc is the frequency of a given sinusoidal signal.
[0025] The present invention also provides an amplitude-phase control system, comprising:
[0026] Amplitude-phase controller design module, used to sequentially increase the given sinusoidal signal S in the controller c The integral gain and feed-forward link of the amplitude, phase and mean value of are used to obtain the amplitude and phase controller;
[0027] Parameter evaluation module, used for a given sinusoidal signal S c The amplitude, phase and mean of the signal are used to evaluate the characteristic parameters and obtain the output signal S f ;
[0028] The control quantity acquisition module is used to convert the sinusoidal signal S c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller to generate system control quantity u s ;
[0029] A signal control module is used to control the system quantity u s For a sinusoidal signal S c Adjust to get a new sinusoidal signal, and pass the new sinusoidal signal through the control instruction q c Input to the original closed-loop control system G cl , the original closed-loop control system G cl The amplitude and phase of the new sinusoidal signal are controlled.
[0030] The present invention also provides a computer device, comprising a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the amplitude and phase control method.
[0031] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the amplitude and phase control method.
[0032] The amplitude-phase control method, system, device and storage medium provided by the present invention have the following beneficial effects:
[0033] The present invention can obtain an amplitude-phase controller by sequentially increasing the integral gain and feedforward link of the amplitude, phase and mean value of a given sinusoidal signal in the controller. The amplitude-phase controller takes into account the characteristics of rapid response and control stability, and has high position sinusoidal tracking accuracy and good robust performance. The present invention realizes decoupling control of each characteristic parameter channel of the composed sinusoidal signal by introducing a characteristic parameter evaluation link to the given sinusoidal signal, and facilitates the control of each characteristic parameter. By c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller, which can generate system control quantity u s , according to the control quantity u s By quickly adjusting the sinusoidal signal, a new sinusoidal signal can be obtained, thereby realizing the control of the new sinusoidal signal. It can be seen that the present invention has few adjustment parameters, and only needs to adjust the amplitude, phase and mean value. The control process is simple and efficient, and can realize accurate tracking of the sinusoidal loading signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiment of the present invention and its design scheme, the following briefly introduces the drawings required for this embodiment. 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.
[0035] Figure 1 It is the amplitude and phase control strategy diagram based on three-parameter feedback;
[0036] Figure 2 This is the design diagram of the amplitude-phase controller. DETAILED DESCRIPTION
[0037] In order to enable those skilled in the art to better understand the technical solution of the present invention and implement it, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the scope of protection of the present invention.
[0038] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the technical solutions of the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0039] In addition, the terms "first", "second", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. In the description of the present invention, it should be noted that, unless otherwise clearly specified or limited, the terms "connected" and "connected" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances. In the description of the present invention, unless otherwise specified, "plurality" means two or more, which will not be described in detail here.
[0040] Example
[0041] The present invention provides an amplitude-phase control method, specifically: Figure 1 As shown, the following steps are included:
[0042] Step 1: Increase the given sinusoidal signal S in the controller in sequence c The integral gain and feedforward link of the amplitude, phase and mean value are used to obtain the amplitude and phase controller.
[0043] The amplitude and phase controller of the present invention is as follows Figure 2 As shown in the figure, the amplitude and phase control is the external control loop, and the original closed-loop control system is located in the inner loop. The inner loop controller design is usually required to ensure that the system has sufficient stability margin and certain fast response characteristics. In order to obtain accurate sinusoidal tracking, the controller needs to add an integral link to correct the system to type I. In order to speed up the amplitude and phase tracking speed, a feedforward link can be added. ii is the integral gain, G ff is the feedforward part, the system control quantity u s It can be expressed as:
[0044] u s =∫k ii e s dt+G ff s c
[0045] In the formula, k ii is the integral gain, G ff is the feedforward link, e s is the characteristic parameter error vector, S c is a sinusoidal signal.
[0046] The feedforward link introduced is only to improve the rapidity of system response and has no effect on stability. clThe initial tracking characteristics of the amplitude, phase and mean feedforward links can be set to a constant proportional coefficient of 1. Therefore, the only parameter that affects the stability of the amplitude and phase control based on three-parameter feedback is the integral gain term. The following principles can be used to determine the integral gain of the amplitude, phase and mean:
[0047] (1) If the tracking signal frequency is within the bandwidth of the internal closed-loop control system, the integral gains of the three can all be set to the set values under the sinusoidal signal input corresponding to the starting frequency point required for tracking;
[0048] (2) If the tracking signal frequency is outside the bandwidth of the internal closed-loop control system, the phase and mean integral gain values remain unchanged, and the amplitude integral gain value needs to be appropriately increased as the tracking signal frequency increases.
[0049] Step 2: For a given sinusoidal signal S c The amplitude, phase and mean of the signal are used to evaluate the characteristic parameters and obtain the output signal S f .
[0050] Assume that the frequency, amplitude, phase and mean of the given sinusoidal signal are ω c , A c , Ф c , B c , then the sinusoidal signal can be expressed as:
[0051] y c =A c sin(ω c t+Ф c )+B c
[0052] Assume the response signal y f The amplitude, phase and mean are A f , Ф f , B f , then y f It can be expressed as:
[0053] y f =A f sin(ω c t+Ф f )+B f
[0054] The mean value is estimated by passing the response signal through a low-pass filter. Assuming that the low-pass filter is a first-order form with a time constant τ, the estimated mean value B ef It can be expressed as:
[0055]
[0056] Where τ is the time constant of the low-pass filter, yf is the response signal, S is the complex domain description factor, B f is the mean of the response signal.
[0057] The corresponding response signal y after filtering out the mean ff That is:
[0058]
[0059] According to the trigonometric equations, we have:
[0060]
[0061] It can be seen that the right side of the equation contains a constant related to the amplitude information of the response signal and a cosine component with twice the frequency. The amplitude A is obtained by passing it through a low-pass filter again. ef :
[0062]
[0063] Where τ is the time constant of the low-pass filter, y ff is the response signal after filtering out the mean value, A f is the amplitude of the response signal, and S is the complex domain description factor.
[0064] The phase can be evaluated based on the phase difference between the given and feedback sinusoidal signals. For the convenience of evaluation, the given and feedback signals are first passed through the same low-pass filter to filter out the mean value. After filtering out the mean value, the zero crossing time difference of the two signals in the same direction can be detected to evaluate the phase difference between the two signals.
[0065] To speed up phase tracking, phase evaluation is performed in two parts: advance evaluation and lag evaluation. The advance evaluation starts at the moment of zero crossing of the feedback signal and ends at the moment of zero crossing of the given signal in the same direction. The lag evaluation is the opposite process. The smaller amplitude of the output difference between the two is selected as the final evaluated phase difference, and the phase difference falls between [-π, π]. If the positive zero crossing is selected, the evaluated phase difference ΔΦ is:
[0066]
[0067] In the formula, is the time when a given sinusoidal signal crosses zero in the positive direction, s; is the time when the feedback sinusoidal signal crosses zero in the positive direction, s, ω c is the frequency of a given sinusoidal signal.
[0068] The phase of the sinusoidal signal of the feedback is evaluated as ef for:
[0069] Φ ef =Φc +ΔΦ
[0070] Step 3: Transform the sinusoidal signal S c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller to generate system control quantity u s .
[0071] Step 4: According to the system control quantity u s For a sinusoidal signal S c Adjust to get a new sinusoidal signal, and pass the new sinusoidal signal through the control instruction q c Input to the original closed-loop control system G cl , the original closed-loop control system G cl The amplitude and phase of the new sinusoidal signal are controlled.
[0072] The present invention also provides an amplitude-phase control system, comprising:
[0073] An amplitude-phase controller design module is used to sequentially increase the integral gain and feedforward link of the amplitude, phase and mean value of a given sinusoidal signal in the controller to obtain an amplitude-phase controller;
[0074] Parameter evaluation module, used for a given sinusoidal signal S c The amplitude, phase and mean of the signal are used to evaluate the characteristic parameters and obtain the output signal S f ;
[0075] The control quantity acquisition module is used to convert the sinusoidal signal S c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller to generate system control quantity u s ;
[0076] A signal control module is used to control the amount u s The sine signal is adjusted to obtain a new sine signal, and the new sine signal is transmitted through the control instruction q c Input to the original closed-loop control system G cl Take control.
[0077] The present invention also provides a computer device, comprising a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the amplitude and phase control method.
[0078] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the amplitude and phase control method.
[0079] The embodiments described above are only preferred specific implementation modes of the present invention, and the protection scope of the present invention is not limited thereto. Any simple changes or equivalent replacements of the technical solutions that can be obviously obtained by any technician familiar with the field within the technical scope disclosed in the present invention belong to the protection scope of the present invention.
Claims
1. An amplitude-phase control method, characterized in that: The steps include: In the controller, the given sinusoidal signal S is increased successively. c The integral gain and feed-forward link of the amplitude, phase and mean value of are used to obtain the amplitude and phase controller; For a given sinusoidal signal S c The amplitude, phase and mean of the signal are used to evaluate the characteristic parameters and obtain the output signal S f ; The sinusoidal signal S c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller to generate system control quantity u s ; According to the system control quantity u s For a sinusoidal signal S c Adjust to get a new sinusoidal signal, and pass the new sinusoidal signal through the control instruction q c Input to the original closed-loop control system G cl , the original closed-loop control system G cl The amplitude and phase of the new sinusoidal signal are controlled.
2. The amplitude and phase control method according to claim 1, characterized in that: The sinusoidal signal S c The method for determining the value of the integral gain of the amplitude, phase and mean is: If the tracking signal frequency is within the bandwidth of the internal closed-loop control system, the amplitude, phase and mean integral gain of the sinusoidal signal are set at the sinusoidal signal input corresponding to the starting frequency point required to be tracked; If the tracking signal frequency is outside the bandwidth of the internal closed-loop control system, the phase and mean integral gain values remain unchanged, and the amplitude integral gain value increases with the increase of the tracking signal frequency.
3. The amplitude and phase control method according to claim 1, characterized in that: The method for determining the system control quantity is: u s =∫k ii e s dt+G ff s c In the formula, k ii is the integral gain, G ff is the feedforward link, e s is the characteristic parameter error vector, S c is a sinusoidal signal.
4. The amplitude and phase control method according to claim 1, characterized in that: The mean is estimated by the following formula: Where τ is the time constant of the low-pass filter, y f is the response signal, S is the complex domain description factor, B f is the mean of the response signal.
5. The amplitude and phase control method according to claim 1, characterized in that: The amplitude is estimated by the following formula: Where τ is the time constant of the low-pass filter, y ff is the response signal after filtering out the mean value, A f is the amplitude of the response signal, and S is the complex domain description factor.
6. The amplitude and phase control method according to claim 1, characterized in that: The phase is evaluated based on the phase difference between the given sinusoidal signal and the fed-back sinusoidal signal, specifically: In the formula, is the time when a given sinusoidal signal crosses zero in the positive direction, s; is the time when the feedback sinusoidal signal crosses zero in the positive direction, s, ω c is the frequency of a given sinusoidal signal.
7. An amplitude-phase control system, characterized in that: include: Amplitude-phase controller design module, used to sequentially increase the given sinusoidal signal S in the controller c The integral gain and feed-forward link of the amplitude, phase and mean value of are used to obtain the amplitude and phase controller; Parameter evaluation module, used for a given sinusoidal signal S c The amplitude, phase and mean of the signal are used to evaluate the characteristic parameters and obtain the output signal S f ; The control quantity acquisition module is used to convert the sinusoidal signal S c and the output signal S f The characteristic parameter error vector e s Input amplitude and phase controller to generate system control quantity u s ; A signal control module is used to control the system quantity u s For a sinusoidal signal S c Adjust to get a new sinusoidal signal, and pass the new sinusoidal signal through the control instruction q c Input to the original closed-loop control system G cl , the original closed-loop control system G cl The amplitude and phase of the new sinusoidal signal are controlled.
8. A computer device, characterized in that: It comprises a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory to execute the amplitude and phase control method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the amplitude and phase control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Novel PI controller structure and parameter setting method thereof
CN104932250A
Dual-three-phase permanent magnet synchronous motor position servo feedforward and feedback compound control method
CN112904708A
Resonant frequency control method, device and system of quantum communication tracker and medium
CN114050862A
Sinusoidal signal amplitude and phase control for an adaptive feedback control system
US5124626A
