Energy management method, system, readable storage medium and vehicle
By obtaining vehicle status parameters and fuzzy logic algorithms to optimize the energy management mode, the problem of low energy utilization and high loss rate of new energy vehicles is solved, intelligent distribution and conversion of energy is realized, and system performance and efficiency are improved.
Patent Information
- Application Number
- CN202410833696.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-06-26
AI Technical Summary
The power output and energy management mode of new energy vehicles cannot realize intelligent distribution of energy during daily driving, resulting in low energy utilization and high loss rate.
By obtaining vehicle status parameters, the energy management mode is determined, and fuzzy logic algorithms are used to construct input variables, calculate the distributed power of the energy source and the switching state of the converter, optimize the loss of the vehicle system, and realize intelligent distribution and conversion of energy.
It improves system performance and efficiency, ensures system stability and safety, can adapt to uncertain and changing working conditions, and reduces system design difficulty and cost.
Smart Images

Figure CN118372679B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile energy control, and in particular to an energy management method, system, readable storage medium and vehicle. Background Art
[0002] New energy vehicles refer to vehicles that use non-traditional fuels or partially replace traditional fuels, and use advanced drive systems and control strategies to improve the vehicle's power performance, economy and environmental adaptability. They mainly include pure electric vehicles, hybrid vehicles, fuel cell vehicles, solar vehicles, etc. In recent years, the development of new energy vehicles has been driven by market demand, with advantages such as energy conservation and emission reduction, reduced dependence on oil resources, and improved energy security.
[0003] At present, new energy vehicles use fuel cells, lithium-ion batteries, supercapacitors and electric motors to achieve energy supply, and then use switches to connect the above components to achieve energy conversion, thereby achieving power output and energy management.
[0004] However, the above-mentioned power output and energy management mode cannot achieve intelligent energy distribution during daily driving, and only transmits power, resulting in low energy utilization and high loss rate. Summary of the invention
[0005] Based on this, the purpose of the present invention is to provide an energy management method, system, readable storage medium and vehicle, aiming to solve the problem that the current power output and energy management mode cannot achieve intelligent distribution of energy during daily driving, and only transmits power, resulting in low energy utilization and high loss rate.
[0006] To achieve the above object, the present invention proposes an energy management method, which includes:
[0007] Acquiring vehicle state parameters, determining an energy management mode based on the vehicle state parameters, and selecting a corresponding energy source and load combination;
[0008] Based on the vehicle state parameters, construct input variables, and according to preset rules, calculate output variables of the vehicle system based on the input variables, the output variables including the allocated power of the energy source and the switching state of the converter;
[0009] Based on the allocated power of the energy source, and in accordance with the constraints of the vehicle system, optimizing the losses of the vehicle system;
[0010] According to the output variables of the vehicle system, the energy source and the converter are controlled to perform energy distribution and energy conversion.
[0011] In summary, according to the energy management method proposed in the present invention, the vehicle state parameters are obtained to determine the current driving mode of the vehicle, and then the energy management mode is determined by the driving mode, and implemented by the selection of energy sources; the input variables of the system are constructed by using fuzzy logic algorithms, and then the output variables of the vehicle system are calculated to obtain the distribution power of the current vehicle energy source and the switching state of each converter; the loss during the vehicle driving process is optimized through the constraint state of each energy source; finally, the energy is distributed and optimized through the conversion of the converter and energy transmission. The present invention can realize the intelligent distribution and conversion of energy according to the operating state of the vehicle, improve the performance and efficiency of the system, and at the same time ensure the stability and safety of the system, can adapt to uncertain and changing working conditions, has good adaptability and robustness, does not need to establish an accurate system model, and reduces the design difficulty and cost of the system.
[0012] According to one aspect of the above technical solution, the steps of obtaining vehicle state parameters, determining an energy management mode based on the vehicle state, and selecting a corresponding energy source and load combination specifically include:
[0013] The energy source at least includes obtaining at least vehicle speed, acceleration, and output power to determine the current vehicle operation state, wherein the operation state at least includes: stationary, constant speed, acceleration, and braking, which is represented by a vehicle state variable S based on the current operation state;
[0014] If the speed is 0 and the acceleration is 0, the control state variable S = 0, corresponding to the stationary state of the vehicle;
[0015] If the velocity is greater than 0 and the acceleration is greater than or equal to 0, the control state variable S=1, where if the acceleration is greater than 0, it corresponds to the acceleration state, and if the acceleration is 0, it corresponds to the uniform speed state;
[0016] If the speed is greater than 0 and the acceleration is less than 0, the control state variable S=2, which corresponds to the braking state;
[0017] Based on the acquired vehicle state variable S, the energy management mode is determined, wherein:
[0018] The energy management mode is represented by a mode variable M, which is represented by the following formula:
[0019] in, is the energy management coefficient, and the value range of the mode variable M is {0, , 2 };
[0020] like =0, the current system power demand is less than the system minimum power demand Pmin;
[0021] like = , if the current vehicle is in a constant speed state, the current system power demand is equal to the output power Pfc of the system's fuel cell; if the current vehicle is in an accelerating state, the current system power demand is greater than the system's maximum power demand Pmax;
[0022] like =2 , the current system power demand is less than the system maximum power demand Pmax.
[0023] According to one aspect of the above technical solution, based on the mode variable M,
[0024] If the current =0, the fuel cell is controlled to output basic power to supply power to the vehicle accessory system, and the motor is in an idling state;
[0025] If the current = , controlling the fuel cell to supply power to the lithium-ion battery, supercapacitor, flywheel energy storage device and electric motor respectively after being converted by a number of converters;
[0026] If the current =2 At this time, it is in braking state, the fuel cell does not output power, and the engine outputs braking power.
[0027] According to one aspect of the above technical solution, the step of constructing input variables based on the vehicle state parameters, and calculating output variables of the vehicle system based on the input variables according to preset rules, wherein the output variables include the distributed power of the energy source and the switching state of the converter, specifically includes:
[0028] Based on the vehicle's state parameters, construct input variables , the input variables include at least speed, acceleration, power demand, and energy source state,
[0029]
[0030] Where T represents the input variable The transpose of Indicates speed, represents acceleration, Indicates the power demand, Indicates the state of charge of the supercapacitor. Indicates the battery's state of charge;
[0031] Based on fuzzy logic algorithm, the current input variables The distributed power of the energy source and the switching state of the converter are obtained through fuzzification, reasoning and defuzzification in sequence;
[0032] According to the value range and characteristics of the input variables, they are divided into several fuzzy sets, and the corresponding membership functions are constructed to obtain the device membership:
[0033]
[0034] in, represents the membership of the input variable x on the fuzzy set A, Represents the membership function of the fuzzy set A.
[0035] According to one aspect of the above technical solution, after fuzzification, the membership of the input variable is inferred.
[0036] According to the membership of the input variable, the membership of the output variable is calculated, and the minimum value of the membership of the input variable is used as the membership of the output variable using the preset algorithm:
[0037]
[0038] in, Represented as output variable The membership degree on the fuzzy set C is and Represents the input variables and The membership degree on fuzzy set A and fuzzy set B, min represents the minimum operation;
[0039] Based on the membership of the output variable, the actual value of the output variable is calculated:
[0040]
[0041] in, Represents output variable The membership degree on the fuzzy set C is represents the operation of integration, represents the actual value of the output variable,
[0042]
[0043] in, is the power distribution ratio of the system's energy source, is the power distribution ratio of the first motor, is the power distribution ratio of the second motor, is the power distribution ratio of the supercapacitor, is the power distribution ratio of the battery, is the power distribution ratio of the fuel cell, The value range of is [0,1], which indicates the percentage of the power of each energy source to the required power of the system; is the switching state of the first DC-DC converter, is the switching state of the second DC-DC converter, is the switching state of the third DC-DC converter, The value range of is {0,1}, which indicates the switching state of each energy converter, 0 means off and 1 means on.
[0044] According to one aspect of the above technical solution, the step of optimizing the loss of the vehicle system based on the allocated power of the energy source and according to the constraints of the vehicle system specifically includes:
[0045] Based on the allocated power of the energy source in the energy management mode and according to the constraints of the energy source, the system loss is optimized;
[0046] The constraints are:
[0047] in, It is The output power of the fuel cell at a given moment is and yes The state of charge of the supercapacitor and battery at each moment;
[0048] The optimization function is:
[0049]
[0050] in, For the The system energy loss at each moment is It is The control quantity changes at each moment. is the weight coefficient, For the prediction time range, With constraints Associated.
[0051] According to one aspect of the above technical solution, in the step of controlling the energy source and the converter to distribute and convert energy according to the output variable of the vehicle system,
[0052] The vehicle system includes at least a fuel cell, a lithium-ion battery, a supercapacitor and a flywheel energy storage device, and the converter includes at least a first DC-DC converter, a second DC-DC converter, a third DC-DC converter and a DC-AC converter;
[0053] The first DC-DC converter connects the fuel cell and the lithium-ion battery to realize energy conversion between the fuel cell and the lithium-ion battery; the second DC-DC converter connects the lithium-ion battery and the supercapacitor to realize energy conversion between the lithium-ion battery and the supercapacitor; the third DC-DC converter connects the supercapacitor and the flywheel energy storage to realize energy conversion between the supercapacitor and the flywheel energy storage; the DC-AC converter connects the supercapacitor and the motor to realize energy conversion between the supercapacitor and the motor.
[0054] The present invention also provides an energy management system, the system comprising:
[0055] A selection module, configured to obtain vehicle state parameters, determine an energy management mode based on the vehicle state, and select a corresponding energy source and load combination;
[0056] A calculation module, configured to construct input variables based on the vehicle state parameters, and calculate output variables of the vehicle system based on the input variables according to preset rules, wherein the output variables include the allocated power of the energy source and the switching state of the converter;
[0057] an optimization module, configured to optimize the losses of the vehicle system based on the allocated power of the energy source and according to the constraints of the vehicle system;
[0058] The output module is used to control the energy source and the converter to distribute and convert energy according to the output variable of the vehicle system.
[0059] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above energy management method is implemented.
[0060] The present invention further provides a vehicle, comprising a memory and a processor, wherein:
[0061] The memory is used to store computer programs;
[0062] When the processor is used to execute the computer program stored in the memory, the above energy management method is implemented.
[0063] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0065] Figure 1is a flow chart of an energy management method in a first embodiment of the present invention;
[0066] Figure 2 A schematic diagram of the structure of an energy management system in a second embodiment of the present invention;
[0067] Figure 3 It is a structural schematic diagram of a vehicle applying the energy management method in the fourth embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0069] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0070] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0071] Embodiment 1
[0072] like Figure 1 The figure shows a flow chart of an energy management method in the present invention. The energy management method comprises the following steps S01 to S04, wherein:
[0073] S01. Acquire vehicle status parameters, determine an energy management mode based on the vehicle status, and select a corresponding energy source and load combination.
[0074] Obtain vehicle status parameters such as vehicle speed, acceleration, and output power to determine the current vehicle operating status, which includes stationary, constant speed, acceleration, and braking. Select the corresponding energy management mode based on the current operating status.
[0075] The current running state of the vehicle can be represented by a vehicle state variable S:
[0076] If the speed is 0 and the acceleration is 0, the state variable S = 0, corresponding to the stationary state of the vehicle;
[0077] If the velocity is greater than 0 and the acceleration is greater than or equal to 0, the state variable S=1, where if the acceleration is greater than 0, it corresponds to the accelerated state, and if the acceleration is 0, it corresponds to the uniform speed state;
[0078] If the speed is greater than 0 and the acceleration is less than 0, the state variable S=2, which corresponds to the braking state;
[0079] Determine an energy management mode based on the acquired vehicle state variable S;
[0080] The energy management mode is represented by a mode variable M, which is represented by the following formula:
[0081] in, is the energy management coefficient, and the value range of the mode variable M is {0, , 2 };
[0082] like =0, the current system power demand is less than the system minimum power demand Pmin;
[0083] like = , if the current vehicle is in a constant speed state, the current system power demand is equal to the output power Pfc of the system's fuel cell; if the current vehicle is in an accelerating state, the current system power demand is greater than the system's maximum power demand Pmax;
[0084] like =2 , the current system power demand is less than the system maximum power demand Pmax.
[0085] According to the mode variable M, if the current =0, the fuel cell is controlled to output basic power to supply power to the vehicle accessory system, and the motor is in an idling state;
[0086] If the current = , controlling the fuel cell to supply power to the lithium-ion battery, supercapacitor, flywheel energy storage device and electric motor respectively after being converted by a number of converters;
[0087] If the current =2 At this time, it is in braking state, the fuel cell does not output power, and the engine outputs braking power.
[0088] In different modes, the energy demand and output of the system are different, so different energy source and load combinations need to be selected to achieve energy distribution and conversion. For example, in stationary mode, the system's energy demand is small, but it needs to start quickly, so it is necessary to select energy sources such as engines, motors, supercapacitors and batteries to provide sufficient starting power; in braking mode, the system's energy demand is negative, that is, it needs to recover energy, so it is necessary to select energy sources such as motors, supercapacitors and batteries to store braking energy.
[0089] The characteristics of different energy source and load combinations are: different energy sources and loads have different power density, energy density, response speed, life and other characteristics. Therefore, it is necessary to reasonably select and match energy sources and loads according to the different needs of the system to achieve system optimization. For example, the engine has high power density and low energy density, which is suitable for providing high power output; supercapacitors have high power density and high response speed, which are suitable for providing instantaneous power and storing short-term energy; batteries have high energy density and long life, which are suitable for providing long-term energy supply; motors have high efficiency and reversibility, which are suitable as generators or drive motors; traction motors have high torque and high speed, which are suitable as drive loads.
[0090] S02. Based on the vehicle state parameters, construct input variables, and according to preset rules, calculate output variables of the vehicle system based on the input variables, wherein the output variables include the distributed power of the energy source and the switching state of the converter.
[0091] This embodiment adopts a fuzzy logic algorithm, which is an artificial intelligence technology based on fuzzy set theory and fuzzy reasoning. It can process uncertain and fuzzy information and simulate human thinking and decision-making processes. The basic steps of the fuzzy logic algorithm include fuzzification, reasoning and defuzzification, that is, converting precise input variables into fuzzy input variables, performing fuzzy reasoning according to fuzzy rules, obtaining fuzzy output variables, and then converting the fuzzy output variables into precise output variables. The advantage of the fuzzy logic algorithm is that it can adapt to uncertain and changing working conditions, has good adaptability and robustness, does not require the establishment of an accurate system model, and reduces the design difficulty and cost of the system.
[0092] Based on the vehicle's state parameters, construct input variables , the input variables include at least speed, acceleration, power demand, and energy source state,
[0093]
[0094] Where T represents the input variable The transpose of Indicates speed, represents acceleration, Indicates the power demand, Indicates the state of charge of the supercapacitor. Indicates the battery's state of charge;
[0095] Based on fuzzy logic algorithm, the current input variables The distributed power of the energy source and the switching state of the converter are obtained through fuzzification, reasoning and defuzzification in sequence;
[0096] According to the value range and characteristics of the input variables, they are divided into several fuzzy sets, such as low, medium, high, etc., and corresponding membership functions such as triangles and trapezoids are constructed to obtain the device membership:
[0097]
[0098] in, represents the membership of the input variable x on the fuzzy set A, Represents the membership function of the fuzzy set A.
[0099] After fuzzification, the membership of the input variables is inferred.
[0100] According to the membership of the input variable, the membership of the output variable is calculated, and the minimum value of the membership of the input variable is used as the membership of the output variable using the preset algorithm:
[0101]
[0102] in, Represented as output variable The membership degree on the fuzzy set C is and Represents the input variables and The membership degree on fuzzy set A and fuzzy set B, min represents the minimum operation;
[0103] Based on the membership of the output variable, the actual value of the output variable is calculated:
[0104]
[0105] in, Represents output variable The membership degree on the fuzzy set C is represents the operation of integration, represents the actual value of the output variable,
[0106]
[0107] in, is the power distribution ratio of the system's energy source, is the power distribution ratio of the first motor, is the power distribution ratio of the second motor, is the power distribution ratio of the supercapacitor, is the power distribution ratio of the battery, is the power distribution ratio of the fuel cell, The value range of is [0,1], which indicates the percentage of the power of each energy source to the required power of the system; is the switching state of the first DC-DC converter, is the switching state of the second DC-DC converter, is the switching state of the third DC-DC converter, The value range of is {0,1}, which indicates the switching state of each energy converter, 0 means off and 1 means on.
[0108] S03. Based on the allocated power of the energy source and in accordance with constraints of the vehicle system, the loss of the vehicle system is optimized.
[0109] Based on the allocated power of the energy source in the energy management mode and according to the constraints of the energy source, the system loss is optimized;
[0110] The constraints are:
[0111] in, It is The output power of the fuel cell at a given moment is and yes The state of charge of the supercapacitor and battery at each moment;
[0112] The optimization function is:
[0113]
[0114] in, For the The system energy loss at each moment is It is The control quantity changes at each moment. is the weight coefficient, For the prediction time range, With constraints Associated.
[0115] The greater the output power of the fuel cell, the smaller the system energy loss. The output power of the fuel cell reflects the working efficiency of the fuel cell. The higher the working efficiency of the fuel cell, the smaller the heat loss of the fuel cell and the smaller the system energy loss. According to the working principle of the fuel cell, the output power of the fuel cell is proportional to its output voltage and inversely proportional to its output current, that is:
[0116]
[0117] in, is the output power of the fuel cell, is the output voltage of the fuel cell, is the output current of the fuel cell. The output voltage of the fuel cell is affected by activation polarization, concentration polarization and ohmic polarization, among which activation polarization and concentration polarization are inversely proportional to the current, and ohmic polarization is proportional to the current, that is:
[0118]
[0119] in, is the open circuit voltage of the fuel cell, is the activation polarization resistance, is the concentration polarization resistance, is the ohmic polarization resistance, is the limiting current. It can be seen that the output voltage of the fuel cell decreases as the current increases. Therefore, the output power of the fuel cell increases first and then decreases as the current increases, and there is a maximum value. When the output power of the fuel cell reaches the maximum value, the working efficiency of the fuel cell is the highest and the system energy loss is the lowest.
[0120] The relationship between the state of charge of a supercapacitor and the energy loss of the system is: the lower the state of charge of the supercapacitor, the greater the energy loss of the system. This is because the state of charge of the supercapacitor reflects the energy storage capacity of the supercapacitor. The stronger the energy storage capacity of the supercapacitor, the higher the charge and discharge efficiency of the supercapacitor, and the smaller the energy loss of the system. According to the working principle of the supercapacitor, the state of charge of the supercapacitor is proportional to its voltage and inversely proportional to its charge, that is:
[0121]
[0122] in, is the state of charge of the supercapacitor, is the charge of the supercapacitor, is the capacitance of the supercapacitor, is the voltage of the supercapacitor, is the rated voltage of the supercapacitor. It can be seen that the state of charge of the supercapacitor increases with the increase of voltage and decreases with the increase of charge. When the state of charge of the supercapacitor is low, it means that the voltage of the supercapacitor is low and the charge is large. At this time, the charging and discharging efficiency of the supercapacitor is low and the system energy loss is large.
[0123] The relationship between the battery's state of charge and system energy loss is: the higher the battery's state of charge, the smaller the system energy loss. This is because the battery's state of charge reflects the battery's remaining energy. The more remaining energy the battery has, the smaller the battery's internal resistance, and the smaller the system energy loss. According to the working principle of the battery, the battery's state of charge is proportional to its open circuit voltage and inversely proportional to its internal resistance, that is:
[0124]
[0125] in, is the battery's state of charge, is the open circuit voltage of the battery, and are the minimum and maximum open circuit voltages of the battery, is the internal resistance of the battery, and is the minimum and maximum internal resistance of the battery. It can be seen that the state of charge of the battery increases with the increase of the open circuit voltage and decreases with the increase of the internal resistance. When the state of charge of the battery is high, it indicates that the open circuit voltage of the battery is high and the internal resistance is small. At this time, the charging and discharging efficiency of the battery is high and the energy loss of the system is small. S04. According to the output variable of the vehicle system, the energy source and the converter are controlled to distribute and convert energy.
[0126] The vehicle system includes at least a fuel cell, a lithium-ion battery, a supercapacitor and a flywheel energy storage device, and the converter includes at least a first DC-DC converter, a second DC-DC converter, a third DC-DC converter and a DC-AC converter.
[0127] The first DC-DC converter connects the fuel cell and the lithium-ion battery to realize energy conversion between the fuel cell and the lithium-ion battery. The working mode is selected according to the output power of the fuel cell and the state of the lithium-ion battery. The fuel cell can charge the lithium-ion battery or the lithium-ion battery can replenish energy to the fuel cell.
[0128] The second DC-DC converter connects the lithium-ion battery and the supercapacitor to realize energy conversion between the lithium-ion battery and the supercapacitor. According to the state of the lithium-ion battery and the state of the supercapacitor, the working mode is selected, which can be that the lithium-ion battery charges the supercapacitor or the supercapacitor replenishes energy to the lithium-ion battery.
[0129] The third DC-DC converter connects the supercapacitor and the flywheel energy storage device to realize energy conversion between the supercapacitor and the flywheel energy storage device. According to the state of the supercapacitor and the state of the flywheel energy storage device, the working mode is selected, which can be the supercapacitor charging the flywheel energy storage device or the flywheel energy storage device replenishing energy to the supercapacitor.
[0130] The DC-AC converter connects the supercapacitor and the motor to realize energy conversion between the supercapacitor and the motor. The working mode is selected according to the state of the supercapacitor and the state of the motor. The supercapacitor can provide energy to the motor or the motor can feed back energy to the supercapacitor.
[0131] In summary, according to the energy management method proposed in the present invention, the vehicle state parameters are obtained to determine the current driving mode of the vehicle, and then the energy management mode is determined by the driving mode, and implemented by the selection of energy sources; the input variables of the system are constructed by using fuzzy logic algorithms, and then the output variables of the vehicle system are calculated to obtain the distribution power of the current vehicle energy source and the switching state of each converter; the loss during the vehicle driving process is optimized through the constraint state of each energy source; finally, the energy is distributed and optimized through the conversion of the converter and energy transmission. The present invention can realize the intelligent distribution and conversion of energy according to the operating state of the vehicle, improve the performance and efficiency of the system, and at the same time ensure the stability and safety of the system, can adapt to uncertain and changing working conditions, has good adaptability and robustness, does not need to establish an accurate system model, and reduces the design difficulty and cost of the system.
[0132] Embodiment 2
[0133] Another aspect of the present invention is to provide an energy management system. Figure 2 , which is a schematic diagram of the structure of an energy management system in a second embodiment of the present invention, the energy management system includes:
[0134] A selection module 11, configured to obtain vehicle state parameters, determine an energy management mode based on the vehicle state, and select a corresponding energy source and load combination;
[0135] A calculation module 12, configured to construct input variables based on the vehicle state parameters, and calculate output variables of the vehicle system based on the input variables according to preset rules, wherein the output variables include the allocated power of the energy source and the switching state of the converter;
[0136] An optimization module 13, configured to optimize the loss of the vehicle system based on the allocated power of the energy source and according to the constraints of the vehicle system;
[0137] The output module 14 is used to control the energy source and the converter to perform energy distribution and energy conversion according to the output variable of the vehicle system.
[0138] Furthermore, in some optional embodiments, the selection module 11 further includes:
[0139] A selection unit, for obtaining at least a vehicle speed, an acceleration, and an output power to determine a current vehicle operation state, wherein the operation state includes at least: stationary, constant speed, acceleration, and braking, and is represented by a vehicle state variable S based on the current operation state;
[0140] If the speed is 0 and the acceleration is 0, the state variable S = 0, corresponding to the stationary state of the vehicle;
[0141] If the velocity is greater than 0 and the acceleration is greater than or equal to 0, the state variable S=1, where if the acceleration is greater than 0, it corresponds to the accelerated state, and if the acceleration is 0, it corresponds to the uniform speed state;
[0142] If the speed is greater than 0 and the acceleration is less than 0, the state variable S=2, which corresponds to the braking state;
[0143] Determine an energy management mode based on the acquired vehicle state variable S;
[0144] The energy management mode is represented by a mode variable M, which is represented by the following formula:
[0145] in, is the energy management coefficient, and the value range of the mode variable M is {0, , 2 };
[0146] like =0, the current system power demand is less than the system minimum power demand Pmin;
[0147] like = , if the current vehicle is in a constant speed state, the current system power demand is equal to the output power Pfc of the system's fuel cell; if the current vehicle is in an accelerating state, the current system power demand is greater than the system's maximum power demand Pmax;
[0148] like =2 , the current system power demand is less than the system maximum power demand Pmax.
[0149] Based on the pattern variable M,
[0150] If the current =0, the fuel cell is controlled to output basic power to supply power to the vehicle accessory system, and the motor is in an idling state;
[0151] If the current = , controlling the fuel cell to supply power to the lithium-ion battery, supercapacitor, flywheel energy storage device and electric motor respectively after being converted by a number of converters;
[0152] If the current =2 At this time, it is in braking state, the fuel cell does not output power, and the engine outputs braking power.
[0153] Furthermore, in some optional embodiments, the calculation module 12 further includes:
[0154] A calculation unit used to construct input variables based on the vehicle's state parameters , the input variables include at least speed, acceleration, power demand, and energy source state,
[0155]
[0156] Where T represents the input variable The transpose of Indicates speed, represents acceleration, Indicates the power demand, Indicates the state of charge of the supercapacitor. Indicates the battery's state of charge;
[0157] Based on fuzzy logic algorithm, the current input variables The distributed power of the energy source and the switching state of the converter are obtained through fuzzification, reasoning and defuzzification in sequence;
[0158] According to the value range and characteristics of the input variables, they are divided into several fuzzy sets, and the corresponding membership functions are constructed to obtain the device membership:
[0159]
[0160] in, represents the membership of the input variable x on the fuzzy set A, Represents the membership function of the fuzzy set A.
[0161] After fuzzification, the membership of the input variables is inferred.
[0162] According to the membership of the input variable, the membership of the output variable is calculated, and the minimum value of the membership of the input variable is used as the membership of the output variable using the preset algorithm:
[0163]
[0164] in, Represented as output variable The membership degree on the fuzzy set C is and Represents the input variables and The membership degree on fuzzy set A and fuzzy set B, min represents the minimum operation;
[0165] Based on the membership of the output variable, the actual value of the output variable is calculated:
[0166]
[0167] in, Represents output variable The membership degree on the fuzzy set C is represents the operation of integration, represents the actual value of the output variable,
[0168]
[0169] in, is the power distribution ratio of the system's energy source, is the power distribution ratio of the first motor, is the power distribution ratio of the second motor, is the power distribution ratio of the supercapacitor, is the power distribution ratio of the battery, is the power distribution ratio of the fuel cell, The value range of is [0,1], which indicates the percentage of the power of each energy source to the required power of the system; is the switching state of the first DC-DC converter, is the switching state of the second DC-DC converter, is the switching state of the third DC-DC converter, The value range of is {0,1}, which indicates the switching state of each energy converter, 0 means off and 1 means on.
[0170] Furthermore, in some optional embodiments, the optimization module 13 further includes:
[0171] An optimization unit, for optimizing the system loss based on the allocated power of the energy source in the energy management mode and according to the constraint conditions of the energy source;
[0172] The constraints are:
[0173] in, It is The output power of the fuel cell at a given moment is and yes The state of charge of the supercapacitor and battery at each moment;
[0174] The optimization function is:
[0175]
[0176] in, For the The system energy loss at each moment is It is The control quantity changes at each moment. is the weight coefficient, For the prediction time range, With constraints Associated.
[0177] Furthermore, in some optional embodiments, the output module 14 further includes:
[0178] The output unit, the vehicle system includes at least a fuel cell, a lithium-ion battery, a supercapacitor and a flywheel energy storage device, and the converter includes at least a first DC-DC converter, a second DC-DC converter, a third DC-DC converter and a DC-AC converter;
[0179] The first DC-DC converter connects the fuel cell and the lithium-ion battery to realize energy conversion between the fuel cell and the lithium-ion battery; the second DC-DC converter connects the lithium-ion battery and the supercapacitor to realize energy conversion between the lithium-ion battery and the supercapacitor; the third DC-DC converter connects the supercapacitor and the flywheel energy storage to realize energy conversion between the supercapacitor and the flywheel energy storage; the DC-AC converter connects the supercapacitor and the motor to realize energy conversion between the supercapacitor and the motor.
[0180] In summary, according to the energy management system proposed in the present invention, the vehicle state parameters are obtained to determine the current driving mode of the vehicle, and then the energy management mode is determined by the driving mode, and implemented by the selection of energy sources; the input variables of the system are constructed by using fuzzy logic algorithms, and then the output variables of the vehicle system are calculated to obtain the current distribution power of the vehicle energy source and the switching state of each converter; the loss during the vehicle driving process is optimized through the constraint state of each energy source; finally, the energy is distributed and optimized through the conversion of the converter and energy transmission. The present invention can realize the intelligent distribution and conversion of energy according to the operating state of the vehicle, improve the performance and efficiency of the system, and at the same time ensure the stability and safety of the system, can adapt to uncertain and changing working conditions, has good adaptability and robustness, does not need to establish an accurate system model, and reduces the design difficulty and cost of the system.
[0181] Embodiment 3
[0182] Another aspect of the present invention further provides a computer-readable storage medium on which one or more computer programs are stored, and the program implements the above energy management method when executed by a processor.
[0183] Those skilled in the art will appreciate that the logic or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable storage medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, a "computer-readable storage medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0184] More specific examples (a non-exhaustive list) of computer-readable storage media include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable storage medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0185] Embodiment 4
[0186] Another aspect of the present invention provides a vehicle, see Figure 3 , shown is a schematic diagram of the structure of a vehicle in a fourth embodiment of the present invention, including a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor, wherein the processor 10 implements the energy management method as described above when executing the computer program 30.
[0187] Specifically, the vehicle may be a computer, a vehicle testing device, etc. The processor 10 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip in some embodiments, and is used to run the program code or process data stored in the memory 20, such as executing an access restriction program.
[0188] The memory 20 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 20 may be an internal storage unit of the vehicle, such as a hard disk of the vehicle. In other embodiments, the memory 20 may also be an external storage device of the vehicle, such as a plug-in hard disk equipped on the vehicle, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc. Further, the memory 20 may also include both an internal storage unit and an external storage device of the vehicle. The memory 20 may be used not only to store application software and various types of data installed in the vehicle, but also to temporarily store data that has been output or is to be output.
[0189] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the vehicle. In other embodiments, the vehicle may include Figure 3 Fewer or more components may be shown, or certain components may be combined, or arranged differently.
[0190] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0191] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0192] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. An energy management method, characterized in that: The energy management method comprises: The vehicle state parameters are obtained, including at least the vehicle speed, acceleration, and output power, to determine the current operating state of the vehicle, wherein the operating state includes at least stationary, uniform speed, acceleration, and braking. The operating state is represented by the vehicle state variable S. If the speed is 0 and the acceleration is 0, the control state variable S=0 corresponds to the stationary state of the vehicle. If the speed is greater than 0 and the acceleration is greater than or equal to 0, the control state variable S=1, wherein if the acceleration is greater than 0, it corresponds to the acceleration state, and if the acceleration is 0, it corresponds to the uniform speed state. If the speed is greater than 0 and the acceleration is less than 0, the control state variable S=2 corresponds to the braking state. Based on the obtained vehicle state variable S, an energy management mode is determined, and a corresponding energy source and load combination is selected. The energy management mode is represented by a mode variable M, and the mode variable M is represented by the following formula: ,in, is the energy management coefficient, and the value range of the mode variable M is {0, , 2 },like =0, the current system power demand is less than the system minimum power demand Pmin, the fuel cell is controlled to output basic power to power the vehicle accessory system, and the motor is in an idling state. = If the current vehicle is in a constant speed state, the current system power demand is equal to the output power Pfc of the system's fuel cell. If the current vehicle is in an accelerating state, the current system power demand is greater than the system's maximum power demand Pmax. The fuel cell is controlled to supply power to the lithium-ion battery, supercapacitor, flywheel energy storage device and motor respectively after being converted by several converters. If =2 , then the current system power demand is less than the system maximum power demand Pmax, and it is in braking state at this time, the fuel cell does not output power, and the engine outputs braking power; Based on the vehicle state parameters, construct input variables , the input variables include at least speed, acceleration, power demand, and energy source state, , where T represents the input variable The transpose of Indicates speed, represents acceleration, Indicates the power demand, Indicates the state of charge of the supercapacitor. Indicates the state of charge of the battery and uses the fuzzy logic algorithm to convert the current input variable The distributed power of the energy source and the switching state of the converter are obtained through fuzzification, reasoning and defuzzification. According to the value range and characteristics of the input variables, they are divided into several fuzzy sets, and the corresponding membership functions are constructed to obtain the device membership: ,in, represents the membership of the input variable x on the fuzzy set A, It represents the membership function of the fuzzy set A. After fuzzification, the membership of the input variable is inferred. According to the membership of the input variable, the membership of the output variable is calculated. The preset algorithm is used to take the minimum value of the membership of the input variable as the membership of the output variable: ,in, Represented as output variable The membership degree on the fuzzy set C is and Represents the input variables and The membership degree on fuzzy set A and fuzzy set B, min represents the minimum operation, and the actual value of the output variable is calculated based on the membership degree of the output variable: in, Represents output variable The membership degree on the fuzzy set C is represents the operation of integration, represents the actual value of the output variable, ,in, is the power distribution ratio of the system's energy source, is the power distribution ratio of the first motor, is the power distribution ratio of the second motor, is the power distribution ratio of the supercapacitor, is the power distribution ratio of the battery, is the power distribution ratio of the fuel cell, The value range of is [0,1], which indicates the percentage of the power of each energy source to the system demand power. is the switching state of the first DC-DC converter, is the switching state of the second DC-DC converter, is the switching state of the third DC-DC converter, The value range of is {0,1}, which indicates the switch state of each energy converter, 0 means off, 1 means on; Based on the allocated power of the energy source, according to the constraints of the vehicle system , It is The output power of the fuel cell at a given moment is and yes The state of charge of the supercapacitor and battery at each moment; The optimization function is: in, For the The system energy loss at each moment is It is The control quantity changes at each moment. is the weight coefficient, For the prediction time range, With constraints associated to optimize the losses of the vehicle system; According to the output variables of the vehicle system, the energy source and the converter are controlled to perform energy distribution and energy conversion.
2. The energy management method according to claim 1, characterized in that: In the step of controlling the energy source and the converter to distribute and convert energy according to the output variable of the vehicle system, The vehicle system includes at least a fuel cell, a lithium-ion battery, a supercapacitor and a flywheel energy storage device, and the converter includes at least a first DC-DC converter, a second DC-DC converter, a third DC-DC converter and a DC-AC converter; The first DC-DC converter connects the fuel cell and the lithium-ion battery to realize energy conversion between the fuel cell and the lithium-ion battery; the second DC-DC converter connects the lithium-ion battery and the supercapacitor to realize energy conversion between the lithium-ion battery and the supercapacitor; the third DC-DC converter connects the supercapacitor and the flywheel energy storage to realize energy conversion between the supercapacitor and the flywheel energy storage; the DC-AC converter connects the supercapacitor and the motor to realize energy conversion between the supercapacitor and the motor.
3. An energy management system, characterized in that: The system comprises: The selection module is used to obtain vehicle state parameters, including at least vehicle speed, acceleration, and output power, to determine the current operating state of the vehicle, wherein the operating state includes at least stationary, uniform speed, acceleration, and braking. The operating state is represented by a vehicle state variable S. If the speed is 0 and the acceleration is 0, the control state variable S=0 corresponds to the stationary state of the vehicle. If the speed is greater than 0 and the acceleration is greater than or equal to 0, the control state variable S=1, wherein if the acceleration is greater than 0, it corresponds to the acceleration state, and if the acceleration is 0, it corresponds to the uniform speed state. If the speed is greater than 0 and the acceleration is less than 0, the control state variable S=2 corresponds to the braking state. Based on the obtained vehicle state variable S, an energy management mode is determined, and a corresponding energy source and load combination is selected. The energy management mode is represented by a mode variable M, and the mode variable M is represented by the following formula: ,in, is the energy management coefficient, and the value range of the mode variable M is {0, , 2 },like =0, the current system power demand is less than the system minimum power demand Pmin, the fuel cell is controlled to output basic power to power the vehicle accessory system, and the motor is in an idling state. = If the current vehicle is in a constant speed state, the current system power demand is equal to the output power Pfc of the system's fuel cell. If the current vehicle is in an accelerating state, the current system power demand is greater than the system's maximum power demand Pmax. The fuel cell is controlled to supply power to the lithium-ion battery, supercapacitor, flywheel energy storage device and motor respectively after being converted by several converters. If =2 , then the current system power demand is less than the system maximum power demand Pmax, and it is in braking state at this time, the fuel cell does not output power, and the engine outputs braking power; A calculation module is used to construct input variables based on the vehicle state parameters. , the input variables include at least speed, acceleration, power demand, and energy source state, , where T represents the input variable The transpose of Indicates speed, represents acceleration, Indicates the power demand, Indicates the state of charge of the supercapacitor. Indicates the state of charge of the battery and uses the fuzzy logic algorithm to convert the current input variable The distributed power of the energy source and the switching state of the converter are obtained through fuzzification, reasoning and defuzzification. According to the value range and characteristics of the input variables, they are divided into several fuzzy sets, and the corresponding membership functions are constructed to obtain the device membership: ,in, represents the membership of the input variable x on the fuzzy set A, It represents the membership function of the fuzzy set A. After fuzzification, the membership of the input variable is inferred. According to the membership of the input variable, the membership of the output variable is calculated. The preset algorithm is used to take the minimum value of the membership of the input variable as the membership of the output variable: ,in, Represented as output variable The membership degree on the fuzzy set C is and Represents the input variables and The membership degree on fuzzy set A and fuzzy set B, min represents the minimum operation, and the actual value of the output variable is calculated based on the membership degree of the output variable: in, Represents output variable The membership degree on the fuzzy set C is represents the operation of integration, represents the actual value of the output variable, ,in, is the power distribution ratio of the system's energy source, is the power distribution ratio of the first motor, is the power distribution ratio of the second motor, is the power distribution ratio of the supercapacitor, is the power distribution ratio of the battery, is the power distribution ratio of the fuel cell, The value range of is [0,1], which indicates the percentage of the power of each energy source to the system demand power. is the switching state of the first DC-DC converter, is the switching state of the second DC-DC converter, is the switching state of the third DC-DC converter, The value range of is {0,1}, which indicates the switch state of each energy converter, 0 means off, 1 means on; An optimization module for allocating power based on the energy sources, according to vehicle system constraints , It is The output power of the fuel cell at a given moment is and yes The state of charge of the supercapacitor and battery at each moment; The optimization function is: in, For the The system energy loss at each moment is It is The control quantity changes at each moment. is the weight coefficient, For the prediction time range, With constraints associated to optimize the losses of the vehicle system; The output module is used to control the energy source and the converter to distribute and convert energy according to the output variable of the vehicle system.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the energy management method as described in any one of claims 1-2 is implemented.
5. A vehicle, characterized in that: The vehicle comprises a memory and a processor, wherein: The memory is used to store computer programs; When the processor is used to execute the computer program stored in the memory, the energy management method described in any one of claims 1-2 is implemented.
Citation Information
Patent Citations
Self-adaptive energy management system for fuel cell hybrid power tramcar multi-power source
CN104972918A
Hybrid power tramcar suboptimum energy management system taking uncertainty into account
CN108583311A
Estimation control method and system of hybrid power fuel cell vehicle
CN109808512A
Compound energy storing system based on electric flywheel, fuel battery and lithium battery
CN109823200A
Driving control strategy of composite energy system based on fuel cell, lithium battery and electric flywheel battery
CN113386586A
