[go: up one dir, main page]

CN115001057A - Composite micro-energy system and energy control method, device and storage medium thereof - Google Patents

Composite micro-energy system and energy control method, device and storage medium thereof Download PDF

Info

Publication number
CN115001057A
CN115001057A CN202110230347.5A CN202110230347A CN115001057A CN 115001057 A CN115001057 A CN 115001057A CN 202110230347 A CN202110230347 A CN 202110230347A CN 115001057 A CN115001057 A CN 115001057A
Authority
CN
China
Prior art keywords
energy
micro
energy storage
module
sample
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110230347.5A
Other languages
Chinese (zh)
Inventor
陈果
张斌
曾怀望
康为
张楚婷
汪浩鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
United Microelectronics Center Co Ltd
Original Assignee
United Microelectronics Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by United Microelectronics Center Co Ltd filed Critical United Microelectronics Center Co Ltd
Priority to CN202110230347.5A priority Critical patent/CN115001057A/en
Priority to PCT/CN2021/086538 priority patent/WO2022183568A1/en
Publication of CN115001057A publication Critical patent/CN115001057A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other DC sources, e.g. providing buffering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J4/00Circuit arrangements for mains or distribution networks not specified as AC or DC
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other DC sources, e.g. providing buffering
    • H02J7/345Parallel operation in networks using both storage and other DC sources, e.g. providing buffering using capacitors as storage or buffering devices
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/10Power transmission or distribution systems management focussing at grid-level, e.g. load flow analysis, node profile computation, meshed network optimisation, active network management or spinning reserve management
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Medical Informatics (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

An energy control method and device of a composite micro energy system, a storage medium and the composite micro energy system are provided, wherein the composite micro energy system comprises a micro energy collection module, an energy storage module and a power supply module, and the method comprises the following steps: identifying characteristic information of each energy collected by the micro-energy collection module; inputting the characteristic information of each energy and the electric power required by the load into a decision tree model to obtain a decision label of each energy, wherein the decision label is used for indicating the trend of each energy; controlling a trend of each energy according to the decision tag to transmit at least a portion of each energy to the power supply module and/or energy storage module. By adopting the scheme of the invention, the trend of various energies in the composite micro-energy system can be accurately determined, and the energy utilization rate is improved.

Description

复合微能源系统及其能量控制方法、装置、存储介质Composite micro-energy system and energy control method, device and storage medium thereof

技术领域technical field

本发明涉及能源技术领域,尤其涉及一种复合微能源系统及其能量控制方法、装置、存储介质。The invention relates to the technical field of energy, in particular to a composite micro-energy system and an energy control method, device and storage medium thereof.

背景技术Background technique

复合微能源系统是一种能够收集多种微能源产生的能量,并将各种能量进行储存和/或释放(例如,向外部的负载供电)的系统。现有技术中,针对复合微能源系统收集到的能量,通常根据理论分析和工程经验,人为地制定一套逻辑门限值控制策略来确定能量的走向。A composite micro-energy system is a system that can collect energy generated by multiple micro-energy sources, and store and/or release various energies (for example, to supply power to external loads). In the prior art, for the energy collected by the composite micro-energy system, a set of logic threshold value control strategies are artificially formulated to determine the energy trend according to theoretical analysis and engineering experience.

可以理解的是,外界环境具有多变性且复合微能源系统收集的能量的情况通常受外界环境的影响较大,例如,季节变化和昼夜更替可能会导致系统收集到的太阳能一直处于变化中。此外,使用复合微能源的用户的需求也具有多变性,例如,不同情况下外部的负载所需的能量通常具有较大的差异。由于现有技术中逻辑门限值控制策略是人为制定的,更改该逻辑门限值控制策略成本较高,因此这种人为制定的逻辑门限值控制策略一旦确定后很少更改,因此现有技术中的方法无法使复合微能源系统中能量的走向适应于多变的外部环境和实际需求等不同情况。It can be understood that the external environment is variable and the energy collected by the composite micro-energy system is usually greatly affected by the external environment. For example, seasonal changes and day and night changes may cause the solar energy collected by the system to change all the time. In addition, the needs of users who use composite micro-energy sources are also variable. For example, the energy required by external loads in different situations usually varies greatly. Since the logic threshold value control strategy in the prior art is artificially formulated, the cost of changing the logic threshold value control strategy is relatively high, so this artificially formulated logic threshold value control strategy is rarely changed once it is determined, so the existing The method in the technology cannot make the energy trend in the composite micro-energy system adapt to different situations such as the changing external environment and actual demand.

因此,亟需一种复合微能源系统的能量控制方法,能够更准确地确定不同情况下复合微能源系统中各种能量的走向,提高能量利用率。Therefore, there is an urgent need for an energy control method for a composite micro-energy system, which can more accurately determine the direction of various energies in the composite micro-energy system under different conditions and improve energy utilization.

发明内容SUMMARY OF THE INVENTION

本发明解决的技术问题是提供一种复合微能源系统的能量控制方法,能够更准确地确定不同情况下复合微能源系统中各种能量的走向,提高能量利用率。The technical problem solved by the present invention is to provide an energy control method for a composite micro-energy system, which can more accurately determine the trends of various energies in the composite micro-energy system under different conditions and improve energy utilization.

为解决上述技术问题,本发明实施例提供一种复合微能源系统的能量控制方法,所述复合微能源系统包括微能源收集模块、储能模块和供电模块,所述微能源收集模块用于收集至少一种能量,所述储能模块用于存储所述能量转化后的电能,所述供电模块用于向负载供电,所述方法包括:识别所述微能源收集模块收集的每种能量的特征信息;将所述每种能量的特征信息以及负载所需电功率输入至决策树模型,以得到每种能量的决策标签,所述决策标签用于指示每种能量的走向;根据所述决策标签控制每种能量的走向,以将每种能量的至少一部分传输至所述供电模块和/或储能模块;其中,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。In order to solve the above technical problems, an embodiment of the present invention provides an energy control method for a composite micro-energy system, the composite micro-energy system includes a micro-energy collection module, an energy storage module and a power supply module, and the micro-energy collection module is used to collect At least one kind of energy, the energy storage module is used to store the electric energy after the energy conversion, the power supply module is used to supply power to the load, and the method includes: identifying the characteristics of each energy collected by the micro energy collection module information; input the characteristic information of each energy and the electric power required by the load into the decision tree model to obtain the decision label of each energy, the decision label is used to indicate the direction of each energy; control according to the decision label the direction of each energy, so as to transmit at least a part of each energy to the power supply module and/or the energy storage module; wherein, the decision tree model is generated by training using a plurality of first energy samples as training data.

可选的,所述特征信息包括以下一种或多种:能量的种类和能量可转化的电功率。Optionally, the feature information includes one or more of the following: the type of energy and the electric power that the energy can be converted into.

可选的,得到每种能量的决策标签的方法还包括:将所述储能模块的荷电状态与所述每种能量的特征信息以及负载所需电功率一并输入至所述决策树模型,以得到每种能量的决策标签。Optionally, the method for obtaining a decision label for each energy further includes: inputting the state of charge of the energy storage module together with the characteristic information of each energy and the electrical power required by the load into the decision tree model, to get the decision label for each energy.

可选的,所述决策树模型的生成方法包括:获取多个第一能量样本,每个第一能量样本包括负载所需电功率、至少一种样本能量及其特征信息和决策标签;将所述多个第一能量样本作为所述训练数据,训练生成所述决策树模型。Optionally, the method for generating the decision tree model includes: acquiring a plurality of first energy samples, where each first energy sample includes electrical power required by the load, at least one sample energy and its characteristic information and decision label; A plurality of first energy samples are used as the training data, and the decision tree model is generated by training.

可选的,将所述多个第一能量样本作为所述训练数据,训练生成所述决策树模型之前,所述方法还包括:确定所述负载所需电功率的可取值范围和每种样本能量的特征信息的可取值范围;根据每个第一能量样本中每种样本能量的特征信息和该第一能量样本对应的负载所需电功率对所述多个第一能量样本进行筛选,以得到用于生成所述决策树模型的第一能量样本。Optionally, using the plurality of first energy samples as the training data, before training to generate the decision tree model, the method further includes: determining a possible value range of the electrical power required by the load and each type of sample. The range of possible values of the energy characteristic information; according to the characteristic information of each sample energy in each first energy sample and the electric power required by the load corresponding to the first energy sample, the plurality of first energy samples are screened to obtain A first energy sample for generating the decision tree model is obtained.

可选的,将所述每种能量的特征信息以及负载所需电功率输入至决策树模型之前,所述方法还包括:获取多个第二能量样本,每个第二能量样本包括所述负载所需电功率、至少一种样本能量及其特征信息和预设决策标签,其中,所述多个第二能量样本与所述多个第一能量样本是相互独立的;将每个第二能量样本中每种样本能量的特征信息和该第二能量样本对应的负载所需电功率输入至所述决策树模型,以得到该第二能量样本中每种样本能量的模型决策标签;将每个第二能量样本中每种样本能量的模型决策标签和所述预设决策标签进行比较,并计算每种样本能量的所述模型决策标签与所述预设决策标签一致的第二能量样本的数量占所有第二能量样本数量的比例,如果所述比例小于第一预设阈值,则对所述决策树模型进行剪枝处理,以更新所述决策树模型。Optionally, before inputting the characteristic information of each type of energy and the electrical power required by the load into the decision tree model, the method further includes: acquiring a plurality of second energy samples, each second energy sample including all the information of the load. The required power, at least one sample energy and its characteristic information, and a preset decision label, wherein the plurality of second energy samples and the plurality of first energy samples are independent of each other; The characteristic information of each sample energy and the electric power required by the load corresponding to the second energy sample are input into the decision tree model to obtain the model decision label of each sample energy in the second energy sample; The model decision label of each sample energy in the sample is compared with the preset decision label, and the number of second energy samples in which the model decision label of each sample energy is calculated to be consistent with the preset decision label accounts for all the first energy samples. The ratio of the number of energy samples, if the ratio is smaller than the first preset threshold, the decision tree model is pruned to update the decision tree model.

可选的,所述储能模块包括多个储能元件,所述储能模块还用于向所述负载供电,所述方法还包括:获取多个储能元件的荷电状态;根据所述储能模块需提供的电功率和所述多个储能元件的荷电状态,采用模糊控制算法得到多个储能元件的供电比例,其中,所述储能模块需提供的电功率为所述负载所需电功率与所述微能源收集模块的能量可转化电功率的差值;根据所述供电比例和所述负载所需电功率确定每个储能元件的输出电功率。Optionally, the energy storage module includes a plurality of energy storage elements, the energy storage module is further configured to supply power to the load, and the method further includes: acquiring the state of charge of the plurality of energy storage elements; The electric power to be provided by the energy storage module and the state of charge of the plurality of energy storage elements are obtained by adopting a fuzzy control algorithm to obtain the power supply ratio of the plurality of energy storage elements, wherein the electric power to be provided by the energy storage module is determined by the load. The difference between the required electrical power and the energy convertible electrical power of the micro-energy collection module; the output electrical power of each energy storage element is determined according to the power supply ratio and the electrical power required by the load.

可选的,所述多个储能元件包括超级电容。Optionally, the plurality of energy storage elements include super capacitors.

可选的,根据所述储能模块需提供的电功率和所述多个储能元件的荷电状态,采用模糊控制算法得到多个储能元件的供电比例包括:根据所述储能模块需提供的电功率确定所述储能模块需提供的电功率所属的功率范围,并根据每个储能元件的荷电状态确定该储能元件的荷电状态所属的荷电范围;根据所述功率范围和每个储能元件的荷电范围查询所述模糊控制规则表,以确定每个储能元件的供电比例范围;将各个储能元件的供电比例范围去模糊化,以得到各个储能元件的供电比例;其中,所述模糊控制规则表用于描述所述功率范围和荷电范围与所述供电比例范围的映射关系。Optionally, according to the electric power to be provided by the energy storage module and the state of charge of the plurality of energy storage elements, using a fuzzy control algorithm to obtain the power supply ratio of the plurality of energy storage elements includes: The electric power of the energy storage module determines the power range to which the electric power to be provided by the energy storage module belongs, and determines the charging range to which the state of charge of each energy storage element belongs according to the state of charge of each energy storage element; Query the fuzzy control rule table for the charge range of each energy storage element to determine the power supply ratio range of each energy storage element; defuzzify the power supply ratio range of each energy storage element to obtain the power supply ratio of each energy storage element ; wherein, the fuzzy control rule table is used to describe the mapping relationship between the power range and the charge range and the power supply ratio range.

可选的,所述微能源收集模块包括多个微能源收集器,所述方法还包括:获取第一反馈信息,所述第一反馈信息用于指示所述微能源收集器是否发生更换;根据所述第一反馈信息判断所述微能源收集器是否发生更换,如果是,则获取更换后的每个微能源收集器的能量可转化电功率;将更换后的每个微能源收集器的能量可转化电功率与第二预设阈值进行比较;如果任意一个更换后的微能源收集器的能量可转化电功率不超过第二预设阈值,重新训练生成所述决策树模型。Optionally, the micro-energy collection module includes a plurality of micro-energy collectors, and the method further includes: acquiring first feedback information, where the first feedback information is used to indicate whether the micro-energy collectors are replaced; The first feedback information judges whether the micro-energy collector is replaced, and if so, obtains the energy convertible electric power of each replaced micro-energy collector; The converted electric power is compared with the second preset threshold; if the energy convertible electric power of any of the replaced micro-energy collectors does not exceed the second preset threshold, the decision tree model is retrained to generate the decision tree model.

可选的,所述储能模块包括多个储能元件,所述方法还包括:获取第二反馈信息,所述第二反馈信息用于指示所述储能元件是否发生更换;根据所述第二反馈信息判断所述储能元件是否发生更换,如果是,则获取更换后的每个储能元件的荷电状态;将更换后的每个储能元件的荷电状态的上限与第三预设阈值进行比较;如果任意一个更换后的储能元件的荷电状态的上限不超过所述第三预设阈值,重新训练生成所述决策树模型。Optionally, the energy storage module includes a plurality of energy storage elements, and the method further includes: acquiring second feedback information, where the second feedback information is used to indicate whether the energy storage element is replaced; The second feedback information judges whether the energy storage element is replaced, and if so, obtains the state of charge of each energy storage element after replacement; compares the upper limit of the state of charge of each energy storage element after replacement with the third preset Set a threshold for comparison; if the upper limit of the state of charge of any replaced energy storage element does not exceed the third preset threshold, retrain to generate the decision tree model.

为了解决上述技术问题,本发明实施例还提供一种复合微能源系统的能量控制装置,所述复合微能源系统包括微能源收集模块、储能模块和供电模块,所述微能源收集模块用于收集至少一种能量,所述储能模块用于存储所述能量转化后的电能,所述供电模块用于向负载供电,所述装置包括:识别模块,用于识别所述微能源收集模块收集的每种能量的特征信息;分类模块,用于将所述每种能量的特征信息以及负载所需电功率输入至决策树模型,以得到每种能量的决策标签,所述决策标签用于指示每种能量的走向;传输控制模块,用于根据所述决策标签控制每种能量的走向,以将每种能量的至少一部分传输至所述供电模块和/或储能模块;其中,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。In order to solve the above technical problems, an embodiment of the present invention also provides an energy control device for a composite micro-energy system, where the composite micro-energy system includes a micro-energy collection module, an energy storage module and a power supply module, and the micro-energy collection module is used for At least one type of energy is collected, the energy storage module is used to store the electrical energy converted from the energy, the power supply module is used to supply power to the load, and the device includes: an identification module for identifying the micro-energy collection module to collect electricity The characteristic information of each energy; the classification module is used to input the characteristic information of each energy and the electric power required by the load into the decision tree model, so as to obtain the decision label of each energy, and the decision label is used to indicate each energy. The direction of each energy; the transmission control module is used to control the direction of each energy according to the decision label, so as to transmit at least a part of each energy to the power supply module and/or the energy storage module; wherein, the decision tree The model is generated by using multiple first energy samples as training data.

本发明实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器运行时,执行上述复合微能源系统的能量控制方法的步骤。An embodiment of the present invention further provides a storage medium on which a computer program is stored, and when the computer program is run by a processor, the steps of the energy control method for the composite micro-energy system described above are executed.

本发明实施例还提供一种复合微能源系统,所述系统包括:微能源收集模块,用于收集至少一种能量;储能模块,用于存储所述能量转化后的电能;供电模块,用于向负载供电;控制器,用于执行上述复合微能源系统的能量控制方法的步骤。An embodiment of the present invention further provides a composite micro-energy system, the system includes: a micro-energy collection module, used to collect at least one type of energy; an energy storage module, used to store the converted electric energy; a power supply module, used for for supplying power to the load; the controller is used for executing the steps of the energy control method of the composite micro-energy system.

与现有技术相比,本发明实施例的技术方案具有以下有益效果:Compared with the prior art, the technical solutions of the embodiments of the present invention have the following beneficial effects:

本发明实施例的方案中,由于决策树模型是利用多个第一能量样本训练生成的,训练生成的决策树模型能够学习到第一能量样本中能量的特征信息、负载所需功率和能量的决策标签之间的关系和规律。将识别到的每种能量的特征信息和负载所需电功率输入训练生成的决策树模型中,可以根据当前每种能量的特征信息和负载所需电功率来确定每种能量的决策标签,然后再根据决策标签控制每种能量的走向,由此可以根据每种能量的特征信息和负载所需电功率来控制能量的走向。通过这样的方法,可以使能量的走向适应于微能源收集模块当前收集到的能量的特征信息和负载所需电功率的情况,从而可以更准确地确定能量的走向,提高能量的利用率。In the solution of the embodiment of the present invention, since the decision tree model is generated by training using a plurality of first energy samples, the decision tree model generated by training can learn the characteristic information of the energy in the first energy samples, the power required by the load and the energy value of the load. Relationships and laws between decision labels. Input the identified feature information of each energy and the electrical power required by the load into the decision tree model generated by training, and the decision label for each energy can be determined according to the current feature information of each energy and the electrical power required by the load, and then based on The decision label controls the direction of each energy, so the direction of the energy can be controlled according to the characteristic information of each energy and the electric power required by the load. Through this method, the energy trend can be adapted to the characteristic information of the energy currently collected by the micro energy collection module and the electric power required by the load, so that the energy trend can be more accurately determined and the utilization rate of energy can be improved.

进一步,本发明实施例的方案中,训练生成决策树模型之前,根据确定的特征信息的可取值范围和负载所需电功率的可取值范围对多个第一能量样本进行筛选,以得到用于生成决策树模型的第一能量样本,可以确保作为训练数据的第一能量样本的准确性,从而使训练生成的决策树模型更加准确。Further, in the solution of the embodiment of the present invention, before training to generate a decision tree model, a plurality of first energy samples are screened according to the determined range of possible values of the feature information and the range of possible values of the electric power required by the load, so as to obtain the available energy samples. For generating the first energy sample of the decision tree model, the accuracy of the first energy sample used as training data can be ensured, thereby making the decision tree model generated by training more accurate.

进一步,本发明实施例的方案中,在用户使用决策树模型进行能量的走向控制之前,采用与第一能量样本相互独立的第二能量样本对训练生成的决策树模型进行测试,当测试得到的每种样本能量的模型决策标签与预设决策标签一致的第二能量样本的数量占所有第二能量样本数量的比例小于第一预设阈值时,对决策树模型进行剪枝处理以校准所述决策树模型,以使决策树模型能够适应当前的实际需求,从而更准确地确定能量的走向。Further, in the solution of the embodiment of the present invention, before the user uses the decision tree model to control the direction of energy, a second energy sample independent of the first energy sample is used to test the decision tree model generated by training. When the ratio of the number of second energy samples whose model decision labels of each sample energy are consistent with the preset decision labels to the number of all second energy samples is less than the first preset threshold, the decision tree model is pruned to calibrate the Decision tree model, so that the decision tree model can adapt to the current actual demand, so as to more accurately determine the direction of energy.

进一步,本发明实施例的方案中,基于模糊控制算法,根据储能模块需提供的电功率和各个储能元件的荷电状态来确定每个储能元件的供电比例,可以避免重复使用个别储能元件对供电模块供电,从而尽量避免该个别储能元件被多次反复充放电导致过早地老化、损耗等问题。Further, in the solution of the embodiment of the present invention, based on the fuzzy control algorithm, the power supply ratio of each energy storage element is determined according to the electric power to be provided by the energy storage module and the state of charge of each energy storage element, so that repeated use of individual energy storage elements can be avoided. The components supply power to the power supply module, so as to avoid problems such as premature aging and loss caused by repeated charging and discharging of the individual energy storage components as much as possible.

附图说明Description of drawings

图1是本发明实施例中一种复合微能源系统的结构示意图。FIG. 1 is a schematic structural diagram of a composite micro-energy system in an embodiment of the present invention.

图2是本发明实施例中第一种复合微能源系统的能量控制方法的流程示意图。FIG. 2 is a schematic flowchart of a first energy control method for a composite micro-energy system in an embodiment of the present invention.

图3是本发明实施例中一种决策树模型的结构示意图。FIG. 3 is a schematic structural diagram of a decision tree model in an embodiment of the present invention.

图4是本发明实施例中第二种复合微能源系统的能量控制方法的流程示意图。FIG. 4 is a schematic flowchart of a second energy control method for a composite micro-energy system in an embodiment of the present invention.

图5是本发明实施例中第三种复合微能源系统的能量控制方法的流程示意图。FIG. 5 is a schematic flowchart of a third energy control method for a composite micro-energy system in an embodiment of the present invention.

图6是本发明实施例中一种复合微能源系统的能量控制装置的结构示意图。FIG. 6 is a schematic structural diagram of an energy control device of a composite micro-energy system in an embodiment of the present invention.

具体实施方式Detailed ways

如背景技术所述,亟需一种复合微能源系统的能量控制方法,能够准确地确定不同情况下复合微能源系统中各种能量的走向,提高能量利用率。As described in the background art, there is an urgent need for an energy control method for a composite micro-energy system, which can accurately determine the trends of various energies in the composite micro-energy system under different conditions and improve energy utilization.

如上文所述,本发明的发明人经过研究发现,现有技术中,针对复合微能源系统收集到的能量,通常根据理论分析和工程经验,人为地制定一套逻辑门限值控制策略来确定能量的走向。可以理解的是,外界环境具有多变性且复合微能源系统收集的能量的情况通常受外界环境的影响较大,例如,季节变化和昼夜更替可能会导致系统收集到的太阳能一直处于变化中。此外,使用复合微能源的用户的需求也具有多变性,例如,不同情况下外部的负载所需的能量通常具有较大的差异。由于现有技术中逻辑门限值控制策略是人为制定的,更改该逻辑门限值控制策略成本较高,因此这种人为制定的逻辑门限值控制策略一旦确定后很少更改,因此现有技术中的方法无法使复合微能源系统中能量的走向适应于多变的外部环境和实际需求等不同情况。As mentioned above, the inventors of the present invention have found through research that, in the prior art, the energy collected by the composite micro-energy system is usually determined by artificially formulating a set of logic threshold control strategies based on theoretical analysis and engineering experience. direction of energy. It can be understood that the external environment is variable and the energy collected by the composite micro-energy system is usually greatly affected by the external environment. For example, seasonal changes and day and night changes may cause the solar energy collected by the system to change all the time. In addition, the needs of users who use composite micro-energy sources are also variable. For example, the energy required by external loads in different situations usually varies greatly. Since the logic threshold value control strategy in the prior art is artificially formulated, the cost of changing the logic threshold value control strategy is relatively high, so this artificially formulated logic threshold value control strategy is rarely changed once it is determined, so the existing The method in the technology cannot make the energy trend in the composite micro-energy system adapt to different situations such as the changing external environment and actual demand.

为了解决上述技术问题,本发明实施例提供了一种复合微能源系统的控制方法,在本发明实施例的方案中,由于决策树模型是利用多个第一能量样本训练生成的,训练生成的决策树模型能够学习到第一能量样本中能量的特征信息、负载所需功率和能量的决策标签之间的关系和规律。将识别到的每种能量的特征信息和负载所需电功率输入至训练生成的决策树模型中,可以根据当前每种能量的特征信息和负载所需电功率来确定每种能量的决策标签,然后再根据决策标签控制每种能量的走向,由此可以根据每种能量的特征信息和负载所需电功率来控制能量的走向。通过这样的方法,可以使能量的走向适应于微能源收集模块当前收集到的能量的特征信息和负载所需电功率的情况,从而可以准确地确定能量的走向,提高能量的利用率。In order to solve the above technical problem, the embodiment of the present invention provides a control method for a composite micro-energy system. In the solution of the embodiment of the present invention, since the decision tree model is generated by training using a plurality of first energy samples, the training generated The decision tree model can learn the relationship and law between the characteristic information of the energy in the first energy sample, the power required by the load and the decision label of the energy. Input the identified characteristic information of each energy and the electrical power required by the load into the decision tree model generated by training, and the decision label of each energy can be determined according to the current characteristic information of each energy and the electrical power required by the load, and then The direction of each energy is controlled according to the decision label, so that the direction of energy can be controlled according to the characteristic information of each energy and the electric power required by the load. Through this method, the energy trend can be adapted to the characteristic information of the energy currently collected by the micro energy collection module and the electric power required by the load, so that the energy trend can be accurately determined and the utilization rate of energy can be improved.

为使本发明的上述目的、特征和有益效果能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and beneficial effects of the present invention more clearly understood, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

参考图1,图1是本发明实施例中一种复合微能源系统的结构示意图。下面结合图1对本发明实施例适用的复合微能源系统进行非限制性的说明。Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a composite micro-energy system in an embodiment of the present invention. The composite micro-energy system to which the embodiments of the present invention are applicable will be described in a non-limiting manner below with reference to FIG. 1 .

图1示出的复合微能源系统可以包括:微能源收集模块11、储能模块12、供电模块13和控制器14。The composite micro-energy system shown in FIG. 1 may include: a micro-energy collection module 11 , an energy storage module 12 , a power supply module 13 and a controller 14 .

微能源收集模块11用于收集至少一种能量,所述至少一种能量可以是任何种类的能量。所述能量可以是电能,也可以是任何可以转化为电能的能量,例如可以是太阳能、电磁能和振动能等,但并不限于此。The micro-energy collection module 11 is used to collect at least one kind of energy, and the at least one kind of energy can be any kind of energy. The energy may be electrical energy, or any energy that can be converted into electrical energy, such as solar energy, electromagnetic energy, vibration energy, etc., but not limited thereto.

微能源收集模块11可以包括多个微能源收集器,微能源收集器可以用于收集各种形式的能量,此外,还可以将收集到的各种能量转化为电能。The micro-energy collection module 11 may include a plurality of micro-energy collectors, and the micro-energy collectors may be used to collect various forms of energy, and in addition, the various types of collected energy may be converted into electrical energy.

具体而言,能量的种类不同,微能源收集器通常也不同。例如,微能源收集器可以包括太阳能能量收集器(例如:太阳能电池板)、振动能量收集器、射频能量收集器等。其中,太阳能能量收集器是用于收集太阳能的微能源收集器,振动能量收集器是用于收集振动能的微能源收集器,射频能量收集器是用于收集电磁能的微能源收集器,但并不限于此。Specifically, the types of energy are different, and the microenergy harvesters are usually different. For example, micro energy harvesters may include solar energy harvesters (eg, solar panels), vibration energy harvesters, radio frequency energy harvesters, and the like. Among them, solar energy collectors are micro energy collectors for collecting solar energy, vibration energy collectors are micro energy collectors for collecting vibration energy, and radio frequency energy collectors are micro energy collectors for collecting electromagnetic energy. It is not limited to this.

所述微能源收集模块11可以与储能模块12耦接,以将收集到的能量(或者转化得到的电能)传输至储能模块12,也可以与供电模块13耦接,以将收集到的能量(或者转化得到的电能)传输至供电模块13,但并不限于此。The micro-energy collection module 11 can be coupled with the energy storage module 12 to transmit the collected energy (or converted electrical energy) to the energy storage module 12, or can be coupled with the power supply module 13 to transfer the collected energy (or converted electrical energy) to the energy storage module 12. The energy (or the converted electric energy) is transmitted to the power supply module 13, but is not limited thereto.

储能模块12用于存储能量转化后的电能。具体而言,微能源收集模块11收集到的能量转化为电能后可以传输至储能模块12储存起来。需要说明的是,储能模块12存储的能量通常为电能。The energy storage module 12 is used to store the converted electric energy. Specifically, after the energy collected by the micro-energy collection module 11 is converted into electrical energy, it can be transmitted to the energy storage module 12 for storage. It should be noted that the energy stored by the energy storage module 12 is usually electrical energy.

储能模块12可以包括多个储能元件,储能元件可以是指用于存储电能的元件,例如,可以是锂电池和/或超级电容,但并不限于此。本发明实施例对储能元件的数量和种类并不作任何限制。The energy storage module 12 may include a plurality of energy storage elements, and the energy storage elements may refer to elements used to store electrical energy, such as, but not limited to, lithium batteries and/or super capacitors. The embodiments of the present invention do not impose any limitations on the quantity and types of energy storage elements.

储能模块12可以与供电模块13耦接,可以将储存的电能传输至供电模块13。The energy storage module 12 can be coupled with the power supply module 13 and can transmit the stored electrical energy to the power supply module 13 .

供电模块13用于与外部的负载耦接,并向外部的负载供电。供电模块13获取到的电能可以来自于微能源收集模块11,也可以来自于储能模块12,或者来自于以上两者。换言之,供电模块13获取的电能可以只来自微能源收集模块11,还可以只来自储能模块12,也可以既来自微能源收集模块11又来自储能模块12,但并不限于此。The power supply module 13 is used for coupling with an external load and supplying power to the external load. The electrical energy obtained by the power supply module 13 may come from the micro-energy collection module 11 , the energy storage module 12 , or both. In other words, the electrical energy obtained by the power supply module 13 may only come from the micro-energy collection module 11, only from the energy storage module 12, or both from the micro-energy collection module 11 and the energy storage module 12, but is not limited thereto.

控制器14可以用于控制复合微能源系统中微能源收集模块收集的能量的走向。The controller 14 can be used to control the direction of the energy collected by the micro-energy collection module in the composite micro-energy system.

具体而言,控制器14可以与微能源收集模块11耦接,并用于控制微能源收集模块11收集到的每种能量的走向,更具体地,控制器14可以用于控制微能源收集模块11收集到的能量是传输至储能模块12,还是传输至供电模块13,还是同时传输至以上两者。Specifically, the controller 14 can be coupled with the micro-energy collection module 11 and used to control the direction of each energy collected by the micro-energy collection module 11 , and more specifically, the controller 14 can be used to control the micro-energy collection module 11 Whether the collected energy is transmitted to the energy storage module 12, to the power supply module 13, or to both at the same time.

进一步地,控制器14还可以与储能模块12耦接,并用于控制储能模块12储存的电能是否需要传输至供电模块13。更具体地,控制器14还可以与储能模块12中各个储能元件耦接,并用于控制每个储能元件传输至供电模块13的电能。Further, the controller 14 may also be coupled to the energy storage module 12 and used to control whether the electrical energy stored in the energy storage module 12 needs to be transmitted to the power supply module 13 . More specifically, the controller 14 may also be coupled with each energy storage element in the energy storage module 12 and used to control the electrical energy transmitted by each energy storage element to the power supply module 13 .

进一步地,控制器14还可以与供电模块13耦接,以获取当前的供电需求,所述供电需求是指复合微能源系统当前需要向外提供的电功率,例如,可以是负载所需电功率。Further, the controller 14 can also be coupled with the power supply module 13 to obtain the current power supply demand, where the power supply demand refers to the electric power that the composite micro-energy system currently needs to provide to the outside, for example, the electric power required by the load.

所述复合微能源系统还可以包括监测模块15,监测模块15可以与微能源收集模块11耦接,以监测微能源收集模块11是否存在异常。更具体地,监测模块15可以用于监测各个微能源收集器是否存在异常,例如,微能源收集器的各种参数(例如输出能量的峰值功率等参数)是否异常,微能源收集器本身是否存在开裂、破损、被遮挡等问题。The composite micro-energy system may further include a monitoring module 15, and the monitoring module 15 may be coupled with the micro-energy collection module 11 to monitor whether the micro-energy collection module 11 is abnormal. More specifically, the monitoring module 15 can be used to monitor whether each micro-energy collector is abnormal, for example, whether various parameters of the micro-energy collector (such as parameters such as the peak power of output energy) are abnormal, and whether the micro-energy collector itself exists. Cracks, damages, occlusions, etc.

进一步地,监测模块15还可以与储能模块12耦接,以监测储能模块12是否存在异常。更具体地,监测模块15可以用于监测储能模块12中各个储能元件是否存在异常,例如:储能元件的各种参数(例如储存能量的上限等参数)是否异常,储能元件本身老化等。Further, the monitoring module 15 may also be coupled with the energy storage module 12 to monitor whether the energy storage module 12 is abnormal. More specifically, the monitoring module 15 can be used to monitor whether each energy storage element in the energy storage module 12 is abnormal, for example, whether various parameters of the energy storage element (such as parameters such as the upper limit of the stored energy) are abnormal, and the energy storage element itself is aging. Wait.

参考图2,图2是本发明实施例中一种复合微能源系统的能量控制方法的流程示意图。所述能量控制方法可以由控制器执行,所述控制器可以是任何恰当的具有数据接收和处理能力的终端,例如可以是计算机、传感分析仪等,但并不限于此。所述控制器可以设置于复合微能源系统的内部,该控制器与复合微能源系统中各个器件耦接;或者,控制器可以设置于复合微能源系统的外部并远程地与复合微能源系统中各个器件耦接,但并不限于此。所述复合微能源系统可以是能够收集多种微能源产生的能量,并将各种能量进行储存和/或释放的系统,该复合微能源系统可以包括微能源收集模块,储能模块和供电模块,但并不限于此。在本发明的一个非限制性实施例中,复合微能源系统为图1所示的复合微能源系统。Referring to FIG. 2 , FIG. 2 is a schematic flowchart of an energy control method for a composite micro-energy system in an embodiment of the present invention. The energy control method can be performed by a controller, and the controller can be any appropriate terminal with data receiving and processing capabilities, such as a computer, a sensor analyzer, etc., but not limited thereto. The controller can be arranged inside the composite micro-energy system, and the controller is coupled to each device in the composite micro-energy system; or, the controller can be arranged outside the composite micro-energy system and remotely connected to the composite micro-energy system. The respective devices are coupled, but not limited thereto. The composite micro-energy system can be a system that can collect the energy generated by a variety of micro-energy sources, and store and/or release various energies. The composite micro-energy system can include a micro-energy collection module, an energy storage module and a power supply module. , but not limited to this. In a non-limiting embodiment of the present invention, the composite micro-energy system is the composite micro-energy system shown in FIG. 1 .

图2所示的复合微能源系统的能量控制方法可以包括如下步骤:The energy control method of the composite micro-energy system shown in FIG. 2 may include the following steps:

步骤S201:识别所述微能源收集模块收集的每种能量的特征信息;Step S201: Identify the characteristic information of each type of energy collected by the micro-energy collection module;

步骤S202:将所述每种能量的特征信息以及负载所需电功率输入至决策树模型,以得到每种能量的决策标签,所述决策标签用于指示每种能量的走向;其中,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。Step S202: Input the characteristic information of each energy and the electric power required by the load into the decision tree model to obtain the decision label of each energy, the decision label is used to indicate the trend of each energy; wherein, the decision The tree model is generated by using multiple first energy samples as training data.

步骤S203:根据所述决策标签控制每种能量的走向,以将每种能量的至少一部分传输至所述供电模块和/或储能模块。Step S203: Control the direction of each energy according to the decision label, so as to transmit at least a part of each energy to the power supply module and/or the energy storage module.

在步骤S201的具体实施中,可以按照预设的时间间隔获取微能源收集模块收集的每种能量的特征信息并进行识别,所述预设的时间间隔可以是预先配置的。其中,所述特征信息是指用于描述所述能量的一方面或多方面的特征。例如,特征信息可以包括能量的种类和能量可转化的电功率,但并不限于此。In the specific implementation of step S201, characteristic information of each energy collected by the micro-energy collection module may be acquired and identified according to a preset time interval, and the preset time interval may be pre-configured. The feature information refers to features used to describe one or more aspects of the energy. For example, the characteristic information may include the type of energy and the electric power to which the energy can be converted, but is not limited thereto.

具体而言,微能源收集模块可以包括多个微能源收集器,由于能量的种类不同,微能源收集器也不同,因此可以根据每种能量来自的微能源收集器确定该种能量的种类。更具体地,每个微能源收集器可以具有能量标识,收集相同种类的能量的微能源收集器可以具有相同的能量标识,可以通过识别各个微能源收集器的能量标识来确定能量的种类。Specifically, the micro-energy collection module may include a plurality of micro-energy collectors. Since the types of energy are different, the micro-energy collectors are also different, so the type of energy can be determined according to the micro-energy collector from which each energy comes. More specifically, each micro-energy harvester may have an energy identifier, micro-energy harvesters that collect the same type of energy may have the same energy identifier, and the type of energy may be determined by identifying the energy identifier of each micro-energy harvester.

进一步地,还可以获取微能源收集模块中每种能量的可转化电功率。所述能量的可转化电功率是指能量可以转化为电能的效率。具体而言,可以通过安装于微能源收集模块的传感器等元件获取微能源收集模块中每种能量的可转化电功率。更具体地,还可以获取每个微能源收集器中的能量可转化的电功率。Further, the convertible electric power of each energy in the micro-energy collection module can also be obtained. The convertible electrical power of the energy refers to the efficiency with which the energy can be converted into electrical energy. Specifically, the convertible electric power of each energy in the micro-energy collection module can be obtained through components such as sensors installed in the micro-energy collection module. More specifically, the energy-convertible electrical power in each micro-energy harvester can also be obtained.

在步骤S202的具体实施中,可以按照预设的时间间隔获取外部的负载所需的电功率,并将每种能量的特征信息和负载所需电功率输入决策树模型以得到每种能量的决策标签。In the specific implementation of step S202, the electric power required by the external load can be obtained according to a preset time interval, and the characteristic information of each energy and the electric power required by the load are input into the decision tree model to obtain the decision label of each energy.

其中,所述决策标签可以用于指示能量的走向,例如,传输至供电模块和/或传输至储能模块。在本发明的一个非限制性实施例中,储能模块中的储能元件包括锂电池和超级电容,能量的走向可以包括以下一种或多种:传输至供电模块、传输至锂电池和传输至超级电容。Wherein, the decision label can be used to indicate the direction of energy, for example, to the power supply module and/or to the energy storage module. In a non-limiting embodiment of the present invention, the energy storage element in the energy storage module includes a lithium battery and a super capacitor, and the direction of energy may include one or more of the following: transmission to the power supply module, transmission to the lithium battery, and transmission to supercapacitors.

需要说明的是,所述能量的特征信息、负载所需电功率和决策标签之间的关联关系是与时间有关的,该关联关系随时间的变化可能发生变化。具体而言,能量的特征信息和负载所需电功率可以是属于同一时间间隔内的,得到的决策标签也是该时间间隔内的能量的走向。也即,每隔一个时间间隔,针对每种能量当前的特征信息和负载所需电功率,得到各种能量当前的决策标签。It should be noted that the relationship between the characteristic information of the energy, the electric power required by the load and the decision label is related to time, and the relationship may change with time. Specifically, the characteristic information of the energy and the electric power required by the load may belong to the same time interval, and the obtained decision label is also the trend of the energy in the time interval. That is, every time interval, according to the current characteristic information of each energy and the electric power required by the load, the current decision label of each energy is obtained.

在本发明的一个非限制性实施例中,可以将储能模块的荷电状态与每种能量的特征信息、负载所需电功率一并输入至决策树模型,以得到每种能量的决策标签。换言之,每种能量的决策标签是根据储能模块的荷电状态、能量的特征信息和负载所需电功率确定的。其中,储能模块的荷电状态与能量的特征信息、负载所需电功率和决策标签也具有时间有关的关联关系。相比于根据每种能量的特征信息和负载所需电功率确定每种能量的决策标签的方案,将储能模块的荷电状态与每种能量的特征信息、负载所需电功率一并输入至决策树模型,以得到每种能量的类别标签决策标签的方案,可以使能量的走向更加符合复合微能源系统的实际需求,提高能量的利用率。In a non-limiting embodiment of the present invention, the state of charge of the energy storage module can be input into the decision tree model together with the characteristic information of each energy and the electric power required by the load to obtain the decision label of each energy. In other words, the decision label for each energy is determined according to the state of charge of the energy storage module, the characteristic information of the energy, and the electrical power required by the load. Among them, the state of charge of the energy storage module and the characteristic information of the energy, the electric power required by the load and the decision label also have a time-related correlation. Compared with the scheme of determining the decision label of each energy according to the characteristic information of each energy and the electric power required by the load, the state of charge of the energy storage module, the characteristic information of each energy, and the electric power required by the load are input to the decision-making The tree model is used to obtain the category label decision label scheme of each energy, which can make the energy trend more in line with the actual needs of the composite micro-energy system and improve the utilization rate of energy.

更具体地,可以将储能模块中每个储能元件的荷电状态与能量的特征信息、负载所需电功率一并输入至决策树模型中。也即,能量的决策标签可以是由与其具有时间有关的关联关系的能量的特征信息、负载所需电功率和每个储能元件的荷电状态决定的。More specifically, the state of charge of each energy storage element in the energy storage module can be input into the decision tree model together with the characteristic information of the energy and the electric power required by the load. That is, the decision label of the energy may be determined by the characteristic information of the energy having a time-related relationship with it, the electric power required by the load, and the state of charge of each energy storage element.

进一步地,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。其中,每个第一能量样本可以包括负载所需电功率、至少一种样本能量以及每种样本能量的特征信息和决策标签。所述样本能量可以选自微能源收集模块收集的能量,例如,可以是太阳能、振动能、电磁能等,但并不限于此。其中,每种样本能量具有特征信息和决策标签,不同的样本能量的特征信息和决策标签可以是不同的。Further, the decision tree model is generated by training using a plurality of first energy samples as training data. Wherein, each first energy sample may include electrical power required by the load, at least one sample energy, and characteristic information and decision labels of each sample energy. The sample energy can be selected from the energy collected by the micro-energy collection module, for example, solar energy, vibration energy, electromagnetic energy, etc., but not limited thereto. Among them, each kind of sample energy has characteristic information and decision label, and the characteristic information and decision label of different sample energy can be different.

需要说明的是,每个第一能量样本包括的负载所需电功率与该第一能量样本具有时间有关的关联关系。更具体地,负载所需电功率与该第一能量样本中的各个样本能量均具有时间有关的关联关系。It should be noted that the electrical power required by the load included in each first energy sample has a time-related correlation with the first energy sample. More specifically, the electrical power required by the load and each sample energy in the first energy sample have a time-dependent relationship.

在本发明的一个非限制性实施例中,每个第一能量样本还可以包括储能模块的荷电状态。所述储能模块的荷电状态与该第一能量样本也可以具有时间有关的关联关系。更具体地,所述储能模块的荷电状态可以包括多个储能元件的荷电状态。需要说明的是,第一能量样本的具体内容取决于决策树模型的输入数据。In one non-limiting embodiment of the present invention, each first energy sample may also include a state of charge of the energy storage module. The state of charge of the energy storage module and the first energy sample may also have a time-dependent correlation. More specifically, the state of charge of the energy storage module may include the state of charge of a plurality of energy storage elements. It should be noted that the specific content of the first energy sample depends on the input data of the decision tree model.

进一步地,对于样本能量的每种组合方式,多个第一能量样本中需要包括该种组合方式中每种能量所有可能的走向。其中,组合方式是指每个第一能量样本中样本能量的种类。以太阳能和振动能这种组合方式为例,样本能量为太阳能和振动能的第一能量样本中,需要包括太阳能的决策标签分别为所有可选的决策标签的第一能量样本,以及振动能的决策标签分别为所有可选的决策标签的第一能量样本。Further, for each combination of sample energy, the multiple first energy samples need to include all possible trends of each energy in this combination. The combination mode refers to the type of sample energy in each first energy sample. Taking the combination of solar energy and vibrational energy as an example, in the first energy sample where the sample energy is solar energy and vibrational energy, the decision labels that need to include solar energy are the first energy samples of all optional decision labels, and the first energy samples of vibrational energy. The decision labels are the first energy samples of all optional decision labels, respectively.

在本发明的一个非限制性实施例中,考虑到部分的第一能量样本可能是在复合微能源系统存在异常的情况下获取的,为了确保决策树模型的准确性,需要对多个第一能量样本进行筛选。In a non-limiting embodiment of the present invention, considering that some of the first energy samples may be obtained when the composite micro-energy system is abnormal, in order to ensure the accuracy of the decision tree model, it is necessary to energy samples for screening.

具体而言,可以先确定每种样本能量的特征信息的可取值范围和负载所需电功率的可取值范围。前述可取值范围可以是从外部接收的,也可以是预先存储在控制器中的。其中,每种样本能量的特征信息的可取值范围可以是能量标识的可取值范围,也可以是每种能量的能量可转化电功率的可取值范围,但并不限于此。Specifically, the range of possible values of the characteristic information of each sample energy and the range of possible values of the electrical power required by the load may be determined first. The aforementioned range of possible values may be received from the outside, or may be pre-stored in the controller. Wherein, the possible value range of the characteristic information of each sample energy may be the possible value range of the energy identifier, or the possible value range of the energy convertible electric power of each energy, but is not limited thereto.

进一步地,判断各个第一能量样本的特征信息是否满足特征信息的可取值范围,并判断各个第一能量样本对应的负载所需电功率是否满足负载所需电功率的可取值范围,如果两方面均满足,可以判断该第一能量样本可以用于训练生成决策树模型。Further, it is judged whether the characteristic information of each first energy sample satisfies the acceptable value range of the characteristic information, and whether the electric power required by the load corresponding to each first energy sample satisfies the acceptable value range of the electric power required by the load, if both If both are satisfied, it can be judged that the first energy sample can be used for training a decision tree model.

在本发明的一个非限制性实施例中,还可以确定储能模块的荷电状态范围,根据第一能量样本对应的储能模块的荷电状态对多个第一能量样本进行筛选,以得到用于生成所述决策树模型的第一能量样本。In a non-limiting embodiment of the present invention, the range of the state of charge of the energy storage module can also be determined, and the plurality of first energy samples are screened according to the state of charge of the energy storage module corresponding to the first energy sample to obtain A first energy sample for generating the decision tree model.

由此,通过设置特征信息的可取值范围和负载所需电功率的可取值范围,可以对多个第一能量样本进行筛选,提高了训练数据的准确性,使得决策树模型更精确。Therefore, by setting the possible value range of the feature information and the possible value range of the electric power required by the load, a plurality of first energy samples can be screened, the accuracy of the training data is improved, and the decision tree model is more accurate.

进一步地,采用多个第一能量样本训练生成决策树模型的方法可以是任何现有的恰当的算法,例如可以是分类回归树(Classification and Regression Tree,CART)算法,也即,可以根据基尼(Gini)指数最小化原则来递归地构建决策树模型。Further, the method of using a plurality of first energy samples to train and generate a decision tree model can be any existing appropriate algorithm, such as a classification and regression tree (Classification and Regression Tree, CART) algorithm, that is, can be based on Gini ( Gini) exponential minimization principle to recursively build decision tree models.

参考图3,图3是本发明实施例中一种决策树模型的示意图。图3示出的决策树模型包括结点和有向边,其中,结点包括内部结点31和叶结点32。其中,内部结点31表示多种预设属性,所述预设属性可以根据决策树模型的输入确定。例如:能量的种类、能量的可转化电功率和负载所需电功率等。叶结点32可以表示多个决策标签。Referring to FIG. 3, FIG. 3 is a schematic diagram of a decision tree model in an embodiment of the present invention. The decision tree model shown in FIG. 3 includes nodes and directed edges, wherein the nodes include internal nodes 31 and leaf nodes 32 . The internal node 31 represents a variety of preset attributes, and the preset attributes can be determined according to the input of the decision tree model. For example: the type of energy, the convertible electric power of the energy and the electric power required by the load, etc. Leaf nodes 32 may represent multiple decision labels.

其中,每个内部结点31对应于一个属性测试,每个内部结点31包含多个第一能量样本根据属性测试的结果被划分到该内部结点31的子结点中。从内部结点31中最上层的内部结点开始,递归地对每个内部结点31包含的多个第一能量样本进行分类,直至达到预设的停止递归的条件位置,以得到多个叶结点32。预设的停止递归的条件可以是每个内部结点31中多个第一能量样本的个数小于预设个数,或者每个内部结点31包含的多个第一能量样本的基尼指数小于预设指数等,但并不限于此。Wherein, each internal node 31 corresponds to an attribute test, and each internal node 31 contains a plurality of first energy samples which are divided into sub-nodes of the internal node 31 according to the result of the attribute test. Starting from the uppermost internal node in the internal nodes 31, the multiple first energy samples contained in each internal node 31 are recursively classified until the preset conditional position for stopping the recursion is reached, so as to obtain multiple leaves Node 32. The preset condition for stopping the recursion may be that the number of multiple first energy samples in each internal node 31 is less than the preset number, or the Gini index of multiple first energy samples included in each internal node 31 is less than Preset indices, etc., but not limited thereto.

具体而言,对于每个内部结点31包含的样本集D,样本集D包括多个第一能量样本,样本集D具有K个样本子集,采用下列公式计算该样本集D的基尼指数:Specifically, for the sample set D included in each internal node 31, the sample set D includes a plurality of first energy samples, the sample set D has K sample subsets, and the Gini index of the sample set D is calculated by the following formula:

Figure BDA0002958899780000121
Figure BDA0002958899780000121

其中,Gini(D)是样本集D的基尼指数,K是内部结点31的子结点数量,

Figure BDA0002958899780000122
是样本集D中的第一能量样本划入样本子集Dk的概率。where Gini(D) is the Gini index of the sample set D, K is the number of child nodes of the internal node 31,
Figure BDA0002958899780000122
is the probability that the first energy sample in the sample set D is classified into the sample subset Dk .

进一步地,每个内部结点31对应的属性A可能的取值有多个,对于每个可能的取值a,根据每个第一能量样本关于属性A=a的测试结果为“是”或“否”,将样本集D分割成样本子集D1和样本子集D2两部分,并采用下列公式计算A=a时样本集D的基尼指数:Further, there are multiple possible values of attribute A corresponding to each internal node 31, and for each possible value a, the test result of attribute A=a according to each first energy sample is “Yes” or "No", divide the sample set D into sample subset D 1 and sample subset D 2 , and use the following formula to calculate the Gini index of sample set D when A=a:

Figure BDA0002958899780000131
Figure BDA0002958899780000131

其中,Gini(D,a)为内部结点31属性A的取值为a时的基尼指数,Gini(D1)为样本子集D1的基尼指数,Gini(D2)为样本子集D2的基尼指数,

Figure BDA0002958899780000132
为样本集D中的第一能量样本划入样本子集D1的概率,
Figure BDA0002958899780000133
为样本集D中的第一能量样本划入样本子集D2的概率。基尼指数Gini(D,a)可以表示根据第一能量样本的属性A取值为a来分割样本集D时的不确定性,基尼指数Gini(D,a)越大,这种分割方式的不确定性就越大。Among them, Gini(D,a) is the Gini index when the value of the attribute A of the internal node 31 is a, Gini(D 1 ) is the Gini index of the sample subset D 1 , Gini(D 2 ) is the sample subset D Gini index of 2 ,
Figure BDA0002958899780000132
is the probability that the first energy sample in sample set D is classified into sample subset D 1 ,
Figure BDA0002958899780000133
The probability that the first energy sample in sample set D will be classified into sample subset D 2 . The Gini index Gini(D,a) can represent the uncertainty when dividing the sample set D according to the value of the attribute A of the first energy sample as a. The larger the Gini index Gini(D,a) is, the greater the difference in this way of dividing. The greater the certainty.

对于属性A的不同取值a,分别计算对应的基尼指数Gini(D,a),并选择基尼指数最小的取值a,并根据该取值a将内部结点31的第一能量样本划分至两个子结点的样本集中。For different values a of attribute A, the corresponding Gini indices Gini(D, a) are calculated respectively, and the value a with the smallest Gini index is selected, and the first energy sample of the internal node 31 is divided into A sample set of two child nodes.

进一步地,对两个子结点递归地调用上述步骤,直至满足预设的停止递归的条件,从而生成决策树模型。Further, the above steps are recursively invoked on the two child nodes until the preset conditions for stopping the recursion are met, thereby generating a decision tree model.

进一步地,本发明实施例的方案中,训练生成决策树模型后还可以对得到的决策树模型进行测试,测试方法可以是任何恰当的可以用于测试生成的决策树模型准确性的方法,例如,可以采用S折交叉验证的方法进行测试,但并不限于此。Further, in the solution of the embodiment of the present invention, after the decision tree model is generated by training, the obtained decision tree model can also be tested, and the test method can be any appropriate method that can be used to test the accuracy of the generated decision tree model, such as , the S-fold cross-validation method can be used for testing, but it is not limited to this.

具体而言,在训练决策树模型之前,可以将多个第一能量样本分为训练样本集和测试样本集,采用训练样本集中的第一能量样本训练生成决策树模型后,将测试样本集中每个第一能量样本的负载所需电功率和每种样本能量的特征信息输入至决策树模型中,以得到该第一能量样本中每种样本能量的模型决策标签。将每个第一能量样本中每种样本能量的模型决策标签和该样本能量的决策标签进行比较,并计算每种样本能量的模型决策标签与决策标签一致的第一能量样本的数量占所有第一能量样本数量的比例。如果所述比例小于预设比例,则判断该决策树模型是不准确的,需要对决策树模型进行处理以提高决策树模型的准确性,例如,可以采用对决策树模型进行剪枝处理,通过剪枝处理,可以使决策树模型更加精简,且防止过拟合。Specifically, before training the decision tree model, a plurality of first energy samples can be divided into a training sample set and a test sample set, and after the decision tree model is generated by training the first energy samples in the training sample set, each The electric power required by the load of the first energy sample and the characteristic information of each sample energy are input into the decision tree model to obtain the model decision label of each sample energy in the first energy sample. Compare the model decision label of each sample energy in each first energy sample with the decision label of the sample energy, and calculate the number of first energy samples whose model decision label of each sample energy is consistent with the decision label accounts for all the first energy samples. A ratio of the number of energy samples. If the ratio is less than the preset ratio, it is judged that the decision tree model is inaccurate, and the decision tree model needs to be processed to improve the accuracy of the decision tree model. For example, the decision tree model can be pruned by Pruning can make the decision tree model more compact and prevent overfitting.

在本发明的一个非限制性实施例中,在将能量的特征信息和负载所需电功率输入至决策树模型之前,还可以对决策树模型进行校准。具体而言,采用与第一能量样本相互独立的第二能量样本对决策树模型进行校准。其中,“独立”是指第一能量样本和第二能量样本之间没有相关性,例如,第一能量样本是训练决策树模型时选取的样本,第二能量样本是实际使用决策树模型前进行校准时选取的样本。更具体地,不同的使用场景下,负载所需的电功率的差异较大,决策树模型的训练数据并不能涵盖所有场景下的负载所需的电功率,因此,在实际使用决策树模型对能量的走向进行控制前,可以根据实际使用场景选取第二能量样本,以对决策树模型进行校准。In a non-limiting embodiment of the present invention, before inputting the characteristic information of the energy and the electrical power required by the load into the decision tree model, the decision tree model may also be calibrated. Specifically, the decision tree model is calibrated using a second energy sample that is independent of the first energy sample. Among them, "independent" means that there is no correlation between the first energy sample and the second energy sample. For example, the first energy sample is the sample selected when training the decision tree model, and the second energy sample is the sample before the actual use of the decision tree model. The sample selected during calibration. More specifically, in different usage scenarios, the electrical power required by the load varies greatly, and the training data of the decision tree model cannot cover the electrical power required by the load in all scenarios. Before the trend is controlled, a second energy sample can be selected according to the actual usage scenario to calibrate the decision tree model.

具体而言,可以获取多个第二能量样本,每个第二能量样本包括负载所需电功率和至少一种样本能量及其特征信息和预设决策标签。更多关于第二能量样本的描述可以参照上文关于第一能量样本的相关描述,在此不再赘述。Specifically, a plurality of second energy samples may be obtained, and each second energy sample includes electrical power required by the load and at least one sample energy, its characteristic information, and a preset decision label. For more description about the second energy sample, reference may be made to the above related description about the first energy sample, which will not be repeated here.

进一步地,可以将每个第二能量样本中每种样本能量的特征信息和该第二能量样本对应的负载所需电功率输入至所述决策树模型,以得到该第二能量样本中每种样本能量的模型决策标签。需要说明的是,如果决策树模型的输入还包括储能模块的荷电状态,则需要将每个第二能量样本对应的储能模块的荷电状态一并输入决策树模型。Further, the characteristic information of each kind of sample energy in each second energy sample and the electric power required by the load corresponding to the second energy sample can be input into the decision tree model to obtain each kind of sample in the second energy sample. Model decision label for energy. It should be noted that, if the input of the decision tree model also includes the state of charge of the energy storage module, the state of charge of the energy storage module corresponding to each second energy sample needs to be input into the decision tree model together.

进一步地,将每个第二能量样本中每种样本能量的模型决策标签和所述预设决策标签进行比较,并计算每种样本能量的所述模型决策标签与所述预设决策标签一致的第二能量样本的数量占所有第二能量样本数量的比例,如果所述比例小于第一预设阈值,则对所述决策树模型进行剪枝处理,以更新所述决策树模型。其中,所述第一预设阈值可以是预先配置的。所述剪枝处理的方法可以是现有的各种恰当的方法。Further, compare the model decision label of each kind of sample energy in each second energy sample with the preset decision label, and calculate the consistency between the model decision label of each kind of sample energy and the preset decision label. The ratio of the number of second energy samples to the number of all second energy samples, if the ratio is smaller than the first preset threshold, the decision tree model is pruned to update the decision tree model. Wherein, the first preset threshold may be pre-configured. The method of the pruning treatment may be any of existing appropriate methods.

由上,本发明实施例的方案中,在用户使用决策树模型进行能量的走向控制之前,对决策树模型进行剪枝处理以校准所述决策树模型,可以使决策树模型适应适应当前的实际需求,从而更准确地确定能量的走向。From the above, in the solution of the embodiment of the present invention, before the user uses the decision tree model to control the direction of energy, the decision tree model is pruned to calibrate the decision tree model, so that the decision tree model can be adapted to the current actual situation. demand to more accurately determine the direction of energy.

继续参考图2,在步骤S203的具体实施中,得到每种能量的决策标签后,可以根据该能量的决策标签控制每种能量的走向,以将每种能量的至少一部分传输至供电模块和/或储能模块。Continuing to refer to FIG. 2, in the specific implementation of step S203, after obtaining the decision label of each energy, the direction of each energy can be controlled according to the decision label of the energy, so as to transmit at least a part of each energy to the power supply module and/or or energy storage modules.

具体而言,微能源收集模块与供电模块、储能模块之间可以设置有可控的通路。可以根据每种能量的决策标签生成对应的控制信号,所述控制信号可以用于设置微能源收集模块与供电模块之间的通路导通或者断开,也可以用于设置微能源收集模块与储能模块之间的通路导通或者断开。更具体地,控制信号可以用于设置各个微能源收集器与供电模块之间的通路导通或者断开,也可以用于设置各个储能元件与供电模块之间的通路导通或者断开。Specifically, a controllable path may be provided between the micro-energy collection module, the power supply module, and the energy storage module. The corresponding control signal can be generated according to the decision label of each energy. The control signal can be used to set the path between the micro-energy collection module and the power supply module to be turned on or off, or used to set the micro-energy collection module and the storage module. The paths between the modules can be turned on or off. More specifically, the control signal can be used to set the path between each micro energy collector and the power supply module to be on or off, and can also be used to set the path between each energy storage element and the power supply module to be on or off.

由此,本发明实施例的方案中,将识别到的每种能量的特征信息和负载所需电功率输入至训练后的决策树模型中,可以根据当前每种能量的特征信息和负载所需电功率来确定每种能量的决策标签,然后再根据决策标签控制每种能量的走向,由此可以根据每种能量当前的特征信息和负载所需电功率来控制能量的走向。这样的控制过程可以每隔预设时间就执行一次,通过这样的方法,可以使能量的走向适应于微能源收集模块当前收集到的能量的特征信息和负载所需电功率的情况,从而可以准确地确定能量的走向,各种能量可以被充分利用,提高了能量的利用率。Therefore, in the solution of the embodiment of the present invention, the identified characteristic information of each energy and the electric power required by the load are input into the trained decision tree model, and the current characteristic information of each energy and the electric power required by the load can be input according to the current To determine the decision label of each energy, and then control the direction of each energy according to the decision label, so that the energy direction can be controlled according to the current characteristic information of each energy and the electrical power required by the load. Such a control process can be executed once every preset time. Through this method, the energy trend can be adapted to the characteristic information of the energy currently collected by the micro-energy collection module and the electric power required by the load, so that the energy can be accurately Determine the direction of energy, all kinds of energy can be fully utilized, and the utilization rate of energy is improved.

参考图4,图4示出了本发明实施例中第二种复合微能源系统的能量控制方法。所述方法用于控制储能模块中各个储能元件对供电模块的供电比例。需要说明的是,储能模块也可以用于向供电模块传输电能。Referring to FIG. 4 , FIG. 4 shows a second energy control method for a composite micro-energy system in an embodiment of the present invention. The method is used to control the power supply ratio of each energy storage element in the energy storage module to the power supply module. It should be noted that the energy storage module can also be used to transmit electrical energy to the power supply module.

优选的,当供电模块向负载供电时,可以先将微能源收集模块中收集的电能传输至供电模块,当微能源收集模块中能量可转化的电功率低于电功率阈值时,微能源收集模块不再向供电模块传输电能,此时可以由储能模块继续向供电模块传输电能。这种先由微能源收集模块进行供电,再由储能模块进行供电的方法可以避免储能模块中的储能元件频繁充放电而导致快速老化等问题。Preferably, when the power supply module supplies power to the load, the electrical energy collected in the micro-energy collection module can be firstly transmitted to the power supply module, and when the electrical power that can be converted from the energy in the micro-energy collection module is lower than the electric power threshold, the micro-energy collection module no longer Power is transmitted to the power supply module, and the energy storage module can continue to transmit power to the power supply module at this time. This method of supplying power from the micro-energy collection module first and then the energy storage module can avoid problems such as rapid aging caused by frequent charging and discharging of the energy storage elements in the energy storage module.

图4示出的复合微能源系统的能量控制方法可以包括如下步骤:The energy control method of the composite micro-energy system shown in FIG. 4 may include the following steps:

步骤S401:获取多个储能元件的荷电状态;Step S401: acquiring the state of charge of a plurality of energy storage elements;

步骤S402:根据所述储能模块需提供的电功率和所述多个储能元件的荷电状态,采用模糊控制算法得到多个储能元件的供电比例,其中,所述储能模块需提供的电功率为所述负载所需电功率与所述微能源收集模块的能量可转化电功率的差值;Step S402: According to the electric power to be provided by the energy storage module and the state of charge of the plurality of energy storage elements, a fuzzy control algorithm is used to obtain the power supply ratio of the plurality of energy storage elements, wherein the energy storage module needs to provide the power supply ratio. The electric power is the difference between the electric power required by the load and the energy-convertible electric power of the micro-energy collection module;

步骤S403:根据所述供电比例和储能模块需提供的电功率确定每个储能元件的输出电功率。Step S403: Determine the output electric power of each energy storage element according to the power supply ratio and the electric power to be provided by the energy storage module.

在步骤S401的具体实施中,可以获取储能模块中各个储能元件的荷电状态(Stateof Charge,SoC)。优选的,储能元件可以包括超级电容,超级电容具有快速充放电的优点。可以理解的是,锂电池长时间反复地大电流充放电将导致锂电池快速老化,相比于储能元件只包括锂电池的方案,采用超级电容作为储能元件,可以使超级电容与锂电池可以有效配合。In the specific implementation of step S401, the state of charge (State of Charge, SoC) of each energy storage element in the energy storage module may be acquired. Preferably, the energy storage element may include a supercapacitor, and the supercapacitor has the advantage of fast charging and discharging. It is understandable that the long-term repeated high-current charging and discharging of the lithium battery will lead to the rapid aging of the lithium battery. Compared with the scheme that the energy storage element only includes the lithium battery, the use of the super capacitor as the energy storage element can make the super capacitor and the lithium battery. can cooperate effectively.

在步骤S402的具体实施中,分别将储能模块需提供的电功率和各个储能元件的荷电状态模糊化。具体而言,可以根据所述储能模块需提供的电功率确定所述储能模块需提供的电功率所属的功率范围,并根据每个储能元件的荷电状态确定该储能元件的荷电状态所属的荷电范围。In the specific implementation of step S402, the electric power to be provided by the energy storage module and the state of charge of each energy storage element are respectively fuzzified. Specifically, the power range to which the electric power to be provided by the energy storage module belongs can be determined according to the electric power to be provided by the energy storage module, and the state of charge of each energy storage element is determined according to the state of charge of the energy storage element the charge range it belongs to.

其中,将储能模块需提供的电功率和各个储能元件的荷电状态模糊化可以是各种现有的恰当的算法。优选的,可以采用隶属度值法进行模糊化。Among them, various existing appropriate algorithms can be used to fuzzify the electric power to be provided by the energy storage module and the state of charge of each energy storage element. Preferably, the membership value method can be used for fuzzification.

具体而言,可以先确定储能模块需提供的电功率和各个储能元件的荷电状态各自的隶属度函数,所述隶属度函数的间隔可以是均匀的,也可以是非均匀的。隶属度函数可以是双S形隶属函数、三角形隶属函数、高斯型隶属函数、S形隶属函数、梯形隶属函数等,但并不限于此。然后再根据储能模块需提供的电功率及其对应的隶属度函数确定功率范围,根据每个储能元件的荷电状态及其隶属度函数确定对应该储能元件的荷电范围。Specifically, the respective membership functions of the electric power to be provided by the energy storage module and the state of charge of each energy storage element may be determined first, and the interval of the membership functions may be uniform or non-uniform. The membership function may be a double sigmoid membership function, a triangular membership function, a Gaussian membership function, a sigmoid membership function, a trapezoidal membership function, etc., but is not limited thereto. Then, the power range is determined according to the electric power to be provided by the energy storage module and its corresponding membership function, and the charge range corresponding to the energy storage element is determined according to the state of charge of each energy storage element and its membership function.

需要说明的是,所述储能模块需提供的电功率为所述负载所需电功率与所述微能源收集模块的能量可转化电功率的差值。更具体地,当微能源收集模块中能量可转化的电功率低于电功率阈值时,微能源收集模块不再向供电模块传输电能,为了延长微能源收集模块中器件的使用寿命等,可以将微能源收集模块的能量可转化电功率减去预设固定值后,再用于计算储能模块需提供的电功率,所述预设固定值可以是所述电功率阈值。It should be noted that the electric power to be provided by the energy storage module is the difference between the electric power required by the load and the energy-convertible electric power of the micro-energy collection module. More specifically, when the electrical power that can be converted into energy in the micro-energy collection module is lower than the electric power threshold, the micro-energy collection module no longer transmits electrical energy to the power supply module. In order to prolong the service life of the devices in the micro-energy collection module, the micro-energy The energy convertible electric power of the collection module is subtracted from a preset fixed value, and then used to calculate the electric power to be provided by the energy storage module, and the preset fixed value may be the electric power threshold.

进一步地,根据所述功率范围和每个储能元件的荷电范围查询所述模糊控制规则表,以确定每个储能元件的供电比例范围。所述模糊控制规则表可以是预先配置的,用于描述所述功率范围和荷电范围与所述供电比例范围的映射关系。所述模糊控制规则表可以包括一组if-then结构的模糊条件语句,以便由输入的功率范围和荷电范围查询相应的供电比例范围。Further, query the fuzzy control rule table according to the power range and the charge range of each energy storage element to determine the power supply ratio range of each energy storage element. The fuzzy control rule table may be pre-configured to describe the mapping relationship between the power range and the charge range and the power supply ratio range. The fuzzy control rule table may include a set of fuzzy conditional statements with an if-then structure, so as to query the corresponding power supply ratio range from the input power range and charge range.

进一步地,将各个储能元件的供电比例范围去模糊化,以得到各个储能元件的供电比例。换言之,根据每个储能元件的供电比例范围确定该储能元件的供电比例。去模糊化的方法可以是现有的任何恰当的算法,例如最大隶属度法、加权平均法、重心法等,但并不限于此。优选的,可以根据复合微能源系统的要求或运行的实际情况而选取相适应的方法,从而将模糊的供电比例范围转化为精确的供电比例。更具体地,可以根据复合微能源系统的性能要求选择去模糊化的方法,例如,当复合微能源系统对于确定供电比例的计算速度的要求较高时,可以选择最大隶属度法、加权平均法;当复合微能源系统对于确定供电比例的计算准确度要求较高时,可以选择重心法,但并不限于此。在本发明的一个非限制性的实施例中,采用重心法将各个储能元件的供电比例范围去模糊化,以得到各个储能元件的供电比例。Further, the power supply ratio range of each energy storage element is defuzzified to obtain the power supply ratio of each energy storage element. In other words, the power supply ratio of each energy storage element is determined according to the power supply ratio range of the energy storage element. The method of defuzzification can be any existing appropriate algorithm, such as maximum membership degree method, weighted average method, center of gravity method, etc., but is not limited thereto. Preferably, an appropriate method can be selected according to the requirements of the composite micro-energy system or the actual situation of operation, so as to convert the ambiguous power supply ratio range into an accurate power supply ratio. More specifically, the defuzzification method can be selected according to the performance requirements of the composite micro-energy system. For example, when the composite micro-energy system has high requirements for the calculation speed of determining the power supply ratio, the maximum membership degree method and the weighted average method can be selected. ; When the composite micro-energy system requires high calculation accuracy for determining the power supply ratio, the center of gravity method can be selected, but it is not limited to this. In a non-limiting embodiment of the present invention, the gravity center method is used to defuzzify the power supply ratio range of each energy storage element, so as to obtain the power supply ratio of each energy storage element.

在步骤S403的具体实施中,可以根据每个储能元件的供电比例和所述负储能模块需提供的电功率可以计算确定每个储能元件的输出电功率,可以根据每个储能元件的输出电功率向供电模块供电。由上,本发明实施例的方案中,在满足了负载供电需求的同时可以达到延长系统使用寿命的目的。In the specific implementation of step S403, the output electric power of each energy storage element can be calculated and determined according to the power supply ratio of each energy storage element and the electric power to be provided by the negative energy storage module, and the output electric power of each energy storage element can be determined according to the output of each energy storage element. The electrical power supplies power to the power supply module. From the above, in the solution of the embodiment of the present invention, the purpose of extending the service life of the system can be achieved while satisfying the power supply requirement of the load.

参考图5,图5示出了本发明实施例中第三种复合微能源系统的能量控制方法。相比于图2示出的复合微能源系统的能量控制方法,图5示出的复合微能源系统的能量控制方法还可以包括如下步骤:Referring to FIG. 5 , FIG. 5 shows a third energy control method for a composite micro-energy system in an embodiment of the present invention. Compared with the energy control method of the composite micro-energy system shown in FIG. 2 , the energy control method of the composite micro-energy system shown in FIG. 5 may further include the following steps:

步骤S204:获取第一反馈信息,所述第一反馈信息用于指示所述微能源收集器是否发生更换;Step S204: obtaining first feedback information, where the first feedback information is used to indicate whether the micro energy collector is replaced;

步骤S205:根据所述第一反馈信息判断所述微能源收集器是否发生更换,如果是,则获取更换后的每个微能源收集器的能量可转化电功率;Step S205: Determine whether the micro-energy collector is replaced according to the first feedback information, and if so, obtain the energy convertible electric power of each replaced micro-energy collector;

步骤S206:将更换后的每个微能源器件收集器的能量可转化电功率与所述第二预设阈值进行比较,如果任意一个更换后的微能源收集器的能量可转化电功率不超过所述第二预设阈值,重新训练生成所述决策树模型。Step S206: Compare the energy convertible electrical power of each replaced micro-energy device collector with the second preset threshold, if the energy convertible electrical power of any replaced micro-energy device collector does not exceed the first Two preset thresholds, retrain to generate the decision tree model.

在步骤S204的具体实施中,可以获取每个微能源收集器中能量可转化电功率,并将每个微能源收集器中能量可转化电功率与预设的第二预设阈值进行比较,当任意一个微能源收集器中能量可转化电功率不超过第二预设阈值时,可以判断该微能源收集器存在异常。更具体地,任意一个微能源收集器中能量可转化电功率持续不超过第二预设阈值的时间超过第一预设时间时,可以判断该微能源收集器存在异常。第二预设阈值和第一预设时间可以是预先配置的。In the specific implementation of step S204, the energy-convertible electric power in each micro-energy collector can be obtained, and the energy-convertible electric power in each micro-energy collector can be compared with a preset second preset threshold, when any one When the energy convertible electric power in the micro-energy collector does not exceed the second preset threshold, it can be determined that the micro-energy collector is abnormal. More specifically, when the energy-convertible electric power in any one of the micro-energy collectors does not continue to exceed the second preset threshold for longer than the first preset time, it can be determined that the micro-energy collector is abnormal. The second preset threshold and the first preset time may be preconfigured.

进一步地,当判断该微能源收集器件存在异常时,可以发出第一报警信息,所述第一报警信息可以指示发生异常的微能源收集器件,以便用户对其进行更换。Further, when it is determined that the micro-energy collection device is abnormal, first alarm information may be issued, and the first alarm information may indicate the abnormal micro-energy collection device, so that the user can replace it.

进一步地,可以从外部接收第一反馈信息,第一反馈信息可以用于指示用户是否更换微能源收集器。Further, the first feedback information can be received from the outside, and the first feedback information can be used to indicate whether the user replaces the micro energy collector.

在步骤S205的具体实施中,根据接收到的第一反馈信息可以确定微能源收集器是否发生更换。此外,如果经过第二预设时间未获取到第一反馈信息,则可以判断微能源收集器未发生更换。In the specific implementation of step S205, it can be determined whether the micro energy collector is replaced according to the received first feedback information. In addition, if the first feedback information is not obtained after the second preset time, it can be determined that the micro-energy collector has not been replaced.

进一步地,确定微能源收集器发生更换后,可以获取更换后的微能源收集器的能量可转化电功率。具体而言,获取的可以是微能源收集器发生更换后的第一预设时间内能量可转化电功率的上限。Further, after it is determined that the micro-energy collector is replaced, the energy convertible electric power of the replaced micro-energy collector can be obtained. Specifically, what is obtained may be the upper limit of the electrical power that can be converted into energy within the first preset time after the micro-energy collector is replaced.

在步骤S206的具体实施中,可以将更换后的微能源收集器的能量可转化电功率与第二预设阈值进行比较,如果任意一个更换后的微能源收集器的能量可转化电功率不超过所述第二预设阈值,则可以重新训练生成所述决策树模型,以使决策树模型能够适应更换微能源收集器后的复合微能源系统,实现决策树模型的自修正。In the specific implementation of step S206, the energy convertible electrical power of the replaced micro-energy collector can be compared with the second preset threshold, if the energy convertible electrical power of any replaced micro-energy collector does not exceed the With the second preset threshold, the decision tree model can be retrained to generate the decision tree model, so that the decision tree model can adapt to the composite micro-energy system after the replacement of the micro-energy collector, and realize the self-correction of the decision tree model.

由此,本发明实施例的方案中,判断出更换微能源收集器后并不一定重新训练生成决策树模型,而是先将能量可转化电功率和第二预设阈值再次进行比较,以判断更换后是否仍然存在异常情况,如果更换微能源收集器后异常情况消失,则无需重新训练生成决策树模型,相比于每次更换微能源收集器后均重新训练生成决策树模型,本发明实施例中的方案效率更高。Therefore, in the solution of the embodiment of the present invention, it is not necessary to retrain the generated decision tree model after judging that the micro-energy collector is replaced, but firstly, the energy convertible electric power and the second preset threshold are compared again to determine the replacement. Whether there is still an abnormal situation after replacing the micro energy collector, if the abnormal situation disappears after replacing the micro energy collector, there is no need to retrain the generated decision tree model. The scheme in is more efficient.

此外,相比于更换微能源收集器后不重新生成决策树模型,本发明实施例的方案中对更换后的微能源收集器再次进行监测,可以确保及时发现更换后的微能源收集器是否存在异常,从而能够确保复合微能源系统的正常运行。In addition, compared with not regenerating the decision tree model after replacing the micro-energy collector, in the solution of the embodiment of the present invention, the replaced micro-energy collector is monitored again, so as to ensure timely discovery of whether the replaced micro-energy collector exists. abnormal, so as to ensure the normal operation of the composite micro-energy system.

在本发明的一个非限制性实施例中,如果根据第一反馈信息确定微能源收集器未发生更换,也可以重新训练生成决策树模型,以使决策树模型能够适应微能源收集器异常的情况,实现决策树模型的自修正。In a non-limiting embodiment of the present invention, if it is determined according to the first feedback information that the micro energy collector has not been replaced, the decision tree model can also be retrained to generate a decision tree model, so that the decision tree model can adapt to the abnormal situation of the micro energy collector , to realize the self-correction of the decision tree model.

具体而言,可以获取多个第三能量样本,并采用第三能量样本重新训练生成决策树模型。其中,每个第三能量样本可以包括负载所需功率、至少一个样本能量及其特征信息和决策标签。其中,每个第三能量样本中的样本能量的特征信息满足微能源收集器异常时微能源收集器收集到的能量的特征要求。例如,每个第三能量样本中的样本能量的能量可转化电功率不超过第二预设阈值。更多关于采用第三能量样本重新训练生成决策树模型的具体内容可以参照上文关于采用第一能量样本训练生成决策树模型的相关描述,在此不再赘述。Specifically, a plurality of third energy samples may be obtained, and the third energy samples may be used to retrain the generated decision tree model. Wherein, each third energy sample may include the power required by the load, at least one sample energy and its characteristic information and decision label. Wherein, the characteristic information of the sample energy in each third energy sample meets the characteristic requirements of the energy collected by the micro energy collector when the micro energy collector is abnormal. For example, the energy-convertible electrical power of the sample energy in each third energy sample does not exceed the second preset threshold. For more specific content about using the third energy sample to retrain and generate the decision tree model, please refer to the above related description about using the first energy sample to train and generate the decision tree model, which will not be repeated here.

在本发明的另一非限制性实施例中,考虑到更换前后微能源收集器的型号、种类等可能发生变化,导致原先的决策树模型不适用于更换后的微能源收集器,还可以计算更换后的每个微能源收集器的能量可转化电功率与该微能源收集器的能量可转化电功率的标准值的差值,并将所述差值与预设的第一差值阈值进行比较,如果所述差值大于第一差值阈值,可以说明更换后的微能源收集器与更换前的微能源收集器存在较大差异,此时可以重新训练生成决策树模型。In another non-limiting embodiment of the present invention, considering that the model, type, etc. of the micro-energy collector may change before and after the replacement, so that the original decision tree model is not suitable for the replaced micro-energy collector, it is also possible to calculate The difference between the energy convertible electric power of each micro-energy collector after replacement and the standard value of the energy-convertible electric power of the micro-energy collector, and comparing the difference with a preset first difference threshold, If the difference is greater than the first difference threshold, it can indicate that there is a big difference between the micro-energy collector after replacement and the micro-energy collector before replacement, and the decision tree model can be generated by retraining.

其中,所述能量可转化电功率的标准值可以是根据微能源收集器确定的。不同的微能源收集器的能量可转化电功率的标准值可以是不同的。更具体地,不同型号的微能源收集器的能量可转化电功率的标准值可以是不同的。针对被更换的微能源收集器,其能量可转化电功率的标准值可以是根据在更换前的第三预设时间内该微能源收集器的能量可转化电功率计算得到的。例如,可以是取第三预设时间内的能量可转化电功率的中间值作为所述能量可转化电功率的标准值,但并不限于此。Wherein, the standard value of the energy convertible electric power may be determined according to the micro energy collector. The standard value of the energy convertible electric power of different micro-energy harvesters can be different. More specifically, the standard value of the energy convertible electric power of different types of micro-energy harvesters may be different. For the replaced micro-energy collector, the standard value of its energy convertible electric power may be calculated according to the energy convertible electric power of the micro-energy collector within the third preset time before replacement. For example, the middle value of the energy-convertible electric power within the third preset time may be taken as the standard value of the energy-convertible electric power, but it is not limited thereto.

在本发明的另一个非限制性实施例中,还可以获取每个储能元件的荷电状态,并将每个储能元件的荷电状态与预设的第三预设阈值进行比较,当任意一个储能元件的荷电状态不超过第三预设阈值时,可以判断该储能元件存在异常。更具体地,任意一个储能元件的荷电状态持续不超过第三预设阈值的时间超过第一预设时长时,可以判断该储能元件存在异常。第三预设阈值可以是预先配置的。In another non-limiting embodiment of the present invention, the state of charge of each energy storage element can also be acquired, and the state of charge of each energy storage element is compared with a preset third preset threshold, when When the state of charge of any one of the energy storage elements does not exceed the third preset threshold, it can be determined that the energy storage element is abnormal. More specifically, when the state of charge of any one of the energy storage elements does not continue to exceed the third preset threshold for longer than the first preset time period, it may be determined that the energy storage element is abnormal. The third preset threshold may be preconfigured.

进一步地,当判断该储能元件存在异常时,可以发出第二报警信息,所述第二报警信息可以指示发生异常的储能元件,以便用户对其进行更换。Further, when it is determined that there is an abnormality in the energy storage element, second alarm information may be issued, and the second alarm information may indicate the abnormal energy storage element, so that the user can replace it.

进一步地,可以从外部接收第二反馈信息,第二反馈信息可以用于指示用户是否更换储能元件。Further, the second feedback information can be received from the outside, and the second feedback information can be used to indicate whether the user replaces the energy storage element.

进一步地,根据接收到的第二反馈信息可以确定储能元件是否发生更换。此外,如果经过第二预设时间未获取到第二反馈信息,则可以判断储能元件未发生更换。Further, whether the energy storage element is replaced can be determined according to the received second feedback information. In addition, if the second feedback information is not obtained after the second preset time, it can be determined that the energy storage element has not been replaced.

进一步地,确定储能元件发生更换后,可以获取更换后的储能元件的荷电状态。具体而言,可以获取储能元件发生更换后的第一预设时间内荷电状态的上限。更具体地,可以获取储能元件的荷电状态在第一预设时间内的上限。Further, after it is determined that the energy storage element is replaced, the state of charge of the replaced energy storage element can be obtained. Specifically, the upper limit of the state of charge within the first preset time after the energy storage element is replaced can be obtained. More specifically, the upper limit of the state of charge of the energy storage element within the first preset time can be obtained.

进一步地,可以将更换后的每个储能元件的荷电状态与所述第三预设阈值进行比较,如果任意一个更换后的储能元件的荷电状态不超过所述第三预设阈值,则可以重新训练生成所述决策树模型。Further, the state of charge of each replaced energy storage element can be compared with the third preset threshold, and if the state of charge of any replaced energy storage element does not exceed the third preset threshold , the decision tree model can be retrained to generate the decision tree model.

在本发明的一个非限制性实施例中,考虑到更换前后储能元件的型号、种类等可能发生变化,导致原先的决策树模型不适用于更换后的储能元件,还可以计算更换后的每个储能元件的荷电状态与该储能元件荷电状态的标准值的差值,并将所述差值与预设的第二差值阈值进行比较,如果所述差值大于第二差值阈值,可以说明更换后的储能元件与更换前的储能元件存在较大差异,此时可以重新训练生成决策树模型。In a non-limiting embodiment of the present invention, considering that the models, types, etc. of the energy storage elements may change before and after replacement, the original decision tree model is not suitable for the replaced energy storage elements, and the replacement energy storage elements can also be calculated. The difference between the state of charge of each energy storage element and the standard value of the state of charge of the energy storage element, and the difference is compared with a preset second difference threshold, if the difference is greater than the second The difference threshold value can indicate that there is a big difference between the energy storage element after replacement and the energy storage element before replacement. At this time, the decision tree model can be retrained.

其中,所述荷电状态的标准值可以是根据储能元件确定的。不同的储能元件的荷电状态的标准值可以是不同的。更具体地,不同型号的储能元件的荷电状态的标准值可以是不同的。针对被更换的储能元件,其荷电状态的标准值可以是根据在更换前的第三预设时间内该储能元件的荷电状态计算得到的,例如,可以是取第三预设时间内的荷电状态的中间值作为所述荷电状态的标准值,但并不限于此。Wherein, the standard value of the state of charge may be determined according to the energy storage element. The standard value of the state of charge of different energy storage elements can be different. More specifically, the standard value of the state of charge of different types of energy storage elements may be different. For the energy storage element to be replaced, the standard value of the state of charge of the energy storage element may be calculated according to the state of charge of the energy storage element within the third preset time before the replacement, for example, the third preset time may be taken. The intermediate value of the state of charge within the SOC is used as the standard value of the state of charge, but is not limited to this.

更多关于根据第二反馈信息判断是否重新训练生成决策树模型的具体内容可以参照上文关于图5的相关描述,在此不再赘述。For more specific content of judging whether to retrain the generated decision tree model according to the second feedback information, reference may be made to the above related description about FIG. 5 , which will not be repeated here.

参考图6,图6是本发明实施例中一种复合微能源系统的能量控制装置,所述装置可以包括:Referring to FIG. 6, FIG. 6 is an energy control device of a composite micro-energy system in an embodiment of the present invention, and the device may include:

识别模块61,用于识别所述微能源收集模块收集的每种能量的特征信息;The identification module 61 is used to identify the characteristic information of each kind of energy collected by the micro-energy collection module;

分类模块62,用于将所述每种能量的特征信息以及负载所需电功率输入至决策树模型,以得到每种能量的决策标签,所述决策标签用于指示每种能量的走向;The classification module 62 is used for inputting the characteristic information of each energy and the electric power required by the load into the decision tree model to obtain the decision label of each energy, and the decision label is used to indicate the trend of each energy;

传输控制模块63,用于根据所述决策标签控制每种能量的走向,以将每种能量的至少一部分传输至所述供电模块和/或储能模块;a transmission control module 63, configured to control the direction of each energy according to the decision label, so as to transmit at least a part of each energy to the power supply module and/or the energy storage module;

其中,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。Wherein, the decision tree model is generated by using a plurality of first energy samples as training data for training.

关于本发明实施例中的复合微能源系统的能量控制装置的原理、工作方式和有益效果请参照前文关于复合微能源系统的能量控制方法的相关描述,在此不再赘述。For the principle, working mode and beneficial effects of the energy control device of the composite micro-energy system in the embodiment of the present invention, please refer to the relevant description of the energy control method of the composite micro-energy system above, which will not be repeated here.

参考图1,本发明实施例还提供一种复合微能源系统,所述系统可以包括:微能源收集模块11,用于收集至少一种能量;储能模块12,用于存储所述能量转化后的电能;供电模块13,用于向负载供电;控制器14,用于执行上述复合微能源系统的能量控制方法的步骤。Referring to FIG. 1 , an embodiment of the present invention further provides a composite micro-energy system. The system may include: a micro-energy collection module 11 for collecting at least one type of energy; an energy storage module 12 for storing the energy after conversion The power supply module 13 is used to supply power to the load; the controller 14 is used to execute the steps of the energy control method of the composite micro-energy system.

其中,所述控制器可以与存储有计算机程序的存储器耦接,控制器可以读取存储器中的计算机程序,通过运行该计算机程序执行上述复合微能源系统的能量控制方法的步骤。需要说明的是,所述控制器可以是独立于存储器的处理器,也可以是集成有存储器和处理器的终端,但并不限于此。Wherein, the controller can be coupled with a memory storing a computer program, the controller can read the computer program in the memory, and execute the steps of the energy control method of the composite micro-energy system by running the computer program. It should be noted that the controller may be a processor independent of the memory, or may be a terminal integrated with the memory and the processor, but is not limited thereto.

关于本发明实施例中的复合微能源系统的原理、结构、工作方式和有益效果请参照前文关于复合微能源系统的能量控制方法的相关描述,在此不再赘述。For the principle, structure, working mode, and beneficial effects of the composite micro-energy system in the embodiments of the present invention, please refer to the foregoing related description of the energy control method of the composite micro-energy system, which will not be repeated here.

本发明实施例还公开了一种存储介质,所述存储介质为计算机可读存储介质,其上存储有计算机程序,所述计算机程序运行时可以执行上述方法的步骤。所述存储介质可以包括ROM、RAM、磁盘或光盘等。所述存储介质还可以包括非挥发性存储器(non-volatile)或者非瞬态(non-transitory)存储器等。The embodiment of the present invention also discloses a storage medium, which is a computer-readable storage medium, and stores a computer program thereon, and the computer program can execute the steps of the above method when running. The storage medium may include ROM, RAM, magnetic or optical disks, and the like. The storage medium may also include a non-volatile memory (non-volatile) or a non-transitory (non-transitory) memory and the like.

其中,所述处理器可以为中央处理单元(central processing unit,简称CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,简称DSP)、专用集成电路(application specific integrated circuit,简称ASIC)、现成可编程门阵列(field programmable gate array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor may be a central processing unit (CPU for short), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (application specific integrated circuits). integrated circuit, referred to as ASIC), ready-made programmable gate array (field programmable gate array, referred to as FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

需要指出的是,所述控制器还可以包括存储器,所述存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-only Memory,简称ROM)、可编程只读存储器(Programmable ROM,简称PROM)、可擦除可编程只读存储器(Erasable PROM,简称EPROM)、电可擦除可编程只读存储器(Electrically EPROM,简称EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random access memory,简称RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(Random access memory,简称RAM)可用,例如静态随机存取存储器(Static RAM,简称SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(Synchronous DRAM,简称SDRAM)、双倍数据速率同步动态随机存取存储器(Double datarate SDRAM,简称DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,简称ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,简称SLDRAM)和直接内存总线随机存取存储器(Direct rambus RAM,简称DR RAM)。It should be noted that the controller may further include memory, which may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (Read-only Memory, referred to as ROM), a programmable read-only memory (Programmable ROM, referred to as PROM), erasable programmable read-only memory (Erasable PROM, referred to as EPROM) , Electrically Erasable Programmable Read-Only Memory (Electrically EPROM, EEPROM for short) or flash memory. The volatile memory may be random access memory (RAM for short), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, referred to as SDRAM), double data rate synchronous dynamic random access memory (Double datarate SDRAM, referred to as DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, referred to as ESDRAM), synchronous A dynamic random access memory (Synchlink DRAM, referred to as SLDRAM) and a direct memory bus random access memory (Direct rambus RAM, referred to as DR RAM) are connected.

上述实施例,可以全部或部分地通过软件、硬件、固件或其他任意组合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线或无线方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission by wire or wireless to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server, a data center, or the like containing one or more sets of available media. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media. The semiconductor medium may be a solid state drive.

应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the sequence of execution, and the execution sequence of each process should be determined by its functions and internal logic, and should not be dealt with in the embodiments of the present application. implementation constitutes any limitation.

在本申请所提供的几个实施例中,应该理解到,所揭露的方法、装置和系统,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的;例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式;例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method, apparatus and system may be implemented in other manners. For example, the device embodiments described above are only illustrative; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may be physically included individually, 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 may be implemented in the form of hardware plus software functional units.

上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute some steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM for short), Random Access Memory (RAM for short), magnetic disk or CD, etc. that can store program codes medium.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this document is only an association relationship to describe associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in this text indicates that the related objects are an "or" relationship.

本申请实施例中出现的“多个”是指两个或两个以上。The "plurality" in the embodiments of the present application refers to two or more.

本申请实施例中出现的第一、第二等描述,仅作示意与区分描述对象之用,没有次序之分,也不表示本申请实施例中对设备个数的特别限定,不能构成对本申请实施例的任何限制。The descriptions of the first, second, etc. appearing in the embodiments of the present application are only used for illustration and distinguishing the description objects, and have no order. any limitations of the examples.

本申请实施例中出现的“连接”是指直接连接或者间接连接等各种连接方式,以实现设备间的通信,本申请实施例对此不做任何限定。The "connection" in the embodiments of the present application refers to various connection modes such as direct connection or indirect connection, so as to realize communication between devices, which is not limited in the embodiments of the present application.

虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the scope defined by the claims.

Claims (14)

1.一种复合微能源系统的能量控制方法,其特征在于,所述复合微能源系统包括微能源收集模块、储能模块和供电模块,所述微能源收集模块用于收集至少一种能量,所述储能模块用于存储所述能量转化后的电能,所述供电模块用于向负载供电,所述方法包括:1. an energy control method for a composite micro-energy system, characterized in that the composite micro-energy system comprises a micro-energy collection module, an energy storage module and a power supply module, and the micro-energy collection module is used to collect at least one energy, The energy storage module is used for storing the converted electric energy, the power supply module is used for supplying power to a load, and the method includes: 识别所述微能源收集模块收集的每种能量的特征信息;Identify the characteristic information of each energy collected by the micro-energy collection module; 将所述每种能量的特征信息以及负载所需电功率输入至决策树模型,以得到每种能量的决策标签,所述决策标签用于指示每种能量的走向;Inputting the characteristic information of each energy and the electric power required by the load into the decision tree model to obtain a decision label for each energy, where the decision label is used to indicate the direction of each energy; 根据所述决策标签控制每种能量的走向,以将每种能量的至少一部分传输至所述供电模块和/或储能模块;Control the direction of each energy according to the decision label, so as to transmit at least a part of each energy to the power supply module and/or the energy storage module; 其中,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。Wherein, the decision tree model is generated by using a plurality of first energy samples as training data for training. 2.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,所述特征信息包括以下一种或多种:能量的种类和能量可转化的电功率。2 . The energy control method of a composite micro-energy system according to claim 1 , wherein the characteristic information includes one or more of the following: the type of energy and the electric power that the energy can convert. 3 . 3.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,得到每种能量的决策标签的方法还包括:3. the energy control method of composite micro-energy system according to claim 1, is characterized in that, the method that obtains the decision label of every kind of energy also comprises: 将所述储能模块的荷电状态与所述每种能量的特征信息以及负载所需电功率一并输入至所述决策树模型,以得到每种能量的决策标签。The state of charge of the energy storage module is input into the decision tree model together with the characteristic information of each energy and the electric power required by the load to obtain a decision label for each energy. 4.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,所述决策树模型的生成方法包括:4. The energy control method of the composite micro-energy system according to claim 1, wherein the generation method of the decision tree model comprises: 获取多个第一能量样本,每个第一能量样本包括负载所需电功率、至少一种样本能量及其特征信息和决策标签;Acquiring a plurality of first energy samples, each first energy sample includes electrical power required by the load, at least one sample energy and its characteristic information and decision label; 将所述多个第一能量样本作为所述训练数据,训练生成所述决策树模型。Using the plurality of first energy samples as the training data, the decision tree model is generated by training. 5.根据权利要求4所述的复合微能源系统的能量控制方法,其特征在于,将所述多个第一能量样本作为所述训练数据,训练生成所述决策树模型之前,所述方法还包括:5. The energy control method of the composite micro-energy system according to claim 4, characterized in that, using the plurality of first energy samples as the training data, before training to generate the decision tree model, the method further comprises: include: 确定所述负载所需电功率的可取值范围和每种样本能量的特征信息的可取值范围;Determine the range of possible values of the electrical power required by the load and the range of possible values of the characteristic information of each sample energy; 根据每个第一能量样本中每种样本能量的特征信息和该第一能量样本对应的负载所需电功率对所述多个第一能量样本进行筛选,以得到用于生成所述决策树模型的第一能量样本。The plurality of first energy samples are screened according to the characteristic information of each sample energy in each first energy sample and the electric power required by the load corresponding to the first energy sample, so as to obtain a method for generating the decision tree model. first energy sample. 6.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,将所述每种能量的特征信息以及负载所需电功率输入至决策树模型之前,所述方法还包括:6. The energy control method of the composite micro-energy system according to claim 1, wherein before inputting the characteristic information of each energy and the electric power required by the load into the decision tree model, the method further comprises: 获取多个第二能量样本,每个第二能量样本包括所述负载所需电功率、至少一种样本能量及其特征信息和预设决策标签,其中,所述多个第二能量样本与所述多个第一能量样本是相互独立的;Acquire a plurality of second energy samples, each second energy sample includes the electrical power required by the load, at least one sample energy and its characteristic information and a preset decision label, wherein the plurality of second energy samples and the The plurality of first energy samples are independent of each other; 将每个第二能量样本中的负载所需电功率和每种样本能量的特征信息输入至所述决策树模型,以得到该第二能量样本中每种样本能量的模型决策标签;Input the electric power required by the load in each second energy sample and the characteristic information of each kind of sample energy into the decision tree model, to obtain the model decision label of each kind of sample energy in the second energy sample; 将每个第二能量样本中每种样本能量的模型决策标签和所述预设决策标签进行比较,并计算每种样本能量的所述模型决策标签与所述预设决策标签一致的第二能量样本的数量占所有第二能量样本数量的比例,如果所述比例小于第一预设阈值,则对所述决策树模型进行剪枝处理,以更新所述决策树模型。Compare the model decision label of each kind of sample energy in each second energy sample with the preset decision label, and calculate the second energy that the model decision label of each sample energy is consistent with the preset decision label The number of samples accounts for the proportion of the number of all second energy samples. If the proportion is smaller than the first preset threshold, the decision tree model is pruned to update the decision tree model. 7.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,所述储能模块包括多个储能元件,所述储能模块还用于向所述负载供电,所述方法还包括:7 . The energy control method of a composite micro-energy system according to claim 1 , wherein the energy storage module comprises a plurality of energy storage elements, and the energy storage module is further used to supply power to the load, and the energy storage module Methods also include: 获取多个储能元件的荷电状态;Obtain the state of charge of multiple energy storage elements; 根据所述储能模块需提供的电功率和所述多个储能元件的荷电状态,采用模糊控制算法得到多个储能元件的供电比例,其中,所述储能模块需提供的电功率为所述负载所需电功率与所述微能源收集模块的能量可转化电功率的差值;According to the electric power to be provided by the energy storage module and the state of charge of the plurality of energy storage elements, a fuzzy control algorithm is used to obtain the power supply ratio of the plurality of energy storage elements, wherein the electric power to be provided by the energy storage module is The difference between the electric power required by the load and the energy-convertible electric power of the micro-energy collection module; 根据所述供电比例和所述储能模块需提供的电功率确定每个储能元件的输出电功率。The output electric power of each energy storage element is determined according to the power supply ratio and the electric power to be provided by the energy storage module. 8.根据权利要求7所述的复合微能源系统的能量控制方法,其特征在于,所述多个储能元件包括超级电容。8 . The energy control method of a composite micro-energy system according to claim 7 , wherein the plurality of energy storage elements comprise supercapacitors. 9 . 9.根据权利要求7所述的复合微能源系统的能量控制方法,其特征在于,根据所述储能模块需提供的电功率和所述多个储能元件的荷电状态,采用模糊控制算法得到多个储能元件的供电比例包括:9 . The energy control method of the composite micro-energy system according to claim 7 , wherein, according to the electric power to be provided by the energy storage module and the state of charge of the plurality of energy storage elements, a fuzzy control algorithm is used to obtain the energy control method. 10 . The power supply ratio of multiple energy storage elements includes: 根据所述储能模块需提供的电功率确定所述储能模块需提供的电功率所属的功率范围,并根据每个储能元件的荷电状态确定该储能元件的荷电状态所属的荷电范围;The power range to which the electric power to be provided by the energy storage module belongs is determined according to the electric power to be provided by the energy storage module, and the charge range to which the state of charge of each energy storage element belongs is determined according to the state of charge of each energy storage element ; 根据所述功率范围和每个储能元件的荷电范围查询模糊控制规则表,以确定每个储能元件的供电比例范围;Query the fuzzy control rule table according to the power range and the charge range of each energy storage element to determine the power supply ratio range of each energy storage element; 将各个储能元件的供电比例范围去模糊化,以得到各个储能元件的供电比例;Defuzzify the power supply ratio range of each energy storage element to obtain the power supply ratio of each energy storage element; 其中,所述模糊控制规则表用于描述所述功率范围和荷电范围与所述供电比例范围的映射关系。Wherein, the fuzzy control rule table is used to describe the mapping relationship between the power range and the charge range and the power supply ratio range. 10.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,所述微能源收集模块包括多个微能源收集器,所述方法还包括:10. The energy control method of the composite micro-energy system according to claim 1, wherein the micro-energy collection module comprises a plurality of micro-energy collectors, and the method further comprises: 获取第一反馈信息,所述第一反馈信息用于指示所述微能源收集器是否发生更换;acquiring first feedback information, where the first feedback information is used to indicate whether the micro-energy collector is replaced; 根据所述第一反馈信息判断所述微能源收集器是否发生更换,如果是,则获取更换后的每个微能源收集器的能量可转化电功率;Determine whether the micro-energy collector is replaced according to the first feedback information, and if so, obtain the energy convertible electric power of each replaced micro-energy collector; 将更换后的每个微能源收集器的能量可转化电功率与第二预设阈值进行比较,如果任意一个更换后的微能源收集器的能量可转化电功率不超过第二预设阈值,重新训练生成所述决策树模型。Compare the energy convertible electrical power of each replaced micro-energy collector with the second preset threshold, and if the energy convertible electrical power of any replaced micro-energy collector does not exceed the second preset threshold, retrain to generate The decision tree model. 11.根据权利要求1所述的复合微能源系统的能量控制方法,其特征在于,所述储能模块包括多个储能元件,所述方法还包括:11. The energy control method of a composite micro-energy system according to claim 1, wherein the energy storage module comprises a plurality of energy storage elements, and the method further comprises: 获取第二反馈信息,所述第二反馈信息用于指示所述储能元件是否发生更换;acquiring second feedback information, where the second feedback information is used to indicate whether the energy storage element is replaced; 根据所述第二反馈信息判断所述储能元件是否发生更换,如果是,则获取更换后的每个储能元件的荷电状态;Determine whether the energy storage element is replaced according to the second feedback information, and if so, acquire the state of charge of each energy storage element after replacement; 将更换后的每个储能元件的荷电状态的上限与第三预设阈值进行比较;comparing the upper limit of the state of charge of each energy storage element after replacement with a third preset threshold; 如果任意一个更换后的储能元件的荷电状态的上限不超过所述第三预设阈值,重新训练生成所述决策树模型。If the upper limit of the state of charge of any replaced energy storage element does not exceed the third preset threshold, the decision tree model is retrained to generate the decision tree model. 12.一种复合微能源系统的能量控制装置,其特征在于,所述复合微能源系统包括微能源收集模块、储能模块和供电模块,所述微能源收集模块用于收集至少一种能量,所述储能模块用于存储所述能量转化后的电能,所述供电模块用于向负载供电,所述装置包括:12. An energy control device for a composite micro-energy system, wherein the composite micro-energy system comprises a micro-energy collection module, an energy storage module and a power supply module, and the micro-energy collection module is used to collect at least one energy, The energy storage module is used to store the converted electrical energy, the power supply module is used to supply power to the load, and the device includes: 识别模块,用于识别所述微能源收集模块收集的每种能量的特征信息;an identification module for identifying the characteristic information of each energy collected by the micro-energy collection module; 分类模块,用于将所述每种能量的特征信息以及负载所需电功率输入至决策树模型,以得到每种能量的决策标签,所述决策标签用于指示每种能量的走向;a classification module, configured to input the characteristic information of each energy and the electric power required by the load into the decision tree model to obtain a decision label for each energy, and the decision label is used to indicate the trend of each energy; 传输控制模块,用于根据所述决策标签控制每种能量的走向,以将每种能量的至少一部分传输至所述供电模块和/或储能模块;a transmission control module, configured to control the direction of each energy according to the decision label, so as to transmit at least a part of each energy to the power supply module and/or the energy storage module; 其中,所述决策树模型是采用多个第一能量样本作为训练数据训练生成的。Wherein, the decision tree model is generated by using a plurality of first energy samples as training data for training. 13.一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器运行时,执行权利要求1至11中任一项所述的复合微能源系统的能量控制方法的步骤。13. A storage medium on which a computer program is stored, wherein when the computer program is run by a processor, the energy control method of the composite micro-energy system according to any one of claims 1 to 11 is executed. step. 14.一种复合微能源系统,其特征在于,所述系统包括:14. A composite micro-energy system, characterized in that the system comprises: 微能源收集模块,用于收集至少一种能量;a micro-energy collection module for collecting at least one type of energy; 储能模块,用于存储所述能量转化后的电能;an energy storage module for storing the converted electrical energy; 供电模块,用于向负载供电;The power supply module is used to supply power to the load; 控制器,用于执行权利要求1至11中任一项所述的复合微能源系统的能量控制方法的步骤。The controller is used for executing the steps of the energy control method of the composite micro-energy system according to any one of claims 1 to 11.
CN202110230347.5A 2021-03-02 2021-03-02 Composite micro-energy system and energy control method, device and storage medium thereof Pending CN115001057A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110230347.5A CN115001057A (en) 2021-03-02 2021-03-02 Composite micro-energy system and energy control method, device and storage medium thereof
PCT/CN2021/086538 WO2022183568A1 (en) 2021-03-02 2021-04-12 Composite micro-energy system, energy control method and apparatus therefor, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110230347.5A CN115001057A (en) 2021-03-02 2021-03-02 Composite micro-energy system and energy control method, device and storage medium thereof

Publications (1)

Publication Number Publication Date
CN115001057A true CN115001057A (en) 2022-09-02

Family

ID=83018183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110230347.5A Pending CN115001057A (en) 2021-03-02 2021-03-02 Composite micro-energy system and energy control method, device and storage medium thereof

Country Status (2)

Country Link
CN (1) CN115001057A (en)
WO (1) WO2022183568A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116581798B (en) * 2023-03-22 2024-08-13 中国中建设计研究院有限公司 Energy supply display control system of internet of things based on bay window fixing structure

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103390900A (en) * 2013-07-22 2013-11-13 上海电力学院 Distributed photovoltaic energy storage system and energy management method
US20140214736A1 (en) * 2013-01-30 2014-07-31 Technion Research & Development Foundation Limited Training ensembles of randomized decision trees
CN109449985A (en) * 2018-12-11 2019-03-08 燕山大学 A kind of grid control method and system
US20190188007A1 (en) * 2017-12-20 2019-06-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Preloading Application, Storage Medium, and Terminal Device
CN111969603A (en) * 2020-08-17 2020-11-20 内蒙古科技大学 Micro-energy network system and cooperative optimization operation control method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9053275B2 (en) * 2012-07-23 2015-06-09 Solarcity Corporation Techniques for facilitating electrical design of an energy generation system
CN105552860B (en) * 2015-12-29 2018-08-14 国家电网公司 Power distribution network island operation division method based on energy storage and distributed power supply
CN108183496B (en) * 2017-12-20 2020-10-20 爱士惟新能源技术(扬中)有限公司 Energy management method of photovoltaic energy storage system
CN110429626B (en) * 2019-06-28 2021-08-17 特变电工西安电气科技有限公司 Energy management system and management method suitable for grid-connected energy storage system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140214736A1 (en) * 2013-01-30 2014-07-31 Technion Research & Development Foundation Limited Training ensembles of randomized decision trees
CN103390900A (en) * 2013-07-22 2013-11-13 上海电力学院 Distributed photovoltaic energy storage system and energy management method
US20190188007A1 (en) * 2017-12-20 2019-06-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Preloading Application, Storage Medium, and Terminal Device
CN109449985A (en) * 2018-12-11 2019-03-08 燕山大学 A kind of grid control method and system
CN111969603A (en) * 2020-08-17 2020-11-20 内蒙古科技大学 Micro-energy network system and cooperative optimization operation control method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张自东;邱才明;张东霞;徐舒玮;贺兴;: "基于深度强化学习的微电网复合储能协调控制方法", 电网技术, no. 06, 5 June 2019 (2019-06-05) *

Also Published As

Publication number Publication date
WO2022183568A1 (en) 2022-09-09

Similar Documents

Publication Publication Date Title
CN111584952B (en) Method and system for online evaluation of electrochemical cells of energy storage power station
US12013439B2 (en) Data processor, data processing method, and computer program
EP3904894B1 (en) Training device, estimation device, training method, estimation method, training program, and estimation program
CN111398832A (en) A bus battery SOC prediction method based on ANFIS model
CN110927606B (en) Battery state monitoring method and device
JP7652508B2 (en) Battery capacity estimation device and method
CN113408138A (en) Lithium battery SOH estimation method and system based on secondary fusion
CN111291673A (en) A method, device, server and storage medium for predicting classification of time series signals
CN116643178B (en) SOC estimation method and related device of battery management system
CN114295999A (en) Lithium ion battery SOH prediction method and system based on indirect health index
Dong et al. Data-driven predictive prognostic model for power batteries based on machine learning
CN112084459A (en) Method, device, electronic terminal, and storage medium for predicting battery charge-discharge cycle life
WO2022183568A1 (en) Composite micro-energy system, energy control method and apparatus therefor, and storage medium
CN118549840A (en) A battery health status monitoring method, device, equipment and medium
CN117743853A (en) Model training methods, temperature management methods, devices, systems, equipment and media
KR20240027444A (en) Battery diagnostic device and operating method thereof
Liu et al. Capacity Prediction Method of Lithium‐Ion Battery in Production Process Based on Improved Random Forest
CN118732529A (en) A method and system for controlling intelligent household appliances
CN110889465B (en) Method and system for identification of power demand side equipment based on adaptive resonant network
CN118641967A (en) Lithium-ion battery health status estimation method and system based on charging data fragments
CN118330495A (en) Long-time-short-time fused lithium ion battery capacity degradation diagnosis method
CN118444168A (en) Battery data processing equipment and battery data processing method
CN119087221A (en) Evaluation model construction method, battery health status evaluation method, device and equipment
CN118818352A (en) Battery health status assessment method and device, battery management system
CN117744856A (en) Lithium battery remaining life prediction method, system, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination