Harmonic improvement method, harmonic improvement device, AC power supply device, and storage medium

By obtaining the sample value of the AC signal within the preset period and using the model to identify and filter out the harmonics, the problem of harmonic identification and improvement in AC power supply is solved, and the quality of the output signal is improved.

CN120415086APending Publication Date: 2025-08-01SHENZHEN RSPOWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510518536.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The prior art is difficult to effectively identify and improve harmonics in AC signals, resulting in a degradation of the output quality of AC power supply.

Method used

By obtaining the sampling value of the AC signal at preset intervals within the preset period, determining the target harmonic combination using the first model, and filtering out the harmonic waveform parameters, complex harmonic identification and improvement are achieved.

Benefits of technology

The output quality of AC power supply is improved, the accuracy of harmonic recognition is improved through various methods, ensuring the filtering of target harmonic combinations, and improving signal quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120415086A_ABST
    Figure CN120415086A_ABST
Patent Text Reader

Abstract

The invention provides a harmonic improvement method, a harmonic improvement device, alternating current power supply equipment and a storage medium. Relates to the technical field of power electronics. The harmonic improvement method is used for filtering a target harmonic combination in an alternating current signal output by an alternating current power supply. The harmonic improvement method comprises the following steps: acquiring a plurality of sampling values of an alternating current signal at a first preset interval in a first preset time period; and determining a target harmonic combination in the AC signal according to the plurality of sampling values and a first model. And according to the waveform parameter of each harmonic wave in the target harmonic wave combination, filtering each harmonic wave in the target harmonic wave combination in the AC signal to obtain a target AC signal. According to the invention, complex harmonic identification and harmonic improvement can be carried out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power electronics technology, and in particular, to a harmonic improvement method, a harmonic improvement device, an AC power supply device, and a storage medium. Background Art

[0002] Currently, for AC power supplies, especially for industrial frequency AC power supplies with a frequency of 50 Hz, the AC signals output often include multiple harmonics of different frequencies, seriously affecting the output quality. Moreover, a relatively large number of harmonics in the AC signal also greatly increases the difficulty of harmonic identification and harmonic improvement. Therefore, in the impedance matching stage, how to perform complex harmonic identification and harmonic improvement on the AC signal to improve the output quality of the AC power supply has become an issue to be considered. Summary of the Invention

[0003] This application provides a harmonic improvement method, a harmonic improvement device, an AC power supply device, and a storage medium, which can perform complex harmonic identification and harmonic improvement on the AC signal and improve the output quality of the AC power supply.

[0004] In a first aspect, a harmonic improvement method is provided. The harmonic improvement method is used to filter out a target harmonic combination in an AC signal output by an AC power supply. Wherein, the harmonic improvement method includes: obtaining a plurality of sampling values of the AC signal at a first preset interval within a first preset period. Determining the target harmonic combination in the AC signal according to the plurality of sampling values and a first model. Filtering out each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain a target AC signal.

[0005] In a possible implementation manner, the determining the target harmonic combination in the AC signal according to the plurality of sampling values and the first model includes: inputting the plurality of sampling values into the first model, and outputting a corresponding harmonic combination through the first model. Determining the target harmonic combination in the AC signal according to the harmonic combination output by the first model.

[0006] In a possible implementation manner, the first model includes multiple sets of training data corresponding to multiple harmonic combinations. Each set of training data includes a plurality of test values obtained by obtaining a corresponding test signal at a first test interval within a first test period, where each test signal includes the corresponding harmonic combination and the target AC signal. Wherein, the duration of the first test period is greater than or equal to the duration of the first preset period, and the first test interval is less than or equal to the first preset interval.

[0007] In a possible implementation manner, determining a target harmonic combination in the AC signal according to the harmonic combination output by the first model includes: when the number of harmonic combinations output by the first model is one, determining the harmonic combination output by the first model as the target harmonic combination in the AC signal; when the number of harmonic combinations output by the first model is multiple, determining one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal.

[0008] In a possible implementation manner, when the number of harmonic combinations output by the first model is multiple, determining one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal includes: when the number of harmonic combinations output by the first model is multiple, obtaining a plurality of calibration values of the AC signal at a second preset interval within a second preset time period; inputting the plurality of sampling values and the plurality of calibration values into the first model, and outputting the corresponding harmonic combination through the first model again; when there is only one common harmonic combination between the harmonic combinations output by the first model for the non-first time and the harmonic combinations output for the first time, determining the common harmonic combination as the target harmonic combination in the AC signal.

[0009] In a possible implementation manner, the second preset interval is less than or equal to the first preset interval.

[0010] In a possible implementation manner, when the number of harmonic combinations output by the first model is multiple, determining one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal includes: when the number of harmonic combinations output by the first model is multiple, adding at least one test harmonic to the AC signal; obtaining a plurality of calibration values of the AC signal with the test harmonic added at a first preset interval within a first preset time period; inputting the plurality of sampling values and the plurality of calibration values into the first model, and outputting the corresponding harmonic combination through the first model again; when there is only one common harmonic combination between the harmonic combinations output by the first model for the non-first time except for at least one test harmonic and the harmonic combinations output for the first time, determining at least one test harmonic and the common harmonic combination as the target harmonic combination in the AC signal.

[0011] In a second aspect, a harmonic improvement device is further provided. The harmonic improvement device filters a target harmonic combination in an AC signal output by an AC power supply by using the above harmonic improvement method. Wherein, the harmonic improvement device includes an acquisition unit, an analysis unit, and a filtering unit. The acquisition unit is configured to acquire a plurality of sampling values of the AC signal at a first preset interval within a first preset period. The analysis unit is configured to determine the target harmonic combination in the AC signal according to the plurality of sampling values and a first model. The filtering unit is configured to filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameter of each harmonic in the target harmonic combination to obtain a target AC signal.

[0012] In a third aspect, an AC power supply device is further provided. The AC power supply device includes an AC power supply and a harmonic improvement device. The harmonic improvement device includes an acquisition unit, an analysis unit, and a filtering unit. The acquisition unit is configured to acquire a plurality of sampling values of the AC signal at a first preset interval within a first preset period. The analysis unit is configured to determine the target harmonic combination in the AC signal according to the plurality of sampling values and a first model. The filtering unit is configured to filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameter of each harmonic in the target harmonic combination to obtain a target AC signal.

[0013] In a fourth aspect, a computer-readable storage medium is further provided. A computer program is stored in the computer-readable storage medium. When the computer program runs on a computer or a processor, the above harmonic improvement method is implemented.

[0014] The harmonic improvement method, harmonic improvement device, AC power supply device, and storage medium of the present application acquire a plurality of sampling values of an AC signal at a first preset interval within a first preset period, thereby determining a target harmonic combination in the AC signal according to a series of sampling values and using a first model, realizing complex harmonic identification, and further being able to filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameter of each harmonic in the target harmonic combination to obtain a target AC signal, improving the output quality of the AC power supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the drawings required to be used in the embodiments of the present application or the background art will be described below.

[0016] Figure 1 It is a flowchart of a harmonic improvement method in an embodiment of the present application.

[0017] Figure 2 It is Figure 1 a sub-flowchart of step S200 in

[0018] Figure 3 is Figure 2 a sub - flowchart of step S220 in

[0019] Figure 4 is Figure 3 a sub - flowchart of step S222 in

[0020] Figure 5 is Figure 3 another sub - flowchart of step S222 in

[0021] Figure 6 is a schematic diagram of a harmonic improvement device in an embodiment of the present application.

[0022] Figure 7 is a schematic diagram of an AC power supply device in an embodiment of the present application.

[0023] Explanation of reference numerals: 1000, AC power supply device; AC, AC power supply; 10, harmonic improvement device; 100, acquisition unit; 200, analysis unit; 300, filtering unit. Detailed implementation manners

[0024] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0025] In the description of the embodiments of the present application, it should be noted that, unless otherwise clearly defined and limited, the terms "connected" and "coupled" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected, or indirectly connected through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations.

[0026] Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise stated, the meaning of "a plurality" is two or more.

[0027] In the description of the embodiments of the present application, it should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present application are used to distinguish similar objects, and do not necessarily 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 application described here can be implemented in an order other than those illustrated or described here.

[0028] 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 server 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] Please refer to Figure 1 , Figure 1 which is a flowchart of a harmonic improvement method in an embodiment of the present application. Among them, the present application provides a harmonic improvement method, and the harmonic improvement method is used to filter a target harmonic combination in an AC signal output by an AC power supply. Among them, as Figure 1 shown, the harmonic improvement method includes:

[0030] Step S100: Obtain a plurality of sampling values of the AC signal at a first preset interval within a first preset time period.

[0031] Step S200: Determine the target harmonic combination in the AC signal according to the plurality of sampling values and the first model.

[0032] Step S300: Filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain a target AC signal.

[0033] Therefore, in the above harmonic improvement method of the present application, by obtaining a plurality of sampling values of the AC signal at a first preset interval within a first preset time period, and then using a series of sampling values and the first model to determine the target harmonic combination in the AC signal, complex harmonic identification is realized. Furthermore, according to the waveform parameters of each harmonic in the target harmonic combination, each harmonic in the target harmonic combination in the AC signal can be filtered to obtain a target AC signal, improving the output quality of the AC power supply.

[0034] Among them, the target harmonic combination is a combination of multiple harmonics. Filtering the target harmonic combination in the AC signal means filtering multiple harmonics in the AC signal.

[0035] In some embodiments, the plurality of sampling values of the AC signal obtained at a first preset interval within a first preset time period may be the plurality of voltage amplitudes of the AC signal.

[0036] Further, in step S100: within a first preset time period, multiple sampling values of the AC signal are obtained at a first preset interval. Specifically, it may include: within the first preset time period, performing a fast Fourier transform at the first preset interval to obtain multiple spectral feature values of the AC signal; according to the multiple spectral feature values, extracting corresponding multiple voltage amplitudes as the multiple sampling values of the AC signal.

[0037] Among them, the waveform parameters of each harmonic in the target harmonic combination may include one or more of the frequency, period, amplitude, and waveform image of each harmonic in the target harmonic combination.

[0038] Please refer to Figure 2 , Figure 2 for Figure 1 a sub - flowchart of step S200 in Figure 1 . Figure 2 As shown in

[0039] Step S200: Determine the target harmonic combination in the AC signal according to the multiple sampling values and the first model. Specifically, it may include:

[0040] Step S210: Input the multiple sampling values into the first model, and output the corresponding harmonic combination through the first model.

[0041] Step S220: Determine the target harmonic combination in the AC signal according to the harmonic combination output by the first model.

[0042] Thus, in the above - mentioned harmonic improvement method of the present application, since the number of harmonics is large and it is difficult to split each harmonic for analysis, the first model is used for identification. By inputting the multiple sampling values into the first model, the corresponding harmonic combination output by the first model can be obtained, and then the target harmonic combination in the AC signal can be determined.

[0043] In some embodiments, the first model includes multiple sets of training data corresponding to multiple harmonic combinations. Each set of training data includes multiple test values obtained by acquiring a corresponding test signal at a first test interval within a first test time period. Among them, each test signal includes the corresponding harmonic combination and the target AC signal. The duration of the first test time period is greater than or equal to the duration of the first preset time period, and the first test interval is less than or equal to the first preset interval.

[0044] Among them, the test interval in this application refers to the time duration between two adjacent tests.

[0045] Please refer to Figure 3 , Figure 3 as Figure 2 a sub - flowchart of step S220 in Figure 2 . Figure 3 As shown in

[0046] step S220: Determine the target harmonic combination in the AC signal according to the harmonic combination output by the first model, which may specifically include:

[0047] step S221: When the number of harmonic combinations output by the first model is one, determine the harmonic combination output by the first model as the target harmonic combination in the AC signal.

[0048] step S222: When the number of harmonic combinations output by the first model is multiple, determine one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal.

[0049] Thus, in the above - mentioned harmonic improvement method of this application, since the first model may misidentify, to avoid the counter - effect of misidentification on harmonic improvement and further cause the decline of the output quality of the AC power supply, the number of harmonic combinations output by the first model can be multiple, and then determine one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal, which can further improve the accuracy of complex harmonic identification. Figure 2 In some embodiments, as shown in

[0050] step S210: Input multiple sampling values into the first model and output the corresponding harmonic combination through the first model, which may specifically include: Input multiple sampling values into the first model, and the first model outputs at least one harmonic combination according to the fitting degree between the multiple sampling values and each group of training data. Further, outputting at least one harmonic combination through the first model may specifically further include: Outputting at least one harmonic combination whose fitting degree is greater than the preset fitting degree. Among them, the preset fitting degree can be set as needed, such as 90%, 95%, etc. Figure 3 Further, as shown in

[0051] step S222: When the number of harmonic combinations output by the first model is multiple, determine one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal, which may specifically include, when the number of harmonic combinations output by the first model is multiple, determine the harmonic combination with the highest fitting degree output by the first model as the target harmonic combination in the AC signal. Figure 4 , Figure 4 as Figure 3A sub - flowchart of step S222 in Figure 3 , Figure 4 As shown in Figure 4 , step S222: When the number of harmonic combinations output by the first model is multiple, determine one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal. Specifically, it may also include:

[0052] Step S223: When the number of harmonic combinations output by the first model is multiple, obtain multiple calibration values of the AC signal at a second preset interval within a second preset period.

[0053] Step S224: Input both the multiple sampling values and the multiple calibration values into the first model, and output the corresponding harmonic combinations through the first model again.

[0054] Step S225: When there is only one common harmonic combination between the non - first - output harmonic combination and the first - output harmonic combination of the first model, determine the common harmonic combination as the target harmonic combination in the AC signal.

[0055] Thus, in the above - mentioned harmonic improvement method of the present application, when the number of harmonic combinations output by the first model is multiple, by configuring to obtain multiple calibration values of the AC signal at a second preset interval within a second preset period, and then comparing the harmonic combinations output twice, it can be determined that the common harmonic combination is the target harmonic combination in the AC signal, and more calibration values can be obtained on a longer time scale, thereby improving the recognition accuracy.

[0056] In some embodiments, the second preset interval is less than or equal to the first preset interval.

[0057] Thus, in the above - mentioned harmonic improvement method of the present application, the time interval between calibration values can be changed, which is more convenient for the first model to identify.

[0058] Please refer to Figure 5 , Figure 5 For Figure 3 Another sub - flowchart of step S222 in Figure 3 , Figure 5 As shown in Figure 5 , step S222: When the number of harmonic combinations output by the first model is multiple, determine one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal. Specifically, it may further include:

[0059] Step S226: When the number of harmonic combinations output by the first model is multiple, add at least one test harmonic to the AC signal.

[0060] Step S227: Obtain multiple calibration values of the AC signal with the added test harmonic at a first preset interval within a first preset period.

[0061] Step S228: Input multiple sampled values and multiple calibration values into the first model, and output corresponding harmonic combinations through the first model again.

[0062] Step S229: When there is only one common harmonic combination between the harmonic combinations other than at least one test harmonic in the harmonic combinations output by the first model for non-first time and the harmonic combinations output for the first time, determine at least one test harmonic and the common harmonic combination as the target harmonic combination in the AC signal.

[0063] Thus, for the above harmonic improvement method in the present application, in order to more accurately identify harmonic combinations, at least one test harmonic is added to the system, and multiple sampled values and multiple calibration values can be input into the first model again, and corresponding harmonic combinations are output through the first model again. By comparing the harmonic combinations output twice, it can be determined that at least one test harmonic and the common harmonic combination are the target harmonic combination in the AC signal.

[0064] In some embodiments, the common harmonic combination is the same harmonic combination, that is, the harmonic combination with the same harmonics.

[0065] The harmonic improvement method of the present application can achieve complex harmonic identification through the above steps, and improves the accuracy of harmonic identification in various ways. Furthermore, each harmonic in the target harmonic combination in the AC signal can be filtered to obtain the target AC signal, improving the output quality of the AC power supply.

[0066] Please refer to Figure 6 , Figure 6 which is a schematic diagram of a harmonic improvement device in an embodiment of the present application. As Figure 6 shown, the present application also provides a harmonic improvement device 10. The harmonic improvement device 10 filters the target harmonic combination in the AC signal output by the AC power supply AC by using the above harmonic improvement method. Among them, the harmonic improvement device 10 includes an acquisition unit 100, an analysis unit 200, and a filtering unit 300. The acquisition unit 100 is used to acquire multiple sampled values of the AC signal at a first preset interval within a first preset time period. The analysis unit 200 is used to determine the target harmonic combination in the AC signal according to the multiple sampled values and the first model. The filtering unit 300 is used to filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain the target AC signal.

[0067] As Figure 6 shown, the acquisition unit 100 can be used to connect to the AC power supply AC, the analysis unit 200 can be connected between the acquisition unit 100 and the filtering unit 300, and the filtering unit 300 can be used to connect to the AC power supply AC.

[0068] Among them, the operations performed by the harmonic improvement device 10 or the analysis unit 200 correspond to the steps in the method for determining the matching path in any of the foregoing embodiments. For the further operations that the harmonic improvement device 10 or the analysis unit 200 can perform, reference may specifically be made to the relevant content in the method for determining the matching path in any of the foregoing embodiments, which will not be elaborated herein.

[0069] In some embodiments, the acquisition unit 100 is mainly used to perform the acquisition of sampling values and / or calibration values. Among them, the acquisition unit 100 may include electronic components such as voltage sensors.

[0070] In some embodiments, the analysis unit 200 is mainly used to perform the determination of the target harmonic combination in the AC signal according to multiple sampling values and / or calibration values and the first model. Among them, the analysis unit 200 may include general-purpose processors such as a graphics processing unit (GPU) and a central processing unit (CPU) deployed with the first model, or may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate logic devices, transistor logic devices and other logic control devices, or may also be a microprocessor such as a micro control unit (MCU).

[0071] In some embodiments, the filtering unit 300 is mainly used to perform the filtering of each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain the target AC signal. Among them, the filtering unit 300 may include various types of filters and other electronic components.

[0072] The harmonic improvement method and the harmonic improvement device 10 of the present application can, through the above steps and structures, achieve complex harmonic identification, and improve the accuracy of harmonic identification in various ways. Furthermore, each harmonic in the target harmonic combination in the AC signal can be filtered to obtain the target AC signal, thereby improving the output quality of the AC power supply AC.

[0073] Please refer to Figure 7 , Figure 7 which is a schematic diagram of an AC power supply device in an embodiment of the present application. As Figure 7As shown in the figure, the present application further provides an AC power supply device 1000, which includes an AC power supply AC and the harmonic improvement device 10 in any of the foregoing embodiments.

[0074] As Figure 7 shown in the figure, the AC power supply AC can be connected to the harmonic improvement device 10.

[0075] Please refer to Figure 6 . As Figure 6 shown in the figure, the harmonic improvement device 10 includes an acquisition unit 100, an analysis unit 200, and a filtering unit 300. The acquisition unit 100 is configured to acquire a plurality of sampling values of the AC signal at a first preset interval within a first preset period. The analysis unit 200 is configured to determine a target harmonic combination in the AC signal according to the plurality of sampling values and a first model. The filtering unit 300 is configured to filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain a target AC signal.

[0076] Among them, for the more specific structure of the harmonic improvement device 10, reference can be made to the relevant content of the harmonic improvement device 10 in any of the foregoing embodiments, which will not be elaborated herein.

[0077] The harmonic improvement method, the harmonic improvement device 10, and the AC power supply device 1000 of the present application can achieve complex harmonic identification, improve the accuracy of harmonic identification in various ways, and then can filter each harmonic in the target harmonic combination in the AC signal to obtain a target AC signal, thereby improving the output quality of the AC power supply AC.

[0078] The present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program runs on a computer or a processor, the harmonic improvement method in any of the foregoing embodiments is implemented.

[0079] In the multiple embodiments provided by the present application, it should be understood that the disclosed methods, devices, and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for example, the division of units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0080] The unit described as a separation component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0081] In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, or each unit can be physically included separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a hardware plus software functional unit.

[0082] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit stored in a storage medium includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute some steps of the methods in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0083] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application; without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A harmonic improvement method, characterized in that, For filtering out a target harmonic combination in an AC signal output by an AC power supply; Wherein, the harmonic improvement method includes: Obtaining a plurality of sampling values of the AC signal at a first preset interval within a first preset time period; Determining the target harmonic combination in the AC signal according to the plurality of sampling values and a first model; Filtering each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain a target AC signal.

2. The harmonic improvement method according to claim 1, wherein The determining the target harmonic combination in the AC signal according to the plurality of sampling values and the first model includes: Inputting the plurality of sampling values into the first model and outputting a corresponding harmonic combination through the first model; Determining the target harmonic combination in the AC signal according to the harmonic combination output by the first model.

3. The harmonic improvement method according to claim 2, characterized in that, The first model includes multiple sets of training data corresponding to multiple harmonic combinations, and each set of training data includes a plurality of test values obtained by obtaining a corresponding test signal at a first test interval within a first test time period, wherein each test signal includes a corresponding harmonic combination and the target AC signal; Wherein, the duration of the first test time period is greater than or equal to the duration of the first preset time period, and the first test interval is less than or equal to the first preset interval.

4. The harmonic improvement method according to claim 2, wherein The determining the target harmonic combination in the AC signal according to the harmonic combination output by the first model includes: When the number of harmonic combinations output by the first model is one, determining the harmonic combination output by the first model as the target harmonic combination in the AC signal; When the number of harmonic combinations output by the first model is multiple, determining one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal.

5. The harmonic improvement method according to claim 4, wherein The determining one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal when the number of harmonic combinations output by the first model is multiple includes: When the number of harmonic combinations output by the first model is multiple, obtaining a plurality of calibration values of the AC signal at a second preset interval within a second preset time period; Inputting both the plurality of sampling values and the plurality of calibration values into the first model and outputting a corresponding harmonic combination through the first model again; When there is only one common harmonic combination between the non-first output harmonic combination and the first output harmonic combination of the first model, determining the common harmonic combination as the target harmonic combination in the AC signal.

6. The harmonic improvement method according to claim 5, characterized in that, The second preset interval is less than or equal to the first preset interval.

7. The harmonic improvement method according to claim 4, characterized in that The determining one of the harmonic combinations output by the first model as the target harmonic combination in the AC signal when the number of harmonic combinations output by the first model is multiple includes: When the number of harmonic combinations output by the first model is multiple, adding at least one test harmonic to the AC signal; Obtaining a plurality of calibration values of the AC signal with the added test harmonic at a first preset interval within a first preset time period; Inputting both the plurality of sampling values and the plurality of calibration values into the first model and outputting a corresponding harmonic combination through the first model again; When there is only one common harmonic combination between the harmonic combination other than at least one test harmonic in the non-first output of the first model and the harmonic combination in the first output, determine the at least one test harmonic and the common harmonic combination as the target harmonic combination in the AC signal.

8. A harmonic improvement device, characterized in that, The harmonic improvement device filters the target harmonic combination in the AC signal output by the AC power supply by using the harmonic improvement method according to any one of claims 1-7; Wherein, the harmonic improvement device includes: An acquisition unit, configured to acquire a plurality of sampling values of the AC signal at a first preset interval within a first preset period; An analysis unit, configured to determine the target harmonic combination in the AC signal according to the plurality of sampling values and a first model; A filtering unit, configured to filter each harmonic in the target harmonic combination in the AC signal according to the waveform parameters of each harmonic in the target harmonic combination to obtain a target AC signal.

9. An AC power supply device, characterized in that, It includes an AC power supply and the harmonic improvement device according to claim 8.

10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and when the computer program runs on a computer or a processor, the harmonic improvement method according to any one of claims 1-7 is implemented.