Direct-current micro-grid control method and device based on virtual resistor, and electronic equipment
By obtaining the transfer function and poles of the DC microgrid system, calculating the feedback coefficient of the virtual resistance compensation, and adjusting the output impedance, the problem of reduced stability caused by multiple converters being connected to the DC microgrid is solved, and the stability of the system is improved.
Patent Information
- Application Number
- CN202410953679.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-08
AI Technical Summary
The connection of multiple converters to the DC microgrid leads to reduced stability, and the existing resonance suppression strategy has problems such as system energy distribution, increased hardware costs and increased energy loss.
By obtaining the transfer function and pole of the duty cycle of the DC microgrid system to the system output voltage, filtering the minimum and maximum values of the inductor equivalent series resistance, calculating the feedback coefficient of the virtual resistor compensation, adjusting the output impedance to suppress frequency oscillation, and controlling The system reaches a stable state.
Without increasing hardware costs and energy losses, improve the stability of the DC microgrid and avoid damage to system power distribution and dynamic response, only by increasing the complexity of the control program.
Smart Images

Figure CN118920434A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic power control technology or other related fields, and in particular to a direct current microgrid control method based on virtual resistance, a device thereof, and electronic equipment. Background Art
[0002] As the public's attention to power supply reliability and power quality continues to increase, as well as the extensive use of various forms of renewable energy such as solar energy and wind energy, microgrids have received widespread attention as an effective way to connect distributed power sources to the power grid. Various types of distributed power sources in microgrids, such as photovoltaic cells, supercapacitors and wind turbines, mostly output DC power, or have intermediate transmission links of DC power, and many household appliances and office equipment essentially require DC power to work properly. Therefore, if microgrids use DC power as the transmission form of electric energy, they can reduce the conversion links and improve energy utilization efficiency. At present, the coordinated control methods of DC microgrids are mainly divided into centralized communication control, distributed communication control and bus voltage hierarchical control. Compared with the first two control methods, bus voltage hierarchical control determines the working mode of each converter in the DC microgrid by detecting the bus voltage. This control method does not require communication and can improve the reliability and response speed of the DC microgrid.
[0003] In related technologies, in order to ensure stable power supply to the DC microgrid load and reduce electromagnetic interference noise, a filter is usually added before the load of the DC microgrid. The connection of multiple converters to the DC microgrid will cause interaction between the cascade converters or resonance with the filter, thereby reducing the stability of the DC microgrid. At present, the strategies for suppressing resonance mainly adopt active damping strategy and passive damping strategy, but both strategies have a series of disadvantages such as affected system energy distribution, increased system hardware cost, increased system energy loss and impaired system dynamic response.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present invention provide a DC microgrid control method based on virtual resistance, a device thereof, and an electronic device thereof, so as to at least solve the technical problem in the related art that multiple converters are connected to a DC microgrid, resulting in reduced stability of the DC microgrid.
[0006] According to one aspect of an embodiment of the present invention, a direct current microgrid control method based on virtual resistance is provided, comprising: obtaining a transfer function from the duty cycle of a direct current microgrid system to a system output voltage and a plurality of poles of the transfer function; screening and obtaining a minimum value and a maximum value of an inductor equivalent series resistance in the direct current microgrid system according to the plurality of poles of the transfer function and a stability condition of the direct current microgrid system, and determining a median resistance of the inductor equivalent series resistance according to the minimum value and the maximum value, wherein the stability condition refers to a condition that enables the direct current microgrid system to reach a stable state; measuring an actual resistance of the inductor equivalent series resistance, obtaining an additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculating a feedback coefficient under virtual resistance compensation according to the additional resistance and an input voltage of a direct current voltage converter; and writing a control program into a digital controller in the direct current microgrid system according to the feedback coefficient, adjusting the output impedance of the direct current microgrid system through the control program, suppressing the frequency oscillation of the direct current microgrid, and controlling the direct current microgrid system to reach a stable state.
[0007] Optionally, before obtaining the transfer function from the duty cycle of the DC microgrid system to the system output voltage and the multiple poles of the transfer function, it also includes: obtaining the output voltage of the DC voltage converter and the power of the constant power load; inputting the output voltage of the DC voltage converter and the power of the constant power load into the first formula, and calculating the equivalent negative resistance of the constant power load under the output voltage.
[0008] Optionally, the step of obtaining a transfer function from the duty cycle of the DC microgrid system to the system output voltage and multiple poles of the transfer function includes: inputting the input voltage of the DC voltage converter, the inductance of the DC microgrid system, the inductance equivalent series resistance of the DC microgrid system, the capacitance of the DC microgrid system, and the equivalent negative resistance of the constant power load into a first function, wherein the first function represents the transfer function from the duty cycle of the DC microgrid system to the system output voltage; and obtaining multiple poles of the first function, wherein the multiple poles are collectively represented as a second function.
[0009] Optionally, when determining the stability conditions of the DC microgrid system, it includes: analyzing the stability of the DC microgrid system using an eigenvalue analysis strategy to obtain the stability conditions when the DC microgrid system reaches a stable state, wherein the stability conditions are represented by a second formula; according to the second formula, obtaining the minimum and maximum values of the inductor equivalent series resistance when the DC microgrid system reaches a stable state, wherein the minimum value is represented by a first function value and the maximum value is represented by a second function value.
[0010] Optionally, when the stability of the DC microgrid system is analyzed using the eigenvalue analysis strategy, it includes: when the equivalent negative resistance of the constant power load is a negative resistance and the absolute value of the equivalent negative resistance of the constant power load is less than the equivalent series resistance of the inductor, it is determined that the DC microgrid system is in an unstable state; when the equivalent negative resistance of the constant power load is a negative resistance, the absolute value of the equivalent negative resistance of the constant power load is greater than the equivalent series resistance of the inductor, and the real part of the denominator in the second function representing multiple poles is a positive real number, it is determined that the DC microgrid system is in a stable state.
[0011] Optionally, the step of determining the median resistance of the inductor equivalent series resistance based on the minimum value and the maximum value further includes: inputting the minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system into a third formula to obtain an average value of the maximum value and the minimum value, and the average value is defined as the median resistance of the inductor equivalent series resistance.
[0012] Optionally, the steps of obtaining an additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and obtaining a feedback coefficient under virtual resistance compensation according to the additional resistance include: inputting the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance into a fourth formula, subtracting the actual resistance of the inductor equivalent series resistance from the median resistance of the inductor equivalent series resistance to obtain the additional resistance of the inductor equivalent series resistance; inputting the additional resistance of the inductor equivalent series resistance and the input voltage of the DC voltage converter into a fifth formula, multiplying the additional resistance of the inductor equivalent series resistance by the inverse of the input voltage of the DC voltage converter to obtain the feedback coefficient.
[0013] According to another aspect of an embodiment of the present invention, a DC microgrid control device based on virtual resistance is also provided, including: an acquisition unit, used to acquire a transfer function from the duty cycle of the DC microgrid system to the system output voltage and multiple poles of the transfer function; a first calculation unit, used to screen and obtain the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system according to the multiple poles of the transfer function and the stability condition of the DC microgrid system, and determine the median resistance of the inductor equivalent series resistance according to the minimum and maximum values, wherein the stability condition refers to the condition that makes the DC microgrid system reach a stable state; a second calculation unit, used to measure the actual resistance of the inductor equivalent series resistance, obtain the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculate the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter; a control unit, used to write a control program in a digital controller in the DC microgrid system according to the feedback coefficient, adjust the output impedance of the DC microgrid system through the control program, suppress the frequency oscillation of the DC microgrid, and control the DC microgrid system to reach a stable state.
[0014] Optionally, the acquisition unit includes: a first acquisition module, used to obtain the output voltage of the DC voltage converter and the power of the constant power load; a first formula calculation module, used to input the output voltage of the DC voltage converter and the power of the constant power load into the first formula to calculate the equivalent negative resistance of the constant power load under the output voltage.
[0015] Optionally, the acquisition unit also includes: a transfer function characterization module, used to input the input voltage of the DC voltage converter, the inductance of the DC microgrid system, the inductance equivalent series resistance of the DC microgrid system, the capacitance of the DC microgrid system and the equivalent negative resistance of the constant power load into a first function, wherein the first function characterizes the transfer function from the duty cycle of the DC microgrid system to the system output voltage; a second acquisition module, used to acquire multiple poles of the first function, and the multiple poles are collectively characterized as a second function.
[0016] Optionally, the first calculation unit includes: an analysis module, used to analyze the stability of the DC microgrid system using an eigenvalue analysis strategy, and obtain the stability conditions when the DC microgrid system reaches a stable state, and the stability conditions are represented by a second formula; a third acquisition module, used to obtain the minimum and maximum values of the inductor equivalent series resistance when the DC microgrid system reaches a stable state according to the second formula, wherein the minimum value is represented by the first function value and the maximum value is represented by the second function value.
[0017] Optionally, the analysis module includes: a first determination module, used to determine that the DC microgrid system is in an unstable state when the equivalent negative resistance of the constant power load is a negative resistance and the absolute value of the equivalent negative resistance of the constant power load is less than the equivalent series resistance of the inductor; a second determination module, used to determine that the DC microgrid system is in a stable state when the equivalent negative resistance of the constant power load is a negative resistance, the absolute value of the equivalent negative resistance of the constant power load is greater than the equivalent series resistance of the inductor, and the real part of the denominator in the second function representing multiple poles is a positive real number.
[0018] Optionally, the first calculation unit also includes: a third formula calculation module, used to input the minimum value and maximum value of the inductor equivalent series resistance in the DC microgrid system into a third formula to obtain an average value of the maximum value and the minimum value, and the average value is defined as the median resistance of the inductor equivalent series resistance.
[0019] Optionally, the second calculation unit includes: a fourth formula calculation module, used to input the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance into the fourth formula, and subtract the actual resistance of the inductor equivalent series resistance from the median resistance of the inductor equivalent series resistance to obtain the additional resistance of the inductor equivalent series resistance; a fifth formula calculation module, used to input the additional resistance of the inductor equivalent series resistance and the input voltage of the DC voltage converter into the fifth formula, and multiply the additional resistance of the inductor equivalent series resistance by the inverse of the input voltage of the DC voltage converter to obtain the feedback coefficient.
[0020] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned virtual resistance-based DC microgrid control methods.
[0021] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned virtual resistance-based DC microgrid control methods.
[0022] According to another aspect of an embodiment of the present invention, a computer program product is further provided, including a computer program, wherein when the computer program is executed by a processor, the steps of any one of the above-mentioned methods for controlling a DC microgrid based on virtual resistance are implemented.
[0023] In the present disclosure, by obtaining a transfer function from the duty cycle of a DC microgrid system to the system output voltage and multiple poles of the transfer function, the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system are screened according to the multiple poles of the transfer function and the stability condition of the DC microgrid system, and then the median resistance of the inductor equivalent series resistance is determined according to the minimum and maximum values, and then the actual resistance of the inductor equivalent series resistance is measured, and the additional resistance of the inductor equivalent series resistance is obtained according to the actual resistance and the median resistance, and the feedback coefficient under virtual resistance compensation is calculated according to the additional resistance and the input voltage of the DC voltage converter, and finally, according to the feedback coefficient, a control program is written into a digital controller in the DC microgrid system, and the output impedance of the DC microgrid system is adjusted by the control program, the frequency oscillation of the DC microgrid is suppressed, and the DC microgrid system is controlled to reach a stable state.
[0024] The present invention screens the minimum and maximum values of the inductor equivalent series resistance in a DC microgrid system without increasing the system hardware cost and energy loss and without affecting the power distribution and dynamic response of the system, combines the actual resistance of the inductor equivalent series resistance measured, obtains the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, calculates the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter, and finally writes a control program in a digital controller in the DC microgrid system according to the feedback coefficient. The control program is used to adjust the output impedance of the DC microgrid system, suppress the frequency oscillation of the DC microgrid, and control the DC microgrid system to reach a stable state. The stability of the DC microgrid system is improved by only increasing the complexity of a small amount of the control program, thereby solving the technical problem in the related art that multiple converters are connected to the DC microgrid, resulting in reduced stability of the DC microgrid. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] 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:
[0026] Figure 1 is a flow chart of an optional virtual resistance-based DC microgrid control method according to an embodiment of the present invention;
[0027] Figure 2 It is a schematic diagram of a DC voltage converter connected to a constant power load in an optional DC microgrid control method based on virtual resistance according to an embodiment of the present invention;
[0028] Figure 3 is a schematic diagram of an optional virtual resistance-based DC microgrid control method according to an embodiment of the present invention;
[0029] Figure 4 is a control block diagram of an optional virtual resistance-based DC microgrid control method according to an embodiment of the present invention;
[0030] Figure 5 is a schematic diagram of an optional virtual resistance-based DC microgrid control device according to an embodiment of the present invention;
[0031] Figure 6 It is a hardware structure block diagram of an electronic device (or mobile device) of a DC microgrid control method based on virtual resistance according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] 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.
[0033] 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.
[0034] It should be noted that the DC microgrid control method and device based on virtual resistance in the present disclosure can be used in the field of electronic power control technology. When the stability of the DC microgrid is controlled based on virtual resistance, it can also be used in any field other than the field of electronic power control technology. When the stability of the DC microgrid is controlled based on virtual resistance, the application field of the DC microgrid control method and device based on virtual resistance in the present disclosure is not limited.
[0035] The following embodiments of the present invention can be applied to various systems / applications / devices of DC microgrid control based on virtual resistance. The present invention obtains the transfer function from the duty cycle of the DC microgrid system to the system output voltage and the multiple poles of the transfer function, and screens the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system according to the multiple poles of the transfer function and the stability condition of the DC microgrid system, and then determines the median resistance of the inductor equivalent series resistance according to the minimum and maximum values, and then measures the actual resistance of the inductor equivalent series resistance, obtains the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, calculates the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter, and finally writes a control program in the digital controller of the DC microgrid system according to the feedback coefficient, and adjusts the output impedance of the DC microgrid system through the control program, suppresses the frequency oscillation of the DC microgrid, and controls the DC microgrid system to reach a stable state. The present invention improves the stability of the DC microgrid system by only increasing the complexity of a small amount of control program without increasing the system hardware cost and energy loss and without affecting the power distribution and dynamic response of the system, thereby solving the technical problem in the related art that multiple converters are connected to the DC microgrid, resulting in reduced stability of the DC microgrid.
[0036] The present invention is described in detail below in conjunction with various embodiments.
[0037] Embodiment 1
[0038] According to an embodiment of the present invention, an embodiment of a DC microgrid control method based on virtual resistance 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.
[0039] Figure 1 is a flow chart of an optional DC microgrid control method based on virtual resistance according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0040] Step S101, obtaining a transfer function from a duty cycle of a DC microgrid system to a system output voltage and a plurality of poles of the transfer function.
[0041] Step S102, based on the multiple poles of the transfer function and the stability condition of the DC microgrid system, the minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system are screened, and the median resistance of the inductor equivalent series resistance is determined based on the minimum value and the maximum value, wherein the stability condition refers to the condition that enables the DC microgrid system to reach a stable state.
[0042] Step S103, measuring the actual resistance of the inductor equivalent series resistance, obtaining the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculating the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter.
[0043] Step S104, writing a control program into a digital controller in the DC microgrid system according to the feedback coefficient, adjusting the output impedance of the DC microgrid system through the control program, suppressing the frequency oscillation of the DC microgrid, and controlling the DC microgrid system to reach a stable state.
[0044] The steps provided by the above-mentioned virtual resistance-based DC microgrid control method can obtain the transfer function from the duty cycle of the DC microgrid system to the system output voltage and the multiple poles of the transfer function, and screen out the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system according to the multiple poles of the transfer function and the stability condition of the DC microgrid system, and then determine the median resistance of the inductor equivalent series resistance according to the minimum and maximum values, and then measure the actual resistance of the inductor equivalent series resistance, and obtain the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculate the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter, and finally write a control program in the digital controller of the DC microgrid system according to the feedback coefficient, and adjust the output impedance of the DC microgrid system through the control program, suppress the frequency oscillation of the DC microgrid, and control the DC microgrid system to reach a stable state. According to the embodiment of the present invention, the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system are screened without increasing the system hardware cost and energy loss and without affecting the power distribution and dynamic response of the system. The additional resistance of the inductor equivalent series resistance is obtained according to the actual resistance and the median resistance in combination with the actual resistance of the inductor equivalent series resistance. The feedback coefficient under virtual resistance compensation is calculated according to the additional resistance and the input voltage of the DC voltage converter. Finally, according to the feedback coefficient, a control program is written into a digital controller in the DC microgrid system. The output impedance of the DC microgrid system is adjusted by the control program, the frequency oscillation of the DC microgrid is suppressed, and the DC microgrid system is controlled to reach a stable state. The stability of the DC microgrid system is improved by only increasing the complexity of a small amount of the control program, thereby solving the technical problem in the related art that multiple converters are connected to the DC microgrid, resulting in reduced stability of the DC microgrid.
[0045] The embodiment of the present invention is described in detail below in combination with the above steps.
[0046] Figure 2 is a schematic diagram of a DC voltage converter connected to a constant power load in an optional DC microgrid control method based on virtual resistance according to an embodiment of the present invention, Figure 2 In, V in is the input voltage of the DC voltage converter, L is the inductance of the DC microgrid system, R L is the inductor equivalent series resistance of the DC microgrid system, C is the capacitance of the DC microgrid system, V bus is the output voltage of the DC voltage converter, R CPL is the equivalent negative resistance of the constant power load under the output voltage of the DC microgrid system, I CPL is the current through the constant power load.
[0047] Step S101, obtaining a transfer function from a duty cycle of a DC microgrid system to a system output voltage and a plurality of poles of the transfer function.
[0048] A DC microgrid is a power system that uses direct current as the transmission power source. It consists of distributed generation units, energy storage equipment, loads, and energy management systems. In a DC microgrid system, duty cycle is a concept that describes the percentage of time that a high or low level in a periodically changing waveform occupies. It can be used to measure the efficiency and performance of a DC microgrid system in a specific period of time.
[0049] The transfer function is a mathematical model derived from the process of solving linear ordinary differential equations using the Laplace transform method. This mathematical model can transform the differential equation description of the system expressed in the time domain into a transfer function expressed in the complex domain. By simplifying the differential and integral operations in the time domain into algebraic operations, the analysis and design of the system are greatly facilitated. In an embodiment of the present invention, the transfer function from the duty cycle of the DC microgrid system to the system output voltage is obtained and multiple poles of the transfer function are obtained to determine the conditions for the DC microgrid system to reach a stable state.
[0050] Optionally, before obtaining the transfer function from the duty cycle of the DC microgrid system to the system output voltage and the multiple poles of the transfer function, it also includes: obtaining the output voltage of the DC voltage converter and the power of the constant power load; inputting the output voltage of the DC voltage converter and the power of the constant power load into the first formula, and calculating the equivalent negative resistance of the constant power load under the output voltage.
[0051] In the embodiment of the present invention, when obtaining the duty cycle of the DC microgrid system To system output voltage Before calculating the transfer function and the multiple poles of the transfer function, we first need to obtain the output voltage V of the DC voltage converter. bus and the power P of the constant power load CPL Then, the output voltage of the DC voltage converter and the power of the constant power load are input into the first formula to calculate the equivalent negative resistance R of the constant power load under the output voltage.CPL , the first formula is characterized as:
[0052]
[0053] In the first formula, V bus is the output voltage of the DC voltage converter, P CPL is the power of the constant power load, R CPL is the equivalent negative resistance of the constant power load under the output voltage of the DC microgrid system.
[0054] Optionally, the step of obtaining a transfer function from the duty cycle of the DC microgrid system to the system output voltage and multiple poles of the transfer function includes: inputting the input voltage of the DC voltage converter, the inductance of the DC microgrid system, the inductance equivalent series resistance of the DC microgrid system, the capacitance of the DC microgrid system, and the equivalent negative resistance of the constant power load into a first function, wherein the first function represents the transfer function from the duty cycle of the DC microgrid system to the system output voltage; and obtaining multiple poles of the first function, wherein the multiple poles are collectively represented as a second function.
[0055] The transfer function is a function expressed in the complex frequency domain, which takes s as an independent variable, where s is called the complex frequency. In the embodiment of the present invention, the duty cycle of the DC microgrid system is characterized by the first function. To system output voltage The transfer function of , the first function is:
[0056]
[0057] In the first function, V in is the input voltage of the DC voltage converter, L is the inductance of the DC microgrid system, R L is the inductor equivalent series resistance of the DC microgrid system, C is the capacitance of the DC microgrid system, R CPL is the equivalent negative resistance of the constant power load, and s is the complex frequency. After obtaining the transfer function, the embodiment of the present invention needs to solve the transfer function to obtain multiple poles of the transfer function, and the stability of the DC microgrid system is determined by determining the positions of the poles of the transfer function to obtain the conditions for the DC microgrid system to reach a stable state.
[0058] In the embodiment of the present invention, by solving the transfer function, that is, the first function, two poles p1 and p2 can be obtained, and the two poles are collectively characterized as the second function:
[0059]
[0060] In the second function, L is the inductance of the DC microgrid system, R Lis the inductor equivalent series resistance of the DC microgrid system, C is the capacitance of the DC microgrid system, R CPL is the equivalent negative resistance of the constant power load.
[0061] Step S102, based on the multiple poles of the transfer function and the stability condition of the DC microgrid system, the minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system are screened, and the median resistance of the inductor equivalent series resistance is determined based on the minimum value and the maximum value, wherein the stability condition refers to the condition that enables the DC microgrid system to reach a stable state.
[0062] The eigenvalue analysis strategy is a mathematical method widely used in the fields of control systems, power systems, microgrids, etc. It is mainly used to study the stability of linear time-invariant systems. In the stability study of DC microgrids, the eigenvalue analysis strategy can analyze the intrinsic characteristics of the system, thereby analyzing the stability conditions. In an embodiment of the present invention, the eigenvalue analysis strategy is used to analyze the stability of the DC microgrid system, and the stability conditions when the DC microgrid system reaches a stable state are obtained. According to the multiple poles of the transfer function and the stability conditions of the DC microgrid system, the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system are screened, and then the median resistance of the inductor equivalent series resistance is determined according to the minimum and maximum values. The median resistance is the average of the minimum and maximum values of the inductor equivalent series resistance. The median resistance will be used for the calculation of the virtual resistance in subsequent steps.
[0063] Optionally, when determining the stability conditions of the DC microgrid system, it includes: analyzing the stability of the DC microgrid system using an eigenvalue analysis strategy to obtain the stability conditions when the DC microgrid system reaches a stable state, wherein the stability conditions are represented by a second formula; according to the second formula, obtaining the minimum and maximum values of the inductor equivalent series resistance when the DC microgrid system reaches a stable state, wherein the minimum value is represented by a first function value and the maximum value is represented by a second function value.
[0064] In an embodiment of the present invention, an eigenvalue analysis strategy is used to analyze the stability of the DC microgrid system to obtain a stable condition when the DC microgrid system reaches a stable state. The stable condition is represented by the second formula:
[0065] And R L <|R CPL |
[0066] In the second formula, L is the inductance of the DC microgrid system, C is the capacitance of the DC microgrid system, and R L is the inductor equivalent series resistance of the DC microgrid system, |R CPL | is the equivalent negative resistance R of the constant power load CPLFrom the second formula, it can be seen that the condition for the DC microgrid system to reach a stable state is that the product of the inductor equivalent series resistance and the capacitance is greater than the product of the inductor and the reciprocal of the absolute value of the constant power load equivalent negative resistance, and the inductor equivalent series resistance is smaller than the absolute value of the constant power load equivalent negative resistance.
[0067] Solving the second formula can obtain the minimum and maximum values of the inductor equivalent series resistance when the DC microgrid system reaches a stable state, where the minimum value R L_min Characterized as the first function value:
[0068]
[0069] In the first function value, L is the inductance of the DC microgrid system, C is the capacitance of the DC microgrid system, |R CPL | is the equivalent negative resistance R of the constant power load CPL The absolute value of .
[0070] Maximum R L_max Characterized as the second function value:
[0071] R L_max =|R CPL |
[0072] In the second function value, |R CPL | is the equivalent negative resistance R of the constant power load CPL The absolute value of .
[0073] Optionally, when the stability of the DC microgrid system is analyzed using the eigenvalue analysis strategy, it includes: when the equivalent negative resistance of the constant power load is a negative resistance and the absolute value of the equivalent negative resistance of the constant power load is less than the equivalent series resistance of the inductor, it is determined that the DC microgrid system is in an unstable state; when the equivalent negative resistance of the constant power load is a negative resistance, the absolute value of the equivalent negative resistance of the constant power load is greater than the equivalent series resistance of the inductor, and the real part of the denominator in the second function representing multiple poles is a positive real number, it is determined that the DC microgrid system is in a stable state.
[0074] In the embodiment of the present invention, according to the expression of the transfer function pole, that is, the second function, it can be analyzed that when the equivalent negative resistance of the constant power load is a negative resistance and the absolute value of the equivalent negative resistance of the constant power load is less than the equivalent series resistance of the inductor, the second function will have two poles, one of which is located on the right side of the imaginary axis. At this time, the system is unstable. In this case, it is determined that the DC microgrid system is in an unstable state.
[0075] In the embodiment of the present invention, the absolute value of the equivalent negative resistance of the constant power load is greater than the equivalent series resistance of the inductor, and the equivalent negative resistance of the constant power load is a negative resistance. At this time, when the real part of the denominator in the second function is a positive real number, the system is in a stable state. That is, when L / R CPL +R L When the result of C is a positive real number, the DC microgrid system is determined to be in a stable state. Therefore, the condition for the DC microgrid system to reach a stable state can be obtained as follows: And R L <|R CPL |.
[0076] Optionally, the step of determining the median resistance of the inductor equivalent series resistance based on the minimum value and the maximum value further includes: inputting the minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system into a third formula to obtain an average value of the maximum value and the minimum value, and the average value is defined as the median resistance of the inductor equivalent series resistance.
[0077] In the embodiment of the present invention, when obtaining the minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system, it is necessary to calculate the average value of the two according to the third formula, and the third formula is represented as:
[0078]
[0079] In the third formula, R L_min is the minimum value of the inductor equivalent series resistance, R L_max is the maximum value of the equivalent series resistance of the inductor. L Defined as the median resistance of the inductor equivalent series resistance, it is used to calculate the virtual resistance in the subsequent steps.
[0080] Step S103, measuring the actual resistance of the inductor equivalent series resistance, obtaining the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculating the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter.
[0081] In the embodiment of the present invention, according to the stability condition of the DC microgrid system, the inductor equivalent series resistance R L In order to solve the problem of reduced stability of the DC microgrid caused by multiple converters connected to the DC microgrid without increasing the system hardware cost and energy loss, and without affecting the power distribution and dynamic response of the system, the embodiment of the present invention achieves the effect of connecting a virtual resistor in the DC microgrid by writing a control program in the digital controller, thereby adjusting the output impedance of the DC microgrid system, suppressing the frequency oscillation of the DC microgrid, and controlling the DC microgrid system to reach a stable state.
[0082] In order to calculate the resistance value of this virtual resistor, the embodiment of the present invention needs to measure the actual resistance of the inductor equivalent series resistor, and then obtain the additional resistance of the inductor equivalent series resistor based on the actual resistance and the median resistance. The resistance value of this additional resistance is the resistance value of the virtual resistor. Then, the feedback coefficient under the virtual resistance compensation is calculated based on the additional resistance and the input voltage of the DC voltage converter, and the control program is written into the digital controller based on the feedback coefficient, and finally the DC microgrid system is controlled to reach a stable state.
[0083] Optionally, the steps of obtaining an additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and obtaining a feedback coefficient under virtual resistance compensation according to the additional resistance include: inputting the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance into a fourth formula, subtracting the actual resistance of the inductor equivalent series resistance from the median resistance of the inductor equivalent series resistance to obtain the additional resistance of the inductor equivalent series resistance; inputting the additional resistance of the inductor equivalent series resistance and the input voltage of the DC voltage converter into a fifth formula, multiplying the additional resistance of the inductor equivalent series resistance by the inverse of the input voltage of the DC voltage converter to obtain the feedback coefficient.
[0084] In the embodiment of the present invention, in order to control the DC microgrid system to reach a stable state, it is necessary to calculate the resistance value of the additional resistance of the inductor equivalent series resistance according to the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance, that is, the resistance value of the virtual resistance. In the embodiment of the present invention, the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance are input into the fourth formula, and the fourth formula is represented as:
[0085] ΔR L =R L -R L_real
[0086] In the fourth formula, R L The median resistance of the inductor equivalent series resistance, R L_real is the actual resistance of the inductor equivalent series resistance, ΔR I This is the additional resistance of the inductor's equivalent series resistance.
[0087] The additional resistance ΔR in obtaining the inductor equivalent series resistance L Then, it is input into the fifth formula together with the input voltage of the DC voltage converter to obtain the feedback coefficient R A , the fifth formula is characterized as:
[0088]
[0089] In the fifth formula, ΔR L is the additional resistance of the inductor equivalent series resistance, V inis the input voltage of the DC voltage converter.
[0090] Figure 3 is a schematic diagram of an optional DC microgrid control method based on virtual resistance according to an embodiment of the present invention. Figure 3 middle, is the duty cycle of the DC microgrid system, V in is the input voltage of the DC voltage converter, L is the inductance of the DC microgrid system, i L is the current through the inductor, R L is the inductor equivalent series resistance of the DC microgrid system, C is the capacitance of the DC microgrid system, v bus is the output voltage of the DC voltage converter, R CPL is the equivalent negative resistance of the constant power load under the output voltage of the DC microgrid system, I CPL is the current through the constant power load, s is the complex frequency, ΔR L is the additional resistance of the inductor equivalent series resistance.
[0091] exist Figure 3 As can be seen in L is the additional resistance of the inductor equivalent series resistance, i.e. ΔR L is a virtual resistor. In the embodiment of the present invention, a control program is written into a digital controller. Figure 3 A virtual resistor is connected to the DC microgrid system shown, and a feedback coefficient of the DC microgrid system is obtained by multiplying the virtual resistor by the inverse of the input voltage of the DC voltage converter, and then the DC microgrid system is controlled to reach a stable state according to the feedback coefficient.
[0092] Step S104, writing a control program into a digital controller in the DC microgrid system according to the feedback coefficient, adjusting the output impedance of the DC microgrid system through the control program, suppressing the frequency oscillation of the DC microgrid, and controlling the DC microgrid system to reach a stable state.
[0093] Figure 4 is a control block diagram of an optional DC microgrid control method based on virtual resistance according to an embodiment of the present invention. Figure 4 middle, is the given value of the DC voltage converter bus voltage, is the bus voltage sampling value, H v is the transfer function of the voltage proportional-integral controller, H i is the transfer function of the current proportional-integral controller, G iLd Duty cycle To the inductor current The transfer function, R A is the feedback coefficient under virtual resistance compensation.
[0094] Through the embodiments of the present invention, a control program is written into a digital controller in a DC microgrid system according to a feedback coefficient. Without increasing the hardware cost and energy loss of the system and without affecting the power distribution and dynamic response of the system, the output impedance of the DC microgrid system is adjusted through the control program, the frequency oscillation of the DC microgrid is suppressed, and the DC microgrid system is controlled to reach a stable state, thereby solving the technical problem in the related art that multiple converters are connected to a DC microgrid, resulting in reduced stability of the DC microgrid.
[0095] The following is a detailed description in conjunction with another embodiment.
[0096] Embodiment 2
[0097] A virtual resistor-based DC microgrid control device provided in this embodiment includes multiple implementation units, each of which corresponds to each implementation step in the above-mentioned embodiment 1.
[0098] Figure 5 is a schematic diagram of an optional DC microgrid control device based on virtual resistance according to an embodiment of the present invention, such as Figure 5 As shown, the virtual resistance-based DC microgrid control device may include: an acquisition unit 50 , a first calculation unit 51 , a second calculation unit 52 , and a control unit 53 .
[0099] The acquisition unit 50 is used to acquire a transfer function from the duty cycle of the DC microgrid system to the system output voltage and a plurality of poles of the transfer function.
[0100] The first calculation unit 51 is used to screen and obtain the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system according to the multiple poles of the transfer function and the stability condition of the DC microgrid system, and determine the median resistance of the inductor equivalent series resistance according to the minimum and maximum values, wherein the stability condition refers to the condition that enables the DC microgrid system to reach a stable state.
[0101] The second calculation unit 52 is used to measure the actual resistance of the inductor equivalent series resistance, obtain the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculate the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter.
[0102] The control unit 53 is used to write a control program into a digital controller in the DC microgrid system according to the feedback coefficient, adjust the output impedance of the DC microgrid system through the control program, suppress the frequency oscillation of the DC microgrid, and control the DC microgrid system to reach a stable state.
[0103] The above-mentioned DC microgrid control device based on virtual resistance can obtain the transfer function from the duty cycle of the DC microgrid system to the system output voltage and the multiple poles of the transfer function through the acquisition unit 50, and the first calculation unit 51 screens the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system according to the multiple poles of the transfer function and the stability condition of the DC microgrid system, and then determines the median resistance of the inductor equivalent series resistance according to the minimum and maximum values, and then measures the actual resistance of the inductor equivalent series resistance through the second calculation unit 52, and obtains the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculates the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter. Finally, the control program is written into the digital controller of the DC microgrid system according to the feedback coefficient through the control unit 53, and the output impedance of the DC microgrid system is adjusted through the control program to suppress the frequency oscillation of the DC microgrid, and control the DC microgrid system to reach a stable state. The embodiment of the present invention screens the minimum and maximum values of the inductor equivalent series resistance in the DC microgrid system without increasing the system hardware cost and energy loss and without affecting the power distribution and dynamic response of the system, combines the actual resistance of the inductor equivalent series resistance measured, obtains the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, calculates the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter, and finally writes a control program in the digital controller of the DC microgrid system according to the feedback coefficient, adjusts the output impedance of the DC microgrid system through the control program, suppresses the frequency oscillation of the DC microgrid, and controls the DC microgrid system to reach a stable state, improves the stability of the DC microgrid system by only increasing the complexity of a small amount of the control program, thereby solving the technical problem in the related art that multiple converters are connected to the DC microgrid, resulting in reduced stability of the DC microgrid.
[0104] Optionally, the acquisition unit 50 includes: a first acquisition module, used to obtain the output voltage of the DC voltage converter and the power of the constant power load; a first formula calculation module, used to input the output voltage of the DC voltage converter and the power of the constant power load into the first formula to calculate the equivalent negative resistance of the constant power load under the output voltage.
[0105] Optionally, the acquisition unit 50 also includes: a transfer function characterization module, used to input the input voltage of the DC voltage converter, the inductance of the DC microgrid system, the inductance equivalent series resistance of the DC microgrid system, the capacitance of the DC microgrid system, and the equivalent negative resistance of the constant power load into a first function, wherein the first function characterizes the transfer function from the duty cycle of the DC microgrid system to the system output voltage; a second acquisition module, used to obtain multiple poles of the first function, and the multiple poles are collectively characterized as a second function.
[0106] Optionally, the first calculation unit 51 includes: an analysis module, used to analyze the stability of the DC microgrid system using an eigenvalue analysis strategy, and obtain the stability conditions when the DC microgrid system reaches a stable state, and the stability conditions are represented by a second formula; a third acquisition module, used to obtain the minimum and maximum values of the inductor equivalent series resistance when the DC microgrid system reaches a stable state according to the second formula, wherein the minimum value is represented by the first function value and the maximum value is represented by the second function value.
[0107] Optionally, the analysis module includes: a first determination module, used to determine that the DC microgrid system is in an unstable state when the equivalent negative resistance of the constant power load is a negative resistance and the absolute value of the equivalent negative resistance of the constant power load is less than the equivalent series resistance of the inductor; a second determination module, used to determine that the DC microgrid system is in a stable state when the equivalent negative resistance of the constant power load is a negative resistance, the absolute value of the equivalent negative resistance of the constant power load is greater than the equivalent series resistance of the inductor, and the real part of the denominator in the second function representing multiple poles is a positive real number.
[0108] Optionally, the first calculation unit 51 also includes: a third formula calculation module, used to input the minimum value and maximum value of the inductor equivalent series resistance in the DC microgrid system into a third formula to obtain an average value of the maximum value and the minimum value, and the average value is defined as the median resistance of the inductor equivalent series resistance.
[0109] Optionally, the second calculation unit 52 includes: a fourth formula calculation module, used to input the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance into the fourth formula, and subtract the actual resistance of the inductor equivalent series resistance from the median resistance of the inductor equivalent series resistance to obtain the additional resistance of the inductor equivalent series resistance; a fifth formula calculation module, used to input the additional resistance of the inductor equivalent series resistance and the input voltage of the DC voltage converter into the fifth formula, and multiply the additional resistance of the inductor equivalent series resistance by the inverse of the input voltage of the DC voltage converter to obtain the feedback coefficient.
[0110] The above-mentioned virtual resistance-based DC microgrid control device may also include a processor and a memory. The above-mentioned acquisition unit 50, the first calculation unit 51, the second calculation unit 52, the control unit 53, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.
[0111] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the DC microgrid system can be controlled to reach a stable state by adjusting kernel parameters.
[0112] 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.
[0113] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the virtual resistance-based DC microgrid control methods in the above-mentioned embodiment 1.
[0114] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the virtual resistance-based DC microgrid control method of any one of the above-mentioned embodiments one.
[0115] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the virtual resistance-based DC microgrid control method described in each embodiment of the present application.
[0116] The present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the virtual resistance-based DC microgrid control method described in each embodiment of the present application are implemented.
[0117] Figure 6 1 is a hardware structure block diagram of an electronic device (or mobile device) of a DC microgrid control method based on virtual resistance according to an embodiment of the present invention. Figure 6 As shown, the electronic device may include one or more ( Figure 6 602a, 602b, ..., 602n are used to illustrate) processor 602 (processor 602 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), and memory 604 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 6 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 6 More or fewer components as shown, or with Figure 6 Different configurations shown.
[0118] 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.
[0119] 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.
[0120] 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.
[0121] 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.
[0122] 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.
[0123] 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.
[0124] 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 DC microgrid control method based on virtual resistance, characterized in that: include: Obtaining a transfer function from the duty cycle of the DC microgrid system to the system output voltage and multiple poles of the transfer function; According to the multiple poles of the transfer function and the stability condition of the DC microgrid system, the minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system are screened and obtained, and the median resistance of the inductor equivalent series resistance is determined according to the minimum value and the maximum value, wherein the stability condition refers to the condition that enables the DC microgrid system to reach a stable state; Measuring the actual resistance of the inductor equivalent series resistance, obtaining the additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculating the feedback coefficient under virtual resistance compensation according to the additional resistance and the input voltage of the DC voltage converter; According to the feedback coefficient, a control program is written into a digital controller in the DC microgrid system, and the output impedance of the DC microgrid system is adjusted through the control program to suppress the frequency oscillation of the DC microgrid, so as to control the DC microgrid system to reach a stable state.
2. The DC microgrid control method according to claim 1, characterized in that: Before obtaining the transfer function from the duty cycle of the DC microgrid system to the system output voltage and the multiple poles of the transfer function, the method further includes: Obtaining the output voltage of the DC voltage converter and the power of the constant power load; The output voltage of the DC voltage converter and the power of the constant power load are input into a first formula to calculate the equivalent negative resistance of the constant power load under the output voltage.
3. The DC microgrid control method according to claim 1, characterized in that: The step of obtaining a transfer function from the duty cycle of the DC microgrid system to the system output voltage and a plurality of poles of the transfer function comprises: Inputting the input voltage of the DC voltage converter, the inductance of the DC microgrid system, the inductance equivalent series resistance of the DC microgrid system, the capacitance of the DC microgrid system and the equivalent negative resistance of the constant power load into a first function, wherein the first function represents a transfer function from the duty cycle of the DC microgrid system to the system output voltage; A plurality of poles of the first function is obtained, wherein the plurality of poles collectively represent a second function.
4. The DC microgrid control method according to claim 1, characterized in that: When determining the stability condition of the DC microgrid system, it includes: The stability of the DC microgrid system is analyzed by adopting an eigenvalue analysis strategy to obtain a stability condition when the DC microgrid system reaches a stable state, wherein the stability condition is represented by a second formula; According to the second formula, the minimum value and the maximum value of the inductor equivalent series resistance are obtained when the DC microgrid system reaches a stable state, wherein the minimum value is represented by a first function value and the maximum value is represented by a second function value.
5. The DC microgrid control method according to claim 4, characterized in that: When analyzing the stability of the DC microgrid system using the eigenvalue analysis strategy, it includes: When the equivalent negative resistance of the constant power load is a negative resistance and the absolute value of the equivalent negative resistance of the constant power load is less than the inductor equivalent series resistance, it is determined that the DC microgrid system is in an unstable state; When the equivalent negative resistance of the constant power load is a negative resistance, the absolute value of the equivalent negative resistance of the constant power load is greater than the inductor equivalent series resistance, and the real part of the denominator in the second function characterizing multiple poles is a positive real number, it is determined that the DC microgrid system is in a stable state.
6. The DC microgrid control method according to claim 1, characterized in that: The step of determining the median resistance of the inductor equivalent series resistance according to the minimum value and the maximum value further includes: The minimum value and the maximum value of the inductor equivalent series resistance in the DC microgrid system are input into the third formula to obtain the average value of the maximum value and the minimum value, and the average value is defined as the median resistance of the inductor equivalent series resistance.
7. The DC microgrid control method according to claim 1, characterized in that: The steps of obtaining an additional resistance of an inductor equivalent series resistance according to the actual resistance and the median resistance, and obtaining a feedback coefficient under virtual resistance compensation according to the additional resistance include: Inputting the median resistance of the inductor equivalent series resistance and the actual resistance of the inductor equivalent series resistance into a fourth formula, and subtracting the actual resistance of the inductor equivalent series resistance from the median resistance of the inductor equivalent series resistance to obtain the additional resistance of the inductor equivalent series resistance; The additional resistance of the inductor equivalent series resistance and the input voltage of the DC voltage converter are input into a fifth formula, and the additional resistance of the inductor equivalent series resistance is multiplied by the inverse of the input voltage of the DC voltage converter to obtain the feedback coefficient.
8. A DC microgrid control device based on virtual resistance, characterized in that: include: An acquisition unit, used for acquiring a transfer function from a duty cycle of a DC microgrid system to a system output voltage and a plurality of poles of the transfer function; a first calculation unit, configured to screen and obtain a minimum value and a maximum value of an inductor equivalent series resistance in the DC microgrid system according to a plurality of poles of the transfer function and a stability condition of the DC microgrid system, and determine a median resistance of the inductor equivalent series resistance according to the minimum value and the maximum value, wherein the stability condition refers to a condition that enables the DC microgrid system to reach a stable state; a second calculation unit, configured to measure an actual resistance of the inductor equivalent series resistance, obtain an additional resistance of the inductor equivalent series resistance according to the actual resistance and the median resistance, and calculate a feedback coefficient under virtual resistance compensation according to the additional resistance and an input voltage of a DC voltage converter; A control unit is used to write a control program in a digital controller in the DC microgrid system according to the feedback coefficient, adjust the output impedance of the DC microgrid system through the control program, suppress the frequency oscillation of the DC microgrid, and control the DC microgrid system to reach a stable state.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the virtual resistance-based DC microgrid control method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the virtual resistance-based DC microgrid control method as described in any one of claims 1 to 7.
