Power output method and device, computer device and storage medium
By acquiring historical motor power and making predictions based on a preset sampling period, the power distribution between the main power source and auxiliary power source of the fuel cell vehicle is dynamically adjusted, solving the problem of inaccurate power distribution of the power source in traditional technologies and achieving more efficient power output.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TSINGHUA UNIVERSITY
- Filing Date
- 2023-04-12
- Publication Date
- 2026-07-24
AI Technical Summary
Traditional power output technologies cannot dynamically adapt to the complex operating conditions of fuel cell vehicles, resulting in low accuracy and efficiency in power distribution from the power source.
By acquiring historical motor power and making predictions based on a preset sampling period, the target power allocation of the main power source and auxiliary power source is dynamically adjusted to adapt to the complex operating conditions of fuel cell vehicles.
It improves the accuracy and efficiency of power distribution of the power source under different operating conditions, and ensures the stability and dynamic adaptability of power output.
Smart Images

Figure CN116627203B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power source technology, and in particular to a power output method, apparatus, computer equipment, and storage medium. Background Technology
[0002] With the development of power source technology, power output technology has emerged. This technology can distribute the power of a hybrid power source and output power according to the distributed power, thereby ensuring the normal operation of the hybrid power source. This technology is commonly used in the field of fuel cell vehicles, which include fuel cells and power batteries.
[0003] Traditional power output technology involves acquiring the current state of charge (SOC) of the fuel cell vehicle's power battery (i.e., auxiliary power source) and determining the target output power of the fuel cell (i.e., the primary power source) based on a pre-stored correspondence between SOC and fuel cell output power (referred to as the target correspondence for clarity). Then, based on the current total power and the fuel cell's target output power, the target output power of the main power battery is calculated. The terminal controls the fuel cell's power output based on the fuel cell's target output power, and similarly controls the main power battery's power output based on the main power battery's target output power.
[0004] However, current power output technology determines the target output power of a fuel cell based on pre-stored target correspondences. Since the target correspondences are pre-stored, the target output power determined based on these correspondences cannot dynamically adapt to the complex operating conditions of fuel cell vehicles during actual driving. In other words, the power output of the fuel cell cannot dynamically follow the total power of the fuel cell vehicle, thereby reducing the accuracy of power distribution from the power source (including the main power source and auxiliary power source) under different operating conditions, and consequently leading to lower power output efficiency. Summary of the Invention
[0005] Therefore, it is necessary to provide a power output method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve the accuracy of power distribution of a power source under different operating conditions and thus improve the efficiency of power output of the power source, in order to address the above-mentioned technical problems.
[0006] In a first aspect, this application provides a power output method. The method includes:
[0007] According to the preset sampling period, the historical motor power of the target object in the historical time period is obtained, and the predicted motor power of the target object in the prediction time period is determined based on the historical motor power in the historical time period.
[0008] At a first target time, a target predicted motor power is obtained from each of the predicted motor powers, and based on the target predicted motor power, a target power allocation for the main power source during the prediction period is determined; the prediction period includes a second target time, which is any time within the prediction period corresponding to the target power allocation.
[0009] At the second target time, the actual total power of the target object is obtained, and the target allocation power of the auxiliary power source is determined based on the actual total power and the target allocation power of the active power source.
[0010] The power output of the active power source is controlled according to the target allocated power of the active power source, and the power output of the auxiliary power source is controlled according to the target allocated power of the auxiliary power source.
[0011] In one embodiment, determining the target power allocation of the main power source during the prediction period based on the target predicted motor power includes:
[0012] Based on the target predicted motor power, a first allocated power of the active power source is determined, wherein the first allocated power is positively correlated with the target predicted motor power;
[0013] The first allocated power is corrected according to the power limitation to obtain the allocated power of the active power source;
[0014] Based on the allocated power and the actual power of the active power source at the first target time, the target allocated power of the active power source is determined during the predicted time period.
[0015] In one embodiment, the limiting power includes operating condition limiting power and voltage limiting power of the active power source; the step of correcting the first allocated power according to the limiting power to obtain the allocated power of the active power source includes:
[0016] Based on the power limitation under the operating conditions, the first allocated power is corrected to obtain the second allocated power of the active power source; and based on the voltage limitation power of the active power source, the second allocated power is corrected to obtain the allocated power of the active power source; or,
[0017] Based on the voltage-limited power of the active power source, the first allocated power is corrected to obtain the third allocated power of the active power source, and based on the operating condition-limited power, the third allocated power is corrected to obtain the allocated power of the active power source.
[0018] In one embodiment, determining the first allocated power of the active power source based on the target predicted motor power includes:
[0019] Obtain the power of the accessories and the status data of the auxiliary power source during the prediction period;
[0020] Based on the target predicted motor power and the accessory power, determine the predicted total power of the target object;
[0021] The first allocated power of the main power source is determined based on the predicted total power of the target object and the state data of the auxiliary power source.
[0022] In one embodiment, obtaining the historical motor power of the target object within a historical time period according to a preset sampling period includes:
[0023] The sampling time is determined according to the preset sampling period;
[0024] The historical motor power of the target object within the historical time period is obtained at the sampling time.
[0025] In one embodiment, obtaining the target predicted motor power from each of the predicted motor powers at the first target time includes:
[0026] The first target time is determined based on the sampling time and the preset time interval;
[0027] At the first target time, the predicted motor power at the sampling time that is closest to the first target time among the predicted motor power at each sampling time is taken as the target predicted motor power.
[0028] In one embodiment, the preset sampling period is less than or equal to the preset time interval, and the preset time interval is less than or equal to the duration corresponding to the prediction period.
[0029] Secondly, this application also provides a power output device. The device includes:
[0030] The prediction module is used to obtain the historical motor power of the target object in a historical period according to a preset sampling period, and to determine the predicted motor power of the target object in the prediction period based on the historical motor power in the historical period.
[0031] The first allocation module is used to obtain the target predicted motor power from each of the predicted motor powers at a first target time, and determine the target allocation power of the main power source within the prediction period based on the target predicted motor power; the prediction period includes a second target time, which is any time within the prediction period corresponding to the target allocation power;
[0032] The second allocation module is used to acquire the actual total power of the target object at the second target time, and determine the target allocation power of the auxiliary power source based on the actual total power and the target allocation power of the active power source.
[0033] The control module is used to control the power output of the active power source according to the target power allocation of the active power source, and to control the power output of the auxiliary power source according to the target power allocation of the auxiliary power source.
[0034] In one embodiment, the first allocation module is specifically used for:
[0035] Based on the target predicted motor power, a first allocated power of the active power source is determined, wherein the first allocated power is positively correlated with the target predicted motor power;
[0036] The first allocated power is corrected according to the power limitation to obtain the allocated power of the active power source;
[0037] Based on the allocated power and the actual power of the active power source at the first target time, the target allocated power of the active power source is determined during the predicted time period.
[0038] In one embodiment, the power limitation includes operating condition limitation power and voltage limitation power of the active power source; the first allocation module is specifically used for:
[0039] Based on the power limitation under the operating conditions, the first allocated power is corrected to obtain the second allocated power of the active power source; and based on the voltage limitation power of the active power source, the second allocated power is corrected to obtain the allocated power of the active power source; or,
[0040] Based on the voltage-limited power of the active power source, the first allocated power is corrected to obtain the third allocated power of the active power source, and based on the operating condition-limited power, the third allocated power is corrected to obtain the allocated power of the active power source.
[0041] In one embodiment, the first allocation module is specifically used for:
[0042] Obtain the power of the accessories and the status data of the auxiliary power source during the prediction period;
[0043] Based on the target predicted motor power and the accessory power, determine the predicted total power of the target object;
[0044] The first allocated power of the main power source is determined based on the predicted total power of the target object and the state data of the auxiliary power source.
[0045] In one embodiment, the prediction module is specifically used for:
[0046] The sampling time is determined according to the preset sampling period;
[0047] The historical motor power of the target object within the historical time period is obtained at the sampling time.
[0048] In one embodiment, the first allocation module is specifically used for:
[0049] The first target time is determined based on the sampling time and the preset time interval;
[0050] At the first target time, the predicted motor power at the sampling time that is closest to the first target time among the predicted motor power at each sampling time is taken as the target predicted motor power.
[0051] In one embodiment, the preset sampling period is less than or equal to the preset time interval, and the preset time interval is less than or equal to the duration corresponding to the prediction period.
[0052] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps described in the first aspect.
[0053] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps described in the first aspect.
[0054] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the steps described in the first aspect.
[0055] The aforementioned power output method, apparatus, computer equipment, storage medium, and computer program product acquire the historical motor power of the target object within a historical time period according to a preset sampling period, and determine the predicted motor power of the target object within a predicted time period based on the historical motor power within the historical time period; at a first target time, acquire the target predicted motor power from each predicted motor power, and determine the target allocation power of the main power source within the predicted time period based on the target predicted motor power; the predicted time period includes a second target time, which is any time within the predicted time period corresponding to the target allocation power; at the second target time, acquire the actual total power of the target object, and determine the target allocation power of the auxiliary power source based on the actual total power and the target allocation power of the main power source; control the power output of the main power source based on the target allocation power of the main power source, and control the power output of the auxiliary power source based on the target allocation power of the auxiliary power source. The above method predicts the predicted motor power of the target object within the predicted time period based on the historical motor power within the historical time period, and then determines the target allocation power of the main power source. Since the target allocation power is determined based on the historical motor power corresponding to the preset sampling period, it can be seen that the target allocation power dynamically changes with the historical motor power corresponding to the sampling time. Therefore, the target power allocation can dynamically adapt to the complex operating conditions of fuel cell vehicles during actual driving, thereby improving the accuracy of power allocation of the power source (including the main power source and auxiliary power source) under different operating conditions, and thus improving the efficiency of power output of the power source. Attached Figure Description
[0056] Figure 1 This is a diagram illustrating the application environment of the power output method in one embodiment;
[0057] Figure 2 This is a flowchart illustrating a power output method in one embodiment;
[0058] Figure 3 This is a flowchart illustrating a method for predicting motor power in one embodiment;
[0059] Figure 4 This is a schematic diagram of the structure of a long short-term memory network in one embodiment;
[0060] Figure 5 A flowchart illustrating a method for determining the target power allocation of an active power source in one embodiment;
[0061] Figure 6 This is a schematic diagram illustrating the correspondence between voltage-limited power and the allocated power of the active power source in one embodiment;
[0062] Figure 7 This is a flowchart illustrating a method for determining the first allocated power of an active power source in one embodiment;
[0063] Figure 8 This is a schematic diagram illustrating the correspondence between time and the power of the target object in one embodiment;
[0064] Figure 9 This is a flowchart illustrating the power output method in another embodiment;
[0065] Figure 10 This is a flowchart illustrating the power output method in another embodiment;
[0066] Figure 11 This is a structural block diagram of a power output method apparatus in one embodiment;
[0067] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0068] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0069] The power output method provided in this application can be applied to a terminal, which may be a power output system capable of predicting the target power of the active power source and the auxiliary power source by using historical motor power data. In one embodiment, the terminal is a hybrid electric vehicle; specifically, it may be a fuel cell vehicle. Figure 1 The diagram shown illustrates an application environment for a power output system according to an embodiment of this application. The power output system includes a primary power source 102, an auxiliary power source 104, a direct current converter (DC / DC) 106, a motor controller 108, and a motor 110. The primary power source 102 is electrically connected to the DC / DC converter 106, which is connected to a bus. The auxiliary power source 104 is directly connected to the bus, which in turn connects to the motor controller 108, which controls the motor 110. If the terminal is a fuel cell vehicle, the primary power source 102 is a fuel cell, and the auxiliary power source 104 is a power battery pack (battery pack or supercapacitor pack).
[0070] The motor controller 108 determines the sampling time based on the initial sampling time and the preset sampling period. At the sampling time, the motor controller 108 acquires the historical motor power of the motor 110 within a historical time period. Based on the historical motor power within the historical time period, the motor controller 108 predicts the predicted motor power of the motor 110 within the prediction time period. At the first target time, the motor controller 108 acquires the target predicted motor power from each predicted motor power. Based on the target predicted motor power, the motor controller 108 calculates the target allocated power of the active power source within the prediction time period. At the second target time, the motor controller 108 acquires the actual total power of the motor 110 and calculates the difference between the actual total power of the motor 110 and the target allocated power of the active power source 102 to obtain the target allocated power of the auxiliary power source 104. At the second target time (or after the second target time), the motor controller 108 sends the target allocated power of the active power source 102 and the target allocated power of the auxiliary power source 104 to the DC-DC converter 106. The DC-DC converter 106 controls the power output of the active power source 102 according to the target power allocation of the active power source 102, and controls the power output of the auxiliary power source 104 according to the target power allocation of the auxiliary power source 104.
[0071] In one embodiment, such as Figure 2 As shown, a power output method is provided, which is applied to Figure 1 Taking the power output system in the example, the following steps are included:
[0072] Step 202: According to the preset sampling period, obtain the historical motor power of the target object in the historical time period, and determine the predicted motor power of the target object in the prediction time period based on the historical motor power in the historical time period.
[0073] Among them, the preset sampling period is used to determine the sampling time, and the predicted motor power is used to characterize the average motor power of the target object during the prediction period.
[0074] In this embodiment, the terminal determines the sampling time based on the initial sampling time and a preset sampling period. The initial sampling time is the first sampling time. It can be understood that the sampling time is the nth sampling time, where n is a positive integer greater than 1. The terminal obtains the historical motor power of the target object within a historical time period at the sampling time. In one embodiment, the target object includes a motor 110. The terminal predicts the predicted motor power of the target object within a predicted time period based on the historical motor power within the historical time period. The end time of the historical time period is the sampling time, and the duration of the historical time period is greater than or equal to the duration of the predicted time period. Specifically, as shown... Figure 3 As shown, at time t, the terminal retrieves data from storage for a duration of kt. m Historical motor power (i.e., kt) within a historical periodm (historical motor power), and based on kt m Power prediction is performed on historical motor power data to obtain a time period of t. m The predicted motor power during the prediction period. Where, P demand (t) represents the motor power at time t, P demand (t,t-1,…,t-kt m +1) indicates a duration of kt m The historical motor power within a historical period can be understood as including the motor power at time t, P. rtedict (t,t m ) indicates that the predicted duration at time t is t. m The predicted motor power during the prediction period.
[0075] In one embodiment, the terminal calculates the predicted motor power of the target object within the prediction period based on historical motor power within a historical time period and a motor power prediction algorithm. The motor power prediction algorithm is obtained through statistical methods based on a sample motor power set. Specifically, the sample motor power set includes multiple subsets of historical power samples and corresponding predicted power values for each historical power subset. The terminal performs data fitting processing based on each historical power subset and its corresponding predicted power value to obtain the motor power prediction algorithm.
[0076] In another embodiment, the terminal simultaneously inputs the historical motor power of each historical time period into the motor power prediction model, and outputs the predicted motor power of the target object within the prediction time period. The motor power prediction model can be a Long Short-Term Memory (LSTM) network, which includes an input layer, hidden layers, fully connected layers, and a regression layer, such as... Figure 4 As shown. This is understandable. Figure 3 Taking a single hidden layer as an example, the actual number of hidden layers is not limited; it can be one or more. The number of hidden layers can be adjusted according to the prediction accuracy of the motor power prediction model. The number of neurons in the input layer is kt. m , where k is a proportionality coefficient, which is the ratio of the corresponding duration of the historical period to the corresponding duration of the predicted period. For example, k may include 2 or 3; t m The duration of the predicted time period is in seconds. The number of neurons in the hidden layer is m, which can be adjusted according to the prediction accuracy of the motor power prediction model. The number of neurons in the fully connected layer is the number of output results; for example, the number of neurons in the fully connected layer is 1.
[0077] Step 204: Obtain the target predicted motor power from each predicted motor power at the first target time, and determine the target power allocation of the active power source during the prediction period based on the target predicted motor power.
[0078] The prediction period includes the second target time, which is any time within the prediction period corresponding to the target power allocation.
[0079] In this embodiment, at the first target time, the terminal obtains the target predicted motor power from the predicted motor power values. The prediction time period corresponding to the target predicted motor power includes times after the first target time. For example, assuming a preset sampling period of 5 minutes, a first target time of 9:10 AM, and a prediction time period of 15 minutes, the predicted motor power stored in the terminal at 9:10 AM includes predicted motor power 1, predicted motor power 2, predicted motor power 3, and predicted motor power 4. The prediction time period corresponding to predicted motor power 1 is from 8:55 AM to 9:10 AM, the prediction time period corresponding to predicted motor power 2 is from 9:00 AM to 9:15 AM, the prediction time period corresponding to predicted motor power 3 is from 9:05 AM to 9:20 AM, and the prediction time period corresponding to predicted motor power 4 is from 9:10 AM to 9:25 AM. Since the prediction time periods corresponding to predicted motor power 2, predicted motor power 3, and predicted motor power 4 all include times after 9:10 AM, the target predicted motor power can be predicted motor power 2, predicted motor power 3, or predicted motor power 4. The terminal predicts the target motor power and calculates the target power allocation for the main power source during the prediction period. Specifically, refer to steps 502 to 506.
[0080] Step 206: Obtain the actual total power of the target object at the second target time, and determine the target allocation power of the auxiliary power source based on the actual total power and the target allocation power of the active power source.
[0081] The second target time is the time following the first target time.
[0082] In this embodiment of the application, at the second target time, the terminal obtains the actual total power of the target object and calculates the difference between the actual total power of the target object and the target allocated power of the active power source to obtain the target allocated power of the auxiliary power source.
[0083] Step 208: Control the power output of the active power source according to the target power allocation of the active power source, and control the power output of the auxiliary power source according to the target power allocation of the auxiliary power source.
[0084] In this embodiment, at the second target time (or after the second target time), the terminal controls the power output of the active power source according to the target power allocation of the active power source, and controls the power output of the auxiliary power source according to the target power allocation of the auxiliary power source. Specifically, the terminal controls the voltage output of the active power source (or auxiliary power source) by changing the switching frequency of the electronic components inside the DC-DC converter, thereby changing the power output of the active power source (or auxiliary power source).
[0085] The aforementioned power output method predicts the target motor power within a given time period based on historical motor power over a historical period, thereby determining the target power allocation for the primary power source. Since the target power allocation is determined based on the historical motor power corresponding to a preset sampling period, it is evident that the target power allocation dynamically changes with the historical motor power at each sampling moment. Therefore, the target power allocation can dynamically adapt to the complex operating conditions of fuel cell vehicles during actual driving, thereby improving the accuracy of power allocation by the power source (including the primary and auxiliary power sources) under different operating conditions, and ultimately improving the efficiency of power output.
[0086] In one embodiment, such as Figure 5 As shown, based on the target predicted motor power, the target power allocation of the main power source during the prediction period is determined, including:
[0087] Step 502: Determine the first power allocation of the main power source based on the target predicted motor power.
[0088] Among them, the first allocated power is positively correlated with the target predicted motor power.
[0089] In this embodiment, the terminal calculates the first allocated power of the main power source based on the target predicted motor power. Specifically, the terminal obtains the accessory power and the actual power of the auxiliary power source at the first target time, and calculates the first allocated power of the main power source based on the accessory power, the actual power of the auxiliary power source at the first target time, and the target predicted motor power. Specifically, as shown in formula (1).
[0090] P fcs, (t)= predict (t,t m )+ aux (t)- bat, (t)(1)
[0091] Among them, P fcs, (t) represents the first power distribution of the main power source, P predict (t,t m P represents the target predicted motor power. aux (t) represents the power of the accessory, P bat,(t) represents the actual power of the auxiliary power source at the first target time. In one embodiment, the auxiliary power is generally characterized by the power consumption of the air compressor. The power consumption of the air compressor can be set to a fixed value or calculated by a preset algorithm. This application does not limit the method of obtaining the air compressor.
[0092] In one embodiment, the terminal further obtains the rated power of the active power source and performs a correction process on the first allocated power of the active power source based on the rated power. Specifically, the terminal determines the magnitude of the rated power of the active power source and the first allocated power of the active power source. If the first allocated power is less than or equal to the rated power, the terminal does not update the first allocated power; if the first allocated power is greater than the rated power, the terminal uses the rated power as the first allocated power of the active power source, thereby updating the first allocated power of the active power source.
[0093] Step 504: Correct the first power allocation according to the power limit to obtain the power allocation of the main power source.
[0094] The power limitation includes the operating condition power limitation and the voltage limitation power of the main power source.
[0095] In this embodiment, the terminal performs a correction process on the first allocated power according to the power limit to obtain the allocated power of the active power source. The correction process is to ensure that the allocated power of the active power source does not exceed the maximum power limit, thereby guaranteeing that the allocated power of the active power source obtained by the correction process is the power that meets the limit conditions and can actually be output.
[0096] Step 506: Determine the target power allocation of the active power source during the prediction period based on the allocated power and the actual power of the active power source at the first target time.
[0097] In this embodiment, the terminal calculates the target power allocation of the active power source within the prediction period based on the allocated power of the active power source and the actual power of the active power source at the first target time. Specifically, the terminal calculates the difference between the allocated power of the active power source and the actual power of the active power source at the first target time to obtain the power difference. The power difference can be used to characterize whether the output power of the active power source within the prediction period is loaded or unloaded relative to the output power at the first target time. The terminal calculates the increment factor based on the actual power of the active power source at the first target time (referred to as the reference power for ease of distinction) and a preset proportional coefficient, as shown in formula (2). The increment factor is used to characterize the change based on the reference power, that is, how much the power is increased or decreased based on the reference power. When the power difference is positive, the terminal calculates the sum of the reference power and the increment factor to obtain the target power allocation of the active power source within the prediction period; when the power difference is zero, the terminal uses the reference power as the target power allocation of the active power source within the prediction period; when the power difference is negative, the terminal calculates the difference between the reference power and the increment factor to obtain the target power allocation of the active power source within the prediction period. It can be seen that the target power allocation changes dynamically based on the reference power. Therefore, within a short time scale, the active power source can maintain a stable power output (i.e., the power fluctuation amplitude is not too large) while also dynamically following the changes in motor power. Specifically, as shown in formula (3).
[0098]
[0099] P s2 =P c +Sign(P s1 -P c )*A(3)
[0100] Where A represents the increment factor, k represents the proportionality coefficient, and P c P represents the actual power of the active power source at the first target moment (i.e., the reference power), t represents time, and P represents the actual power of the active power source at the first target moment. s2 This represents the target power allocation of the active power source during the forecast period, (P) s1 -P c ) represents the power difference, P s1 This indicates the power distribution of the main power source.
[0101] In this embodiment, the first allocated power is calculated based on the target predicted motor power. Then, the target predicted motor power is corrected based on the power limit to obtain the allocated power. Finally, the target allocated power of the active power source is calculated based on the allocated power of the active power source and the actual power of the active power source at the first target time. As mentioned earlier, the target predicted motor power is obtained based on the predicted power of each historical motor corresponding to a preset sampling period. Therefore, the target predicted motor power dynamically changes with the historical motor power at the sampling time. That is, the target allocated power determined based on the target predicted motor power also dynamically changes with the historical motor power at the sampling time, thereby improving the accuracy of power allocation of the power source (including the active power source and auxiliary power source) under different operating conditions, and thus improving the efficiency of the power source output.
[0102] In one embodiment, the limiting power includes operating condition limiting power and voltage limiting power of the main power source; the first allocated power is corrected according to the limiting power to obtain the allocated power of the main power source, including:
[0103] Based on the operating condition power limit, the first power allocation is corrected to obtain the second power allocation of the main power source. Based on the voltage power limit of the main power source, the second power allocation is corrected to obtain the power allocation of the main power source. Alternatively, based on the voltage power limit of the main power source, the first power allocation is corrected to obtain the third power allocation of the main power source. Based on the operating condition power limit, the third power allocation is corrected to obtain the power allocation of the main power source.
[0104] Among them, the operating condition limit power is used to characterize the maximum output power of the main power source under a certain operating condition of the terminal, and the voltage limit power of the main power source is used to characterize the power output range of the main power source determined by the voltage limitation of the main power source. The voltage limit power of the main power source is pre-stored in the terminal. The operating condition is used to characterize the working state of the terminal, and the operating conditions include, but are not limited to, acceleration (climbing) mode, normal mode, light load mode and braking mode.
[0105] In this embodiment, the terminal determines the operating condition limitation power corresponding to the operating condition at the first target time based on the terminal's operating condition at the first target time. Specifically, the terminal determines the operating condition limitation power corresponding to the operating condition at the first target time based on the terminal's operating condition at the first target time and the pre-stored correspondence between operating conditions and operating condition limitation power in the terminal. The terminal corrects the first allocated power based on the operating condition limitation power to obtain the second allocated power of the active power source. Specifically, the terminal determines the magnitude of the operating condition limitation power and the first allocated power. If the first allocated power is less than or equal to the operating condition limitation power, the terminal uses the first allocated power as the second allocated power of the active power source; if the first allocated power is greater than the operating condition limitation power, the terminal uses the operating condition limitation power as the second allocated power of the active power source. The terminal corrects the second allocated power based on the voltage limitation power of the active power source to obtain the allocated power of the active power source. The voltage limitation power includes the upper voltage limit power (i.e., P). max ) and lower voltage limit power (i.e., P) min ),like Figure 6 As shown, where P s1 P1 represents the primary power source's allocated power, and P2 represents the secondary power source's allocated power. Specifically, the terminal determines the magnitude of the primary power source's voltage-limited power and the secondary power source's allocated power. If the secondary power source's allocated power is less than or equal to the lower voltage limit power, the terminal uses the lower voltage limit power as the primary power source's allocated power. If the secondary power source's allocated power is greater than the lower voltage limit power but less than the upper voltage limit power, the terminal uses the secondary power source's allocated power. If the secondary power source's allocated power is greater than or equal to the upper voltage limit power, the terminal uses the upper voltage limit power as the primary power source's allocated power.
[0106] In another embodiment, the terminal corrects the first allocated power based on the voltage-limited power of the active power source to obtain a third allocated power for the active power source. The method by which the terminal corrects the first allocated power based on the voltage-limited power of the active power source is similar to the method by which it corrects the second allocated power based on the voltage-limited power of the active power source, and will not be described again. The terminal corrects the third allocated power based on the operating condition-limited power to obtain the allocated power for the active power source. The method by which the terminal corrects the third allocated power based on the operating condition-limited power is similar to the method by which it corrects the first allocated power based on the operating condition-limited power, and will not be described again.
[0107] In this embodiment, the first power allocation is corrected by the operating condition power limit and the voltage power limit of the active power source to obtain the power allocation of the active power source, thereby ensuring that the power allocation of the active power source does not exceed the power limit and meets the power output requirements of actual applications.
[0108] In one embodiment, determining the first allocated power of the main power source based on the target predicted motor power includes:
[0109] Acquire the status data of accessory power and auxiliary power source during the prediction period; determine the predicted total power of the target object based on the predicted motor power and accessory power; determine the first allocated power of the main power source based on the predicted total power of the target object and the status data of the auxiliary power source.
[0110] The status data of the auxiliary power source includes the actual current and voltage of the auxiliary power source at the first target time.
[0111] In this embodiment, the terminal acquires the accessory power within a predicted time period. In one embodiment, the terminal estimates the accessory power within the predicted time period based on the air compressor speed, cathode circulation pump speed, and influent airflow. In another embodiment, the terminal uses the accessory power at a first target time as the accessory power within the predicted time period. In yet another embodiment, the terminal sets the accessory power within the predicted time period as a fixed value, which is determined based on the terminal's historical accessory power, and can be either the average of historical accessory power or the mode of historical accessory power. The terminal acquires the actual voltage of the auxiliary power source at the first target time and the state of charge (SOC) of the auxiliary power source at the first target time. Based on the SOC of the auxiliary power source at the first target time, the terminal determines the actual current corresponding to the SOC of the auxiliary power source at the first target time (i.e., the actual current of the auxiliary power source at the first target time). Specifically, the terminal pre-stores the correspondence between the state of charge (SBC) of the auxiliary power source and its actual current. For example, this correspondence can be stored in a list format, such as a correspondence table. This table includes multiple key-value pairs, where the key is the SBC of the auxiliary power source and the value is its actual current. Specifically, the terminal uses the SBC of the auxiliary power source at the first target time as the key to search the correspondence table, obtaining key-value pairs containing that SBC. The terminal then uses the SBC of the auxiliary power source at the first target time as the key and uses it as the actual current of the auxiliary power source at the first target time. The terminal calculates the product of the actual current and voltage of the auxiliary power source at the first target time to obtain the actual power of the auxiliary power source at the first target time. The terminal calculates the sum of the predicted motor power and the power of the accessories during the prediction period to obtain the predicted total power of the target object. It then calculates the difference between the predicted total power of the target object and the actual power of the auxiliary power source at the first target time to obtain the first allocated power of the main power source. Specifically, as shown below... Figure 7 As shown. In Figure 7In the middle, P demand (t) represents the motor power at time t, P demand (t,t-1,…,t-kt m +1) indicates a duration of kt m Historical motor power P during historical periods predict (t,t m ) indicates that the predicted duration at time t is t. m The predicted motor power P during the prediction period aux (t) represents the auxiliary power at time t, SOC(t) represents the state of charge of the auxiliary power source at time t, and I bat,compensation (t) represents the actual current of the auxiliary power source at time t, U bat (t) represents the actual voltage of the auxiliary power source at time t, P bat,compensation (t) represents the actual power of the auxiliary power source at time t, P fcs, (t) represents the first distributed power of the active power source calculated at time t, where t represents the first target time or a time before the first target time; P fcs, (t+t n ) indicates that in (t+t n At time (t+t) the terminal is n The first power distribution P based on the active power source is only available at that moment. fcs, To execute step 204 or step 504, where t n Indicates the preset time interval, t n The value is a non-negative number, and the preset time interval is used to determine when the terminal calculates P. fcs, How long after (t) will the next step be executed; P s1 (t1) represents the distributed power of the active power source calculated at time t1, P s2 (t2) represents the target power allocation of the active power source during the prediction period at time t2, and 1 represents the first target time (including t+t). n Time and t+t n (The time after the first target time), t2 represents the first target time or the time after the first target time. In one embodiment, such as Figure 7 , Figure 10 As shown, P s1 (t1) is calculated at time t1 and sent from the vehicle controller to the fuel cell control system at time t1. P s2 (t2) is calculated at time t2 and sent to the DC-DC converter by the vehicle controller at time t2. There is a delay between t1 and t2, i.e., t2 = t1 + δt, representing the duration of the delay. δt is preset in the terminal, and its specific value can be determined based on the P received by the fuel cell control system.s1 And enable the output power of the fuel cell control system to reach P s1 The response time used is used to determine this. This allows the vehicle controller, fuel cell control system, DC-DC converter, and power battery management module to coordinate control in a hierarchical manner, thereby achieving higher overall efficiency for the terminal.
[0112] In this embodiment, by acquiring the status data of the accessory power and auxiliary power source during the prediction period, the first allocated power of the main power source is determined, thereby providing a prerequisite for subsequently determining the target allocated power of the main power source based on the first allocated power of the main power source.
[0113] In one embodiment, obtaining the historical motor power of the target object within a historical time period according to a preset sampling period includes:
[0114] Based on the preset sampling period, the sampling time is determined; at the sampling time, the historical motor power of the target object within the historical time period is obtained.
[0115] In this embodiment, the terminal determines the sampling time based on the initial sampling time and a preset sampling period. The terminal acquires the historical motor power of the target object within a historical time period at the sampling time. The historical motor power includes the motor power of the target object at the sampling time. Specifically, as shown... Figure 8 As shown, the preset sampling period is Δt, the sampling time is t0, and the duration of the corresponding historical period is kt. m , t n The cross indicates the preset time interval, the cross indicates the motor power (i.e., actual power) of the target object, and the triangle indicates the target object at a time interval of t. m The predicted motor power within the prediction period, with the triangle on the horizontal axis t representing the target object calculated at time t for a duration of t. m The predicted motor power within the prediction period is shown. The solid line containing the cross indicates the change in the actual power of the target object, and the dashed line containing the triangle indicates the change in the predicted motor power of the target object. Figure 7 China and Israel t n equal to t m For example, but actually t n Less than or equal to t m Specifically, the sampling time is t0. Figure 7 To explain, the triangle with the horizontal axis t0 represents the predicted motor power of the target object calculated at time t0. This predicted motor power is expressed as the predicted motor power over a time period of t. m The predicted motor power during the prediction period is represented by the vertical axis of a triangle in the figure, indicating the corresponding value of the predicted motor power. The black solid line box and the crosses within it indicate the range (t0-kt). mThe historical motor power from time t0 to time t0, that is, the terminal at time t0, according to the target object in [(t0-kt) m The historical motor power of ),t0] is used to predict the duration t. m The predicted motor power within the predicted time period (i.e., the triangle with the horizontal axis t0). The terminal at interval t... n After a certain period of time, step 204 or step 504 is executed based on the predicted motor power, that is, in [t0, t0+t n The predicted motor power is represented by a triangle with the horizontal coordinate t0. Historical motor power data is stored in the terminal's memory, and this data is continuously updated over time. However, the memory capacity is preset. Data is added sequentially as the historical motor power reaches the memory's capacity limit. When the historical motor power exceeds the limit, the earliest added data is discarded, and only the historical motor power most recent to the current time is retained.
[0116] In this embodiment, the historical motor power can be determined according to a preset sampling period, thereby improving data support for subsequent determination of predicted motor power based on historical motor power.
[0117] In one embodiment, obtaining the target predicted motor power from the predicted motor power at the first target time includes:
[0118] Based on the sampling time and the preset time interval, the first target time is determined; at the first target time, the predicted motor power at the sampling time that is closest to the first target time is taken as the target predicted motor power.
[0119] In this embodiment, the terminal calculates the sum of the sampling time and the preset time interval to obtain the first target time. Specifically, as shown... Figure 8 As shown, when the sampling time is t0, the first target time is (t0+t). nAt the first target time, the terminal will select the predicted motor power whose corresponding sampling time is closest to the first target time from the predicted motor power at each sampling time, and use this as the target predicted motor power. For example, assuming a preset sampling period of 5 minutes, a first target time of 9:10, and a prediction period of 15 minutes, the predicted motor power stored in the terminal at 9:10 includes predicted motor power 1, predicted motor power 2, predicted motor power 3, and predicted motor power 4. Specifically, the prediction period for predicted motor power 1 is from 8:55 to 9:10, and the sampling time for predicted motor power 1 is 8:55; the prediction period for predicted motor power 2 is from 9:00 to 9:15, and the sampling time for predicted motor power 2 is 9:00; the prediction period for predicted motor power 3 is from 9:05 to 9:20, and the sampling time for predicted motor power 3 is 9:05; and the prediction period for predicted motor power 4 is from 9:10 to 9:25, and the sampling time for predicted motor power 4 is 9:10. Therefore, the sampling time of 9:10 corresponding to the predicted motor power 4 is closest to the first target time of 9:10. Thus, the terminal will use the predicted motor power 4 as the target predicted motor power.
[0120] In this embodiment, a first target time is calculated based on the sampling time and a preset time interval, and a target predicted motor power is determined based on the first target time and the predicted motor power. The sampling time of the target predicted motor power is closest to the first target time among the sampling times of all predicted motor powers; therefore, the target power allocation determined based on the target predicted motor power has higher accuracy.
[0121] In one embodiment, the preset sampling period is less than or equal to the preset time interval, and the preset time interval is less than or equal to the duration corresponding to the prediction period.
[0122] In the embodiments of this application, specifically, such as Figure 8 As shown, the preset sampling period is Δt, and the preset time interval is t. n The predicted time period corresponds to a duration of t. m , that is, Δt≤t n ≤t m .
[0123] In this embodiment, since the sampling period is less than or equal to the preset time interval, and the preset time interval is used to determine how long the terminal will delay before executing the next step (i.e., step 204 or step 504) after calculating the predicted motor power, it can be guaranteed that the terminal has the predicted motor power before executing step 204 or step 504, thereby providing stable data support for step 204 or step 504.
[0124] In one embodiment, an example of a power output method is also provided, which includes power prediction (equivalent to step 202), power allocation adjustment (equivalent to steps 204 to 206), and control of power output (equivalent to step 208), specifically, as follows: Figure 9 As shown, the terminal includes a vehicle controller (equivalent to a motor controller), a DC-DC converter, and a vehicle power source. The vehicle controller includes an on-board computing unit, and a power prediction algorithm (equivalent to the motor power prediction algorithm in step 202) or a power prediction model (equivalent to the motor power prediction model in step 202) is pre-stored in the on-board computing unit. The vehicle power source includes a fuel cell system (equivalent to the main power source) and a power battery (equivalent to the auxiliary power source).
[0125] During power prediction, the onboard computing unit determines the sampling time based on the initial sampling time and the preset sampling period, and obtains the historical power demand of the vehicle controller at the sampling time (equivalent to the historical motor power within a historical period). Based on the historical motor power within the historical period and the power prediction algorithm (or power prediction model), the onboard computing unit predicts the predicted power demand of the vehicle controller within the prediction period (equivalent to the predicted motor power).
[0126] During the power allocation adjustment process, the vehicle controller obtains the target predicted motor power from each predicted power demand, and performs power allocation calculation (equivalent to step 502) and power adjustment processing (equivalent to steps 504 to 506) on the target predicted motor power to obtain the target allocated power of the fuel cell (equivalent to the target allocated power of the main power source). Based on the vehicle power source status monitoring data sent by the vehicle power source, the power demand determined based on driver behavior (or actual road conditions and vehicle speed), and the target allocated power of the fuel cell, the vehicle controller calculates the target allocated power of the power battery (equivalent to the target allocated power of the auxiliary power source) (equivalent to step 206). The vehicle power source status monitoring data includes, but is not limited to, the fuel cell voltage and current, air compressor speed, cathode circulation pump speed, airflow into the stack, power battery voltage, power battery current, power battery state of charge, and power battery temperature. The power demand determined based on driver behavior (or actual road conditions and vehicle speed) is equivalent to the actual total power of the target object at the second target time. The vehicle controller sends the target allocated power of the fuel cell and the target allocated power of the power battery to the DC-DC converter.
[0127] During the power distribution adjustment process, the DC converter controls the power output of the fuel cell according to the target power allocation of the fuel cell, and the DC converter controls the power output of the power battery according to the target power allocation of the power battery (equivalent to step 208).
[0128] Regarding the power distribution adjustment process, it is also possible to enter... Figure 10 As shown.
[0129] The vehicle controller performs power allocation calculations based on the target predicted motor power, accessory power, power battery status data, and fuel cell status data. It then corrects the power allocation calculation results based on the fuel cell's rated power to obtain the fuel cell's first allocated power P1 (equivalent to the first allocated power of the main power source).
[0130] The vehicle controller corrects the first power allocation P1 based on the operating condition limit power determined by the fuel cell operating conditions to obtain the second power allocation P2 of the fuel cell (equivalent to the second power allocation of the main power source).
[0131] The vehicle controller, based on the voltage-limited power determined by the fuel cell voltage, corrects the second power allocation P2 to obtain the fuel cell's allocated power P. s1 (Equivalent to the power distribution of the main power source).
[0132] The vehicle controller distributes power P based on the fuel cell. s1 The actual power P of the fuel cell c (Equivalent to the actual power of the main power source at the first target moment), the pre-stored formula (2) and the pre-stored formula (3) are used to calculate the target power distribution P of the fuel cell. s2 (Target power allocation of the active power source during the forecast period).
[0133] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0134] Based on the same inventive concept, this application also provides a power output device for implementing the power output method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more power output device embodiments provided below can be found in the limitations of the power output method described above, and will not be repeated here.
[0135] In one embodiment, such as Figure 11 As shown, a power output device is provided, comprising:
[0136] The prediction module 1102 is used to obtain the historical motor power of the target object in the historical period according to the preset sampling period, and to determine the predicted motor power of the target object in the prediction period according to the historical motor power in the historical period.
[0137] The first allocation module 1104 is used to obtain the target predicted motor power from each predicted motor power at the first target time, and determine the target allocation power of the main power source within the prediction period based on the target predicted motor power; the prediction period includes the second target time, which is any time within the prediction period corresponding to the target allocation power.
[0138] The second allocation module 1106 is used to acquire the actual total power of the target object at the second target time, and determine the target allocation power of the auxiliary power source based on the actual total power and the target allocation power of the main power source.
[0139] The control module 1108 is used to control the power output of the active power source according to the target power allocation of the active power source, and to control the power output of the auxiliary power source according to the target power allocation of the auxiliary power source.
[0140] In one embodiment, the first allocation module 1104 is specifically used for:
[0141] Based on the target predicted motor power, the first allocation power of the main power source is determined, and the first allocation power is positively correlated with the target predicted motor power.
[0142] The first power allocation is corrected based on the power limitation to obtain the power allocation of the main power source;
[0143] Based on the allocated power and the actual power of the active power source at the first target time, the target allocated power of the active power source is determined during the prediction period.
[0144] In one embodiment, the power limitation includes operating condition limitation power and voltage limitation power of the main power source; the first allocation module 1104 is specifically used for:
[0145] Based on the operating condition-limited power, the first power allocation is corrected to obtain the second power allocation for the main power source. Then, based on the voltage-limited power of the main power source, the second power allocation is corrected to obtain the total power allocation for the main power source; or...
[0146] Based on the voltage-limited power of the main power source, the first power allocation is corrected to obtain the third power allocation of the main power source. Based on the operating condition-limited power, the third power allocation is corrected to obtain the power allocation of the main power source.
[0147] In one embodiment, the first allocation module 1104 is specifically used for:
[0148] Acquire status data of accessory power and auxiliary power sources during the forecast period;
[0149] Based on the predicted motor power and accessory power, determine the predicted total power of the target object;
[0150] Based on the predicted total power of the target object and the status data of the auxiliary power source, the first allocated power of the main power source is determined.
[0151] In one embodiment, the prediction module 1102 is specifically used for:
[0152] The sampling time is determined according to the preset sampling period;
[0153] The historical motor power of the target object within a historical time period is obtained at the sampling time.
[0154] In one embodiment, the first allocation module 1104 is specifically used for:
[0155] The first target time is determined based on the sampling time and the preset time interval;
[0156] At the first target time, the predicted motor power at the sampling time that is closest to the first target time is taken as the target predicted motor power.
[0157] In one embodiment, the preset sampling period is less than or equal to the preset time interval, and the preset time interval is less than or equal to the duration corresponding to the prediction period.
[0158] Each module in the aforementioned power output device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0159] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 12As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a power output method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0160] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0161] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.
[0162] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0163] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0164] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0165] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0166] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0167] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A power output method, characterized in that, The method includes: According to the preset sampling period, the historical motor power of the target object in the historical time period is obtained, and the predicted motor power of the target object in the prediction time period is determined based on the historical motor power in the historical time period. The sum of the sampling time and the preset time interval is calculated to obtain the first target time. At the first target time, the predicted motor power corresponding to the sampling time that is closest to the first target time is taken as the target predicted motor power. The preset sampling period is less than or equal to the preset time interval, and the preset time interval is less than or equal to the duration corresponding to the prediction period. The prediction period corresponding to the target predicted motor power includes the time after the first target time. Based on the target predicted motor power, the target power allocation of the main power source within the prediction period is determined; the prediction period includes a second target time, which is any time within the prediction period corresponding to the target power allocation. At the second target time, the actual total power of the target object is obtained, and the target allocation power of the auxiliary power source is determined based on the difference between the actual total power and the target allocation power of the active power source. The power output of the active power source is controlled according to the target allocated power of the active power source, and the power output of the auxiliary power source is controlled according to the target allocated power of the auxiliary power source.
2. The method according to claim 1, characterized in that, The step of determining the target power allocation of the main power source within the prediction period based on the target predicted motor power includes: Based on the target predicted motor power, a first allocated power of the active power source is determined, wherein the first allocated power is positively correlated with the target predicted motor power; The first allocated power is corrected according to the power limitation to obtain the allocated power of the active power source; Based on the allocated power and the actual power of the active power source at the first target time, the target allocated power of the active power source is determined during the predicted time period.
3. The method according to claim 2, characterized in that, The power limitation includes the operating condition power limitation and the voltage power limitation of the active power source; the step of correcting the first allocated power according to the power limitation to obtain the allocated power of the active power source includes: Based on the power limit under the operating conditions, the first allocated power is corrected to obtain the second allocated power of the active power source; and based on the voltage limit power of the active power source, the second allocated power is corrected to obtain the allocated power of the active power source; or, Based on the voltage-limited power of the active power source, the first allocated power is corrected to obtain the third allocated power of the active power source, and based on the operating condition-limited power, the third allocated power is corrected to obtain the allocated power of the active power source.
4. The method according to claim 2, characterized in that, The step of determining the first allocated power of the main power source based on the predicted motor power of the target includes: Obtain the power of the accessories and the status data of the auxiliary power source during the prediction period; Based on the target predicted motor power and the accessory power, determine the predicted total power of the target object; The first allocated power of the main power source is determined based on the predicted total power of the target object and the state data of the auxiliary power source.
5. The method according to any one of claims 1 to 4, characterized in that, The step of obtaining the historical motor power of the target object within a historical time period according to a preset sampling period includes: The sampling time is determined according to the preset sampling period; The historical motor power of the target object within the historical time period is obtained at the sampling time.
6. The method according to claim 5, characterized in that, Determining the predicted motor power of the target object within the prediction period includes: Based on the historical motor power and motor power prediction algorithm within the historical time period, the predicted motor power of the target object within the prediction time period is calculated; The motor power prediction algorithm is obtained by data fitting based on a sample motor power set; the sample motor power set includes multiple historical power subsets and the predicted power of the corresponding historical power subsets.
7. The method according to claim 5, characterized in that, Determining the predicted motor power of the target object within the prediction period includes: The historical motor power of each of the historical periods is simultaneously input into the motor power prediction model to obtain the predicted motor power of the target object in the prediction period; wherein, the motor power prediction model is a long short-term memory network.
8. A power output device, characterized in that, The device includes: The prediction module is used to obtain the historical motor power of the target object in a historical period according to a preset sampling period, and to determine the predicted motor power of the target object in the prediction period based on the historical motor power in the historical period. The first allocation module is used to calculate the sum of the sampling time and the preset time interval to obtain a first target time. At the first target time, the predicted motor power corresponding to the sampling time that is closest to the first target time among the predicted motor powers corresponding to each sampling time is taken as the target predicted motor power. The preset sampling period is less than or equal to the preset time interval, and the preset time interval is less than or equal to the duration corresponding to the prediction period. The prediction period corresponding to the target predicted motor power includes times after the first target time. Based on the target predicted motor power, the target allocation power of the active power source within the prediction period is determined. The prediction period includes a second target time, which is any time within the prediction period corresponding to the target allocation power. The second allocation module is used to acquire the actual total power of the target object at the second target time, and determine the target allocation power of the auxiliary power source based on the difference between the actual total power and the target allocation power of the active power source. The control module is used to control the power output of the active power source according to the target power allocation of the active power source, and to control the power output of the auxiliary power source according to the target power allocation of the auxiliary power source.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.