DIRECT CURRENT BUS VOLTAGE CONTROL METHOD AND APPARATUS, AND POWER SYSTEM
20230155386 · 2023-05-18
Inventors
Cpc classification
H02M1/325
ELECTRICITY
Y02E10/56
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02M1/0025
ELECTRICITY
H02M3/156
ELECTRICITY
H02M3/1566
ELECTRICITY
H02M1/0022
ELECTRICITY
H02M1/0019
ELECTRICITY
H02S50/00
ELECTRICITY
H02J3/38
ELECTRICITY
H02J3/12
ELECTRICITY
H02J5/00
ELECTRICITY
H02J3/36
ELECTRICITY
International classification
H02J3/36
ELECTRICITY
Abstract
Embodiments of this application provide a direct current bus voltage control method and apparatus, and a power system, and relate to the field of electric power technologies, to quickly identify a voltage between an inverter circuit and an alternating current grid, so as to timely control a voltage of a direct current bus, thereby improving stability of the power system. The method includes: obtaining an electrical parameter between the conversion circuit and the direct current bus; generating a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter and a voltage prediction model; and controlling a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
Claims
1. A direct current bus voltage control method, applied to a power system, wherein the power system comprises a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit; the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the direct current bus voltage control method comprises: obtaining an electrical parameter between the conversion circuit and the direct current bus; generating a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter and a voltage prediction model; and controlling a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
2. The method according to claim 1, wherein the voltage prediction model is a model generated based on an equivalent circuit of the direct current bus, or the voltage prediction model is a model generated based on equivalent circuits of the direct current bus and the inverter circuit.
3. The method according to claim 1, wherein the generating a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter and a voltage prediction model comprises: generating a first voltage variation between the inverter circuit and the direct current bus based on the electrical parameter and the voltage prediction model, wherein the voltage prediction model is a model generated based on the equivalent circuit of the direct current bus; and generating the predicted voltage between the alternating current grid and the inverter circuit based on the first voltage variation.
4. The method according to claim 3, wherein the generating the predicted voltage between the alternating current grid and the inverter circuit based on the first voltage variation comprises: generating a third voltage variation between the inverter circuit and the alternating current grid based on the first voltage variation and an electrical characteristic of the inverter circuit; and generating the predicted voltage based on the third voltage variation and a pre-stored normal voltage value between the inverter circuit and the alternating current grid.
5. The method according to claim 1, wherein the generating a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter and a voltage prediction model comprises: generating a second voltage variation between the inverter circuit and the alternating current grid based on the electrical parameter and the voltage prediction model, wherein the voltage prediction model is a model generated based on the equivalent circuits of the direct current bus and the inverter circuit; and generating the predicted voltage between the alternating current grid and the inverter circuit based on the second voltage variation.
6. The method according to claim 1, wherein the controlling a voltage between the conversion circuit and the direct current bus based on the predicted voltage comprises: when it is determined that the predicted voltage is greater than a voltage threshold, converting the predicted voltage into a voltage reference value between the conversion circuit and the direct current bus; generating a second current reference value based on the voltage reference value and a first voltage measurement value between the conversion circuit and the direct current bus; and adjusting the voltage between the conversion circuit and the direct current bus based on the second current reference value.
7. The method according to claim 1, wherein the controlling a voltage between the conversion circuit and the direct current bus based on the predicted voltage comprises: when it is determined that the predicted voltage is less than or equal to a voltage threshold, determining a maximum power point of the direct current source based on a current measurement value between the direct current source and the conversion circuit, and generating a first current reference value corresponding to the maximum power point; and adjusting the voltage between the conversion circuit and the direct current bus based on the first current reference value.
8. The method according to claim 1, wherein the controlling a voltage between the conversion circuit and the direct current bus based on the predicted voltage comprises: converting the predicted voltage into a voltage reference value between the conversion circuit and the direct current bus; generating a second current reference value based on the voltage reference value and a first voltage measurement value between the conversion circuit and the direct current bus; determining a maximum power point of the direct current source based on a current measurement value between the direct current source and the conversion circuit, and generating a first current reference value corresponding to the maximum power point; and when it is determined that the first current reference value is greater than the second current reference value, adjusting the voltage between the conversion circuit and the direct current bus based on the second current reference value; or when it is determined that the first current reference value is less than or equal to the second current reference value, adjusting the voltage between the conversion circuit and the direct current bus based on the first current reference value.
9. The method according to claim 1, wherein before the generating a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter and a voltage prediction model, the method further comprises: generating, based on the equivalent circuits of the direct current bus and the inverter circuit, the voltage prediction model through training by using the electrical parameter between the conversion circuit and the direct current bus as an input parameter of a learning network, and a voltage between the inverter circuit and the alternating current grid as an output parameter of the learning network.
10. The method according to claim 1, wherein the electrical parameter comprises one or more of the following: a voltage, a current, and power.
11. A direct current bus voltage control apparatus, used in a power system, wherein the power system comprises a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit; the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the direct current bus voltage control apparatus comprises: an obtaining unit, configured to obtain an electrical parameter between the conversion circuit and the direct current bus; and a processing unit, configured to: generate a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter obtained by the obtaining unit and a voltage prediction model; and control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
12. The direct current bus voltage control apparatus according to claim 11, wherein the voltage prediction model is a model generated based on an equivalent circuit of the direct current bus, or the voltage prediction model is a model generated based on equivalent circuits of the direct current bus and the inverter circuit.
13. The direct current bus voltage control apparatus according to claim 11, wherein the processing unit is specifically configured to: generate a first voltage variation between the inverter circuit and the direct current bus based on the electrical parameter and the voltage prediction model, wherein the voltage prediction model is a model generated based on the equivalent circuit of the direct current bus; and generate the predicted voltage between the alternating current grid and the inverter circuit based on the first voltage variation.
14. The direct current bus voltage control apparatus according to claim 11, wherein the processing unit is specifically configured to: generate a second voltage variation between the inverter circuit and the alternating current grid based on the electrical parameter and the voltage prediction model, wherein the voltage prediction model is a model generated based on the equivalent circuits of the direct current bus and the inverter circuit; and generate the predicted voltage between the alternating current grid and the inverter circuit based on the second voltage variation.
15. The direct current bus voltage control apparatus according to claim 11, wherein the processing unit is specifically configured to: when it is determined that the predicted voltage is greater than a voltage threshold, convert the predicted voltage into a voltage reference value between the conversion circuit and the direct current bus; generate a second current reference value based on the voltage reference value and a first voltage measurement value between the conversion circuit and the direct current bus; and adjust the voltage between the conversion circuit and the direct current bus based on the second current reference value.
16. The direct current bus voltage control apparatus according to claim 11, wherein the processing unit is specifically configured to: when it is determined that the predicted voltage is less than or equal to a voltage threshold, determine a maximum power point of the direct current source based on a current measurement value between the direct current source and the conversion circuit, and generate a first current reference value corresponding to the maximum power point; and adjust the voltage between the conversion circuit and the direct current bus based on the first current reference value.
17. An inverter, comprising an inverter circuit, a conversion circuit, and a direct current bus, wherein the conversion circuit is connected to the inverter circuit through the direct current bus, the conversion circuit is connected to a direct current source, the inverter circuit is connected to an alternating current grid, and the inverter further comprises the direct current bus voltage control apparatus, wherein the direct current bus voltage control apparatus, used in a power system, wherein the power system comprises a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit; the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the direct current bus voltage control apparatus comprises: an obtaining unit, configured to obtain an electrical parameter between the conversion circuit and the direct current bus; and a processing unit, configured to: generate a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter obtained by the obtaining unit and a voltage prediction model; and control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
18. A conversion device, comprising a conversion circuit and the direct current bus voltage control apparatus, wherein the conversion circuit is connected to an inverter circuit by using a direct current bus, the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid, wherein the direct current bus voltage control apparatus, used in a power system, wherein the power system comprises a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit; the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the direct current bus voltage control apparatus comprises: an obtaining unit, configured to obtain an electrical parameter between the conversion circuit and the direct current bus; and a processing unit, configured to: generate a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter obtained by the obtaining unit and a voltage prediction model; and control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
19. A combiner box, comprising a conversion circuit and the direct current bus voltage control apparatus, wherein the conversion circuit is connected to an inverter circuit by using a direct current bus, the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid, wherein the direct current bus voltage control apparatus, used in a power system, wherein the power system comprises a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit; the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the direct current bus voltage control apparatus comprises: an obtaining unit, configured to obtain an electrical parameter between the conversion circuit and the direct current bus; and a processing unit, configured to: generate a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter obtained by the obtaining unit and a voltage prediction model; and control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
20. A power system, comprising a voltage converter, a direct current bus, and an inverter circuit, wherein the direct current bus is connected to a conversion circuit and the inverter circuit, the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the power system further comprises the direct current bus voltage control apparatus, wherein the direct current bus voltage control apparatus, used in a power system, wherein the power system comprises a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit; the conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid; and the direct current bus voltage control apparatus comprises: an obtaining unit, configured to obtain an electrical parameter between the conversion circuit and the direct current bus; and a processing unit, configured to: generate a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter obtained by the obtaining unit and a voltage prediction model; and control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
DESCRIPTION OF EMBODIMENTS
[0048] The following describes technical solutions in embodiments of this application with reference to accompanying drawings in embodiments of this application. It is clear that the described embodiments are merely a part rather than all of embodiments of this application.
[0049] A steady state of a power system generally refers to a normal three-phase symmetrical operating state of the power system, and an operating parameter (for example, a voltage, a current, or power) of the power system continuously changes around an average value, and may be considered as a constant because it changes little. In actual operation of the power system, an ideal steady state rarely exists. Therefore, a steady state in engineering is considered as that the operating parameter of the power system continuously changes around a specified average value, and changes little. In engineering, a steady-state fluctuation range is represented by relative deviation. Common deviation values are 5%, 2%, 1%, and the like.
[0050] A transient state of a power system generally refers to a transition process from a steady state to another steady state, and an operating parameter of the power system in the transition process may change greatly. There are two types of transient processes. One is related to a rotating element in a power system, such as an electric generator and a motor. The transient process thereof is usually referred to as an electromechanical transient state caused by an imbalance in mechanical torque or electromagnetic torque. The other is in an original part such as a voltage regulator, a transmission line, and the like, and does not involve angular displacement, angular velocity, or the like, and its transient process is referred to as an electromagnetic transient state.
[0051] A photovoltaic module is direct current power composed of solar cells through series and parallel packaging.
[0052] A photovoltaic string is direct current power composed of a plurality of photovoltaic modules that are connected in series through positive and negative electrodes.
[0053] The terms “first” and “second” mentioned below are merely intended for a purpose of description, and shall not be understood as an indication or implication of relative importance or implicit indication of a quantity of indicated technical features. Therefore, a feature limited by “first” or “second” may explicitly indicate or implicitly include one or more such features.
[0054] In addition, in this application, directional terms such as “upper” and “lower” are defined relative to directions of components that are placed as shown in the accompanying drawings. It should be understood that these directional terms are relative concepts and are used for relative description and clarification, and may correspondingly change according to changes of directions in which components are placed in the accompanying drawings.
[0055] In this application, unless otherwise expressly specified and limited, the term “connection” may be a manner of implementing an electrical connection of signal transmission, and the term “connection” may be a direct electrical connection, or may be an indirect electrical connection by using an intermediate medium.
[0056] An embodiment of this application is applied to a power system. As shown in
[0057] As shown in
[0058] As shown in
[0059] With reference to
[0060] Generally, the distributed inverter uses decentralized MPPT optimization, that is, a centralized grid-connected power generation mode. That is, for each PV device, an operating voltage of a maximum power point of the PV device is determined by using separate MPPT, and inversion and grid connection are collectively performed by using a unified inverter circuit. Therefore, MPPT control mainly enables, by controlling the boost circuit based on a power signal output by the PV device, the PV device to operate at a maximum power point. The MPPT in this application is not limited, for example, may be an open-loop or closed-loop MPPT method. The open-loop MPPT method mainly includes a voltage tracking method, a short-circuit current proportional coefficient method, an interpolation calculation method, and the like. The closed-loop MPPT method mainly includes a self-optimization MPPT algorithm such as a perturbation and observation method (P&O) and an incremental conductance (INC) method. For example, with reference to
the MPPT function can implement maximum power point tracking based on a voltage U.sub.pv of the power signal output by the PV device, for example, a voltage U.sub.b between the boost circuit and the direct current bus in a steady state is fixed. U.sub.pv is adjusted to U.sub.pv.sup.ref based on U.sub.pv.sup.ref indicated by a PV device port voltage instruction. U.sub.pv.sup.ref and U.sub.pv may be input to a control loop to generate a reference current I.sub.pv.sup.ref1 of the PV device. Then, performing current control on the PWM generator based on I.sub.pv.sup.ref1 and I.sub.pv may use loop control to adjust a PV device port voltage to U.sub.pv.sup.ref. For example, a PI controller may be used to implement current control, which is specifically as follows: A duty cycle of a PWM signal generated by the PWM generator is controlled to increase or decrease based on a difference between I.sub.pv.sup.ref1 and I.sub.pv, so as to implement adjustment on the duty cycle D of the TV1, thereby implementing adjustment on U.sub.pv and U.sub.b.
[0061] In a transient process of a power grid, a direct current bus voltage on the inverter circuit side rapidly changes due to active control (for example, MPPT) or a passive response (for example, a voltage rise fault occurs in the alternating current grid). Because a length of a direct current bus line is long and a distribution parameter (for example, an inductance and a capacitance) is large, a change of a direct current voltage on the inverter circuit side cannot be instantaneously transmitted to the boost circuit side. After a voltage of the alternating current grid is detected, it is transmitted to the conversion circuit, and there is a significant delay in implementing control on the boost circuit. In this way, there is a delay in coordination on control of the boost circuit and the inverter circuit, which causes the foregoing problem. In this application, a variable electrical parameter such as a local direct current voltage and current of the boost circuit is measured in a predetermined time period, and a voltage between the inverter circuit and an alternating current bus is predicted by using a voltage prediction model established in advance based on the direct current bus (or the direct current bus and the inverter circuit). The boost circuit may be controlled in real time based on the predicted voltage to control a voltage of the direct current bus, so that a voltage between the inverter circuit and the alternating current grid can be quickly identified, so as to implement timely control on the voltage of the direct current bus, to improve stability of the power system.
[0062] In another solution, the power system provided in this embodiment of this application may be a DC micro grid. As shown in
[0063] Based on the foregoing power system, an embodiment of this application provides a direct current bus voltage control method. The power system further includes a direct current bus voltage control apparatus. As shown in
[0064] An embodiment of this application provides the foregoing direct current bus voltage control method, and the method is applied to the direct current bus voltage control apparatus in
[0065] 101: Obtain an electrical parameter between a conversion circuit and a direct current bus.
[0066] 102: Generate a predicted voltage between an inverter circuit and an alternating current grid based on the electrical parameter and a voltage prediction model.
[0067] The voltage prediction model is a model generated based on an equivalent circuit of the direct current bus, or the voltage prediction model is a model generated based on equivalent circuits of the direct current bus and the inverter circuit.
[0068] In this embodiment of this application, the electrical parameter (as shown in
[0069] Based on specific forms of the direct current bus and the inverter circuit, the direct current bus and the inverter circuit each may be respectively equivalent to a circuit formed through connecting an inductor and a capacitor. For example, the direct current bus generally has a π-type topology, a T-type topology, and the like. As shown in
[0070] For the foregoing electrical parameter, in an example in which the electrical parameter is the voltage U.sub.b or ΔU.sub.b, generation of the voltage prediction model and generation of the predicted voltage provided in this embodiment of this application are specifically described as follows:
[0071] Example 1: The electrical parameter between the conversion circuit and the direct current bus is input into the voltage prediction model to generate the predicted voltage between the inverter circuit and the alternating current grid. With reference to
[0072] Example 2: A second voltage variation between the inverter circuit and the alternating current grid is generated based on the electrical parameter between the conversion circuit and the direct current bus and the voltage prediction model. The predicted voltage between the alternating current grid and the inverter circuit is generated based on the second voltage variation. With reference to
[0073] Example 1 and Example 2 directly predict the voltage between the inverter circuit and the alternating current grid. Examples 3 and 4 further provide a manner of indirectly predicting a voltage between the inverter circuit and the alternating current grid.
[0074] Example 3: A voltage U.sub.i between the inverter circuit and the direct current bus is generated based on the electrical parameter between the conversion circuit and the direct current bus and the voltage prediction model; and a predicted voltage E between the alternating current grid and the inverter circuit is generated based on the voltage U.sub.i.
[0075] With reference to
[0076] Example 4: A first voltage variation ΔU.sub.i between the inverter circuit and the direct current bus is generated based on the electrical parameter between the conversion circuit and the direct current bus and the voltage prediction model; the voltage prediction model is a model generated based on the equivalent circuit of the direct current bus; and a predicted voltage E between the alternating current grid and the inverter circuit is generated based on the first voltage variation ΔU.sub.i.
[0077] Specifically, a third voltage variation ΔE between the inverter circuit and the alternating current grid is generated based on the first voltage variation ΔU.sub.i and the electrical characteristic of the inverter circuit. The predicted voltage E is generated based on the third voltage variation ΔE and a pre-stored normal voltage value E0 between the inverter circuit and the alternating current grid. With reference to
[0078] 103: Control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
[0079] Specifically, with reference to the foregoing description, in step 103, a control signal of a voltage converter is specifically generated based on the predicted voltage, so as to implement control on the voltage between the conversion circuit and the direct current bus.
[0080] In the foregoing solution, after obtaining the electrical parameter between the conversion circuit and the direct current bus, a direct current bus voltage control apparatus can directly generate the predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter and the voltage prediction model; then, control the voltage between the conversion circuit and the direct current bus based on the predicted voltage; and can avoid a delay caused by obtaining the voltage between the conversion circuit and the direct current bus when the inverter circuit and the conversion circuit are connected by using a long-distance direct current bus, and can quickly identify a voltage between the inverter circuit and the alternating current grid, so as to implement timely control on a voltage of the direct current bus, thereby improving stability of a power grid.
[0081] A specific implementation of step 103 is described as follows:
Embodiment 1
[0082] An embodiment of this application provides a direct current bus voltage control method, and the method is applied to the direct current bus voltage control apparatus in
[0083] 201: Obtain an electrical parameter between a conversion circuit and a direct current bus.
[0084] 202: Generate a predicted voltage between an inverter circuit and an alternating current grid based on the electrical parameter and a voltage prediction model.
[0085] For descriptions of steps 201 and 203, refer to descriptions of step 101 and step 102 directly. Details are not described herein again.
[0086] 203: When it is determined that a predicted voltage E is greater than a voltage threshold kEn, convert the predicted voltage E into a voltage reference value between the conversion circuit and the direct current bus U.sub.b.sup.ref.
[0087] The voltage threshold kEn may be set based on a rated operating voltage En of the alternating current grid. For example, the voltage threshold may be set to kEn, and a value of k is determined by different power grid operators, indicating a grid-connected high voltage ride through requirement of different standards. For example, the value of k is generally set to 110% to 130%. A larger value of k indicates a higher requirement for a high voltage ride through function of a device (inverter). The inverter needs to support a case in which in a higher power grid voltage surge fault, the inverter can still be ensured not to be disconnected from the power grid, and output active power is fast and controllable. In addition, a modulation ratio M of the inverter circuit is generally fixed. In this way, a direct current voltage U.sub.i on the inverter circuit side may rise at a same ratio when the voltage E of the alternating current grid changes (a voltage between the inverter circuit and the direct current bus). To ensure that the inverter can output active power to the alternating current grid and keep controllable during a transient fault, a voltage reference value U.sub.bf should also be set based on the modulation ratio M in combination with the predicted voltage E, so that it can be restored to be controllable in the shortest time. For example,
(M is usually around 1.14), which can be adjusted up or down as required U.sub.b.sup.ref, it is ensured that a dynamic characteristic of the inverter is the best during a transient process. With reference to the foregoing Examples 1 to 4, when the predicted voltage E or the voltage U.sub.i is directly measured based on the voltage prediction model, E0 does not need to be obtained. However, when ΔU.sub.i or ΔE is predicted based on the voltage prediction model, it is also necessary to measure E0 of the alternating current grid by using a detection device on the inverter circuit side in a steady state, and transmit it to the direct current bus voltage control apparatus through slow communication or in another manner (for example, may be a pre-stored configured default value or a pre-measured value). As shown in
[0088] 204: Generate a second current reference value I.sub.pv.sup.ref2 based on the voltage reference value U.sub.b.sup.ref and a first voltage measurement value U.sub.b between the conversion circuit and the direct current bus.
[0089] 205: Adjust the voltage between the conversion circuit and the direct current bus based on the second current reference value I.sub.pv.sup.ref2.
[0090] In this solution, finally an adjustment result of a voltage of the direct current bus is to adjust the first voltage measurement value U.sub.b between the conversion circuit and the direct current bus to U.sub.b.sup.ref. Therefore, in this solution, loop control may be performed on the voltage of the direct current bus in step 204 to generate a second current reference value I.sub.pv.sup.ref2 of a direct current source, and specifically, I.sub.pv.sup.ref2 is generated based on a difference between U.sub.b.sup.ref and U.sub.b. In step 205, after the voltage between the conversion circuit and the direct current bus is adjusted based on I.sub.pv.sup.ref2, the voltage between the conversion circuit and the direct current bus is U.sub.b.sup.ref. A manner of adjusting the voltage between the conversion circuit and the direct current bus based on I.sub.pv.sup.ref2 is to use current control, for example, current control performed on a PWM generator based on I.sub.pv.sup.ref2 and I.sub.pv may use loop control. For example, current control may be implemented by using a PI controller, which is specifically as follows: A duty cycle of a PWM signal generated by the PWM generator increases or decreases based on I.sub.pv.sup.ref2 and I.sub.pv, thereby implementing adjustment on a duty cycle D of TV1, and implementing adjustment on U.sub.b.
[0091] 206: When it is determined that the predicted voltage E is less than or equal to the voltage threshold kEn, determine a maximum power point of the direct current source based on a current measurement value I.sub.pv between the direct current source and the conversion circuit, and generate a first current reference value I.sub.pv.sup.ref1 corresponding to the maximum power point.
[0092] 207: Adjust the voltage between the conversion circuit and the direct current bus based on the first current reference value I.sub.pv.sup.ref1.
[0093] MPPT control on the conversion circuit may be used in step 206 and step 207. For details, refer to the foregoing description corresponding to
[0094] In the foregoing Embodiment 1, step 103 in the foregoing method example is implemented by using steps 203-207. In the foregoing Embodiment 1, when the predicted voltage E is greater than the voltage threshold kEn, high voltage ride through occurs in a power system. The direct current bus voltage control apparatus directly converts the predicted voltage E into the voltage reference value U.sub.b.sup.ref between the conversion circuit and the direct current bus, then performs loop control based on a voltage measurement value U.sub.b between the conversion circuit and the direct current bus to generate a second current reference value I.sub.pv.sup.ref2, and generates a control signal of the conversion circuit based on the second current reference value I.sub.pv.sup.ref2 to implement control, to implement voltage adjustment between the conversion circuit and the direct current bus. Because the direct current bus voltage control apparatus can obtain the predicted voltage E in real time based on the electrical parameter between the conversion circuit and the direct current bus and the voltage prediction model, a time delay of adjustment on the voltage between the conversion circuit and the direct current bus can be reduced. In particular, when a transient state such as high voltage ride through occurs in the power system, the voltage of the direct current bus can be adjusted in time, thereby improving stability of the power system.
Embodiment 2
[0095] An embodiment of this application provides a direct current bus voltage control method, and the method is applied to the direct current bus voltage control apparatus in
[0096] 301: Obtain an electrical parameter between a conversion circuit and a direct current bus.
[0097] 302: Generate a predicted voltage between an inverter circuit and an alternating current grid based on the electrical parameter and a voltage prediction model.
[0098] For descriptions of steps 301 and 303, refer to descriptions of step 101 and step 102 directly. Details are not described herein again.
[0099] 303: Convert a predicted voltage E into a voltage reference value U.sub.b.sup.ref between the conversion circuit and the direct current bus.
[0100] For conversion of the predicted voltage E in this step, refer to step 203. Details are not described herein again.
[0101] 304: Generate a second current reference value I.sub.pv.sup.ref2 based on the voltage reference value U.sub.b.sup.ref and a first voltage measurement value U.sub.b between the conversion circuit and the direct current bus.
[0102] For step 304, refer to the foregoing description of step 204. Details are not described herein again.
[0103] 305: Determine a maximum power point of a direct current source based on a current measurement value U.sub.b between the direct current source and the conversion circuit, and generate a first current reference value I.sub.pv.sup.ref1 corresponding to the maximum power point.
[0104] 306: When it is determined that the first current reference value I.sub.pv.sup.ref1 is greater than the second current reference value I.sub.pv.sup.ref2, adjust a voltage between the conversion circuit and the direct current bus based on the second current reference value I.sub.pv.sup.ref2.
[0105] For a manner of adjusting the voltage between the conversion circuit and the direct current bus I.sub.pv.sup.ref2 in step 306, refer to the description in step 205. Details are not described herein again.
[0106] 307: When it is determined that the first current reference value I.sub.pv.sup.ref1 is less than or equal to the second current reference value I.sub.pv.sup.ref2, adjust the voltage between the conversion circuit and the direct current bus based on the first current reference value I.sub.pv.sup.ref1.
[0107] For a manner of adjusting the voltage between the conversion circuit and the direct current bus based on step I.sub.pv.sup.ref1, refer to the description in a step corresponding to
[0108] In the foregoing Embodiment 2, step 103 in the foregoing method example is implemented by using steps 303-307. The direct current bus voltage control apparatus directly converts the predicted voltage E into the voltage reference value U.sub.b.sup.ref between the conversion circuit and the direct current bus, and then performs loop control based on the voltage measurement value U.sub.b between the conversion circuit and the direct current bus, to generate the second current reference value I.sub.pv.sup.ref2; and in addition, performs MPPT control on the direct current source to generate the first current reference value I.sub.pv.sup.ref1 corresponding to the maximum power point, performs loop competition on a control loop of the conversion circuit by using I.sub.pv.sup.ref2 and I.sub.pv.sup.ref1, and uses a smaller current value of the two to participate in the loop control of the conversion circuit. As described above, generally, the voltage of the alternating current grid increases to a relatively high voltage when the power system is in a transient state, and U.sub.b.sup.ref may correspondingly rise to a higher voltage. In this case, I.sub.pv.sup.ref2 may be a relatively small current value. To enable the conversion circuit to effectively output power, the voltage between the conversion circuit and the direct current bus needs to be adjusted to U.sub.b.sup.ref. Therefore, loop competition is performed on the control loop of the conversion circuit by using I.sub.pv.sup.ref2 and I.sub.pv.sup.ref1, and the smaller current value I.sub.pv.sup.ref2 of the two is used to participate in loop control of the conversion circuit, which can ensure that the conversion circuit can effectively output power in the transient state. In addition, when the power system restores to a steady state, the voltage of the alternating current grid decreases, and U.sub.b.sup.ref may also decrease. In this case, I.sub.pv.sup.ref2 may be a relatively large current value. When I.sub.pv.sup.ref2 is large enough (for example, greater than or equal to I.sub.pv.sup.ref1), control on the conversion circuit is transferred to MPPT again by using I.sub.pv.sup.ref2 and I.sub.pv.sup.ref1 to perform loop competition on the control loop of the conversion circuit. Certainly, voltage control manners of the direct current bus based on the predicted voltage E are not limited to the foregoing two manners. For example, in this solution, MPPT control may be used in step 305 to generate a reference current I.sub.pv.sup.ref1 that is used to perform loop competition on the control loop of the conversion circuit in steps 306 and 307. Alternatively, loop competition may be performed in another manner and design on the control loop of the conversion circuit. For example, a person skilled in the art may further directly design another manner of performing loop competition on the control loop of the conversion circuit based on a relationship between U.sub.b.sup.ref indicated by a port voltage instruction of a PV device and the predicted voltage E.
[0109] In the foregoing solution, when the voltage between the conversion circuit and the direct current bus is adjusted, the predicted voltage E can be obtained in real time based on the electrical parameter between the conversion circuit and the direct current bus and the voltage prediction model. Therefore, a time delay of adjustment on the voltage between the conversion circuit and the direct current bus can be reduced, especially when a transient state such as high voltage ride through occurs in the power system, the voltage of the direct current bus can be adjusted immediately, thereby improving stability of the power system.
[0110]
[0111] It may be understood that the direct current bus voltage control method provided in the foregoing embodiments may be implemented by a direct current bus voltage control apparatus. The foregoing methods and/or steps may also be implemented by a component (such as a chip or a circuit) that can be used in the direct current bus voltage control apparatus.
[0112] It may be understood that, to implement the foregoing functions, the direct current bus voltage control apparatus includes corresponding hardware structures and/or software modules for performing functions. A person skilled in the art should be easily aware that units, algorithms, and steps in the examples described with reference to embodiments disclosed in this specification can be implemented in a form of hardware or a combination of hardware and computer software in this application. Whether a function is performed by hardware or hardware driven by computer software depends on a particular application and a design constraint of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
[0113] In embodiments of this application, the direct current bus voltage control apparatus may be divided into functional modules based on the foregoing method embodiments. For example, functional modules corresponding to each function may be divided, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module. It should be noted that, in embodiments of this application, division into the modules is an example and is merely logical function division, and may be other division in an actual implementation.
[0114]
[0115] an obtaining unit 151, configured to obtain an electrical parameter between the conversion circuit and the direct current bus; and
[0116] a processing unit 152, configured to generate a predicted voltage between the inverter circuit and the alternating current grid based on the electrical parameter obtained by the obtaining unit and a voltage prediction model, where the voltage prediction model is a model generated based on an equivalent circuit of the direct current bus, or the voltage prediction model is a model generated based on equivalent circuits of the direct current bus and the inverter circuit; and control a voltage between the conversion circuit and the direct current bus based on the predicted voltage.
[0117] Optionally, the processing unit 152 is specifically configured to: generate a first voltage variation between the inverter circuit and the direct current bus based on the electrical parameter and the voltage prediction model, where the voltage prediction model is a model generated based on an equivalent circuit of the direct current bus; and generate a predicted voltage between the alternating current grid and the inverter circuit based on the first voltage variation.
[0118] Optionally, the processing unit 152 is specifically configured to: generate a third voltage variation between the inverter circuit and the alternating current grid based on the first voltage variation and an electrical characteristic of the inverter circuit; and generate the predicted voltage based on the third voltage variation and a pre-stored normal voltage value between the inverter circuit and the alternating current grid.
[0119] Optionally, the processing unit 152 is specifically configured to: generate a second voltage variation between the inverter circuit and the alternating current grid based on the electrical parameter and the voltage prediction model, where the voltage prediction model is a model generated based on equivalent circuits of the direct current bus and the inverter circuit; and generate a predicted voltage between the alternating current grid and the inverter circuit based on the second voltage variation.
[0120] Optionally, the processing unit 152 is specifically configured to: when it is determined that the predicted voltage is greater than a voltage threshold, convert the predicted voltage into a voltage reference value between the conversion circuit and the direct current bus; generate a second current reference value based on the voltage reference value and a first voltage measurement value between the conversion circuit and the direct current bus; and adjust a voltage between the conversion circuit and the direct current bus based on the second current reference value.
[0121] Optionally, the processing unit 152 is specifically configured to: convert the predicted voltage into a voltage reference value between the conversion circuit and the direct current bus based on the direct current bus and the electrical characteristic of the inverter circuit.
[0122] Optionally, the processing unit 152 is specifically configured to: when it is determined that the predicted voltage is less than or equal to the voltage threshold, determine a maximum power point of the direct current source based on a current measurement value between the direct current source and the conversion circuit, and generate a first current reference value corresponding to the maximum power point; and adjust the voltage between the conversion circuit and the direct current bus based on the first current reference value.
[0123] Optionally, the processing unit 152 is specifically configured to: convert the predicted voltage into a voltage reference value between the conversion circuit and the direct current bus; generate a second current reference value based on the voltage reference value and a first voltage measurement value between the conversion circuit and the direct current bus; and determine a maximum power point of the direct current source based on a current measurement value between the direct current source and the conversion circuit, and generate a first current reference value corresponding to the maximum power point; and when it is determined that the first current reference value is greater than the second current reference value, adjust the voltage between the conversion circuit and the direct current bus based on the second current reference value; or when it is determined that the first current reference value is less than or equal to the second current reference value, adjust the voltage between the conversion circuit and the direct current bus based on the first current reference value.
[0124] Optionally, the processing unit 152 is further configured to: based on equivalent circuits of the direct current bus and the inverter circuit, generate the voltage prediction model through training by using the electrical parameter between the conversion circuit and the direct current bus as an input parameter of a learning network, and a voltage between the inverter circuit and the alternating current grid as an output parameter of the learning network.
[0125] Optionally, the processing unit 152 is further configured to: based on an equivalent circuit of the direct current bus, generate the voltage prediction model through training by using the electrical parameter between the conversion circuit and the direct current bus as an input parameter of a learning network, and a voltage variation between the inverter circuit and the direct current bus as an output parameter of the learning network.
[0126] Optionally, the processing unit 152 is further configured to: based on equivalent circuits of the direct current bus and the inverter circuit, generate the voltage prediction model through training by using the electrical parameter between the conversion circuit and the direct current bus as an input parameter of a learning network, and a voltage variation between the inverter circuit and the alternating current grid as an output parameter of the learning network.
[0127] All related content of the steps in the method embodiments may be cited in function descriptions of corresponding functional modules. Details are not described herein again.
[0128] In this embodiment, the direct current bus voltage control apparatus is presented in a form of dividing each functional module in an integrated manner. The “module” herein may be a specific ASIC, a circuit, a processor and a memory that execute one or more software or firmware programs, an integrated logic circuit, and/or another component that can provide the foregoing functions.
[0129] For example, a direct current bus voltage control apparatus is provided, which is applied to a power system, where the power system includes a conversion circuit, a direct current bus, and an inverter circuit, and the direct current bus is connected to the conversion circuit and the inverter circuit. The conversion circuit is connected to a direct current source, and the inverter circuit is connected to an alternating current grid. The direct current bus voltage control apparatus includes a processor and a transmission interface. The processor is configured to invoke program instructions stored in a memory to perform the foregoing method. Specifically, a function/implementation process of the processing unit 152 in
[0130] Optionally, an embodiment of this application further provides a direct current bus voltage control apparatus (for example, a quality factor detection apparatus based on an oscillation circuit may be a chip or a chip system). The direct current bus voltage control apparatus includes a processor, configured to implement the method in any one of the foregoing method embodiments. In a possible design, the direct current bus voltage control apparatus further includes a memory. The memory is configured to store necessary program instructions and data. The processor may invoke program code stored in the memory to indicate the direct current bus voltage control apparatus to perform the method in any one of the foregoing method embodiments. Certainly, the memory may not be in the direct current bus voltage control apparatus. When the direct current bus voltage control apparatus is a chip system, the direct current bus voltage control apparatus may be composed of chips, or may include a chip and another discrete device. This is not specifically limited in this embodiment of this application.
[0131] All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When a software program is used to implement the embodiments, all or some of the embodiments may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions according to embodiments of this application are at least partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid-state disk (SSD)), or the like. In this embodiment of this application, the computer may include the foregoing apparatus.
[0132] Although this application is described with reference to embodiments, in a process of implementing this application that claims protection, a person skilled in the art may understand and implement another variation of the disclosed embodiments by viewing the accompanying drawings, disclosed content, and the appended claims. In the claims, “comprising” (comprising) does not exclude another component or another step, and “a” or “one” does not exclude a case of multiple. A single processor or another unit may implement several functions enumerated in the claims. Some measures are set forth in dependent claims that are different from each other, but this does not mean that these measures cannot be combined to produce great effect.
[0133] Although this application is described with reference to specific features and all the embodiments thereof, it is clear that various modifications and combinations may be made to them without departing from the spirit and scope of this application. Correspondingly, this specification and the accompanying drawings are merely example description of this application defined by the appended claims, and are considered as any or all of modifications, variations, combinations or equivalents that cover the scope of this application. It is clearly that a person skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. This application is intended to cover these modifications and variations of this application provided that they fall within the scope of protection defined by the following claims and their equivalent technologies.