Reverse injection current signal delay suppression method, system, equipment and medium
By collecting and analyzing current signals, calculating delays and controlling reverse injection current using preset models, the current signal delay problem is solved, and high-precision power system testing and stability are achieved, reducing the impact of noise.
Patent Information
- Application Number
- CN202411298315.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-01-07
AI Technical Summary
The signal delay of the current signal during the acquisition, analysis and injection process affects the signal superposition effect, resulting in the inability to achieve accurate full-range upstream, increasing noise and reducing detection accuracy, especially in the injection of different characteristics during fault diagnosis or power quality analysis. The current has different sensitivity to signal delay, which increases the difficulty of signal processing.
By collecting the real-time current signal and system state parameters of the circuit, the signal delay is calculated, the predicted current signal is obtained using the preset current signal prediction model, the delay compensation parameters are obtained, and the magnitude and phase of the reverse injection current are controlled based on the state space model, so as to Achieve precise control and suppression of signal delays.
It realizes high-precision superposition with line current, improves the accuracy and reliability of power system testing, ensures the stability of the system under different operating conditions, and reduces the impact of noise and electromagnetic interference.
Smart Images

Figure CN119269880A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical measurement technology, and in particular to a method, system, device and medium for suppressing a reverse injection current signal delay. Background Art
[0002] A current transformer is an electrical device that converts a high-current primary system circuit into a low-current secondary system circuit for the purpose of measuring and protecting the device. The working principle of a current transformer is based on the law of electromagnetic induction. When current passes through the primary winding, a magnetic field is generated in the iron core. This magnetic field induces an electromotive force in the secondary winding, thereby generating a corresponding current in the secondary system circuit.
[0003] Current transformers are widely used to measure and monitor current. However, signal delays during the acquisition, analysis, and injection of current signals can seriously affect the signal superposition effect, resulting in the inability to accurately increase the full range of current, increase noise, and reduce detection accuracy. Especially when performing fault diagnosis or power quality analysis, injected currents with different characteristics have different sensitivities to signal delays, which further increases the difficulty of evaluating and optimizing the signal processing process. Summary of the invention
[0004] The purpose of this application is to address the above problems and provide a method, system, device and medium for suppressing the delay of a reverse injection current signal, so as to achieve precise control of the magnitude and phase of the injected current, effectively suppress the signal delay, and achieve high-precision superposition with the line current, which helps to improve the accuracy and reliability of power system testing.
[0005] In a first aspect, the present application provides a method for suppressing a reverse injection current signal delay, comprising:
[0006] Collecting the current real-time current signal in the line and the current real-time system status parameter information of the control system of the line;
[0007] Acquire the actual acquisition time and theoretical acquisition time of the real-time current signal, and calculate the signal delay according to the actual acquisition time and theoretical acquisition time;
[0008] According to the real-time current signal and the preset current signal prediction model, the predicted current signal of the line at the next moment is obtained; wherein the preset current signal prediction model is obtained by model training based on historical current signal samples and corresponding historical next moment current signal samples;
[0009] Acquire a predicted delay compensation parameter according to the signal delay, the real-time current signal, and the predicted current signal;
[0010] Delay compensation control parameters are acquired based on the real-time system state parameter information, the predicted delay compensation parameters and the state space model, and the magnitude and phase of the reverse injection current are controlled according to the predicted delay compensation control parameters.
[0011] According to the technical solution provided by this application, the method also includes:
[0012] Collect multiple groups of one-to-one corresponding historical measured values of current signals and measured values of current signals at the next moment as historical current signal samples and corresponding historical current signal samples at the next moment respectively;
[0013] The historical current signal samples are used as model input, the corresponding historical current signal samples at the next moment are used as model output, and the autoregressive moving average model is used as the initial prediction model for model training to obtain the preset current signal prediction model.
[0014] According to the technical solution provided by the present application, the actual acquisition time and the theoretical acquisition time of the real-time current signal are obtained, and the signal delay is calculated according to the actual acquisition time and the theoretical acquisition time, including:
[0015] Recording the actual acquisition time of the real-time current signal by a high-precision time synchronization device;
[0016] Determine a theoretical sampling frequency based on the Nyquist sampling theorem, and calculate a theoretical acquisition time of the real-time current signal according to the theoretical sampling frequency;
[0017] The signal delay between the actual acquisition time and the theoretical acquisition time is calculated based on the cross-correlation function.
[0018] According to the technical solution provided by the present application, the delay compensation control parameter is obtained based on the real-time system state parameter information and the state space model, including:
[0019] According to the real-time system state parameter information, based on the state space model, the output response performance state of the control system at the next moment is obtained;
[0020] According to the output response performance state of the control system at the next moment, with the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, the cost function of the state space model is minimized to obtain the predicted delay compensation control parameter.
[0021] According to the technical solution provided by this application, the cost function of the state space model is:
[0022]
[0023] Among them, J is the cost function; E kis the prediction error at time step k, which is equal to the difference between the expected value and the actual value at time step k; U k is the control input at time step k; Q is the weight matrix of the prediction error; R is the weight matrix of the control input; P f is the terminal penalty matrix;
[0024] Accordingly, according to the output response performance state of the control system at the next moment, taking the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, minimizing the cost function of the state space model, and obtaining the predicted delay compensation control parameter includes:
[0025] Minimize the cost function to obtain the target control sequence U k , U k+1 …U k+N As the predicted delay compensation control parameter.
[0026] According to the technical solution provided by the present application, the magnitude and phase of the reverse injection current are controlled according to the predicted delay compensation control parameter, including:
[0027] According to the target control sequence U k , U k+1 …U k+N The current injection device is controlled by a PID controller to inject a reverse current into the line, and the magnitude and phase of the reverse injection current are controlled so that the line outputs a predicted current signal at the next moment.
[0028] According to the technical solution provided by this application, the method also includes:
[0029] The actual current signal of the line at the next moment is obtained, and the predicted delay compensation parameter is adjusted by feedback according to the difference between the actual current signal and the predicted current signal.
[0030] In a second aspect, the present application provides a reverse injection current signal delay suppression device, comprising: an acquisition module, used to acquire the real-time current signal in the line at the current moment and the real-time system state parameter information of the control system of the line at the current moment;
[0031] An acquisition module, used to acquire the actual acquisition time and theoretical acquisition time of the real-time current signal, and calculate the signal delay according to the actual acquisition time and theoretical acquisition time;
[0032] A prediction module, used to obtain the predicted current signal of the line at the next moment according to the real-time current signal and a preset current signal prediction model; wherein the preset current signal prediction model is obtained by model training based on historical current signal samples and corresponding historical next moment current signal samples;
[0033] A processing module, used for obtaining a predicted delay compensation parameter according to the signal delay, the real-time current signal and the predicted current signal;
[0034] The control module is used to obtain the delay compensation control parameter based on the real-time system state parameter information, the predicted delay compensation parameter and the state space model, and control the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter.
[0035] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described above when executing the computer program.
[0036] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the method described above when executed by a processor.
[0037] Compared with the prior art, the beneficial effects of the present application are as follows: the reverse injection current signal delay suppression method provided by the present application calculates the signal delay according to the actual acquisition time and theoretical acquisition time of the real-time current signal acquired in the line at the current moment, and acquires the predicted current signal of the line at the next moment according to the real-time current signal and the preset current signal prediction model, and then acquires the predicted delay compensation parameter according to the signal delay, the real-time current signal, and the predicted current signal, and acquires the delay compensation control parameter based on the real-time system state parameter information, the predicted delay compensation parameter and the state space model, and controls the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter, which can realize the precise control of the magnitude and phase of the injection current, effectively suppress the signal delay, and realize the high-precision superposition with the line current, which helps to improve the accuracy and reliability of the power system test. In addition, real-time monitoring and dynamic adjustment ensure the stability of the system under different operating conditions, and can maintain stable operation even in the case of current fluctuations or external interference; through effective signal processing and feedback correction mechanism, the influence of noise and electromagnetic interference on system performance can be reduced, thereby improving the anti-interference ability of the system.
[0038] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solution in this embodiment, the drawings required for use in the description of the embodiment will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A flowchart of a method for suppressing a reverse injection current signal delay provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of a reverse injection current signal delay suppression device provided in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of a computer system of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings. The description in this section is only exemplary and explanatory and should not have any limiting effect on the protection scope of the present application. Specifically, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present application.
[0044] It should be noted that similar reference numerals and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. 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 clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0045] In order to make the technical solution of the present application clear and easy to understand, the reverse injection current signal delay suppression method provided in the embodiment of the present application is introduced below.
[0046] like Figure 1 As shown in FIG. 1 , the figure is a flow chart of a method for suppressing a delay of a reverse injection current signal provided in this embodiment, and the method comprises the following steps:
[0047] S101, collecting the current real-time current signal in the line and the current real-time system status parameter information of the control system of the line;
[0048] Specifically, the real-time current signal at the current moment in the line and the real-time system state parameter information of the control system of the line at the current moment are collected by a low-voltage current transformer; the real-time current signal includes the magnitude, phase, and frequency of the current, and may also include other parameters, which may be set and adjusted according to the actual situation, and are not specifically limited here; and the real-time current signal is a digital signal suitable for analysis obtained by filtering, amplifying, and analog-to-digital conversion preprocessing operations such as preprocessing operations on the collected current signal by an analog-to-digital converter and a digital signal processor (Digital Signal Processing, DSP) or a field programmable gate array (Field Programmable Gate Array, FPGA) according to preset processing parameters, and the preset processing parameters mainly refer to various parameters used in the preprocessing process of the collected current signal, such as filter coefficients, window function types, Fast Fourier Transform (Fast Fourier Transform, FFT) points, etc. The real-time system state parameter information of the control system of the line at the current moment includes current and voltage levels, power factor, phase angle, frequency and harmonic content, load type and change, and may also include other parameters, which may be set and adjusted according to the actual situation, and are not specifically limited here. It is understandable that the real-time current signal and the real-time system status parameter information can be collected dynamically in real time or periodically at preset time intervals. They can be set and adjusted according to actual conditions and are not specifically limited here.
[0049] S102, obtaining the actual acquisition time and theoretical acquisition time of the real-time current signal, and calculating the signal delay according to the actual acquisition time and theoretical acquisition time;
[0050] Specifically, the actual acquisition time of the real-time current signal is recorded by a high-precision time synchronization device; and the theoretical sampling frequency is determined based on the Nyquist sampling theorem, and then the theoretical acquisition time of the real-time current signal is calculated according to the theoretical sampling frequency. Then, the signal delay between the actual acquisition time and the theoretical acquisition time is calculated based on the cross-correlation function. The signal delay is the signal delay length represented by a time unit (such as seconds).
[0051] S103, obtaining a predicted current signal of the line at the next moment according to the real-time current signal and a preset current signal prediction model; wherein the preset current signal prediction model is obtained by model training based on historical current signal samples and corresponding historical next moment current signal samples;
[0052] Specifically, multiple groups of one-to-one corresponding historical measured values of current signals and measured values of current signals at the next moment are collected as historical current signal samples and corresponding historical current signal samples at the next moment, the historical current signal samples are used as model input, the corresponding historical current signal samples at the next moment are used as model output, and the autoregressive moving average model is used as the initial prediction model for model training to obtain the preset current signal prediction model. The real-time current signal is input into the preset current signal prediction model to obtain the predicted current signal of the line at the next moment.
[0053] S104, obtaining a predicted delay compensation parameter according to the signal delay, the real-time current signal, and the predicted current signal;
[0054] Specifically, the predicted delay compensation parameters required for delay compensation for the system to output the predicted current signal at the next moment are obtained based on the signal delay and the real-time current signal. The predicted delay compensation parameters include loop delay time and transmission delay compensation value, and may also include other parameters, which can be set and adjusted according to actual conditions and are not specifically limited here.
[0055] S105 . Obtain a delay compensation control parameter based on the real-time system state parameter information, the predicted delay compensation parameter and the state space model, and control the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter.
[0056] Specifically, according to the real-time system state parameter information, based on the state space model, the output response performance state of the control system at the next moment is obtained, and then according to the output response performance state of the control system at the next moment, with the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, the cost function of the state space model is minimized, the predicted delay compensation control parameter is obtained, and according to the predicted delay compensation control parameter, the current injection device is controlled to inject reverse current into the line, and the magnitude and phase of the reverse injection current are controlled so that the line outputs the predicted current signal at the next moment.
[0057] The reverse injection current signal delay suppression method provided in the embodiment of the present application calculates the signal delay according to the actual acquisition time and theoretical acquisition time of the real-time current signal acquired in the line at the current moment, and obtains the predicted current signal of the line at the next moment according to the real-time current signal and the preset current signal prediction model, and then obtains the predicted delay compensation parameter according to the signal delay, the real-time current signal, and the predicted current signal, and obtains the delay compensation control parameter based on the real-time system state parameter information, the predicted delay compensation parameter and the state space model, and controls the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter, so as to achieve precise control of the magnitude and phase of the injection current, effectively suppress the signal delay, and achieve high-precision superposition with the line current, which is helpful to improve the accuracy and reliability of power system testing.
[0058] On the basis of the above embodiment, further, the method further includes:
[0059] Collect multiple groups of one-to-one corresponding historical measured values of current signals and measured values of current signals at the next moment as historical current signal samples and corresponding historical current signal samples at the next moment respectively;
[0060] Specifically, multiple groups of historical measured values of current signals and the measured values of current signals at the next moment after the historical measured values of current signals are collected, and each group of historical measured values of current signals corresponds to the measured values of current signals at the next moment. The collected data are then sorted and cleaned and used as historical current signal samples and corresponding historical current signal samples at the next moment, respectively, to ensure the quality and availability of the collected data and to prepare for subsequent analysis and modeling.
[0061] The historical current signal samples are used as model input, the corresponding historical current signal samples at the next moment are used as model output, and the autoregressive moving average model is used as the initial prediction model for model training to obtain the preset current signal prediction model.
[0062] Specifically, the Auto Regressive Moving Average model (ARMA) is selected as the initial prediction model according to the characteristics of the collected data; the historical current signal samples and the corresponding historical current signal samples at the next moment are divided into a training set, a validation set and a test set, and the historical current signal samples are used as model inputs based on the training set and the validation set, and the corresponding historical current signal samples at the next moment are used as model outputs, and the initial prediction model is trained so that the model can fit the changing trend in the historical data as accurately as possible, thereby determining the model parameters and obtaining the preset current signal prediction model. It can be understood that the performance of the preset current signal prediction model can also be evaluated through the test set data, and the prediction accuracy of the model can be measured using statistical indicators such as mean square error (MSE) or determination coefficient (R2). Of course, other parameter indicators can also be used to evaluate the prediction accuracy of the preset current signal prediction model, which can be set and adjusted according to actual conditions, and is not specifically limited here.
[0063] On the basis of the above embodiment, further, the acquiring the actual acquisition time and the theoretical acquisition time of the real-time current signal, and calculating the signal delay according to the actual acquisition time and the theoretical acquisition time, includes:
[0064] Recording the actual acquisition time of the real-time current signal by a high-precision time synchronization device;
[0065] Specifically, the high-precision time synchronization device includes a GPS clock, an IRIG-B encoder or a Network Time Protocol (NTP) server, which can synchronously record the actual acquisition time of the real-time current signal at the current moment.
[0066] Determine a theoretical sampling frequency based on the Nyquist sampling theorem, and calculate a theoretical acquisition time of the real-time current signal according to the theoretical sampling frequency;
[0067] Specifically, during the analog / digital signal conversion process, when the sampling frequency is greater than twice the highest frequency in the signal, the digital signal after sampling completely retains the information in the original signal. In general, the sampling frequency is guaranteed to be 2.56 to 4 times the highest frequency of the signal in practical applications. Therefore, the theoretical acquisition time of the real-time current signal can be calculated based on the current moment (i.e., the actual acquisition time of the real-time current signal) and the sampling frequency. The specific calculation and reasoning process is consistent with the prior art and will not be repeated here.
[0068] The signal delay between the actual acquisition time and the theoretical acquisition time is calculated based on the cross-correlation function.
[0069] Specifically, the principle of calculating the time delay by the cross-correlation function is mainly based on calculating the similarity between two signals, and estimating the time delay, that is, the signal delay, by finding the peak of the cross-correlation function. Wherein, the cross-correlation function is R(τ)=E[x1(m)·x2(m+τ)]; wherein R(τ) is the cross-correlation function, which is a function of the variable signal delay τ, indicating the similarity of the two signals under different signal delays τ; E is the average value or expected value, indicating the similarity of the two signals under different time delays; x1(m) is the sample value of the first signal at time point m; x2(m+τ) is the sample value of the second signal at time point m+τ; τ is the signal delay, that is, the time displacement of the second signal relative to the first signal; m is the time index, indicating the current time point; the signal delay between the actual acquisition time and the theoretical acquisition time can be calculated based on the cross-correlation function. Among them, the control performance refers to the effectiveness and efficiency of the control system when performing its functions, including tracking accuracy, stability, response speed, overshoot and oscillation, energy consumption and efficiency, robustness, and may also include other performance parameters, which can be set and adjusted according to actual conditions and are not specifically limited here.
[0070] On the basis of the above embodiment, further, the acquiring of the delay compensation control parameter based on the real-time system state parameter information and the state space model includes:
[0071] According to the real-time system state parameter information, based on the state space model, the output response performance state of the control system at the next moment is obtained;
[0072] According to the output response performance state of the control system at the next moment, with the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, the cost function of the state space model is minimized to obtain the predicted delay compensation control parameter.
[0073] Specifically, the output response and performance of the system in a future period of time are predicted through the state space model and the monitored real-time system state parameter information, and then the predicted current signal corresponding to the output predicted delay compensation parameter is taken as the target to minimize the cost function of the state space model and obtain the predicted delay compensation control parameter. Among them, the real-time system state parameter information includes current and voltage levels, power factor and phase angle, frequency and harmonic content, load type and change, and may also include other state parameters, which can be set and adjusted according to actual conditions, and are not specifically limited here. The output response performance state can be characterized by parameters such as stability, steady-state error, power factor, and voltage stability; the predicted delay compensation control parameter includes a control sequence that characterizes the switch state combination of the control input.
[0074] On the basis of the above embodiment, further, the cost function of the state space model is:
[0075]
[0076] Among them, J is the cost function; E k is the prediction error at time step k, which is equal to the difference between the expected value and the actual value at time step k; U k is the control input at time step k; Q is the weight matrix of the prediction error; R is the weight matrix of the control input; P f is the terminal penalty matrix;
[0077] Accordingly, according to the output response performance state of the control system at the next moment, taking the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, minimizing the cost function of the state space model, and obtaining the predicted delay compensation control parameter includes:
[0078] Minimize the cost function to obtain the target control sequence U k , U k+1 …U k+N As the predicted delay compensation control parameter.
[0079] Specifically, the cost function J is used to characterize the control performance of the control system, the prediction error weight matrix Q and the control input weight matrix R are used to balance the control performance, and the terminal penalty matrix P f It is used to ensure that a stable state close to the expected value can be achieved within a limited time step. According to the output response performance state of the control system at the next moment, with the predicted current signal corresponding to the output prediction delay compensation parameter as the goal, the cost function of the above state space model is minimized, and the optimal control sequence U can be found. k , U k+1 …U k+N , which is the target control sequence, so that the output is as close to the desired reference trajectory as possible, that is, the predicted current signal is output as much as possible, while taking into account the dynamic characteristics and various constraints.
[0080] On the basis of the above embodiment, further, the controlling the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter includes:
[0081] According to the target control sequence U k , U k+1 …U k+N The current injection device is controlled by a PID controller to inject a reverse current into the line, and the magnitude and phase of the reverse injection current are controlled so that the line outputs a predicted current signal at the next moment.
[0082] Specifically, according to the target control sequence U k , U k+1…U k+N The current injection device is controlled by a PID controller to inject a reverse current into the line to achieve precise control of the injected current. The current injection device includes a variable gain amplifier and a phase adjuster, which are used to electrically connect and receive control instructions from the control system to control the magnitude and phase of the reverse injection current, and the output end of the current injection device is connected to the line to inject the adjusted current into the line so that the line outputs a predicted current signal at the next moment. It can be understood that the predicted current signal is the expected current signal of the line at the next moment, but due to some interference factors, the current signal actually output at the next moment is different from the predicted current signal, so further difference evaluation and feedback adjustment are required.
[0083] On the basis of the above embodiment, further, the method further includes:
[0084] The actual current signal of the line at the next moment is obtained, and the predicted delay compensation parameter is adjusted by feedback according to the difference between the actual current signal and the predicted current signal.
[0085] Specifically, a feedback and correction module is connected between the line current superposition effect monitoring point and the control system, and a differential amplifier is connected to the line current superposition effect monitoring point to receive the measured current signal from the line at the next moment, and the measured current signal is compared with the predicted current signal to generate an error signal representing the difference between the two; then the error signal is processed by the signal processing circuit (including filtering, amplification and adjustment) to ensure that the error signal can be accurately read and analyzed by the control system, and the operator can make feedback adjustments to the predicted delay compensation parameters according to the error signal. In addition, the preset processing parameters used in the preprocessing of the real-time current signal can also be adjusted to optimize the superposition effect. The stability of the system under different operating conditions is ensured through real-time monitoring and dynamic adjustment, and stable operation can be maintained even in the case of current fluctuations or external interference; through effective signal processing and feedback correction mechanisms, the impact of noise and electromagnetic interference on system performance can be reduced, thereby improving the system's anti-interference ability.
[0086] Combination of the above Figure 1 The reverse injection current signal delay suppression method provided in the embodiment of the present application is introduced in detail. The reverse injection current signal delay suppression device, electronic device and computer-readable storage medium provided in the embodiment of the present application will be introduced in conjunction with the accompanying drawings.
[0087] like Figure 2 As shown, this figure is a schematic diagram of the reverse injection current signal delay suppression device provided by the present application, and the system includes:
[0088] The acquisition module 201 is used to acquire the real-time current signal in the line at the current moment and the real-time system state parameter information of the control system of the line at the current moment;
[0089] An acquisition module 202 is used to acquire the actual acquisition time and theoretical acquisition time of the real-time current signal, and calculate the signal delay according to the actual acquisition time and theoretical acquisition time;
[0090] A prediction module 203 is used to obtain a predicted current signal of the line at the next moment according to the real-time current signal and a preset current signal prediction model; wherein the preset current signal prediction model is obtained by model training based on historical current signal samples and corresponding historical next moment current signal samples;
[0091] A processing module 204, configured to obtain a predicted delay compensation parameter according to the signal delay, the real-time current signal, and the predicted current signal;
[0092] The control module 205 is used to obtain the delay compensation control parameter based on the real-time system state parameter information, the predicted delay compensation parameter and the state space model, and control the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter.
[0093] The reverse injection current signal delay suppression device provided in the embodiment of the present application can correspond to executing the reverse injection current signal delay suppression method described in the embodiment of the present application, and the above functions of each module of the system correspond to realizing Figure 1 For the sake of brevity, the corresponding process of the method shown will not be repeated here.
[0094] An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for suppressing the delay of a reverse injection current signal as described in the above embodiment is implemented.
[0095] like Figure 3 As shown, the computer system 300 of the electronic device includes a CPU 301, which can perform various appropriate actions and processes according to the program stored in the ROM 302 or the program loaded from the storage part 308 to the RAM 303. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302 and the RAM 403 are connected to each other through the bus 304. The I / O interface 305 is also connected to the bus 304. Among them, CPU 301 represents a central processing unit, ROM 302 represents a read-only memory, RAM 403 represents a random access memory, and I / O represents input / output.
[0096] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube, a liquid crystal display, etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed, so that a computer program read therefrom is installed into the storage section 308 as needed.
[0097] In particular, the process of the reverse injection current signal delay suppression method described in the above embodiment can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the reverse injection current signal delay suppression method described in the above embodiment. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 309, and / or installed from the removable medium 311. When the computer program is executed by the CPU 301, the above-mentioned functions defined in the present computer system 300 are executed.
[0098] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for suppressing the delay of a reverse injection current signal as described in the above embodiment is implemented.
[0099] Specifically, the computer-readable storage medium may be included in the electronic device described in the above embodiment; or it may exist independently without being assembled into the electronic device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the reverse injection current signal delay suppression method as described in the above embodiment.
[0100] It should be noted that the computer-readable storage medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above.
[0101] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.
Claims
1. A method for suppressing the delay of a reverse injection current signal, characterized in that: include: Collecting the current real-time current signal in the line and the current real-time system status parameter information of the control system of the line; Acquire the actual acquisition time and theoretical acquisition time of the real-time current signal, and calculate the signal delay according to the actual acquisition time and theoretical acquisition time; According to the real-time current signal and the preset current signal prediction model, the predicted current signal of the line at the next moment is obtained; wherein the preset current signal prediction model is obtained by model training based on historical current signal samples and corresponding historical next moment current signal samples; Acquire a predicted delay compensation parameter according to the signal delay, the real-time current signal, and the predicted current signal; Delay compensation control parameters are acquired based on the real-time system state parameter information, the predicted delay compensation parameters and the state space model, and the magnitude and phase of the reverse injection current are controlled according to the predicted delay compensation control parameters.
2. The method according to claim 1, characterized in that: The method further comprises: Collect multiple groups of one-to-one corresponding historical measured values of current signals and measured values of current signals at the next moment as historical current signal samples and corresponding historical current signal samples at the next moment respectively; The historical current signal samples are used as model input, the corresponding historical current signal samples at the next moment are used as model output, and the autoregressive moving average model is used as the initial prediction model for model training to obtain the preset current signal prediction model.
3. The method according to claim 1, characterized in that The obtaining of the actual acquisition time and the theoretical acquisition time of the real-time current signal, and calculating the signal delay according to the actual acquisition time and the theoretical acquisition time, comprises: Recording the actual acquisition time of the real-time current signal by a high-precision time synchronization device; Determine a theoretical sampling frequency based on the Nyquist sampling theorem, and calculate a theoretical acquisition time of the real-time current signal according to the theoretical sampling frequency; The signal delay between the actual acquisition time and the theoretical acquisition time is calculated based on the cross-correlation function.
4. The method according to claim 3, characterized in that: The acquiring of the delay compensation control parameter based on the real-time system state parameter information and the state space model includes: According to the real-time system state parameter information, based on the state space model, the output response performance state of the control system at the next moment is obtained; According to the output response performance state of the control system at the next moment, with the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, the cost function of the state space model is minimized to obtain the predicted delay compensation control parameter.
5. The method according to claim 4, characterized in that The cost function of the state-space model is: Among them, J is the cost function; E k is the prediction error at time step k, which is equal to the difference between the expected value and the actual value at time step k; U k is the control input at time step k; Q is the weight matrix of the prediction error; R is the weight matrix of the control input; P f is the terminal penalty matrix; Accordingly, according to the output response performance state of the control system at the next moment, taking the predicted current signal corresponding to the output predicted delay compensation parameter as the goal, minimizing the cost function of the state space model, and obtaining the predicted delay compensation control parameter includes: Minimize the cost function to obtain the target control sequence U k , U k+1 …U k+N As the predicted delay compensation control parameter.
6. The method according to claim 5, characterized in that The controlling the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter comprises: According to the target control sequence U k , U k+1 …U k+N The current injection device is controlled by a PID controller to inject a reverse current into the line, and the magnitude and phase of the reverse injection current are controlled so that the line outputs a predicted current signal at the next moment.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: The actual current signal of the line at the next moment is obtained, and the predicted delay compensation parameter is adjusted by feedback according to the difference between the actual current signal and the predicted current signal.
8. A device for suppressing delay of a reverse injection current signal, characterized in that: include: An acquisition module, used for acquiring the real-time current signal in the line at the current moment and the real-time system status parameter information of the control system of the line at the current moment; An acquisition module, used to acquire the actual acquisition time and theoretical acquisition time of the real-time current signal, and calculate the signal delay according to the actual acquisition time and theoretical acquisition time; A prediction module, used to obtain the predicted current signal of the line at the next moment according to the real-time current signal and a preset current signal prediction model; wherein the preset current signal prediction model is obtained by model training based on historical current signal samples and corresponding historical next moment current signal samples; A processing module, used for obtaining a predicted delay compensation parameter according to the signal delay, the real-time current signal and the predicted current signal; The control module is used to obtain the delay compensation control parameter based on the real-time system state parameter information, the predicted delay compensation parameter and the state space model, and control the magnitude and phase of the reverse injection current according to the predicted delay compensation control parameter.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.