Signal separation method and system for hybrid energy storage frequency modulation control system
By constructing a sinusoidal function model and iteratively obtaining the upper limit of the multiple of the reference frequency, the problem of high and low frequency aliasing in the hybrid energy storage frequency modulation control system is solved, and the control accuracy and system stability are improved.
Patent Information
- Application Number
- CN202510862144.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-25
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2045-06-25
Smart Images

Figure CN120372232A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power grid frequency modulation, and particularly relates to a signal separation method and system for a hybrid energy storage frequency modulation control system. Background Art
[0002] Energy storage frequency modulation command prediction refers to predicting the change of frequency modulation commands when using an energy storage system to perform frequency regulation (frequency modulation) tasks in a power system, so as to optimize the scheduling and response of the energy storage system. Frequency regulation in a power system is very important. Especially with the increasing proportion of renewable energy (such as wind energy and solar energy), the instability of frequency increases, and the energy storage system plays an increasingly important role in this context.
[0003] The frequency modulation command refers to a signal sent by a power system dispatching center or automation equipment, telling the energy storage system how to adjust the charge and discharge power to maintain the stability of the power grid frequency. The energy storage system needs to quickly respond to emergencies and faults according to these frequency modulation commands to ensure frequency stability.
[0004] Traditional thermal power units need the assistance of a hybrid energy storage (ultracapacitor and lithium battery) system to meet certain requirements; therefore, when there is a difference between the output of the thermal power unit and the frequency modulation command, due to the slow response speed of the thermal power unit, at this time, the hybrid energy storage system needs to be used to assist the thermal power unit to keep the system stable. Since the hybrid energy storage contains both ultracapacitors and lithium batteries, when using the frequency modulation command to control the hybrid energy storage, the original signal corresponding to the frequency modulation command needs to be decomposed by the VMD (Variational Mode Decomposition) decomposition algorithm to obtain multiple component signals, and then the ultracapacitor and lithium battery are respectively controlled and adjusted by distinguishing the high and low frequencies of the component signals. However, when distinguishing the high and low frequencies of the component signals, there is a problem of frequency aliasing of the component signals in the middle of the high and low frequencies, resulting in poor separation of the high and low frequencies, a decrease in the accuracy of the hybrid energy storage frequency modulation control, and an impact on the steady state of the system. Summary of the Invention
[0005] The present invention provides a signal separation method and system for a hybrid energy storage frequency modulation control system, which is used to solve the problem of high and low frequency aliasing in the frequency modulation command signal.
[0006] The object of the present invention can be achieved by the following technical solutions: The first aspect of the present invention is to provide a signal separation method for a hybrid energy storage frequency modulation control system, including: Obtain a frequency modulation command signal; Divide the frequency modulation command signal to obtain a frequency modulation command sequence; construct a sine function model, and obtain the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence; obtain a reference frequency range, randomly select several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtain a sequence composed of sorted integer data, denoted as the sequence of order; substitute the initial amplitude and initial phase of the sine function model into the sine function model, and then obtain the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequence of order. Construct a frequency modulation command signal fitting function based on the reference frequency; obtain the multiple upper limit of the reference frequency, substitute each multiple upper limit of the reference frequency into the frequency modulation command signal fitting function to obtain a set of output function values, and obtain the error percentage corresponding to each multiple upper limit of the reference frequency through the difference between the set of output function values and the data in the frequency modulation command sequence. According to the error percentage corresponding to each multiple upper limit of the reference frequency, continuously traverse and iterate the multiple upper limit of the reference frequency to obtain the optimal multiple upper limit of the reference frequency; perform signal separation through the optimal multiple upper limit of the reference frequency.
[0007] Further, the dividing the frequency modulation command signal to obtain a frequency modulation command sequence; constructing a sine function model, and obtaining the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence includes: At a preset time interval divide the frequency modulation command signal to obtain several corresponding data after the division of the frequency modulation command signal, and form a sequence of the several data in time order, denoted as the frequency modulation command sequence; The sine function model is specifically expressed as:
[0008] The initial amplitude and the initial phase of the sine function model are specifically expressed by the formula as:
[0009]
[0010] In the formula, represents the minimum value of all the data in the frequency modulation command sequence, represents the mean value of all the data in the frequency modulation command sequence, represents the hyperbolic tangent function, represents function, which is used for data normalization; is the initial amplitude of the sine function model, is the initial phase of the sine function model, represents the initial frequency of the sine function model, represents the input value of the sine function model, represents the output value of the sine function model.
[0011] Further, obtaining a reference frequency range, randomly selecting several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtaining a sequence composed of sorted integer data, denoted as the sequential sequence; substituting the initial amplitude and initial phase of the sine function model into the sine function model, and then obtaining the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequential sequence, including: Presetting a reference frequency range , where and are both preset values; Randomly selecting a preset first parameter number of data from the reference frequency range , and arranging the selected number of data in ascending order to form a sequence, denoted as the reference frequency sequence; Obtaining a sequence composed of sorted integer data , denoted as the sequential sequence; where represents the number of all data in the frequency modulation command sequence; Substituting the first frequency in the reference frequency sequence into to obtain ; then taking each number in the sequential sequence as and substituting it into in turn to obtain , which is denoted as the first function value sequence; where represents the sine function, represents the result value obtained by substituting into , represents the result value obtained by substituting into , represents the result value obtained by substituting into
[0012] In the formula, represents the th data in the first function value sequence, represents the A data, Indicates the number of all data in the frequency modulation command sequence, Indicates the absolute value symbol, Indicates the error factor corresponding to the first frequency; According to the first frequency in the reference frequency sequence For the specific acquisition process of the corresponding error factor, obtain the error factor corresponding to each frequency in the reference frequency sequence; The frequency with the smallest error factor corresponding to all frequencies in the reference frequency sequence is recorded as the reference frequency.
[0013] Furthermore, constructing a frequency modulation command signal fitting function based on the reference frequency includes:
[0014] In the formula, Indicates The amplitude corresponding to times the reference frequency, Indicates The phase corresponding to times the reference frequency, Indicates Times the reference frequency, Indicates the upper limit of the multiple of the reference frequency, Indicates the reference frequency, Indicates that the upper limit of the multiple of the reference frequency is When, at The function values output corresponding to the number of moments.
[0015] Furthermore, to obtain the upper limit of the multiple of the reference frequency, by substituting the upper limit of the multiple of each reference frequency into the frequency modulation command signal fitting function, a set of output function values is obtained, and through the difference between the set of output function values and the data in the frequency modulation command sequence, the error percentage corresponding to the upper limit of the multiple of each reference frequency is obtained, including: When :
[0016] In the formula, Indicates the hyperbolic tangent function, Indicates the reference frequency, Indicates the error factor corresponding to the th frequency in the reference frequency sequence; Indicates the preset first parameter, which is the number of all data in the reference frequency sequence; Indicates the minimum value of the error factors corresponding to all frequencies in the reference frequency sequence, Indicates the exponential function with the natural constant as the base, Indicates the maximum value of all data in the frequency modulation command sequence, represents the minimum value of the reciprocals of all the data in the frequency modulation command sequence; represents the th data in the frequency modulation command sequence, represents the sequence numbers of all the data in the frequency modulation command sequence, represents the factorial of, represents the sequence numbers of all the data in the reference frequency sequence, represents the factorial of, represents the number of all the data in the frequency modulation command sequence; represents the amplitude corresponding to the reference frequency, represents the phase corresponding to the reference frequency; When :
[0017] In the formula, represents the activation function, represents times the amplitude corresponding to the reference frequency, represents times the phase corresponding to the reference frequency, represents the factorial of, represents factorial, represents the factorial of, represents the absolute value symbol, represents times the amplitude corresponding to the reference frequency, represents times the phase corresponding to the reference frequency, represents the upper limit of the multiple of the reference frequency; According to the frequency modulation command signal fitting function, the function values at several moments corresponding to the upper limit of the multiple of each reference frequency are obtained;
[0018] In the formula, represents the th data in the frequency modulation command sequence, represents that when the upper limit of the multiple of the reference frequency is at the th moment, the corresponding output function value, represents the number of all the data in the frequency modulation command sequence, represents the absolute value symbol, represents that when the upper limit of the multiple of the reference frequency is the corresponding percentage error.
[0019] Further, obtaining the optimal multiple limit of the reference frequency according to the error percentage corresponding to the multiple limit of each reference frequency by continuously traversing and iterating the multiple limit of the reference frequency includes: Taking the multiple limit of the reference frequency at the preset initial iteration as , where is a preset value; Obtaining the error percentage corresponding to the multiple limit of the reference frequency being , and denoting it as the first error percentage. When the first error percentage is less than or equal to the preset threshold , the iteration stops, and is taken as the optimal multiple limit of the reference frequency; when the first error percentage is greater than the preset threshold , it is then continued to determine whether is the optimal multiple limit of the reference frequency; Obtaining the error percentage corresponding to the multiple limit of the reference frequency being , and denoting it as the second error percentage. When the second error percentage is less than or equal to the preset threshold , the iteration stops, and is taken as the optimal multiple limit of the reference frequency; when the second error percentage is greater than the preset threshold , it is then continued to determine whether is the optimal multiple limit of the reference frequency; Obtaining the error percentage corresponding to the multiple limit of the reference frequency being , and denoting it as the third error percentage. When the third error percentage is less than or equal to the preset threshold , the iteration stops, and is taken as the optimal multiple limit of the reference frequency; when the third error percentage is greater than the preset threshold , it is then continued to determine whether is the optimal multiple limit of the reference frequency; And so on, until an optimal multiple limit of the reference frequency is obtained.
[0020] Further, performing signal separation by the optimal multiple limit of the reference frequency includes: Denoting the optimal multiple limit of the reference frequency obtained by traversing and iterating as ; Determining all component frequency ranges as through the determined optimal multiple limit of the reference frequency; Assigning the component signals corresponding to the first frequencies in the component frequency range to the battery to bear; where represents Perform rounding; then allocate the component signals corresponding to the remaining frequencies to the supercapacitor to bear; wherein, is a preset segmentation coefficient.
[0021] The second aspect of the present invention is to provide a signal separation system for a hybrid energy storage frequency modulation control system, including: A data acquisition module: used to obtain a frequency modulation command signal; A reference frequency acquisition module: used to divide the frequency modulation command signal to obtain a frequency modulation command sequence; construct a sine function model, and obtain the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence; obtain a reference frequency range, randomly select several data from the reference frequency range to form a sequence, denoted as a reference frequency sequence; obtain a sequence composed of sorted integer data, denoted as a sequential sequence; substitute the initial amplitude and initial phase of the sine function model into the sine function model, and then obtain the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequential sequence; An error analysis module: used to construct a frequency modulation command signal fitting function based on the reference frequency through the reference frequency; obtain the multiple upper limit of the reference frequency, substitute each multiple upper limit of the reference frequency into the frequency modulation command signal fitting function to obtain a set of output function values, and obtain the error percentage corresponding to each multiple upper limit of the reference frequency through the difference between the set of output function values and the data in the frequency modulation command sequence; A signal separation module: used to obtain the optimal multiple upper limit of the reference frequency by continuously traversing and iterating the multiple upper limits of the reference frequency according to the error percentage corresponding to each multiple upper limit of the reference frequency; perform signal separation through the optimal multiple upper limit of the reference frequency.
[0022] The third aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the signal separation method for a hybrid energy storage frequency modulation control system.
[0023] The fourth aspect of the present invention is to provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements the signal separation method for a hybrid energy storage frequency modulation control system.
[0024] Compared with the prior art, the beneficial effects of the present invention are as follows: the initial amplitude and initial phase of the sine function model are obtained through the data distribution in the frequency modulation instruction sequence; the initial amplitude and initial phase of the sine function model are substituted into the sine function model, and then by traversing and iterating all the data in the reference frequency sequence and the sequence sequence, the reference frequency is obtained, improving the accuracy of obtaining the reference frequency; a frequency modulation instruction signal fitting function based on the reference frequency is constructed through the reference frequency; the multiple upper limit of the reference frequency is obtained, and by substituting each multiple upper limit of the reference frequency into the frequency modulation instruction signal fitting function, a set of output function values are obtained. Through the difference between the set of output function values and the data in the frequency modulation instruction sequence, the error percentage corresponding to each multiple upper limit of the reference frequency is obtained, and the accuracy of analyzing all the multiple upper limits of the reference frequency is improved through the difference analysis; according to the error percentage corresponding to each multiple upper limit of the reference frequency, by continuously traversing and iterating the multiple upper limit of the reference frequency, the optimal multiple upper limit of the reference frequency is obtained, improving the accuracy of obtaining the optimal multiple upper limit of the reference frequency; signal separation is performed through the optimal multiple upper limit of the reference frequency, solving the problem of high and low frequency aliasing in the frequency modulation instruction signal, improving the accuracy of the hybrid energy storage frequency modulation control, and also improving the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0026] Figure 1 It is a schematic flow chart of a signal separation method for a hybrid energy storage frequency modulation control system provided by the present invention; Figure 2 It is a schematic flow chart of a signal separation system for a hybrid energy storage frequency modulation control system provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the description, claims and the above drawings of the present invention are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0029] In view of the problems existing in the background technology, a signal separation method and system for a hybrid energy storage frequency modulation control system are designed through research, which has important practical significance.
[0030] As Figure 1 shown, the first aspect of the present invention is to provide a signal separation method for a hybrid energy storage frequency modulation control system, including the following steps: Step S001: Collect frequency modulation command signals.
[0031] It should be noted that when there is a deviation in the power supply and demand balance (such as load changes, power generation fluctuations, etc.). The dispatching center or automation system of the power system generates frequency modulation commands according to the frequency fluctuations, load demands and power generation conditions of the system, and maintains frequency stability through the frequency modulation commands, which can respond to emergencies and reduce the possibility of failures.
[0032] Specifically, obtain the frequency modulation command signals of the power system dispatching center within a preset duration hours before the current moment. Among them, in this embodiment, the preset duration , and in this embodiment, the preset duration is not specifically limited, and the implementer can determine it according to the specific situation.
[0033] Thus, the frequency modulation command signal is obtained.
[0034] Step S002: Divide the frequency modulation command signal to obtain a frequency modulation command sequence; construct a sine function model, and obtain the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence; obtain a reference frequency range, randomly select several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtain a sequence composed of sorted integer data, denoted as the sequence sequence; substitute the initial amplitude and initial phase of the sine function model into the sine function model, and then obtain the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequence sequence.
[0035] It should be noted that traditional thermal power units require a hybrid energy storage (supercapacitor and lithium battery) system to assist in meeting certain requirements. Therefore, when there is a difference between the output of the thermal power unit and the frequency regulation command, due to the slow response speed of the thermal power unit, the hybrid energy storage system is required to assist the thermal power unit to keep the system stable at this time. Since the hybrid energy storage contains both supercapacitors and lithium batteries, when using the frequency regulation command to control the hybrid energy storage, the original signal corresponding to the frequency regulation command needs to be decomposed by the VMD (Variational Mode Decomposition) decomposition algorithm to obtain multiple component signals, and then the supercapacitor and lithium battery are respectively controlled and adjusted by distinguishing the high and low frequencies of the component signals. The supercapacitor is controlled and adjusted by the high-frequency component signal, and the lithium battery is controlled and adjusted by the low-frequency component signal.
[0036] Furthermore, it should be noted that since the distribution of data in the frequency regulation command signal can reflect the change characteristics of the signal data, and the change characteristics of the signal data contain some frequency characteristics, in order to analyze the data distribution, the frequency regulation command signal is divided into data points to analyze the data distribution characteristics.
[0037] Specifically, at a preset time interval the frequency regulation command signal is divided to obtain several corresponding data after the division of the frequency regulation command signal. According to the time sequence, these several data are formed into a sequence, denoted as the frequency regulation command sequence. Among them, in this embodiment, the preset time interval seconds, where the preset time interval is not specifically limited, and the implementer can determine it according to the specific situation.
[0038] Thus, the frequency regulation command sequence is obtained.
[0039] It should be noted that since the component signal after decomposing the frequency regulation command signal is approximated to the sine and cosine functions, a function can be constructed to analyze the component signal, so as to solve the problem of separating the high and low frequency signals of the component signal.
[0040] Specifically, a sine function model is preset, which is specifically expressed as: . Among them, in this embodiment, all represent the moments in the time sequence.
[0041] A and B in the sine function model are determined according to the distribution of all data in the frequency regulation command sequence. The determination process of A and B is specifically expressed by the formula:
[0042]
[0043] In the formula, represents the minimum value of all data in the frequency modulation command sequence, represents the mean value of all data in the frequency modulation command sequence, represents the hyperbolic tangent function, represents function, used for data normalization; is the amplitude of the sine function model, is the phase of the sine function model, represents the frequency of the sine function model, represents the input value of the sine function model, represents the output value of the sine function model.
[0044] It should be noted that since the component signals after the decomposition of the frequency modulation command signal are all close to the sine function, and the component signals generally increase in multiples of a reference frequency, a frequency adjustment range can be determined first. Through the frequency adjustment range and the sine function model, iterate and traverse in turn to obtain the corresponding reference frequency, and then determine other signals through the reference frequency.
[0045] Specifically, a reference frequency range is preset, where, in this embodiment , ; where in this embodiment, and are not specifically limited, and the implementer can determine according to the specific situation.
[0046] Randomly select a preset first parameter numbers from the reference frequency range . Arrange the selected numbers in ascending order to form a sequence, denoted as the reference frequency sequence. Among them, in this embodiment, the preset first parameter , where in this embodiment, the preset first parameter is not specifically limited, and the implementer can determine according to the specific situation. Obtain a set of data sequences , denoted as the sequential sequence; where, represents the number of all data in the frequency modulation command sequence.
[0047] The specific process of obtaining the error factor of the first frequency in the reference frequency sequence is as follows: Substitute the first frequency in the reference frequency sequence into to obtain ; then use each number in the sequential sequence as Substitute them into in turn to obtain , and denote it as the first function value sequence; where represents the sine function, means substituting into to obtain the resulting value, means substituting into to obtain the resulting value, means substituting into to obtain the resulting value. According to the difference between the data in the first function value sequence and the frequency modulation command sequence, obtain the error factor corresponding to the first frequency; the error factor corresponding to the first frequency is specifically expressed by the formula:
[0048] In the formula, represents the th data in the first function value sequence, represents the th data in the frequency modulation command sequence, represents the number of all data in the frequency modulation command sequence, represents the absolute value symbol, represents the error factor corresponding to the first frequency.
[0049] According to the specific acquisition process of the error factor of the first frequency in the reference frequency sequence, obtain the error factor of each frequency in the reference frequency sequence.
[0050] It should be noted that the smaller the error factor of each frequency in the reference frequency sequence, the closer the curve fitted at that frequency is to the curve of the frequency modulation command signal. Therefore, the smaller the error factor, the more suitable each frequency is as the reference frequency.
[0051] Specifically, denote the frequency with the smallest error factor among the error factors of each frequency in the reference frequency sequence as the reference frequency.
[0052] Thus, the reference frequency is obtained.
[0053] Step S003: Construct a frequency modulation command signal fitting function based on the reference frequency; obtain the multiple upper limit of the reference frequency, substitute the multiple upper limit of each reference frequency into the frequency modulation command signal fitting function, obtain a set of output function values, and obtain the error percentage corresponding to the multiple upper limit of each reference frequency according to the difference between the set of output function values and the data in the frequency modulation command sequence.
[0054] It should be noted that in the component signal, generally there is a reference frequency and other frequencies, where the reference frequency is an integer multiple of the other frequencies. Therefore, subsequent analysis can be carried out by adjusting the integer multiples of the reference frequency.
[0055] Specifically, a frequency modulation command signal fitting function is constructed, which is specifically expressed by the formula:
[0056] In the formula, represents the amplitude corresponding to times the reference frequency, represents times the phase corresponding to the reference frequency, represents times the reference frequency, represents the reference frequency, represents that when the upper limit of the multiple of the reference frequency is at the function values output corresponding to the moments.
[0057] Among them, and The acquisition process is specifically expressed by the formula: When ;
[0058] In the formula, represents the hyperbolic tangent function, represents the reference frequency, represents the error factor of the th frequency in the reference frequency sequence; represents the preset first parameter, which is the number of all data in the reference frequency sequence; represents the minimum value of the error factors of all frequencies in the reference frequency sequence, represents the exponential function with the natural constant as the base, represents the maximum value of all data in the frequency modulation command sequence, represents the minimum value of the reciprocals of all data in the frequency modulation command sequence; represents the th data in the frequency modulation command sequence, represents factorial, represents factorial, represents the number of all data in the frequency modulation command sequence; represents the amplitude corresponding to the reference frequency, represents the phase corresponding to the reference frequency.
[0059] When ;
[0060] wherein, represents the activation function, represents the amplitude corresponding to times the reference frequency, represents the phase corresponding to times the reference frequency, represents the factorial of represents the factorial of represents the absolute value symbol, represents the amplitude corresponding to times the reference frequency, represents the upper limit of the multiple of the reference frequency.
[0061] By adjusting the upper limit of the multiple of the reference frequency to traverse in sequence, the function values at several moments corresponding to each upper limit of the multiple of the reference frequency are obtained; through the difference between the function values at several moments corresponding to each upper limit of the multiple of the reference frequency and the data in the frequency modulation command sequence, the error percentage corresponding to each upper limit of the multiple of the reference frequency is obtained; the error percentage corresponding to each upper limit of the multiple of the reference frequency is specifically expressed by the formula:
[0062] wherein, represents the th data in the frequency modulation command sequence, represents that when the upper limit of the multiple of the reference frequency is the function value output corresponding to several moments, represents the number of all data in the frequency modulation command sequence, represents the absolute value symbol, represents the error percentage corresponding to when the upper limit of the multiple of the reference frequency is
[0063] Thus, the error percentage corresponding to each upper limit of the multiple of the reference frequency is obtained.
[0064] Step S004: According to the error percentage corresponding to each upper limit of the multiple of the reference frequency, by continuously traversing and iterating the upper limit of the multiple of the reference frequency, the optimal upper limit of the multiple of the reference frequency is obtained; signal separation is performed by the optimal upper limit of the multiple of the reference frequency.
[0065] It should be noted that the smaller the difference between the function value output by the sine function model and the data in the frequency modulation command sequence, the more optimal the various parameters under the corresponding sine function model should be. Therefore, the optimal parameters are obtained by iterative traversal.
[0066] Specifically, the upper limit of the multiple of the reference frequency at the initial iteration is preset as , where in this embodiment , where in this embodiment is not specifically limited, and the implementer can determine it according to the specific situation. The preset threshold , where, in this embodiment, the preset threshold , where in this embodiment the preset threshold is not specifically limited, and the implementer can determine it according to the specific situation.
[0067] First, obtain the error percentage corresponding to the upper limit of the multiple of the reference frequency being . Denote it as the first error percentage. When the first error percentage is less than or equal to the preset threshold , stop the iteration and take as the upper limit of the multiple of the optimal reference frequency; when the first error percentage is greater than the preset threshold , then continue to judge whether is the upper limit of the multiple of the optimal reference frequency; Obtain the error percentage corresponding to the upper limit of the multiple of the reference frequency being . Denote it as the second error percentage. When the second error percentage is less than or equal to the preset threshold , stop the iteration and take as the upper limit of the multiple of the optimal reference frequency; when the second error percentage is greater than the preset threshold , then continue to judge whether is the upper limit of the multiple of the optimal reference frequency; Obtain the error percentage corresponding to the upper limit of the multiple of the reference frequency being . Denote it as the third error percentage. When the third error percentage is less than or equal to the preset threshold , stop the iteration and take as the upper limit of the multiple of the optimal reference frequency; when the third error percentage is greater than the preset threshold , then continue to judge whether is the upper limit of the multiple of the optimal reference frequency; And so on until an upper limit of the multiple of the optimal reference frequency is obtained.
[0068] Denote the upper limit of the multiple of the optimal reference frequency obtained by traversing the iteration as .
[0069] It should be noted that each component signal after the decomposition of the frequency modulation command signal is close to a sine function. Therefore, by determining the upper limit of the multiple of the optimal reference frequency, all component frequency ranges are determined as .
[0070] Preset a segmentation coefficient , where, in this embodiment, the segmentation coefficient , where, in this embodiment, the segmentation coefficient is not specifically limited, and the implementer can determine it according to the specific situation.
[0071] Allocate the component signals corresponding to the first frequencies in the component frequency range to the battery; where, denotes rounding to the nearest integer; then allocate the component signals corresponding to the remaining frequencies to the supercapacitor.
[0072] Thus, the division of the battery and supercapacitor frequency signals is completed.
[0073] As Figure 2 shown, the second aspect of the present invention is to provide a signal separation system for a hybrid energy storage frequency modulation control system, including the following modules: Data acquisition module 101: used to obtain the frequency modulation command signal; Reference frequency acquisition module 102: used to divide the frequency modulation command signal to obtain a frequency modulation command sequence; construct a sine function model, and obtain the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence; obtain a reference frequency range, randomly select several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtain a sequence composed of sorted integer data, denoted as the sequential sequence; substitute the initial amplitude and initial phase of the sine function model into the sine function model, and then obtain the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequential sequence; Error analysis module 103: used to construct a frequency modulation command signal fitting function based on the reference frequency; obtain the upper limit of the multiple of the reference frequency, and obtain a set of output function values by substituting each upper limit of the multiple of the reference frequency into the frequency modulation command signal fitting function, and obtain the error percentage corresponding to each upper limit of the multiple of the reference frequency through the difference between the set of output function values and the data in the frequency modulation command sequence; Signal separation module 104: It is used to obtain the optimal multiple upper limit of the reference frequency by continuously traversing and iterating the multiple upper limit corresponding to the error percentage of each multiple upper limit of the reference frequency; and perform signal separation through the optimal multiple upper limit of the reference frequency.
[0074] The third aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements a signal separation method for a hybrid energy storage frequency modulation control system.
[0075] The fourth aspect of the present invention is to provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements a signal separation method for a hybrid energy storage frequency modulation control system.
[0076] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, optical storage, etc.) containing computer-usable program code.
[0077] The present invention is described with reference to the flowcharts and / or block diagrams of methods, systems, and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0078] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device implements the specified functions in Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.
[0079] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus, so that a series of operation steps are performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions for implementing the functions specified in one process or a plurality of processes and / or boxes Figure 1 in one or more processes and / or boxes Figure 1 in one or more boxes.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the specific implementation manners of the present invention can still be modified or equivalently replaced, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the protection scope of the present invention.
Claims
1. A signal separation method for a hybrid energy storage frequency modulation control system, characterized in that, Including: Obtain a frequency modulation command signal; Divide the frequency modulation command signal to obtain a frequency modulation command sequence; Construct a sine function model, and obtain the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence; obtain a reference frequency range, randomly select several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtain a sequence composed of sorted integer data, denoted as the sequence; substitute the initial amplitude and initial phase of the sine function model into the sine function model, and then obtain the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequence; Construct a frequency modulation command signal fitting function based on the reference frequency; Obtain the multiple upper limit of the reference frequency, substitute each multiple upper limit of the reference frequency into the frequency modulation command signal fitting function to obtain a set of output function values, and obtain the error percentage corresponding to each multiple upper limit of the reference frequency through the difference between the set of output function values and the data in the frequency modulation command sequence; According to the error percentage corresponding to each multiple upper limit of the reference frequency, obtain the optimal multiple upper limit of the reference frequency by continuously traversing and iterating the multiple upper limit of the reference frequency; Perform signal separation through the optimal multiple upper limit of the reference frequency.
2. The signal separation method for a hybrid energy storage frequency modulation control system according to claim 1, wherein The dividing the frequency modulation command signal to obtain a frequency modulation command sequence; constructing a sine function model, and obtaining the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation command sequence includes: at a preset time interval to divide the frequency modulation command signal, obtain a number of corresponding data after the division of the frequency modulation command signal, and form a group of sequences from the number of data in chronological order, denoted as the frequency modulation command sequence; The sine function model is specifically expressed as: Initial amplitude of the sine function model and the initial phase The determination process is specifically expressed by the formula as follows: Wherein, represents the minimum value of all data in the frequency modulation command sequence, represents the mean value of all data in the frequency modulation command sequence, represents the hyperbolic tangent function, represents function, which is used for data normalization; is the initial amplitude of the sine function model, is the initial phase of the sine function model, represents the initial frequency of the sine function model, represents the input value of the sine function model, represents the output value of the sine function model.
3. The signal separation method for a hybrid energy storage frequency modulation control system according to claim 2, wherein The obtaining a reference frequency range, randomly selecting several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtaining a sequence composed of sorted integer data, denoted as the sequence; substituting the initial amplitude and initial phase of the sine function model into the sine function model, and then obtaining the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequence includes: Preset a reference frequency range , where and are both preset values; From the reference frequency range Randomly select a preset first parameter number, and form a group of sequences in ascending order of the selected numbers, denoted as the reference frequency sequence; Obtain a sequence composed of sorted integer data , denoted as the sequential sequence; among them, represents the number of all data in the frequency modulation command sequence; Substitute the first frequency in the reference frequency sequence into to obtain ; then take each number in the sequence sequence as and substitute it into in turn to obtain , which is denoted as the first function value sequence; Among them, represents the sine function, means substituting into to obtain the resulting value, means substituting into to obtain the resulting value, means substituting into to obtain the resulting value; In the formula, represents the th data in the first function value sequence, represents the th data in the frequency modulation command sequence, represents the number of all data in the frequency modulation command sequence, represents the absolute value symbol, represents the error factor corresponding to the first frequency; According to the first frequency in the reference frequency sequence For the specific process of obtaining the corresponding error factor, obtain the error factor corresponding to each frequency in the reference frequency sequence; Denote the frequency with the smallest error factor corresponding to all frequencies in the reference frequency sequence as the reference frequency.
4. A signal separation method for a hybrid energy storage frequency modulation control system according to claim 3, characterized in that The constructing a frequency modulation command signal fitting function based on the reference frequency includes: In the formula, represents the amplitude corresponding to the multiple of the reference frequency, represents the phase corresponding to the multiple of the reference frequency, represents the multiple of the reference frequency, represents the upper limit of the multiple of the reference frequency, represents the reference frequency, represents that when the upper limit of the multiple of the reference frequency is at the function values corresponding to the output at each moment.
5. A signal separation method for a hybrid energy storage frequency modulation control system according to claim 4, characterized in that, The obtaining the multiple upper limit of the reference frequency, substituting each multiple upper limit of the reference frequency into the frequency modulation command signal fitting function to obtain a set of output function values, and obtaining the error percentage corresponding to each multiple upper limit of the reference frequency through the difference between the set of output function values and the data in the frequency modulation command sequence includes: When : In the formula, represents the hyperbolic tangent function, represents the reference frequency, represents the error factor corresponding to the -th frequency in the reference frequency sequence; represents a preset first parameter, which is the number of all data in the reference frequency sequence; represents the minimum value of the error factors corresponding to all frequencies in the reference frequency sequence, represents the exponential function with the natural constant as the base, represents the maximum value of all data in the frequency modulation command sequence, represents the minimum value of the reciprocals of all data in the frequency modulation command sequence; represents the -th data in the frequency modulation command sequence, represents the serial numbers of all data in the frequency modulation command sequence, represents factorial, represents the serial numbers of all data in the reference frequency sequence, represents factorial, represents the number of all data in the frequency modulation command sequence; represents the amplitude corresponding to the reference frequency, represents the phase corresponding to the reference frequency; When : In the formula, represents the activation function, represents the amplitude corresponding to times the reference frequency, represents the phase corresponding to times the reference frequency, represents the factorial of represents the factorial of represents the factorial of represents the absolute value symbol, represents the amplitude corresponding to times the reference frequency, represents the phase corresponding to times the reference frequency; represents the upper limit of the multiple of the reference frequency. Obtain the function values at several moments corresponding to each multiple upper limit of the reference frequency according to the frequency modulation command signal fitting function; In the formula, represents the th data in the frequency modulation command sequence, represents that when the upper limit of the multiple of the reference frequency is , the function value corresponding to the output at the th moment, represents the number of all data in the frequency modulation command sequence, represents the absolute value symbol, represents that when the upper limit of the multiple of the reference frequency is , the corresponding error percentage.
6. A signal separation method for a hybrid energy storage frequency modulation control system according to claim 5, characterized in that The obtaining the optimal multiple upper limit of the reference frequency according to the error percentage corresponding to each multiple upper limit of the reference frequency by continuously traversing and iterating the multiple upper limit of the reference frequency includes: The upper limit of the multiple of the reference frequency at the preset initial iteration is , where is a preset value; The upper limit of the multiple of the reference frequency is The corresponding percentage error is denoted as the first percentage error. When the first percentage error is less than or equal to the preset threshold then the iteration stops, and is used as the optimal upper limit of the multiple of the reference frequency; when the first percentage error is greater than the preset threshold then continue to judge whether is the optimal upper limit of the multiple of the reference frequency; The upper limit of the multiple of the reference frequency is The corresponding error percentage is recorded as the second error percentage. When the second error percentage is less than or equal to the preset threshold Stop the iteration and use as the optimal upper limit of the multiple of the reference frequency; when the second error percentage is greater than the preset threshold Continue to judge whether is the optimal upper limit of the multiple of the reference frequency; The upper limit of the multiple for obtaining the reference frequency is The corresponding percentage error is recorded as the third percentage error. When the third percentage error is less than or equal to the preset threshold Stop the iteration and use as the optimal upper limit of the multiple of the reference frequency; when the third percentage error is greater than the preset threshold Continue to judge whether is the optimal upper limit of the multiple of the reference frequency; And so on until an optimal multiple upper limit of the reference frequency is obtained.
7. A signal separation method for a hybrid energy storage frequency modulation control system according to claim 6, characterized in that The performing signal separation through the optimal multiple upper limit of the reference frequency includes: The upper limit of the optimal multiple of the reference frequency obtained by traversing and iterating is denoted as ; By determining the upper limit of the optimal multiple of the determined reference frequency, all component frequency ranges are determined to be ; Assign the component signals corresponding to the first in the component frequency range to the battery; where represents rounding to the nearest integer; then assign the component signals corresponding to the remaining frequencies to the supercapacitor Among them, is a preset segmentation coefficient.
8. A signal separation system for a hybrid energy storage frequency modulation control system, characterized in that, Including: Data acquisition module: used to obtain the frequency modulation command signal; Reference frequency acquisition module: used to divide the frequency modulation command signal to obtain a frequency modulation command sequence; Construct a sine function model, and obtain the initial amplitude and initial phase of the sine function model through the data distribution in the frequency modulation instruction sequence; obtain a reference frequency range, randomly select several data from the reference frequency range to form a sequence, denoted as the reference frequency sequence; obtain a sequence composed of sorted integer data, denoted as the sequential sequence; substitute the initial amplitude and initial phase of the sine function model into the sine function model, and then obtain the reference frequency by traversing and iterating all the data in the reference frequency sequence and the sequential sequence. Error analysis module: used to construct a frequency modulation instruction signal fitting function based on the reference frequency through the reference frequency. Obtain the multiple upper limit of the reference frequency, substitute each multiple upper limit of the reference frequency into the frequency modulation instruction signal fitting function to obtain a set of output function values, and obtain the error percentage corresponding to each multiple upper limit of the reference frequency through the difference between the set of output function values and the data in the frequency modulation instruction sequence. Signal separation module: used to obtain the optimal multiple upper limit of the reference frequency by continuously traversing and iterating the multiple upper limits of the reference frequency according to the error percentage corresponding to each multiple upper limit of the reference frequency. Perform signal separation through the optimal multiple upper limit of the reference frequency.
9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the signal separation method for a hybrid energy storage frequency modulation control system according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the signal separation method for a hybrid energy storage frequency modulation control system according to any one of claims 1-7.
Citation Information
Patent Citations
Method and system for obtaining reduced frequency sine function sequence of electric power signal
CN105548706A
Cooperative operation control method and system for multiple optical storage VSG systems
CN114094600A
Super-capacity energy storage frequency modulation instruction distribution method and device considering service life of unit
CN118659410A
Energy storage type SVG primary frequency modulation control method and system based on dynamic droop coefficient
CN119602313A
Super-capacity energy storage frequency modulation instruction prediction method, system, medium and equipment
CN119862398A