Abstract:
The present invention relates to an energy resource-grid-load automatic control system of smart microgrid and control methods thereof, which belong to the field of microgrid control and electrical technology. The energy resource-grid-load automatic control system includes a distributed renewable energy power generation module, a distributed renewable energy inverter module, a conventional power generation module, a user load module, a bidirectional grid-connected control module, a distributed renewable energy intelligent optimizing power generation control module, an energy storage module, an intelligent energy storage unit adjuster and a storage battery pack. Compared with the conventional microgrid including a distributed renewable energy power generation system, the present invention guarantees the stability and the high energy utilization of the power generation system and effectively solves the problem of non-uniform frequency of use of storage batteries to unify the service life of the storage battery pack.

Description:
CROSS-REFERENCE TO RELATED APPLICATION 
     This application claims the priority of Chinese patent application No. 201310099733.0, filed on Mar. 26, 2013, which is incorporated herewith by reference. 
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an energy resource-grid-load automatic control system of smart microgrid and control methods thereof, which belong to the field of microgrid control and electrical technology. 
     2. The Prior Arts 
     With the economic development and the progress of science and technology, the decentralized and small-scale power systems have been gradually replaced by central stations with large-capacity and high-parameter units and by the modes of extra-high voltage long distance transmission and large grid interconnected and centralized power supply in pursuit of scale benefit in the industrial era. However, there are still some drawbacks of the main modes of generation, transmission and distribution of electric energy in response to the flexibility of load variation and the safety of power supply. In recent years, the energy crisis and the power failure of large power grids occur frequently. In addition, provinces in China have taken measures for power rationing to different degrees in summer in recent years. The power crisis and the large-scale power failure reveal that the existing huge power systems have defects. (1) It is possible that the fault of any point in the large power grids seriously affects the whole power grid, and even results in the large-scale power failure and the power grid collapse. (2) The large power grids cannot flexibly follow the load variation. With the increase of the load peak-valley difference, the load rate of the power grid declines year by year, and the utilization rate of power generation and transmission facilities tends towards decrease. (3) In some remote areas, the power supply is not ideal, because of long distance from power systems, harsh natural conditions, too large investment in power transmission and distribution construction or infeasibility of erection of power transmission and distribution lines. (4) In recent years, large power grids are often the targets of terrorist attacks and wars, and consequences will be unimaginable once these large power grids are destroyed. Moreover, the global primary energy suffers from exhaustion increasingly, and the environmental pollution caused by power generation, including acid rain, greenhouse effect and electromagnetic pollution, is becoming more and more obvious. 
     Considering the serious environmental problems, the supply safety of future energy sources and the reform of electric power systems, people have to pursue high efficient energy conversion, reduce emissions of hazardous substances, seek alternative fuels, implement graded use of energy and utilize a small-scale distributed power generation system, in order to meet the above-mentioned requirements. 
     If a distributed renewable energy microgrid is accessed to a distribution network, the structure of the power grid will be greatly affected, and accordingly the power grid including the microgrid needs to be replanned. However, conventional problems of power grid planning, such as load optimization, substation optimization and reactive power optimization, and a series of new problems of microgrid access points and access capacity optimization remain to be solved. Due to the bidirectional energy transfer between the microgrid and the large power grids, and the intermittence and the fluctuation of a distributed power source, the protection and the control strategy of the microgrid including the distributed power source differ from those of conventional power grids. It is difficult that the diversified demands of distribution users for the quality of power supply are satisfied as far as possible under the condition of stable operation of the large power grids. However, the renewable energy power generation and the energy storage equipment in the microgrid cannot be coordinated well, and the intelligent control of loads cannot be achieved in the prior art, thereby greatly hampering the development of the distributed power generation system. 
     SUMMARY OF THE INVENTION 
     In consideration of the shortage of the prior art, the present invention provides an energy resource-grid-load automatic control system of smart microgrid and control methods thereof, achieving the coordination of the distributed renewable energy power generation and the energy storage module in the microgrid and the intelligent control of power consumption of user loads. 
     The present invention relates to an energy resource-grid-load automatic control system of smart microgrid, comprising: a distributed renewable energy power generation module, a distributed renewable energy inverter module, a conventional power generation module, a user load module, a bidirectional grid-connected control module, a distributed renewable energy intelligent optimizing power generation control module and an energy storage module, wherein the distributed renewable energy power generation module is used for converting solar energy, wind energy and biomass energy into electric energy and supplying power to loads or power grids; the distributed renewable energy inverter module is used for converting direct current discharged from photovoltaic panels, wind turbines and biomass energy power generation equipment into alternating current; the conventional power generation module is used for controlling micro gas turbines to supply power to the user loads or the power grids; the user load module is a local load in the microgrid; and the bidirectional grid-connected control module is used for controlling connection/disconnection and energy transfer between the microgrid and the power grids. The distributed renewable energy intelligent optimizing power generation control module is used for: 1) acquiring nodal voltage and current of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment, estimating the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment within 4 to 5 sampling periods by uncertainty estimation, plotting the forecast fluctuation curves of the power generation capacity, respectively calculating the robustness of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment, and selecting the one with the best robustness to supply power to the user loads or the power grids; 2) sending a control signal to an intelligent energy storage unit adjuster when there is a difference between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy supplied to the user loads and the power grids; and 3) sending control signals to micro gas turbine power generation controllers when the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the electric energy released from the energy storage module differ from the total electric energy required by the user loads and the power grids. The energy storage module is used for controlling the charging and discharging of a storage battery pack to ensure the average charging and discharging times of each storage battery. 
     The energy storage module comprises the intelligent energy storage unit adjuster and the storage battery pack, wherein if the remaining electric energy of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment is received, the intelligent energy storage unit adjuster calculates the total charging and discharging times of each storage battery, then compares the result with the average of the total charging and discharging times of all storage batteries, and selects the storage battery with the largest difference for charging; if the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment cannot meet the needs of the user loads or the power grids, the intelligent energy storage unit adjuster receives a power generation control signal sent by a distributed renewable energy intelligent optimizing power generation controller to control the storage battery pack to discharge, calculates the total charging and discharging times of each storage battery, compares the result with the average of the total charging and discharging times of all storage batteries, and selects the storage battery with the largest difference for discharging; the storage battery pack is used for storing or releasing the remaining electric energy of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment. 
     The conventional power generation module comprises a micro gas turbine intelligent optimizing power generation control unit and a micro gas turbine power generation unit, wherein the micro gas turbine intelligent optimizing power generation control unit is used for replenishing the user loads or the power grids with the electric energy generated by the micro gas turbines when the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the electric energy released from the energy storage module cannot meet the needs of the user loads or the power grids; and the micro gas turbine power generation unit is used for supplying power to the user loads or the power grids. 
     The user load module comprises an intelligent optimizing power consumption controller and state collectors, wherein the intelligent optimizing power consumption controller is used for establishing a load matrix of voltage and current signals acquired at load ends by the state collectors, constructing laws of power consumption of the user loads by neural network mod ling, and automatically controlling the power consumption of the user loads by the laws; and the state collectors are used for acquiring nodal voltage and current at the user load ends in real time. 
     The distributed renewable energy power generation module is connected with the distributed renewable energy inverter module by DC buses; the DC buses consist of three segments and are arranged separately; the output ends of a photovoltaic power generation unit are respectively connected with the input ends of a photovoltaic power generation inverter unit by the first segment of DC bus, the second segment of DC bus and the third segment of DC bus; the output ends of a wind power generation unit, are respectively connected with the input ends of a wind power generation inverter unit by the first segment of DC bus, the second segment of DC bus and the third segment of DC bus; the output ends of a biomass energy power generation unit are respectively connected with the input ends of a biomass energy power generation inverter unit by the first segment of DC bus, the second segment of DC bus and the third segment of DC bus. 
     The input end of the energy storage module is simultaneously connected with the first segment of DC bus, the second segment of DC bus and the third segment of DC bus. 
     Control methods of the energy resource-grid-load automatic control system of smart microgrid comprise an intelligent optimizing control method for distributed renewable energy power generation, a control method for charging and discharging of the energy storage unit and a coordination method for laws of power consumption of the user loads, wherein the intelligent optimizing control method for distributed renewable energy power generation comprises the following steps of:
         step 1: acquiring nodal voltage and current of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment by Hall element measurement;   step 2: estimating the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment by uncertainty estimation, including resistance, reactance and PV nodal voltage; wherein the specific formulas are shown as follows: for estimation of resistance and reactance:
 
 R   m+4   =R   m+3   =R   m+2   =R   m+1 =0.01 R   m−7 +0.03 R   m−6 +0.06 R   m−5 +0.1 R   m−4 +0.15 R   m−3 +0.16 R   m−2 +0.22 R   m−1 +0.30 R   m   (1)
           where: R m  represents the resistance in the mth sampling period; R m+n  represents the estimated resistance in the (m+n)th sampling period, wherein n=−7, −6, −5, −4, −3, −2, −1, 1, 2, 3, 4;
 
 X   m+4   =X   m+3   =X   m+2   =X   m+1 =0.15 X   m−2 +0.25 X   m−1 +0.6 X   m   (2)
   where: X m  represents the reactance in the mth sampling period; X m+p  represents the estimated reactance in the (m+p)th sampling period, wherein p=−2, −1, 1, 2, 3, 4;   for estimation of PV nodal voltage:
 
 U   +4   =U   +3   =U   +2   U   +1 =0.01 U   m−7 +0.03 U   m−6 +0.06 U   m−5 +0.1 U   m−4 +0.15 U   m−3 +0.16 U   m−2 +0.22 U   m−1 +0.30 U   (3)
   where: U m  represents the PV nodal voltage in the mth sampling period; U m+n  represents the estimated PV nodal voltage in the (m+n)th sampling period, wherein n=−7, −6, −5, −4, −3, −2, −1, 1, 2, 3, 4;   
           step 3: plotting the forecast fluctuation curves of the power generation capacity according to the PV nodal voltage obtained in Step 2, with the time as the abscissa and the PV nodal voltage as the ordinate;   step 4: calculating the robustness of the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment, and selecting the one with the best robustness to supply power to the user loads or the power grids; the formula for calculation of the robustness is shown as follows:       

     
       
         
           
             
               
                 
                   
                     D 
                     N 
                   
                   = 
                   
                     
                       1 
                       7 
                     
                     ⁢ 
                     
                       
                         
                           
                             
                               
                                 
                                   ( 
                                   
                                     
                                       U 
                                       m 
                                     
                                     - 
                                     
                                       U 
                                       ms 
                                     
                                   
                                   ) 
                                 
                                 2 
                               
                               + 
                               
                                 
                                   ( 
                                   
                                     
                                       U 
                                       
                                         m 
                                         - 
                                         1 
                                       
                                     
                                     - 
                                     
                                       U 
                                       ms 
                                     
                                   
                                   ) 
                                 
                                 2 
                               
                               + 
                               
                                 
                                   ( 
                                   
                                     
                                       U 
                                       
                                         m 
                                         - 
                                         3 
                                       
                                     
                                     - 
                                     
                                       U 
                                       ms 
                                     
                                   
                                   ) 
                                 
                                 2 
                               
                               + 
                             
                           
                         
                         
                           
                             
                               
                                 
                                   ( 
                                   
                                     
                                       U 
                                       
                                         m 
                                         - 
                                         5 
                                       
                                     
                                     - 
                                     
                                       U 
                                       ms 
                                     
                                   
                                   ) 
                                 
                                 2 
                               
                               + 
                               
                                 
                                   ( 
                                   
                                     
                                       U 
                                       
                                         m 
                                         - 
                                         7 
                                       
                                     
                                     - 
                                     
                                       U 
                                       ms 
                                     
                                   
                                   ) 
                                 
                                 2 
                               
                             
                           
                         
                       
                     
                   
                 
               
               
                 
                   ( 
                   4 
                   ) 
                 
               
             
           
         
       
         
         
           
             
               
                 D N  represents a robustness value, and a smaller value indicates that the robustness is better; U ms  represents nodal voltage in a mains supply; 
               
             
             step 5: calculating the total electric energy supplied to the user loads and the power grids by the photovoltaic panels, the wind turbines and the biomass energy power generation equipment, with the formula shown as follows: 
           
         
       
    
     
       
         
           
             
               
                 
                   
                     W 
                     N 
                   
                   = 
                   
                     
                       
                         α 
                         ⁢ 
                         
                             
                         
                         ⁢ 
                         
                           D 
                           N 
                         
                       
                       
                         
                           D 
                           1 
                         
                         + 
                         
                           D 
                           2 
                         
                         + 
                         
                           D 
                           3 
                         
                         + 
                         … 
                         + 
                         
                           D 
                           
                             N 
                             - 
                             2 
                           
                         
                         + 
                         
                           D 
                           
                             N 
                             - 
                             1 
                           
                         
                         + 
                         
                           D 
                           N 
                         
                       
                     
                     ⁢ 
                     W 
                   
                 
               
               
                 
                   ( 
                   5 
                   ) 
                 
               
             
           
         
       
         
         
           
             
               
                 where: W N  represents the total electric energy mentioned in Step 5, and W represents the total electric energy actually required by the user loads and the power grids; α represents a parameter of power generation type; for the wind turbines, α=0.1; for the photovoltaic panels, α=0.83; for the biomass energy power generation equipment, α=0.92; 
               
             
             step 6: calculating the difference between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy supplied to the user loads and the power grids, with the formula shown as follows:
 
 W   storageN   =W   outN   −W   N   (6)
           where: W storageN  represents the difference between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy supplied to the user loads and the power grids; W outN  represents the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment;   step 7: if W storageN =0, directly supplying power to the user loads and the power grids by the one with the best robustness in the photovoltaic panels, the wind turbines and the biomass energy power generation equipment; if W storageN &gt;0, storing the remaining electric energy of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment into the energy storage module; and if W storageN &lt;0, replenishing the user loads and the power grids by discharging of the energy storage module; and   
         
             step 8: calculating the difference W E  between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy actually required by the user loads and the power grids, with the formula shown as follows:
 
 W   E   =W−W   N   (7)
 
             if W E &gt;0, replenishing the user loads and the power grids by the micro gas turbines with an amount of W E . 
           
         
       
    
     The control method for charging and discharging of the energy storage unit comprises the following steps of:
         step 1: if the remaining electric energy released by the photovoltaic panels, the wind turbines and the biomass energy power generation equipment is received, carrying out step 2 for storage battery charging; if a control signal sent by the distributed renewable energy intelligent optimizing power generation controller is received, carrying out step 3 for storage battery discharging;   step 2: counting the charging and discharging times c of each storage battery; calculating the total charging and discharging times of all storage batteries and obtaining an average C; then calculating the difference between C and c, and taking the storage battery with the largest absolute value of the difference as a charging object; and   step 3: counting the charging and discharging times c of each storage battery; calculating the total charging and discharging times of all storage batteries and obtaining an average C; then calculating the difference between C and c and taking the storage battery with the largest absolute value of the difference as a discharging object.       

     The coordination method for laws of power consumption of the user loads comprises the following steps of:
         step 1: establishing a neural network model according to the historical data of nodal voltage and current acquired at the user load ends to predict laws of power consumption of the user loads;   step 2: acquiring nodal voltage and current at the user load ends in real time by the state collectors, and continually correcting the neural network model in Step 1; and   step 3: releasing the total electric energy actually required by the user loads from the intelligent optimizing power consumption controller to the distributed renewable energy intelligent optimizing power generation controller according to the electric energy corrected in Step 2, and starting the corresponding ones of the photovoltaic panels, the wind turbines, the biomass energy power generation equipment, the energy storage module and the conventional power generation module to supply power.       

     The present invention has the following advantages:
         a) Compared with the conventional microgrid comprising a distributed renewable energy power generation system, the energy resource-grid-load automatic control system of smart microgrid and control methods thereof reasonably monitor all distributed renewable energy power generation units in the microgrid, forecast the power generation states of all distributed renewable energy power generation units, adjust the ratio of the electric energy released by each distributed renewable energy power generation unit to the total required electric energy by judging the robustness of all distributed renewable energy power generation units, and ensure the stability of the power generation system and the higher rate of energy utilization to the largest extent.   b) Unlike the conventional energy storage module, the energy storage module of the present invention is added with the intelligent energy storage unit adjuster, thereby effectively solving the problem of nonuniform use of all storage batteries, unifying the whole service life of the storage battery pack, improving the energy storage efficiency of the system and benefiting the environmental protection.   c) The intelligent optimizing power consumption controller can reasonably predict the power consumption of the user loads, and accordingly, reasonably adjust the future power generation state of each power generation unit in the system within the whole microgrid. In addition, the intelligent optimizing power consumption controller can reasonably prevent possible faults and potential hazards.       

    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         FIG. 1  is the overall structural diagram of the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 2  is the schematic diagram of the access circuit of the wind turbines in the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 3  is the schematic diagram of the access circuit of the photovoltaic panels in the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 4  is the schematic diagram of the access circuit of the biomass energy power generation equipment in the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 5  is the schematic diagram of the access circuit of the micro gas turbines in the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 6  is the structural diagram of the intelligent energy storage unit adjuster in the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 7  is the structural diagram of the intelligent optimizing power consumption controller in the energy resource-grid-load automatic control system of smart microgrid in the present invention; 
         FIG. 8  is the structural diagram of the neural network in the embodiment of the present invention; 
         FIG. 9  is the curve of laws of power consumption of the user loads in the embodiment of the present invention; 
         FIG. 10  is the flow chart of the intelligent optimizing control method for distributed renewable energy power generation in the present invention; 
         FIG. 11  is the flow chart of the control method for charging and discharging of the energy storage unit in the present invention; and 
         FIG. 12  is the flow chart of the coordination method for laws of power consumption of the user loads; 
     
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The present invention is further described by figures and the embodiment as follows: 
     In the embodiment, an energy resource-grid-load automatic control system of smart microgrid and control methods thereof can be further explained as a system and control methods thereof, which are applicable to the smart microgrid and automatically control power supply, power grids and loads. 
     In the embodiment, the type of the wind turbines is SN-1000W. The type of the photovoltaic panels is SN-120W. The type of the micro gas turbines is DTE846. The type of the Digital Signal Processor (DSP) is TMS320F2407A. The inverters are MM440 single-phase-input and three-phase-output inverters of 120 W. The type of the storage batteries is 6-GFM-200 Ah. 
     In the embodiment, as shown in  FIG. 1 , the energy resource-grid-load automatic control system of smart microgrid comprises the distributed renewable energy power generation module  1 , the distributed renewable energy inverter module  2 , the distributed renewable energy intelligent optimizing power generation control module  13 , the conventional power generation module  3 , the user load module  6 , the energy storage module  9  and the bidirectional grid-connected control module  12 . The distributed renewable energy power generation module  1  further comprises the photovoltaic power-generation unit, the wind power generation unit and the biomass energy power generation equipment wherein the photovoltaic power generation unit comprises at least one photovoltaic panel, the wind power generation unit comprises at least one wind turbine, and the biomass energy power generation equipment comprises at least one biomass energy power generation equipment. The distributed renewable energy inverter module  2  further comprises the photovoltaic power generation inverter unit, the wind power generation inverter unit and the biomass energy power generation inverter unit. The photovoltaic power generation inverter unit comprises at least one photovoltaic inverter, the wind power generation inverter unit comprises at least one wind turbine inverter, and the biomass energy power generation inverter unit comprises at least one piece of biomass energy power generation equipment inverter. The distributed renewable energy intelligent optimizing power generation control module  13  comprises the distributed renewable energy intelligent optimizing power generation controller. The conventional power generation module  3  further comprises the micro gas turbine intelligent optimizing power generation control unit  4  and the micro gas turbine power generation unit  5 , wherein the micro gas turbine intelligent optimizing power generation control unit  4  comprises at least one micro gas turbine power generation controller, and the micro gas turbine power generation unit  5  comprises at least one micro gas turbine. The user load module  6  further comprises the intelligent optimizing power consumption controller  7 , at least one state collector  8  and at least one user load. The energy storage module  9  further comprises the intelligent energy storage unit adjuster  10  and the storage battery pack  11 , wherein the storage battery pack  11  comprises at least one storage battery. 
     In the embodiment, three segments of DC bus (Bus  1 , Bus  2  and Bus  3  as shown in  FIG. 1 ) are used and are not interconnected. 
     In the embodiment, the connection of the energy resource-grid-load automatic control system of smart microgrid is as follows: The output ends of a photovoltaic power generation unit are respectively connected with the input ends of a photovoltaic power generation inverter unit by the first segment of DC bus (Bus  1 ), the second segment of DC bus (Bus  2 ) and the third segment of DC bus (Bus  3 ); the output ends of a wind power generation unit are respectively connected with the input ends of a wind power generation inverter unit by the first segment of DC bus (Bus  1 ), the second segment of DC bus (Bus  2 ) and the third segment of DC bus (Bus  3 ); the output ends of a biomass energy power generation unit are respectively connected with the input ends of a biomass energy power generation inverter unit by the first segment of DC bus (Bus  1 ), the second segment of DC bus (Bus  2 ) and the third segment of DC bus (Bus  3 ); the input end of the intelligent energy storage unit adjuster is respectively connected with the first segment of DC bus (Bus  1 ), the second segment of DC bus (Bus  2 ) and the third segment of DC bus (Bus  3 ); the output ends of the intelligent energy storage unit adjuster are connected with the input ends of the storage battery pack; the output end of the photovoltaic power generation inverter unit, the output end of the wind power generation inverter unit and the output end of the biomass energy power generation inverter unit are connected with the input ends of the distributed renewable energy intelligent optimizing power generation controller; the output ends of the distributed renewable energy intelligent optimizing power generation controller are respectively connected with the input ends of the micro gas turbine power generation controllers, the input end of the intelligent optimizing power consumption controller and the input end of the bidirectional grid-connected control module by AC buses; the input ends of the micro gas turbine power generation controllers are respectively connected with the output ends of the distributed renewable energy intelligent optimizing power generation controller, the input end of the intelligent optimization power consumption controller and the input end of the bidirectional grid-connected control module by AC buses; the output ends of the micro gas turbine power generation controllers are connected with the input ends of the micro gas turbines; the output end of the intelligent optimizing power consumption controller is connected with the input ends of the state collectors; the output ends of the state collectors are connected with the input ends of the user loads; the output end of the bidirectional grid-connected control module is connected with the power grids. 
     In the embodiment, the access circuits of the photovoltaic panels, the wind turbines, the biomass energy power generation equipment and the micro gas turbines are shown in  FIGS. 2, 3, 4 and 5 . The direct current generated by the photovoltaic panels  14  and the biomass energy power generation equipment  16  is inverted by the photovoltaic inverters  17  and the biomass energy power generation equipment inverters  19  into alternating current, and then the alternating current is supplied to the user loads and the power grids by AC buses; the electric energy released by the wind turbines  15  is rectified into stable direct current by the rectifier  21 , the direct current is inverted into alternating current by the wind turbine inverters  18 , and then the alternating current is supplied to the user loads and the power grids by AC buses; the alternating current generated by the micro gas turbines  20  is supplied to the user loads and the power grids by AC buses. 
     In the embodiment, the distributed renewable energy intelligent optimizing power generation controller, the micro gas turbine power generation controllers, the intelligent optimizing power consumption controller, the state collectors, the intelligent energy storage unit adjuster and the bidirectional grid-connected control module all use DSPs as core chips. The structure of the intelligent energy storage unit adjuster is shown in  FIG. 6 , the distributed renewable energy intelligent optimizing power generation controller sends a control signal to the DSP of the intelligent energy storage unit adjuster, and the DSP sends output signals to control the charging and discharging process of the storage battery pack. The DSP mentioned here has  6  output signals. The output ends Q 0 . 0  and Q 0 . 1  of the DSP are respectively connected with two input ends of No. 1 storage battery and provide charging or discharging control signals for No. 1 storage battery to control the on-off action of the switch K 1 ; the output ends Q 0 . 2  and Q 0 . 3  of the DSP are respectively connected with two input ends of No. 2 storage battery and provide charging or discharging control signals for No. 2 storage battery to control the on-off action of the switch K 2 ; the output ends Q 0 . 4  and Q 0 . 5  of the DSP are respectively connected with two input ends of No. 3 storage battery and provide charging or discharging control signals for No. 3 storage battery to control the on-off action of the switch K 3 . The structure of the intelligent optimizing power consumption controller is shown in  FIG. 7 . When one user load exists, the state collector acquires nodal voltage and current of the user load, the nodal voltage and current are introduced into the intelligent optimizing power consumption contoller after passing through a phase-locked loop and a signal modulation circuit (the phase-locked loop and the signal modulation circuit form a state detector), and the intelligent optimizing power consumption controller obtains laws of power consumption of the user load on the basis of the neural network and supplies electric energy to the user load according to the laws. 
     In the embodiment, the flow of the intelligent optimizing control method for distributed renewable energy power generation is shown in  FIG. 10  and comprises the following steps of: 
     Step 1: Acquiring nodal voltage and current of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment by Hall element measurement; 
     Specifically, the Hall element measurement is to measure the nodal voltage and current of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment by Hall effect; 
     The voltage and current data acquired in the experiment is expressed in a matrix form as shown below: 
     
       
         
           
             
               [ 
               
                 
                   
                     
                       
                         U 
                         . 
                       
                       1 
                     
                   
                 
                 
                   
                     
                       
                         U 
                         . 
                       
                       2 
                     
                   
                 
                 
                   
                     ⋮ 
                   
                 
                 
                   
                     
                       
                         U 
                         . 
                       
                       N 
                     
                   
                 
               
               ] 
             
             = 
             
               
                 [ 
                 
                   
                     
                       
                         Z 
                         11 
                       
                     
                     
                       
                         Z 
                         12 
                       
                     
                     
                       … 
                     
                     
                       
                         Z 
                         
                           1 
                           ⁢ 
                           N 
                         
                       
                     
                   
                   
                     
                       
                         Z 
                         21 
                       
                     
                     
                       
                         Z 
                         22 
                       
                     
                     
                       … 
                     
                     
                       
                         Z 
                         
                           2 
                           ⁢ 
                           N 
                         
                       
                     
                   
                   
                     
                       ⋮ 
                     
                     
                       ⋮ 
                     
                     
                       
                           
                       
                     
                     
                       ⋮ 
                     
                   
                   
                     
                       
                         Z 
                         
                           N 
                           ⁢ 
                           
                               
                           
                           ⁢ 
                           1 
                         
                       
                     
                     
                       
                         Z 
                         
                           N 
                           ⁢ 
                           
                               
                           
                           ⁢ 
                           2 
                         
                       
                     
                     
                       … 
                     
                     
                       
                         Z 
                         NN 
                       
                     
                   
                 
                 ] 
               
               ⁡ 
               
                 [ 
                 
                   
                     
                       
                         
                           I 
                           . 
                         
                         1 
                       
                     
                   
                   
                     
                       
                         
                           I 
                           . 
                         
                         2 
                       
                     
                   
                   
                     
                       ⋮ 
                     
                   
                   
                     
                       
                         
                           I 
                           . 
                         
                         N 
                       
                     
                   
                 
                 ] 
               
             
           
         
       
     
     In the 10th minute after power generation, measured nodal voltage and current are: 
     
       
         
           
             
               [ 
               
                 
                   
                     220.5 
                   
                 
                 
                   
                     219.8 
                   
                 
                 
                   
                     ⋮ 
                   
                 
                 
                   
                     221.3 
                   
                 
               
               ] 
             
             = 
             
               
                 [ 
                 
                   
                     
                       23.4 
                     
                     
                       103.2 
                     
                     
                       … 
                     
                     
                       43.2 
                     
                   
                   
                     
                       76.2 
                     
                     
                       3.21 
                     
                     
                       … 
                     
                     
                       21.9 
                     
                   
                   
                     
                       ⋮ 
                     
                     
                       ⋮ 
                     
                     
                       
                           
                       
                     
                     
                       ⋮ 
                     
                   
                   
                     
                       76.2 
                     
                     
                       65.4 
                     
                     
                       … 
                     
                     
                       56.7 
                     
                   
                 
                 ] 
               
               ⁡ 
               
                 [ 
                 
                   
                     
                       1.25 
                     
                   
                   
                     
                       0.89 
                     
                   
                   
                     
                       ⋮ 
                     
                   
                   
                     
                       1.73 
                     
                   
                 
                 ] 
               
             
           
         
       
     
     Step 2: Estimating the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment by uncertainty estimation, including resistance, reactance and PV nodal voltage. The specific formulas are shown as follows: 
     For estimation of resistance and reactance:
 
 R   m+4   =R   m+3   =R   m+2   =R   m+1 =0.01 R   m−7 +0.03 R   m−6 +0.06 R   m−5 +0.1 R   m−4 +0.15 R   m−3 +0.16 R   m−2 +0.22 R   m−1 +0.30 R   m   (8)
 
Where: R m  represents the resistance in the mth sampling period; R m+n  represents the estimated resistance in the (m+n)th sampling period, wherein n=−7, −6, −5, −4, −3, −2, −1, 1, 2, 3, 4;
 
 X   m+4   =X   m+3   =X   m+2   =X   m+1 =0.15 X   m−2 +0.25 X   m−1 +0.6 X   m   (9)
 
Where: X m  the reactance in the mth sampling period; X m+p  represents the estimated reactance in the (m+p)th sampling period, wherein p=−2, −1, 1, 2, 3, 4;
 
     For estimation of PV nodal voltage:
 
 U   +4   =U   +3   =U   +2   =U   +1 =0.01 U   m−7 +0.03 U   m−6 +0.06 U   m−5 +0.1 U   m−4 +0.15 U   m−3 +0.16 U   m−2 +0.22 U   m−1 +0.30 U   m   (10)
 
Where: U m  represents the PV nodal voltage in the mth sampling period; U m+n  represents the estimated PV nodal voltage in the (m+n)th sampling period, wherein n=−7, −6, −5, −4, −3, −2, −1, 1, 2, 3, 4;
 
     Assuming that nodal voltage and current in each sampling period do not change, i.e. the sampling period is set as 20 ms, the nodal voltage of the distributed power source in the subsequent 80 ms is obtained by the formula (3):
 
 U   1 =220.3;
 
     Step 3: Plotting the forecast fluctuation curves of the power generation capacity according to the PV nodal voltage obtained in Step 2, with the time as the abscissa and the PV nodal voltage as the ordinate; 
     Step 4: Calculating the robustness of the power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment, and selecting the one with the best robustness to supply power to the user loads or the power grids; the formula for calculation of the robustness is shown as follows: 
                     D   N     =       1   7     ⁢                 (       U   m     -     U   ms       )     2     +       (       U     m   -   1       -     U   ms       )     2     +       (       U     m   -   3       -     U   ms       )     2     +                   (       U     m   -   5       -     U   ms       )     2     +       (       U     m   -   7       -     U   ms       )     2                         (   11   )               
D N  represents a robustness value, and a smaller value indicates that the robustness is better; U ms  represents nodal voltage in a mains supply;
 
     Assuming that the distributed energy resource is No. 2 photovoltaic panel, the robustness D 2  is calculated according to the formula (4):
 
 D   2 =0.0714
 
     Step 5: Calculating the total electric energy supplied to the user loads and the power grids by the photovoltaic panels, the wind turbines and the biomass energy power generation equipment, with the formula shown as follows: 
                     W   N     =         α   ⁢           ⁢     D   N           D   1     +     D   2     +     D   3     +   …   +     D     N   -   2       +     D     N   -   1       +     D   N         ⁢   W             (   12   )               
Where: W N  represents the total electric energy mentioned in Step 5, and W represents the total electric energy actually required by the user loads and the power grids; α represents a parameter of power generation type; for the wind turbines, α=0.1; for the photovoltaic panels, α=0.83; for the biomass energy power generation equipment, α=0.92;
 
     Because the photovoltaic panel is used in the embodiment now, α=0.83. If the total electric energy actually required by the user loads and the power grids is 500 KW, the total electric energy supplied to the user loads and the power grids by No. 2 photovoltaic panel is calculated according to the formula (5):
 
 W   2 =113.5 KW
 
     Step 6: Calculating the difference between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy supplied to the user loads and the power grids, with the formula shown as follows:
 
 W   storageN   =W   outN   −W   N   (13)
 
Where: W storageN  represents the difference between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy supplied to the user loads and the power grids; W outN  represents the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment;
 
     Assuming the photovoltaic panel generates power with the maximum power point, a result is obtained according to the formula (6):
 
 W   storageN   =W   outN   −W   N =120 KW=−115 KW=6.5 KW
 
     Step 7: If W storageN =1, directly supplying power to the user loads and the power grids by the one with the best robustness in the photovoltaic panels, the wind turbines and the biomass energy power generation equipment; if W storageN &gt;0, storing the remaining electric energy of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment into the energy storage module; and if W storageN &lt;0, replenishing the user loads and the power grids by discharging of the energy storage module; 
     Because W storageN =6.5 KW&gt;0, the remaining electric energy (6.5 KW) of No. 2 photovoltaic panel is stored into the energy storage module; 
     Step 8: Calculating the difference W E  between the actual power generation capacity of the photovoltaic panels, the wind turbines and the biomass energy power generation equipment and the total electric energy actually required by the user loads and the power grids, with the formula shown as follows:
 
 W   E   =W−W   N   (14)
 
     If W E &gt;0, replenishing the user loads and the power grids by the micro gas turbines with an amount of W E . 
     A result is obtained according to the formula (7): 
                     W   E     =       ⁢     W   -     W   N                   =       ⁢       500   ⁢           ⁢   KW     -     113.5   ⁢           ⁢   KW                   =       ⁢     386.5   ⁢           ⁢   KW                 
i.e., the power generation capacity of the micro gas turbines is 386.5 KW.
 
     In the embodiment, the flow of the control method for charging and discharging of the energy storage unit is shown in  FIG. 11  and comprises the following steps of: 
     Step 1: if the remaining electric energy released by the photovoltaic panels, the wind turbines and the biomass energy power generation equipment is received, carrying out Step 2 for storage battery charging; if a control signal sent by the distributed renewable energy intelligent optimizing power generation controller is received, carrying out Step 3 for storage battery discharging; 
     Step 2: Counting the charging and discharging times c of each storage battery; calculating the total charging and discharging times of all storage batteries and obtaining an average C; then calculating the difference between C and c, and taking the storage battery with the largest absolute value of the difference as a charging object; 
     Step 3: Counting the charging and discharging times c of each storage battery; calculating the total charging and discharging times of all storage batteries and obtaining an average C; then calculating the difference between C and c and taking the storage battery with the largest absolute value of the difference as a discharging object. 
     In the embodiment, the process for counting the charging and discharging times c of each storage battery, calculating the total charging and discharging times of all storage batteries, obtaining an average C and calculating the difference between C and c comprises the following steps of: 
     Respectively counting the charging times BatteryinN and the discharging times BatteryoutN of each storage battery by a counter, and expressing the charging times and the discharging times in the form of matrices Countin and Countout, as shown below:
         Countin=[Batteryin 1  Batteryin 2  . . . BatteryinN−1 BatteryinN]   Countout=[Batteryout 1  Batteryout 2  . . . BatteryoutN−1 BattetyoutN]       

     Then, the charging and discharging times c of each storage battery can be obtained, and are expressed in a matrix form as shown below: 
     
       
         
           
             
               
                 
                   c 
                   = 
                     
                   ⁢ 
                   
                     [ 
                     
                       
                         
                           
                             c 
                             ⁢ 
                             
                                 
                             
                             ⁢ 
                             1 
                           
                         
                         
                           
                             c 
                             ⁢ 
                             
                                 
                             
                             ⁢ 
                             2 
                           
                         
                         
                           … 
                         
                         
                           
                             cN 
                             ⁢ 
                             
                               - 
                             
                             ⁢ 
                             1 
                           
                         
                         
                           cN 
                         
                       
                     
                     ] 
                   
                 
               
             
             
               
                 
                   = 
                     
                   ⁢ 
                   
                     Countin 
                     + 
                     Countout 
                   
                 
               
             
             
               
                 
                   = 
                     
                   ⁢ 
                   
                     [ 
                     
                       
                         
                           
                             
                               Batteryin 
                               ⁢ 
                               
                                   
                               
                               ⁢ 
                               1 
                             
                             + 
                             
                               Batteryout 
                               ⁢ 
                               
                                   
                               
                               ⁢ 
                               1 
                             
                           
                         
                         
                           
                             
                               Batteryin 
                               ⁢ 
                               
                                   
                               
                               ⁢ 
                               2 
                             
                             + 
                             
                               Batteryout 
                               ⁢ 
                               
                                   
                               
                               ⁢ 
                               2 
                             
                           
                         
                         
                           … 
                         
                       
                     
                   
                 
               
             
             
               
                 
                     
                   ⁢ 
                   
                     
                       
                         
                           
                             Batteryin 
                             ⁢ 
                             
                                 
                             
                             ⁢ 
                             N 
                             ⁢ 
                             
                               - 
                             
                             ⁢ 
                             1 
                           
                           + 
                           
                             Batteryout 
                             ⁢ 
                             
                                 
                             
                             ⁢ 
                             N 
                             ⁢ 
                             
                               - 
                             
                             ⁢ 
                             1 
                           
                         
                       
                       
                         
                           
                             Batteryin 
                             ⁢ 
                             
                                 
                             
                             ⁢ 
                             N 
                           
                           + 
                           BatteryoutN 
                         
                       
                     
                   
                   ] 
                 
               
             
           
         
       
     
     The total charging and discharging times of all storage batteries and the average C can be calculated as follows: 
     
       
         
           
             C 
             = 
             
               
                 
                   
                     ∑ 
                     
                       i 
                       = 
                       1 
                     
                     N 
                   
                   ⁢ 
                   Batteryini 
                 
                 + 
                 
                   
                     ∑ 
                     
                       j 
                       = 
                       1 
                     
                     N 
                   
                   ⁢ 
                   Batteryouti 
                 
               
               N 
             
           
         
       
     
     The average C is expressed in a matrix form as shown below: 
             C   =       [         C       C       …       C       C         ]     N           
Carrying out the matrix operation C-c and extracting an element value with the largest absolute value in the obtained matrix. The storage battery which corresponds to the element value is the storage battery selected for charging and discharging.
 
     In the embodiment, the flow of the coordination method for laws of power consumption of the user loads is shown in  FIG. 12  and comprises the following steps of: 
     Step 1: Establishing a neural network model according to the historical data of nodal voltage and current acquired at the user load ends to predict laws of power consumption of the user loads; 
     The structure of the established neural network model is shown in  FIG. 8 ; 
     Step 2: Acquiring nodal voltage and current at the user load ends in real time by the state collectors, and continually correcting the neural network model in Step 1; 
     The historical data of nodal voltage and current acquired in the experiment is extracted. The curves of laws of power consumption of the user loads are obtained by Step 1 and Step 2 in the coordination method. The user loads in the process of the experiment always fluctuate around 0.1 MW; 
     Step 3: Releasing the total electric energy actually required by the user loads from the intelligent optimizing power consumption controller to the distributed renewable energy intelligent optimizing power generation controller according to the electric energy corrected in Step 2, and starting the corresponding ones of the photovoltaic panels, the wind turbines, the biomass energy power generation equipment, the energy storage module and the conventional power generation module to supply power. 
     While the present invention has been shown and described with reference to a certain embodiment thereof, it will be understood by those skilled in the field that these are only examples and various changes or revisions may be made therein without departing from the principle and the nature of the present invention. The scope of the present invention is only defined by the appended claims.