Resonance elimination equipment control method and device and nonvolatile storage medium
By connecting to the harmonic decoction equipment at the target node of the power grid, detecting and adjusting the harmonic current and voltage, the problem of generating a large amount of harmonics during the charging process is solved, and the effect of improving the power supply quality and reducing the risk of damage to the power pipeline is achieved.
Patent Information
- Application Number
- CN202411569579.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-28
AI Technical Summary
The charging pile generates a large number of harmonics during charging electric vehicles, affecting the power supply quality of the power grid and the damage to the power pipelines of the charging pile.
At the target node of the power grid, the harmonic decoction equipment is connected, including the active power filter, the harmonic current and voltage are detected and evaluated, and the harmonic decoction strategy is adjusted to control the harmonics generated by the target node.
By connecting to the harmonic decoction equipment, the harmonic content of the charging pile when it is connected to the power grid is effectively reduced, the power supply quality of the charging pile is improved, and the damage to the power pipeline is avoided.
Smart Images

Figure CN119543161A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power system control, and in particular to a method and device for controlling harmonic elimination equipment and a non-volatile storage medium. Background Art
[0002] At present, when electric vehicle charging piles are connected to the power grid for charging, a large amount of harmonics are easily generated. If not processed, it will cause sine wave distortion to the power grid, affect the power supply quality of the power pipeline, and even cause damage to the power pipeline. Therefore, the power system needs to effectively manage the harmonics generated by the charging piles.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a method and apparatus for controlling a harmonic elimination device and a non-volatile storage medium, so as to at least solve the technical problem in the related art that a large amount of harmonics exist during the charging process of an electric vehicle by a charging pile, thereby affecting the power supply quality of the charging pile.
[0005] According to one aspect of an embodiment of the present invention, a method for controlling a harmonic elimination device is provided, comprising: after a target node of a power grid is connected to n charging piles, connecting the target node to a harmonic elimination device, and detecting harmonic currents and harmonic voltages after the target node is connected to the harmonic elimination device, wherein the harmonic elimination device comprises: an active power filter, and the charging pile is used to charge an electric vehicle; based on the harmonic current and the harmonic voltage, evaluating whether to adjust a harmonic elimination strategy of the harmonic elimination device, wherein the harmonic elimination strategy is used to represent a strategy for controlling the harmonics generated by the target node.
[0006] Furthermore, based on the harmonic current and the harmonic voltage, it is evaluated whether to adjust the detuning strategy of the detuning device, including: based on the harmonic current, calculating the total harmonic distortion rate of the current after the target node is connected to the detuning device, and obtaining the target current harmonic distortion rate; based on the harmonic voltage, calculating the total harmonic distortion rate of the voltage after the target node is connected to the detuning device, and obtaining the target voltage harmonic distortion rate; based on the target voltage harmonic distortion rate and the target current harmonic distortion rate, evaluating whether to adjust the detuning strategy of the detuning device.
[0007] Furthermore, based on the target voltage harmonic distortion rate and the target current harmonic distortion rate, it is evaluated whether to adjust the detuning strategy of the detuning device, including: combining the target voltage harmonic distortion rate and the target current harmonic distortion rate to obtain a target comprehensive distortion rate; based on the target comprehensive distortion rate, it is evaluated whether to adjust the detuning strategy of the detuning device.
[0008] Furthermore, based on the target comprehensive distortion rate, evaluating whether to adjust the detuning strategy of the detuning device includes: comparing the target comprehensive distortion rate with a preset threshold to obtain a comparison result; and determining whether to adjust the detuning strategy of the detuning device based on the comparison result.
[0009] Furthermore, the control method of the harmonic elimination equipment also includes: partitioning the target time period to obtain m time zones, wherein the electricity prices in different time zones are different, and m is a positive integer; based on the target comprehensive distortion rate, changing the electricity prices of the m time zones, and changing the results.
[0010] Furthermore, after changing the electricity prices of the m time zones based on the target comprehensive distortion rate, it also includes: obtaining the moment when the charging pile of the target node starts charging to obtain a first moment; obtaining the moment when the charging pile of the target node ends charging to obtain a second moment; and determining the average charging cost of the charging pile of the target node based on the first moment, the second moment and the change result.
[0011] Furthermore, after the target node of the power grid is connected to n charging piles and before the target node is connected to the harmonic elimination device, it also includes: determining the total harmonic distortion rate of the current after the target node is not connected to the harmonic elimination device, and obtaining the initial current harmonic distortion rate; determining the total harmonic distortion rate of the voltage after the target node is not connected to the harmonic elimination device, and obtaining the initial voltage harmonic distortion rate; merging the initial current harmonic distortion rate and the initial voltage harmonic distortion rate to obtain an initial comprehensive distortion rate; based on the initial comprehensive distortion rate, determining the node harmonic distortion rate of the target node, wherein the node harmonic distortion rate is used to determine whether to connect the target node to the harmonic elimination device.
[0012] Furthermore, after evaluating whether to adjust the detuning strategy of the detuning device based on the harmonic current and the harmonic voltage, it also includes: calculating the additional power loss caused by the detuning device after the target node is connected to the detuning device to obtain power loss data; based on the power loss data, determining the loss cost of the detuning device.
[0013] According to another aspect of an embodiment of the present invention, a harmonic elimination device control apparatus is further provided, comprising: a first processing unit, for connecting a target node of a power grid to a harmonic elimination device after the target node is connected to n charging piles, and detecting harmonic currents and harmonic voltages after the target node is connected to the harmonic elimination device, wherein the harmonic elimination device comprises: an active power filter; a second processing unit, for evaluating whether to adjust a harmonic elimination strategy of the harmonic elimination device based on the harmonic current and the harmonic voltage, wherein the harmonic elimination strategy is used to represent a strategy for controlling the harmonics generated by the target node.
[0014] Furthermore, the second processing unit includes: a first calculation subunit, used to calculate the total harmonic distortion rate of the current after the target node is connected to the harmonic elimination device based on the harmonic current, and obtain the target current harmonic distortion rate; a second calculation subunit, used to calculate the total harmonic distortion rate of the voltage after the target node is connected to the harmonic elimination device based on the harmonic voltage, and obtain the target voltage harmonic distortion rate; an evaluation subunit, used to evaluate whether to adjust the harmonic elimination strategy of the harmonic elimination device based on the target voltage harmonic distortion rate and the target current harmonic distortion rate.
[0015] Furthermore, the evaluation subunit includes: a merging module, used to merge the target voltage harmonic distortion rate and the target current harmonic distortion rate to obtain a target comprehensive distortion rate; an evaluation module, used to evaluate whether to adjust the detuning strategy of the detuning device based on the target comprehensive distortion rate.
[0016] Furthermore, the evaluation module includes: a comparison submodule, used to compare the target comprehensive distortion rate with a preset threshold to obtain a comparison result; and a determination submodule, used to determine whether to adjust the detuning strategy of the detuning device based on the comparison result.
[0017] Furthermore, the harmonic elimination equipment control device also includes: a partitioning unit, used to partition the target time period to obtain m time zones, wherein the electricity prices in different time zones are different, and m is a positive integer; a changing unit, used to change the electricity prices of the m time zones based on the target comprehensive distortion rate, and change the results.
[0018] Furthermore, the harmonic elimination device control device also includes: a first acquisition unit, used to change the electricity prices of the m time zones based on the target comprehensive distortion rate, and after the change result, obtain the time when the charging pile of the target node starts charging to obtain a first time; a second acquisition unit, used to obtain the time when the charging pile of the target node ends charging to obtain a second time; a first determination unit, used to determine the average charging cost of the charging pile of the target node based on the first time, the second time and the change result.
[0019] Furthermore, the harmonic elimination device control device also includes: a second determination unit, which is used to determine the total harmonic distortion rate of the current of the target node after it is not connected to the harmonic elimination device and before the target node is connected to the harmonic elimination device, so as to obtain an initial current harmonic distortion rate; a second determination unit, which is used to determine the total harmonic distortion rate of the voltage after the target node is not connected to the harmonic elimination device and obtain an initial voltage harmonic distortion rate; a merging unit, which is used to merge the initial current harmonic distortion rate and the initial voltage harmonic distortion rate to obtain an initial comprehensive distortion rate; and a third determination unit, which is used to determine the node harmonic distortion rate of the target node based on the initial comprehensive distortion rate, wherein the node harmonic distortion rate is used to determine whether to connect the target node to the harmonic elimination device.
[0020] Furthermore, the harmonic elimination device control device also includes: a calculation unit, which is used to calculate the additional power loss caused by the harmonic elimination device after the target node is connected to the harmonic elimination device, after evaluating whether to adjust the harmonic elimination strategy of the harmonic elimination device based on the harmonic current and the harmonic voltage, to obtain power loss data; a fourth determination unit, which is used to determine the loss cost of the harmonic elimination device based on the power loss data.
[0021] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the detuning device control method of an embodiment of the present invention by executing the executable instructions.
[0022] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for controlling a harmonic elimination device according to an embodiment of the present invention.
[0023] In the present invention, after the target node of the power grid is connected to n charging piles, the target node is connected to the detuning device, and the harmonic current and harmonic voltage of the target node after the detuning device is connected are detected, wherein the detuning device includes: an active power filter; based on the harmonic current and harmonic voltage, evaluating whether to adjust the detuning strategy of the detuning device, wherein the detuning strategy is used to represent the strategy for controlling the harmonics generated by the target node. This solves the technical problem in the related art that a large number of harmonics exist in the process of charging electric vehicles by charging piles, which affects the power supply quality of the charging piles. In the present invention, by connecting the detuning device after the node in the power grid is connected to the charging pile, it is avoided that the harmonic content is too large and the charging quality is affected after the node in the power grid is connected to the charging pile for charging electric vehicles in the related art, thereby achieving the technical effect of reducing the harmonics generated by the connected charging piles. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0025] Figure 1 is a flow chart of an optional method for controlling a harmonic elimination device according to an embodiment of the present invention;
[0026] Figure 2 is a schematic diagram of an optional control device for harmonic elimination equipment according to an embodiment of the present invention;
[0027] Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] It should be noted that the user information (including but not limited to user device information, user personal information, etc.), collected information and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] Embodiment 1
[0032] According to an embodiment of the present invention, a method embodiment of an optional method for controlling a detuning device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0033] Figure 1 is a flow chart of an optional method for controlling a harmonic elimination device according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0034] Step S101, after a target node of a power grid is connected to n charging piles, the target node is connected to a harmonic elimination device, and the harmonic current and harmonic voltage after the target node is connected to the harmonic elimination device are detected, wherein the harmonic elimination device includes: an active power filter.
[0035] The above-mentioned target nodes may include: nodes in the power grid for installing charging piles, for example, distribution nodes in the power system, each node can be equipped with up to N charging devices, and when the target node is connected to the detuning device, the harmonic current and harmonic voltage of the target node after the detuning device is connected can be detected. For example, a new harmonic detection method combined with an improved variable step size LMS (least mean square) and LMF (least mean square frequency) adaptive algorithm can be used to quickly track and detect harmonic changes in complex scenarios (target nodes) where charging piles are connected. The harmonic detection method can dynamically adjust the step size according to the interference of system noise to improve detection accuracy. The detection process may include: Fourier expansion of the single-phase load end current, updating the weights using weighting coefficients and error signals, and realizing real-time detection of harmonics. By introducing forgetting factors and normalization processing, the algorithm performance is further optimized and the harmonic characteristics are accurately captured.
[0036] For example, for a multi-node power distribution area, assuming that there are i nodes in total, each node can be equipped with N charging piles. When node i is not connected to any charging pile, the voltage and current of node i are recorded as U i with I i , when the node is connected to the nth charging pile, the hth harmonic is recorded as and At this time, the fundamental voltage is recorded as The fundamental current is recorded as
[0037] When node i is connected to APF to compensate for harmonics, the h-order harmonic voltage and current of node i after compensation after connecting to the nth charging pile are recorded as (i.e., the harmonic voltage after the target node is connected to the harmonic elimination device) and (i.e., the harmonic current after the target node is connected to the harmonic elimination device), at this time, the fundamental voltage is recorded as The fundamental current is recorded as
[0038] Step S102: Based on the harmonic current and the harmonic voltage, it is evaluated whether to adjust the detuning strategy of the detuning device, wherein the detuning strategy is used to represent a strategy for controlling the harmonics generated by the target node.
[0039] In this embodiment, the total harmonic distortion rate of voltage and the total harmonic distortion rate of current can be calculated based on the harmonic current and harmonic voltage, and according to the total harmonic distortion rate of voltage and the total harmonic distortion rate of current, it is evaluated whether to adjust the detuning strategy of the detuning device, so as to accurately suppress the harmonics generated by the charging pile and reduce the harmonic content of the charging pile connected to the power grid.
[0040] Through the above steps, in this embodiment, after the node in the power grid is connected to the charging pile, the harmonic elimination device is connected, so as to avoid the situation in the related art that after the node in the power grid is connected to the charging pile for charging the electric vehicle, the harmonic content is too large, affecting the charging quality, thereby achieving the technical effect of reducing the harmonics generated by the connected charging pile. In addition, the technical problem in the related art that a large amount of harmonics exist in the process of charging the electric vehicle by the charging pile, affecting the power supply quality of the charging pile, is solved.
[0041] Optionally, based on the harmonic current and the harmonic voltage, it is evaluated whether to adjust the detuning strategy of the detuning device, including: based on the harmonic current, calculating the total harmonic distortion rate of the current after the target node is connected to the detuning device, and obtaining the target current harmonic distortion rate; based on the harmonic voltage, calculating the total harmonic distortion rate of the voltage after the target node is connected to the detuning device, and obtaining the target voltage harmonic distortion rate; based on the target voltage harmonic distortion rate and the target current harmonic distortion rate, evaluating whether to adjust the detuning strategy of the detuning device.
[0042] When node i (corresponding to the target node) is connected to APF (active power filter) to compensate for the harmonics, the h-order harmonic voltage and current of node i after compensation after connecting to the nth charging pile are recorded as and At this time, the fundamental voltage and fundamental current are recorded as and N is a positive integer, and the calculation formula for the voltage harmonic distortion rate (corresponding to the target voltage harmonic distortion rate) is:
[0043]
[0044] The calculation formula of the current harmonic distortion rate (corresponding to the target current harmonic distortion rate) is:
[0045]
[0046] Then, the target comprehensive distortion rate can be calculated based on the target voltage harmonic distortion rate and the target current harmonic distortion rate. Based on the target comprehensive distortion rate, it can be evaluated whether the detuning strategy of the detuning device should be adjusted to achieve the technical effect of accurately suppressing the harmonics generated by the connected charging pile.
[0047] Optionally, based on the target voltage harmonic distortion rate and the target current harmonic distortion rate, evaluate whether to adjust the detuning strategy of the detuning device, including: combining the target voltage harmonic distortion rate and the target current harmonic distortion rate to obtain a target comprehensive distortion rate; based on the target comprehensive distortion rate, evaluate whether to adjust the detuning strategy of the detuning device.
[0048] For example, for the connection of harmonic elimination equipment, if the target voltage harmonic distortion rate is The target current harmonic distortion rate is The calculation formula for combining the target voltage harmonic distortion rate and the target current harmonic distortion rate is:
[0049]
[0050] In this embodiment, based on (Target comprehensive distortion rate) is used to evaluate whether the detuning strategy of the detuning equipment should be adjusted.
[0051] Optionally, based on the target comprehensive distortion rate, evaluating whether to adjust the detuning strategy of the detuning device includes: comparing the target comprehensive distortion rate with a preset threshold to obtain a comparison result; and determining whether to adjust the detuning strategy of the detuning device based on the comparison result.
[0052] If the comprehensive harmonic distortion rate of the target node is significantly reduced after the APF is run, for example, the target comprehensive distortion rate remains below the preset threshold, it means that the current harmonic elimination strategy is effective. On the contrary, if the target comprehensive distortion rate is still higher than the preset threshold, or frequently exceeds the threshold over a period of time, it can be determined that the harmonic elimination strategy needs to be adjusted, achieving the technical effect of improving the flexibility of harmonic elimination strategy formulation.
[0053] Optionally, the detuning device control method further includes: partitioning the target time period to obtain m time zones, wherein different time zones have different electricity prices, and m is a positive integer; based on the target comprehensive distortion rate, changing the electricity prices of the m time zones, and changing the results.
[0054] In this embodiment, time-of-use electricity prices can be used to guide users to charge, so that the charging piles can discharge as much as possible during the low-power consumption period. For example, a day is divided into 24 hours to divide the electricity price into different zones. The original electricity price at time t is recorded as C e (t), during peak electricity consumption periods, the electricity price is changed according to the following rules based on the degree of harmonic distortion:
[0055]
[0056] Among them, t la With t lb is the upper and lower limits of the low power consumption period, t ha With t hb are the upper and lower limits of the peak power consumption period, K is the operation and maintenance penalty factor after the APF single capacity is switched on, S1 represents the minimum switching unit capacity of APF, η m is the switching coefficient of the mth submodule of APF, when η m =1 indicates that the module is put into operation, otherwise it indicates that the module is switched on.
[0057] Optionally, after changing the electricity prices of m time zones based on the target comprehensive distortion rate and the change result, it also includes: obtaining the moment when the charging pile of the target node starts charging to obtain a first moment; obtaining the moment when the charging pile of the target node ends charging to obtain a second moment; based on the first moment, the second moment and the change result, determining the average charging cost of the charging pile of the target node.
[0058] For example, when node i (target node) is connected to the nth charging pile, the output voltage and current are recorded as U i-n with I i-n , at this time the output power of the charging pile is: P i-n =U i-n I i-n , the corresponding output power at time t is P i-n (t).
[0059] In this embodiment, the coordinated control objective function can be constructed based on the average charging cost of the charging pile after price guidance, the node harmonic distortion rate and the APF loss cost, and the calculation formula for the average charging cost is:
[0060]
[0061] Where C1 represents the average charging cost, t a.n With t b,n is the charging start time (corresponding to the first moment) and the charging end time (corresponding to the second moment) of the charging pile, λ i-n (t) represents the operation status of the nth charging pile at time t, λ i-n(t)=1 indicates that the battery is in the charging state, and Δt is the actual charging time.
[0062] In this embodiment, the charging pile can be used to charge electric vehicles, achieving the user behavior characteristics of electric vehicles and the harmonic characteristics of the charging pile. A fast and accurate harmonic detection method is used to track and detect the harmonics generated by the charging pile, and the charging pile and APF are combined to jointly optimize and control to reduce the harmonic content in the charging pile access background.
[0063] Optionally, after the target node of the power grid is connected to n charging piles and before the target node is connected to the harmonic elimination device, it also includes: determining the total harmonic distortion rate of the current after the target node is not connected to the harmonic elimination device, and obtaining the initial current harmonic distortion rate; determining the total harmonic distortion rate of the voltage after the target node is not connected to the harmonic elimination device, and obtaining the initial voltage harmonic distortion rate; merging the initial current harmonic distortion rate and the initial voltage harmonic distortion rate to obtain an initial comprehensive distortion rate; based on the initial comprehensive distortion rate, determining the node harmonic distortion rate of the target node, wherein the node harmonic distortion rate is used to determine whether to connect the target node to the harmonic elimination device.
[0064] In one example, for a multi-node distribution area, assuming that there are i nodes in total, each node can be equipped with N charging piles. When node i is not connected to APF for harmonic elimination, the voltage and current of node i are recorded as U i with I i , when the node is connected to the nth charging pile, the hth harmonic is recorded as and At this time, the fundamental current is recorded as and In the scenario without APF, the total harmonic distortion rate of the voltage after node i is connected to the nth charging pile is:
[0065]
[0066] In the scenario without APF, the total harmonic distortion rate of the current after node i is connected to the nth charging pile is:
[0067]
[0068] In order to comprehensively reflect the comprehensive distortion rate of voltage and current after node i is connected to the nth charging pile in the scenario without APF, the comprehensive distortion rate (i.e., the initial comprehensive distortion rate) is obtained as:
[0069]
[0070] In this embodiment, the node harmonic distortion rate can also be calculated. The node harmonics after the i-th node is connected to n charging piles can be:
[0071]
[0072] Among them, β(t) represents the APF harmonic suppression state at time t, λ i-n (t) = 1 means that the APF is in working state and suppresses and compensates the system harmonics. Otherwise, it means that the APF is cut off and no harmonic compensation is required. When the harmonic distortion rate of the node (i.e., the node harmonic distortion rate) is greater than the preset distortion rate threshold, the target node can be connected to the detuning device, otherwise it does not need to be connected to the detuning device.
[0073] Optionally, after evaluating whether to adjust the detuning strategy of the detuning device based on the harmonic current and harmonic voltage, it also includes: calculating the additional power loss caused by the detuning device after the target node is connected to the detuning device to obtain power loss data; based on the power loss data, determining the loss cost of the detuning device.
[0074] In this embodiment, relying solely on the APF for harmonic elimination will cause frequent switching of internal components, resulting in power loss of the equipment and system, and reducing the service life of the equipment. Therefore, the loss cost in the harmonic suppression process is considered.
[0075] Assume that the additional power loss caused by the hth harmonic at time t after the APF is connected is:
[0076]
[0077] Among them, Y i It represents the admittance (the complex sum of conductance and susceptance) of a specific node in the power system connected to the APF at a specific frequency (especially harmonic frequency).
[0078] The APF loss cost (corresponding to the loss cost of the detuning equipment) is as follows:
[0079]
[0080] Among them, δ1 is the unit penalty cost of network loss caused by APF in the process of harmonic suppression, ΔI APF (t) is the change in line current after APF compensation, and γ represents the harmonic compensation loss cost of APF.
[0081] The comprehensive control target is:
[0082]
[0083] Constraint targets may include: grid flow constraints, harmonic constraints, charging pile charging and discharging constraints, and electric vehicle power demand constraints.
[0084] After APF is connected to the system, the harmonic content rate and total harmonic distortion rate of each node need to meet the specified requirements:
[0085]
[0086] THD i ≤5%
[0087] Charging pile charging and discharging constraints: the charging pile needs to output power within the maximum allowable charging and discharging power range at each moment:
[0088] 0≤P i-n (t)<P max
[0089] Among them, P max It can indicate the maximum charging and discharging power of the charging pile.
[0090] The electric energy demand constraint of electric vehicles, the corresponding electric energy demand of charging piles is E i,n , the SOC at the initial and final charging times are respectively recorded as SOC a With SOC d , the maximum SOC value allowed is SOC MAX ,The SOC update process and constraints during charging are as follows:
[0091]
[0092] SOC a (n)≤SOC now (n,t+1)<SOC MAX (n)
[0093] SOC d (n)≤SOC MAX (n)
[0094] In this embodiment, the user behavior characteristics of electric vehicles and the harmonic characteristics of charging piles can be combined to track and detect the harmonics generated by the charging piles using a fast and accurate harmonic detection method, and the charging piles and APF can be combined to jointly optimize and regulate to reduce the harmonic content of the charging piles connected to the power grid.
[0095] Embodiment 2
[0096] The second embodiment of the present invention provides an optional control device for harmonic elimination equipment, and each implementation unit in the control device for harmonic elimination equipment corresponds to each implementation step in the first embodiment.
[0097] Figure 2 is a schematic diagram of an optional control device for harmonic elimination equipment according to an embodiment of the present invention, such as Figure 2 As shown, it includes: a first processing unit 21 and a second processing unit 22.
[0098] The first processing unit 21 is used to connect the target node of the power grid to a harmonic elimination device after the target node is connected to n charging piles, and detect the harmonic current and harmonic voltage after the target node is connected to the harmonic elimination device, wherein the harmonic elimination device includes: an active power filter, and the charging pile is used to charge the electric vehicle;
[0099] The second processing unit 22 is used to evaluate whether to adjust the detuning strategy of the detuning device based on the harmonic current and the harmonic voltage, wherein the detuning strategy is used to represent a strategy for controlling the harmonics generated by the target node.
[0100] In the harmonic elimination device control device provided in the second embodiment of the present invention, after the target node of the power grid is connected to n charging piles, the target node can be connected to the harmonic elimination device through the first processing unit 21, and the harmonic current and harmonic voltage after the target node is connected to the harmonic elimination device can be detected, wherein the harmonic elimination device includes: an active power filter, and the second processing unit 22 evaluates whether to adjust the harmonic elimination strategy of the harmonic elimination device based on the harmonic current and harmonic voltage, wherein the harmonic elimination strategy is used to represent the strategy for controlling the harmonics generated by the target node. This solves the technical problem that a large number of harmonics exist in the process of charging electric vehicles by charging piles in the related art, affecting the power supply quality of the charging piles. In this embodiment, by connecting the harmonic elimination device after the node in the power grid is connected to the charging pile, it is avoided that the harmonic content is too large and the charging quality is affected after the node in the power grid is connected to the charging pile for charging electric vehicles in the related art, thereby achieving the technical effect of reducing the harmonics generated by the connected charging piles.
[0101] Optionally, in the harmonic elimination device control device provided in the second embodiment of the present invention, the second processing unit includes: a first calculation subunit, used to calculate the total harmonic distortion rate of the current after the target node is connected to the harmonic elimination device based on the harmonic current, and obtain the target current harmonic distortion rate; a second calculation subunit, used to calculate the total harmonic distortion rate of the voltage after the target node is connected to the harmonic elimination device based on the harmonic voltage, and obtain the target voltage harmonic distortion rate; an evaluation subunit, used to evaluate whether to adjust the harmonic elimination strategy of the harmonic elimination device based on the target voltage harmonic distortion rate and the target current harmonic distortion rate.
[0102] Optionally, in the harmonic elimination device control device provided in Embodiment 2 of the present invention, the evaluation subunit includes: a merging module, used to merge the target voltage harmonic distortion rate and the target current harmonic distortion rate to obtain a target comprehensive distortion rate; and an evaluation module, used to evaluate whether to adjust the harmonic elimination strategy of the harmonic elimination device based on the target comprehensive distortion rate.
[0103] Optionally, in the detuning device control device provided in Embodiment 2 of the present invention, the evaluation module includes: a comparison submodule, used to compare the target comprehensive distortion rate with a preset threshold to obtain a comparison result; and a determination submodule, used to determine whether to adjust the detuning strategy of the detuning device based on the comparison result.
[0104] Optionally, in the harmonic elimination device control device provided in Embodiment 2 of the present invention, the harmonic elimination device control device further includes: a partitioning unit, used to partition the target time period to obtain m time zones, wherein the electricity prices in different time zones are different, and m is a positive integer; a changing unit, used to change the electricity prices of the m time zones based on the target comprehensive distortion rate to obtain a change result.
[0105] Optionally, in the harmonic elimination device control device provided in Embodiment 2 of the present invention, the harmonic elimination device control device also includes: a first acquisition unit, used to change the electricity prices of m time zones based on the target comprehensive distortion rate, and after the change result, obtain the time when the charging pile of the target node starts charging, and obtain the first time; a second acquisition unit, used to obtain the time when the charging pile of the target node ends charging, and obtain the second time; a first determination unit, used to determine the average charging cost of the charging pile of the target node based on the first time, the second time and the change result.
[0106] Optionally, the harmonic elimination device control device also includes: a second determination unit, which is used to determine the total harmonic distortion rate of the current after the target node of the power grid is connected to n charging piles and before the target node is connected to the harmonic elimination device, so as to obtain an initial current harmonic distortion rate; a second determination unit, which is used to determine the total harmonic distortion rate of the voltage after the target node is not connected to the harmonic elimination device, so as to obtain an initial voltage harmonic distortion rate; a merging unit, which is used to merge the initial current harmonic distortion rate and the initial voltage harmonic distortion rate to obtain an initial comprehensive distortion rate; and a third determination unit, which is used to determine the node harmonic distortion rate of the target node based on the initial comprehensive distortion rate, wherein the node harmonic distortion rate is used to determine whether to connect the target node to the harmonic elimination device.
[0107] Optionally, the detuning device control device also includes: a calculation unit, which is used to calculate the additional power loss caused by the detuning device after the target node is connected to the detuning device, after evaluating whether to adjust the detuning strategy of the detuning device based on the harmonic current and the harmonic voltage, to obtain power loss data; and a fourth determination unit, which is used to determine the loss cost of the detuning device based on the power loss data.
[0108] The above-mentioned harmonic elimination device control device may also include a processor and a memory. The above-mentioned first processing unit 21 and second processing unit 22 are stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0109] The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters are adjusted to connect the node in the power grid to the charging pile and then connect to the harmonic elimination device, thereby avoiding the situation in the related art that the node in the power grid is connected to the charging pile for charging electric vehicles, and the harmonic content is too large, affecting the charging quality, thereby achieving the technical effect of reducing the harmonics generated by the charging pile.
[0110] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.
[0111] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods for controlling a detuning device by executing the executable instructions.
[0112] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for controlling a harmonic elimination device according to an embodiment of the present invention.
[0113] Figure 3 is a schematic diagram of an electronic device according to an embodiment of the present invention, such as Figure 3 As shown, an embodiment of the present invention provides an electronic device 30, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, any one of the above-mentioned methods for controlling a detuning device is implemented.
[0114] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0115] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0116] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. 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 is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0118] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0119] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0120] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for controlling a detuning device, characterized in that: include: After the target node of the power grid is connected to n charging piles, the target node is connected to a harmonic elimination device, and the harmonic current and harmonic voltage after the target node is connected to the harmonic elimination device are detected, wherein the harmonic elimination device includes: an active power filter, and the charging pile is used to charge the electric vehicle; Based on the harmonic current and the harmonic voltage, it is evaluated whether to adjust a harmonic elimination strategy of the harmonic elimination device, wherein the harmonic elimination strategy is used to represent a strategy for controlling harmonics generated by the target node.
2. The method for controlling a harmonic elimination device according to claim 1, characterized in that: Based on the harmonic current and the harmonic voltage, evaluating whether to adjust the harmonic elimination strategy of the harmonic elimination device includes: Based on the harmonic current, calculating the total harmonic distortion rate of the current after the target node is connected to the harmonic elimination device, and obtaining the target current harmonic distortion rate; Based on the harmonic voltage, the total harmonic distortion rate of the voltage after the target node is connected to the harmonic elimination device is calculated to obtain a target voltage harmonic distortion rate; Based on the target voltage harmonic distortion rate and the target current harmonic distortion rate, it is evaluated whether to adjust the detuning strategy of the detuning device.
3. The control method for harmonic elimination equipment according to claim 2, characterized in that: Based on the target voltage harmonic distortion rate and the target current harmonic distortion rate, evaluating whether to adjust the harmonic elimination strategy of the harmonic elimination device includes: Combining the target voltage harmonic distortion rate and the target current harmonic distortion rate to obtain a target comprehensive distortion rate; Based on the target comprehensive distortion rate, it is evaluated whether to adjust the detuning strategy of the detuning device.
4. The method for controlling the harmonic elimination device according to claim 3, characterized in that: Based on the target comprehensive distortion rate, evaluating whether to adjust the detuning strategy of the detuning device includes: Comparing the target comprehensive distortion rate with a preset threshold to obtain a comparison result; Based on the comparison result, it is determined whether to adjust the detuning strategy of the detuning device.
5. The method for controlling a harmonic elimination device according to claim 3, characterized in that: The detuning device control method further includes: The target time period is partitioned into m time zones, where the electricity prices in different time zones are different and m is a positive integer; Based on the target comprehensive distortion rate, the electricity prices of the m time zones are changed to change the result.
6. The method for controlling the harmonic elimination device according to claim 5, characterized in that: After changing the electricity prices of the m time zones based on the target comprehensive distortion rate and the result of the change, the method further includes: Obtaining the time when the charging pile of the target node starts charging to obtain a first time; Obtaining the time when the charging pile of the target node ends charging to obtain a second time; Based on the first moment, the second moment and the change result, an average charging cost of the charging pile of the target node is determined.
7. The method for controlling a harmonic elimination device according to claim 5, characterized in that: After the target node of the power grid is connected to n charging piles, before the target node is connected to the detuning device, the method further includes: Determine the total harmonic distortion rate of the current of the target node after the harmonic elimination device is not connected, and obtain the initial current harmonic distortion rate; Determine the voltage total harmonic distortion rate after the target node is not connected to the harmonic elimination device, and obtain an initial voltage harmonic distortion rate; Combining the initial current harmonic distortion rate and the initial voltage harmonic distortion rate to obtain an initial comprehensive distortion rate; Based on the initial comprehensive distortion rate, a node harmonic distortion rate of the target node is determined, wherein the node harmonic distortion rate is used to determine whether to connect the target node to the harmonic elimination device.
8. The method for controlling a harmonic elimination device according to claim 1, characterized in that: After evaluating whether to adjust the harmonic elimination strategy of the harmonic elimination device based on the harmonic current and the harmonic voltage, the method further includes: Calculating the additional power loss caused by the harmonic elimination device after the target node is connected to the harmonic elimination device to obtain power loss data; Based on the power loss data, a loss cost of the detuning device is determined.
9. A control device for detuning equipment, characterized in that: include: A first processing unit is used for connecting a target node of a power grid to a harmonic elimination device after the target node is connected to n charging piles, and detecting harmonic current and harmonic voltage after the target node is connected to the harmonic elimination device, wherein the harmonic elimination device includes an active power filter, and the charging pile is used to charge an electric vehicle; The second processing unit is used to evaluate whether to adjust the detuning strategy of the detuning device based on the harmonic current and the harmonic voltage, wherein the detuning strategy is used to represent a strategy for controlling the harmonics generated by the target node.
10. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the method for controlling a harmonic elimination device according to any one of claims 1 to 8.