CN112721743A - Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode - Google Patents

Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode Download PDF

Info

Publication number
CN112721743A
CN112721743A CN202110154348.6A CN202110154348A CN112721743A CN 112721743 A CN112721743 A CN 112721743A CN 202110154348 A CN202110154348 A CN 202110154348A CN 112721743 A CN112721743 A CN 112721743A
Authority
CN
China
Prior art keywords
fuel cell
data
power
hydrogen
working mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110154348.6A
Other languages
Chinese (zh)
Other versions
CN112721743B (en
Inventor
周宁
周建新
任乃昂
林壮川
刘洋
黄常杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Guangshun New Energy Power Technology Co ltd
Guangdong Lanh Technology Co ltd
Wuhan University of Technology WUT
Original Assignee
Guangdong Guangshun New Energy Power Technology Co ltd
Wuhan University of Technology WUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Guangshun New Energy Power Technology Co ltd, Wuhan University of Technology WUT filed Critical Guangdong Guangshun New Energy Power Technology Co ltd
Priority to CN202110154348.6A priority Critical patent/CN112721743B/en
Publication of CN112721743A publication Critical patent/CN112721743A/en
Application granted granted Critical
Publication of CN112721743B publication Critical patent/CN112721743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/30Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling fuel cells
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/40Application of hydrogen technology to transportation, e.g. using fuel cells

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Sustainable Energy (AREA)
  • Power Engineering (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Fuel Cell (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The application provides a fuel cell automobile remaining mileage prediction method based on a charging-hydrogen using mode, which has the technical scheme key points that: the method comprises the following steps: acquiring historical data of a fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery, the gas pressure data and the gas temperature data in the hydrogen bottle; dividing historical data of the fuel cell vehicle according to the working mode of the fuel cell vehicle, and calculating to obtain the average speed in the corresponding working mode; calculating the data divided according to the working mode to obtain the mass of the residual hydrogen; and calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode. The method for predicting the remaining mileage of the fuel cell automobile based on the charging-hydrogen using mode has the advantage of accurately predicting the remaining mileage of the fuel cell automobile according to different work types and modes.

Description

Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode
Technical Field
The application relates to the technical field of traffic, in particular to a method for predicting remaining mileage of a fuel cell automobile based on a charging-hydrogen using mode.
Background
With the continuous development of science and technology and the increasing prosperity of daily life, the problem of environmental pollution and the problem of energy become the problems which are urgently needed to be solved in the current era. The improvement of living standard can not leave the traffic which is more and more convenient nowadays, the traditional fuel oil automobile is an important provider of environmental pollution, the problem of environmental pollution can be effectively relieved by using new energy, the use of fossil energy can be reduced by using the new energy, and the problem of shortage of non-renewable resources such as petroleum and the like is relieved. Nowadays, hydrogen energy is used as a new energy source, and is increasingly put into automobile use due to the advantages of environmental protection, good combustion performance and the like, so that the hydrogen energy has broad application prospects.
The hundred kilometers of energy consumption is one of the most important energy indexes of the fuel cell automobile, namely the mass of hydrogen consumed by the hydrogen energy automobile within one hundred kilometers, and the residual mileage of the fuel cell automobile can be predicted through the index. The fuel cell automobile has self parameters including energy consumption of hundreds of kilometers before leaving the factory, but the measured energy consumption index of hundreds of kilometers is the result obtained when the fuel cell is in a stable state, and only has reference value. However, in the actual operation process of the fuel cell vehicle, the state of the fuel cell is constantly changing and is in an unstable state, and meanwhile, the consumption of the hydrogen quality is relevant to the driving road condition of the vehicle. Therefore, the energy consumption of a hydrogen energy automobile in hundreds of kilometers in the actual driving process is not a stable value, but changes from moment to moment along with relevant external factors. The prediction of the remaining mileage is meaningful and the driver can take appropriate route planning.
Currently, the residual mileage of the fuel cell automobile is less researched. The conventional method comprises the steps of calculating the mass M1 of the residual hydrogen in the hydrogen storage bottle by detecting the gas pressure P and the gas temperature T in the hydrogen storage bottle and combining the capacity V of the hydrogen storage bottle; detecting the current hydrogen consumption rate M of the fuel cell automobile, and calculating the time t from the current speed u to the hydrogen quality lower limit value M0 of the hydrogen storage bottle according to the t-M (M1-M0)/M; and finally, predicting the remaining mileage S of the automobile according to the result that the S is equal to the ut. However, in real life, the state of the fuel cell vehicle is constantly changing, for example, the vehicle is frequently started and stopped when a road is congested, and the operation mode is changed. The proposed method does not lead to a good prediction result.
In view of the above problems, improvements are needed.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method for predicting remaining mileage of a fuel cell vehicle based on a charging-hydrogen mode, which has an advantage of accurately predicting the remaining mileage of the fuel cell vehicle according to different work patterns.
In a first aspect, an embodiment of the present application provides a method for predicting remaining mileage of a fuel cell vehicle based on a charge-hydrogen mode, which is used for predicting remaining mileage of the fuel cell vehicle, and the technical solution is as follows:
the method comprises the following steps:
acquiring historical data of a fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery, and the gas pressure data and the gas temperature data in the hydrogen bottle;
dividing the historical data of the fuel cell vehicle according to the working mode of the fuel cell vehicle, and calculating to obtain the average speed in the corresponding working mode;
calculating the data divided according to the working mode to obtain the mass of the residual hydrogen;
and calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode.
Further, in the embodiment of the present application, the operation mode of the fuel cell vehicle is divided according to the output power of the power battery and the output power of the fuel cell, and includes:
a first type of operating mode, wherein the power battery power is positive and the fuel battery power is zero;
in a second type of working mode, the power battery power is zero, and the fuel battery power is positive;
in a third type of working mode, the power of the power battery is positive, and the power of the fuel battery is positive;
and in a fourth working mode, the power battery power is negative, and the fuel battery power is positive.
Further, in the embodiment of the present application, the step of dividing the history data of the fuel cell vehicle according to the operation mode of the fuel cell vehicle includes:
cleaning historical data of the fuel cell automobile;
the cleaning step at least comprises the following steps:
deleting or assigning the data with missing values;
deleting the repeated data;
deleting or assigning data with abnormal data values;
and deleting the irrelevant data.
Further, in the embodiment of the present application, before inputting the data divided according to the operation mode into the neural network so as to output the data to obtain the remaining hydrogen quality, the method further includes the following steps:
and carrying out standardization processing or normalization processing on the data divided according to the working mode.
Further, in this embodiment of the present application, the step of calculating the remaining hydrogen mass according to the data divided by the operation mode includes:
inputting the data divided according to the working mode into a neural network so as to output the data to obtain the residual hydrogen quality;
the method at least comprises the following steps:
dividing the data after the normalization processing into a training set and a test set;
inputting the training set into a neural network for training;
inputting the test set into a trained neural network so as to output the residual hydrogen quality.
Further, in the embodiment of the present application, the division ratio of the training set to the test set is 7: 3.
Further, in the embodiment of the present application, the neural network is an LSTM neural network.
Further, the present application provides an apparatus for predicting remaining mileage, including:
the first acquisition module is used for acquiring historical data of the fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery, and the gas pressure data and the gas temperature data in the hydrogen bottle;
the first processing module is used for dividing the historical data of the fuel cell automobile according to the working mode of the fuel cell automobile and calculating to obtain the average speed in the corresponding working mode;
the second processing module is used for calculating the data divided according to the working mode to obtain the mass of the residual hydrogen;
and the third processing module is used for calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode.
Further, the present application also provides an electronic device, which includes a processor and a memory, where the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, perform the steps of the method as described above.
Further, the present application also provides a storage medium having a computer program stored thereon, which, when being executed by a processor, performs the steps of the method as described above.
As can be seen from the above, the method, the device, the electronic device and the storage medium for predicting the remaining mileage of the fuel cell vehicle based on the hydrogen charging-using mode provided by the embodiments of the present application acquire historical data of the fuel cell vehicle; cleaning historical data of the fuel cell vehicle; dividing the cleaned data according to the working mode of the fuel cell vehicle, and calculating to obtain the average speed in the corresponding working mode; inputting the data divided according to the working mode into a neural network so as to output the data to obtain the residual hydrogen quality; and calculating the remaining mileage according to the mass of the remaining hydrogen and the average speed in the current working mode, and having the beneficial effect of accurately predicting the remaining mileage of the fuel cell automobile according to different work models.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
Fig. 1 is a flowchart of a method for predicting remaining mileage of a fuel cell vehicle based on a charge-hydrogen mode according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an apparatus for predicting remaining mileage according to an embodiment of the present disclosure.
Fig. 3 is a schematic view of an electronic device according to an embodiment of the present application.
Fig. 4 is a diagram of the internal structure of the LSTM neural network provided in the embodiment of the present application.
Fig. 5 is a flowchart of the operation mode division provided in the embodiment of the present application.
In the figure: 210. a first acquisition module; 220. a first processing module; 230. a second processing module; 240. a third processing module; 300. an electronic device; 310. a processor; 320. a memory.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, a method for predicting remaining mileage of a fuel cell vehicle based on a charge-hydrogen mode is used for predicting remaining mileage of a fuel cell vehicle, and the technical solution specifically includes:
s110, acquiring historical data of the fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or related data capable of calculating the power of the fuel cell and the power of the power battery, such as voltage data, current data, gas pressure data and gas temperature data in a hydrogen bottle;
s120, dividing historical data of the fuel cell automobile according to the working mode of the fuel cell automobile, and calculating to obtain the average speed in the corresponding working mode; wherein the data is washed before being divided.
S130, inputting and calculating the data divided according to the working mode to obtain the mass of the residual hydrogen; the mode of calculating the residual hydrogen mass can adopt a mode of neural network calculation.
And S140, calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode.
Through the technical scheme, the historical data of the fuel cell automobile is collected, then the historical data is cleaned, a new data set is obtained after cleaning, and in some specific embodiments, the characteristics of the cleaned new data set are shown in the following table:
traceTime time of data acquisition
totalCurrent Total current of power battery (A)
totalVoltage Total voltage of power battery (V)
Soc Power battery SOC (%)
vehicle Status Vehicle state
fuelBatteryCurrent Fuel cell current (A)
fuelBatteryVoltage Voltage (V) of fuel cell
fuelBatteryPower Fuel cell power (kW)
hydrogenMaxPressure Highest pressure of hydrogen (MPa)
hydrogenSystemMaxTemperature Maximum temperature in Hydrogen System (. degree. C.)
vehicleSpeed Vehicle speed (KM/H)
Mileage Mileage displayed by watch (KM)
motorStatus State of the electric machine
motorVoltage Driving machine voltage (V)
motorBusCurrent DC bus current of motor controller (A)
The above table shows the features that remain after data cleansing. And after the data washing is finished, recombining and dividing the washed data according to the working modes, and calculating the average speed of the automobile in each working mode. Combining the gas pressure P and the gas temperature T in the hydrogen storage bottle, the known capacity V of the hydrogen storage bottle of the fuel cell automobile is a fixed value known in advance, the molar mass MH2 of hydrogen and an ideal gas constant R, the mass M1 of the hydrogen left in the hydrogen storage bottle is calculated according to the formula M1-PVMH 2/RT, and the mass of the hydrogen left is used as a new characteristic column of a data set. The dimensions of the data set of the table above are now expanded from 15 to 16 dimensions. And finally, inputting the data set into a neural network to predict a residual hydrogen mass curve, and calculating the time when the residual hydrogen quantity in the hydrogen storage tank of the fuel cell automobile is reduced to a threshold value insufficient for providing automobile power according to the predicted residual hydrogen mass curve. The remaining mileage is predicted by multiplying this time by the average speed of the current operation mode.
Referring to fig. 5, in some embodiments, the operation modes of the fuel cell vehicle are divided according to the output power of the power battery and the fuel cell, and include:
the first kind of working mode, the power of the power battery is positive, the power of the fuel cell is zero;
in the second type of working mode, the power of the power battery is zero, and the power of the fuel battery is positive;
in a third working mode, the power of the power battery is positive, and the power of the fuel battery is positive;
in the fourth type of operation, the power battery power is negative and the fuel cell power is positive.
And then dividing the cleaned data according to a first class working mode, a second class working mode, a third class working mode and a fourth class working mode.
According to the technical scheme, the cleaned data set is divided into four types according to the charging-hydrogen using working mode of the fuel cell automobile, the average speed of the automobile under the first type of working mode, the second type of working mode, the third type of working mode and the fourth type of working mode is calculated, and because the state of the fuel cell is constantly changed and is in an unstable state in the actual running process of the automobile, and meanwhile, the road condition of the running automobile with the consumption of hydrogen quality is closely related, the working modes are divided according to the output power of the automobile power cell and the fuel cell, the consumption condition of the hydrogen quality of the automobile can be more accurately reflected, and the accuracy of the subsequent remaining mileage prediction is improved.
In some of these embodiments, the step of cleansing the historical data of the fuel cell vehicle includes at least:
deleting or assigning the data with missing values;
deleting the repeated data;
deleting or assigning data with abnormal data values;
and deleting the irrelevant data.
Through the technical scheme, in the process of acquiring data, the data acquired by the sensor on the fuel cell automobile is not very stable and accurate data, sometimes fluctuation or even wrong data exists, and in order to reduce the influence of abnormal data, the data needs to be cleaned. The method specifically comprises the following steps:
the data item is missing. There may be missing values in a piece of data, possibly due to sensor failure or transmission errors, etc. If the missing items have no effect on the data, the data may be deleted or appropriate values may be assigned to the missing items. In some embodiments, the assignment may be a specified value assigned to a preset.
The data item repeats. Some data may be the same, repeated data items may cause the efficiency of the algorithm to be reduced, and for repeated data, unnecessary data items may be deleted as required.
The data value is abnormal. Some data values may have obvious abnormality, for example, the power of the fuel cell suddenly jumps to a large value and then suddenly drops to a normal value, the abnormal data can have adverse effect on the subsequent algorithm, and the abnormal data can be deleted or assigned with a normal value according to the previous and subsequent data. In some embodiments, the assignment may be based on an average of previous and subsequent data.
An unrelated data item. The sensors will also collect some data items that are not related to the algorithm during the data collection process. Such as a unique identification of the vehicle, license plate number, latitude and longitude, etc. For these irrelevant data, deletion may be performed in order to speed up the algorithm.
The reasonable data cleaning operation can enable the data set to be more accurate, and adverse effects of abnormal data on a later algorithm are avoided. And after the irrelevant data items are deleted and the data dimensionality is reduced, the operation efficiency of the algorithm can be improved, the operation time is reduced, and the remaining mileage can be predicted more timely.
In some embodiments, before inputting the data divided according to the operation mode into the neural network so as to output the data to obtain the residual hydrogen quality, the method further comprises the following steps:
and carrying out standardization processing or normalization processing on the data divided according to the working mode.
According to the technical scheme, after the cleaned data are divided according to the working mode, standardization processing or normalization processing is carried out, and after the working mode is divided, when the dimensions of the characteristics of the original data on different dimensions are not consistent, the data need to be preprocessed in a standardization step. Because different dimension scales can cause imbalance of data weight in the algorithm, the data with larger dimension can occupy larger weight to cause adverse effect. Therefore, the raw data needs to be normalized, the data with abnormal values and excessive noise is generally normalized, the output result has a range requirement, or the data is relatively stable and is normalized when no extreme maximum or minimum value exists, and under comprehensive consideration, the data is preferably preprocessed by normalization.
In some embodiments, min-max normalization is used, and the formula is as follows:
Figure DEST_PATH_IMAGE002
after normalization, the data are distributed in a [0, 1] interval, x is original data, max is the maximum value in the original data, min is the minimum value in the original data, and x1 is the value after normalization, and data dimension is balanced through a min-max normalization operation.
In some embodiments, the step of inputting the data divided according to the operation mode into the neural network so as to output the remaining hydrogen quality comprises:
dividing the data after the normalization processing or normalization processing into a training set and a test set according to the proportion of 7: 3;
inputting the training set into a neural network for training;
inputting the test set into the trained neural network so as to output the residual hydrogen quality.
Wherein, the neural network is an LSTM neural network.
By the technical scheme, the LSTM is an improved recurrent neural network, and the problem that the RNN cannot process long-term dependence can be solved. The hidden layer of the original RNN has only one state, h, which is very sensitive to short-term input. A further state, c, is added to allow it to be stored for a long period of time, called the cellular state.
Referring to FIG. 4, at time t, there are three inputs to the LSTM: input values of the network at the present moment
Figure DEST_PATH_IMAGE004
Last time LSTM output value
Figure DEST_PATH_IMAGE006
And the state of the cell at the previous time
Figure DEST_PATH_IMAGE008
(ii) a The output of the LSTM is two: current time LSTM output value
Figure DEST_PATH_IMAGE010
And the cell state at the current time
Figure DEST_PATH_IMAGE012
The key to LSTM is the cell state c, which requires three gates to protect and control.
The first is a forgetting gate, and the formula is:
Figure DEST_PATH_IMAGE014
the door will read
Figure 459728DEST_PATH_IMAGE006
And
Figure 908027DEST_PATH_IMAGE004
a number between 0 and 1 is output.
The second is the input gate, with the formula:
Figure DEST_PATH_IMAGE016
Figure DEST_PATH_IMAGE018
Figure 818258DEST_PATH_IMAGE006
and
Figure 72521DEST_PATH_IMAGE004
the old cell state is updated after passing the input gate,
Figure 886894DEST_PATH_IMAGE008
is updated to
Figure 974935DEST_PATH_IMAGE012
. The formula is as follows:
Figure DEST_PATH_IMAGE020
the third is an output gate, and the formula is:
Figure DEST_PATH_IMAGE022
Figure DEST_PATH_IMAGE024
output of
Figure 897761DEST_PATH_IMAGE010
As input to the LSTM unit at the next instant.
In the above formula
Figure DEST_PATH_IMAGE026
Denotes a sigmoid function, b denotes an offset, W denotes a corresponding weight matrix, and tanh denotes a tanh activation function.
I.e. the data that we have entered,
Figure 627820DEST_PATH_IMAGE010
initializing the LSTM network for the output values we need
Figure DEST_PATH_IMAGE028
And
Figure DEST_PATH_IMAGE030
inputting the first sample in the data set, and controlling the amount of the first sample in the data set through the forgetting gate and the input gate
Figure DEST_PATH_IMAGE032
And information input of, in conjunction with
Figure 545966DEST_PATH_IMAGE030
Is updated to
Figure DEST_PATH_IMAGE034
Then will be
Figure 70488DEST_PATH_IMAGE034
Output through an output gate
Figure DEST_PATH_IMAGE036
Figure 152714DEST_PATH_IMAGE034
And
Figure 420884DEST_PATH_IMAGE036
as input to the next LSTM unit, the second sample in the data set is combined
Figure DEST_PATH_IMAGE038
To obtain an updated value
Figure DEST_PATH_IMAGE040
And
Figure DEST_PATH_IMAGE042
and so on.
The invention divides the normalized data set into a training set test setThe training set is
Figure 537744DEST_PATH_IMAGE004
Inputting an LSTM network for training, inputting a test set after the network is trained to obtain the residual hydrogen quality of an output value, drawing a residual hydrogen quality curve, and calculating the time for reducing the residual hydrogen amount in a hydrogen storage tank of the fuel cell automobile to a threshold value insufficient for providing automobile power. The remaining mileage is predicted by multiplying this time by the average speed of the current operation mode.
Specifically, in some embodiments, a training set is input into the LSTM network, the input data is a tensor, a sliding window is used for data sampling, the time step of the network is set to 10, that is, the length of the sliding window is 10, the data set is a data set with dimensions expanded from 15 to 16 dimensions, wherein the acquisition time traceTime is not used as a feature, the residual hydrogen mass M1 is used as a label to calculate the LSTM network loss so as to achieve a better effect of training the network, and in addition, the data set has 14-dimensional features, so that the width of the sliding window is 14, that is, the input matrix is 10 × 14, the learning rate is set to 0.01, the batch size is set to 64, and the optimizer is Adam, and the loss function is mse, thereby training the LSTM network.
And inputting the test set into a matrix of 10 x 14 according to the same sliding window method of the training set, inputting the trained LSTM network, and predicting a residual hydrogen quality curve.
In some embodiments, the automobile is provided with a navigation system, road traffic conditions between the current location and the destination are predicted according to the navigation system, a driving mode of the automobile from the current location to the destination is predicted according to the road traffic conditions, and the remaining mileage of the automobile can be predicted and calculated according to the predicted driving mode of the automobile and the average speed in each mode and the current remaining hydrogen quality. The navigation system is a conventional navigation system on the market at present.
Further, referring to fig. 2, the present application further provides an apparatus for predicting remaining mileage, including:
a first acquisition module 210 for acquiring historical data of the fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery, and the gas pressure data and the gas temperature data in the hydrogen bottle;
the first processing module 220 is configured to divide historical data of the fuel cell vehicle according to a working mode of the fuel cell vehicle, and calculate an average speed in the corresponding working mode; wherein the data is washed before being divided.
The second processing module 230 is configured to calculate data divided according to the working mode to obtain the remaining hydrogen mass; the mode of calculating the residual hydrogen mass can adopt a mode of neural network calculation.
A third processing module 240, configured to calculate a remaining mileage according to the remaining hydrogen mass and an average speed in a current operating mode
Through the above technical solution, the first obtaining module 210 is used to collect historical data of the fuel cell vehicle, and then the first processing module 220 cleans the historical data to obtain a new data set, where in some specific embodiments, characteristics of the cleaned new data set are as shown in the following table:
traceTime time of data acquisition
totalCurrent Total current of power battery (A)
totalVoltage Total voltage of power battery (V)
Soc Power battery SOC (%)
vehicle Status Vehicle state
fuelBatteryCurrent Fuel cell current (A)
fuelBatteryVoltage Voltage (V) of fuel cell
fuelBatteryPower Fuel cell power (kW)
hydrogenMaxPressure Highest pressure of hydrogen (MPa)
hydrogenSystemMaxTemperature Maximum temperature in Hydrogen System (. degree. C.)
vehicleSpeed Vehicle speed (KM/H)
Mileage Mileage displayed by watch (KM)
motorStatus State of the electric machine
motorVoltage Driving machine voltage (V)
motorBusCurrent DC bus current of motor controller (A)
The above table shows the features that remain after data cleansing. And after the data washing is finished, recombining and dividing the washed data according to the working modes, and calculating the average speed of the automobile in each working mode. According to the combination of the gas pressure P and the gas temperature T in the hydrogen storage bottle, the known volume V of the hydrogen storage bottle of the fuel cell automobile, the molar mass MH2 of hydrogen and an ideal gas constant R, the mass M1 of the hydrogen left in the hydrogen storage bottle is calculated according to the formula M1-PVMH 2/RT, and the mass of the left hydrogen is used as a new characteristic list of a data set. The dimensions of the data set of the table above are now expanded from 15 to 16 dimensions. And inputting the data set into a neural network to predict a residual hydrogen mass curve, and calculating the time when the residual hydrogen quantity in the hydrogen storage tank of the fuel cell automobile is reduced to a threshold value insufficient for providing automobile power according to the predicted residual hydrogen mass curve. The remaining mileage is predicted by multiplying this time by the average speed of the current operation mode.
Further, the first processing module 220 divides the data according to the operation mode of the fuel cell vehicle, which is divided according to the output power of the power battery and the output power of the fuel cell, and includes:
the first kind of working mode, the power of the power battery is positive, the power of the fuel cell is zero;
in the second type of working mode, the power of the power battery is zero, and the power of the fuel battery is positive;
in a third working mode, the power of the power battery is positive, and the power of the fuel battery is positive;
in the fourth type of operation, the power battery power is negative and the fuel cell power is positive.
Further, the step of the first processing module 220 cleaning the history data of the fuel cell vehicle includes:
deleting or assigning the data with missing values;
deleting the repeated data;
deleting or assigning data with abnormal data values;
and deleting the irrelevant data.
Further, before the second processing module 230 inputs the data divided according to the operation mode into the neural network so as to output the data to obtain the remaining hydrogen quality, the method further includes:
the second processing module 230 performs normalization processing or normalization processing on the data divided according to the operation mode.
Further, the inputting, by the second processing module 230, the data divided according to the operation mode into the neural network so as to output the remaining hydrogen quality includes:
dividing the data after the normalization processing or normalization processing into a training set and a test set according to the proportion of 7: 3;
inputting the training set into a neural network for training;
inputting the test set into the trained neural network so as to output the residual hydrogen quality.
Further, referring to fig. 3, the present application also provides an electronic device 300, which includes a processor 310 and a memory 320, wherein the memory 320 stores computer-readable instructions, and the computer-readable instructions, when executed by the processor 310, perform the steps of the above-mentioned method.
By the above technical solution, the processor 310 and the memory 320 are interconnected and communicate with each other through a communication bus and/or other form of connection mechanism (not shown), and the memory 320 stores a computer program executable by the processor 310, and when the computing device runs, the processor 310 executes the computer program to execute the method in any optional implementation manner of the foregoing embodiment to implement the following functions: acquiring historical data of a fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery; cleaning historical data of the fuel cell vehicle; dividing the cleaned data according to the working mode of the fuel cell vehicle, and calculating to obtain the average speed in the corresponding working mode; inputting the data divided according to the working mode into a neural network so as to output the data to obtain the residual hydrogen quality; and calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode.
Further, the present application also provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to execute the steps of the above method.
Through the technical scheme, when being executed by a processor, the computer program executes the method in any optional implementation manner of the embodiment to realize the following functions: acquiring historical data of a fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery; cleaning historical data of the fuel cell vehicle; dividing the cleaned data according to the working mode of the fuel cell vehicle, and calculating to obtain the average speed in the corresponding working mode; inputting the data divided according to the working mode into a neural network so as to output the data to obtain the residual hydrogen quality; and calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode. The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (7)

1. A remaining mileage predicting method for a fuel cell vehicle based on a charge-hydrogen mode, for predicting a remaining mileage of the fuel cell vehicle, comprising:
acquiring historical data of a fuel cell vehicle; the historical data of the fuel cell automobile at least comprises the power of the fuel cell, the power of the power battery or the related data capable of calculating the power of the fuel cell and the power of the power battery, and the gas pressure data and the gas temperature data in the hydrogen bottle;
dividing the historical data of the fuel cell vehicle according to the working mode of the fuel cell vehicle, and calculating to obtain the average speed in the corresponding working mode;
calculating the data divided according to the working mode to obtain the mass of the residual hydrogen;
and calculating the remaining mileage according to the remaining hydrogen mass and the average speed in the current working mode.
2. The method for predicting the remaining mileage of a fuel cell vehicle based on a charge-with-hydrogen mode as set forth in claim 1, wherein the operating mode of the fuel cell vehicle is divided according to the output powers of the power cell and the fuel cell, and comprises:
a first type of operating mode, wherein the power battery power is positive and the fuel battery power is zero;
in a second type of working mode, the power battery power is zero, and the fuel battery power is positive;
in a third type of working mode, the power of the power battery is positive, and the power of the fuel battery is positive;
and in a fourth working mode, the power battery power is negative, and the fuel battery power is positive.
3. The method of claim 1, wherein the step of dividing the historical data of the fuel cell vehicle according to the operating mode of the fuel cell vehicle comprises:
cleaning historical data of the fuel cell automobile;
the cleaning step at least comprises the following steps:
deleting or assigning the data with missing values;
deleting the repeated data;
deleting or assigning data with abnormal data values;
and deleting the irrelevant data.
4. The method for predicting the remaining mileage of a fuel cell vehicle based on a charge-hydrogen mode as set forth in claim 1, wherein the step of inputting the data divided according to the operation mode into the neural network to output the remaining hydrogen gas quality further comprises the steps of:
and carrying out standardization processing or normalization processing on the data divided according to the working mode.
5. The method as claimed in claim 4, wherein the step of calculating the remaining hydrogen mass from the data divided according to the operation mode comprises:
inputting the data divided according to the working mode into a neural network so as to output the data to obtain the residual hydrogen quality;
the method at least comprises the following steps:
dividing the data after the normalization processing into a training set and a test set;
inputting the training set into a neural network for training;
inputting the test set into a trained neural network so as to output the residual hydrogen quality.
6. The method of claim 5, wherein the training set and the test set are divided into 7:3 parts.
7. The method of claim 5, wherein the neural network is an LSTM neural network.
CN202110154348.6A 2021-02-04 2021-02-04 Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode Active CN112721743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110154348.6A CN112721743B (en) 2021-02-04 2021-02-04 Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110154348.6A CN112721743B (en) 2021-02-04 2021-02-04 Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode

Publications (2)

Publication Number Publication Date
CN112721743A true CN112721743A (en) 2021-04-30
CN112721743B CN112721743B (en) 2022-10-28

Family

ID=75595771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110154348.6A Active CN112721743B (en) 2021-02-04 2021-02-04 Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode

Country Status (1)

Country Link
CN (1) CN112721743B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113352899A (en) * 2021-07-06 2021-09-07 广东兰氢科技有限公司 XGboost algorithm-based hydrogen fuel cell automobile endurance mileage prediction method
CN113655382A (en) * 2021-06-23 2021-11-16 华北水利水电大学 Method for predicting UPS battery fault based on hydrogen generation rate ratio
CN115453394A (en) * 2022-09-14 2022-12-09 清华大学 Method, apparatus, device and medium for estimating driving mileage of fuel cell vehicle
CN116154239A (en) * 2023-04-14 2023-05-23 湖南省计量检测研究院 Multi-level implementation-based hydrogen fuel cell energy conversion method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006062584A1 (en) * 2006-12-29 2008-07-10 Clean Mobile Gmbh Vehicle e.g. passenger car, drive unit, has computation unit computing route which can be traveled on by vehicle, where drive unit stores electric power in battery while driving vehicle depending on computed route
CN107225985A (en) * 2017-05-08 2017-10-03 江苏理工学院 A kind of real-time predicting method of hydrogen cell automobile remaining mileage
CN109870164A (en) * 2017-12-01 2019-06-11 上海博泰悦臻网络技术服务有限公司 Navigation terminal and its route preferences prediction technique
CN110040038A (en) * 2019-04-24 2019-07-23 中通客车控股股份有限公司 A kind of hydrogen-electricity hybrid fuel cell bus energy management control method and system
CN110667434A (en) * 2019-09-11 2020-01-10 南京航空航天大学 Working condition-adaptive pure electric vehicle driving mileage estimation method and system
CN110889530A (en) * 2018-09-11 2020-03-17 上海博泰悦臻网络技术服务有限公司 Destination prediction method based on recurrent neural network and server
CN111516500A (en) * 2020-04-19 2020-08-11 神龙汽车有限公司 Hybrid electric vehicle endurance mileage prediction method
CN111746352A (en) * 2019-03-29 2020-10-09 北京新能源汽车股份有限公司 Method and device for determining battery of power hybrid electric vehicle and upper computer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006062584A1 (en) * 2006-12-29 2008-07-10 Clean Mobile Gmbh Vehicle e.g. passenger car, drive unit, has computation unit computing route which can be traveled on by vehicle, where drive unit stores electric power in battery while driving vehicle depending on computed route
CN107225985A (en) * 2017-05-08 2017-10-03 江苏理工学院 A kind of real-time predicting method of hydrogen cell automobile remaining mileage
CN109870164A (en) * 2017-12-01 2019-06-11 上海博泰悦臻网络技术服务有限公司 Navigation terminal and its route preferences prediction technique
CN110889530A (en) * 2018-09-11 2020-03-17 上海博泰悦臻网络技术服务有限公司 Destination prediction method based on recurrent neural network and server
CN111746352A (en) * 2019-03-29 2020-10-09 北京新能源汽车股份有限公司 Method and device for determining battery of power hybrid electric vehicle and upper computer
CN110040038A (en) * 2019-04-24 2019-07-23 中通客车控股股份有限公司 A kind of hydrogen-electricity hybrid fuel cell bus energy management control method and system
CN110667434A (en) * 2019-09-11 2020-01-10 南京航空航天大学 Working condition-adaptive pure electric vehicle driving mileage estimation method and system
CN111516500A (en) * 2020-04-19 2020-08-11 神龙汽车有限公司 Hybrid electric vehicle endurance mileage prediction method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113655382A (en) * 2021-06-23 2021-11-16 华北水利水电大学 Method for predicting UPS battery fault based on hydrogen generation rate ratio
CN113655382B (en) * 2021-06-23 2023-11-14 华北水利水电大学 Method for predicting UPS battery fault based on hydrogen generation rate ratio
CN113352899A (en) * 2021-07-06 2021-09-07 广东兰氢科技有限公司 XGboost algorithm-based hydrogen fuel cell automobile endurance mileage prediction method
CN115453394A (en) * 2022-09-14 2022-12-09 清华大学 Method, apparatus, device and medium for estimating driving mileage of fuel cell vehicle
CN116154239A (en) * 2023-04-14 2023-05-23 湖南省计量检测研究院 Multi-level implementation-based hydrogen fuel cell energy conversion method and device
CN116154239B (en) * 2023-04-14 2023-11-21 湖南省计量检测研究院 Multi-level implementation-based hydrogen fuel cell energy conversion method and device

Also Published As

Publication number Publication date
CN112721743B (en) 2022-10-28

Similar Documents

Publication Publication Date Title
CN112721743B (en) Fuel cell automobile remaining mileage prediction method based on charging-hydrogen using mode
US20220179009A1 (en) Method and Apparatus for Operating a System for Providing Predicted States of Health of Electrical Energy Stores for a Device Using Machine Learning Methods
CN113352899B (en) XGboost algorithm-based hydrogen fuel cell automobile endurance mileage prediction method
US20220099743A1 (en) Method and Apparatus for Operating a System for Providing Predicted States of Health of Electrical Energy Stores for a Device Using Machine Learning Methods
US11125822B2 (en) Method for evaluating an electric battery state of health
CN111983457A (en) Battery pack SOH estimation method based on LSTM neural network
CN115943516B (en) Method and device for detecting unbalance of vehicle battery, electronic equipment and storage medium
CN113895307B (en) Method and device for determining remaining mileage, electric vehicle and medium
CN112368198A (en) Vehicle power management system and method
CN112327168A (en) XGboost-based electric vehicle battery consumption prediction method
CN111546941B (en) Method and device for determining remaining mileage of vehicle, vehicle and storage medium
CN116572799B (en) Power battery charge duration prediction method, system and terminal based on deep learning
CN115330267B (en) Battery charging and replacing facility layout method, device, equipment and medium based on demand behaviors
CN113705839B (en) Predictive maintenance method and maintenance system for fuel cell stack
CN107121943B (en) Method and device for obtaining health prediction information of intelligent instrument
CN116804711A (en) Method and apparatus for providing a predicted state of health of a device battery based on a predicted usage pattern
CN116803749A (en) Method and device for selecting battery-operated technical devices on the basis of a user's usage profile
CN112765726B (en) Life prediction method and device
CN117665620A (en) New energy automobile data-based battery health evaluation method
CN118050653A (en) Method and device for predicting the battery of a diagnostic device using a multi-element converter model
CN116184214A (en) Online rapid prediction method and device for service life of power battery for vehicle and storage medium
CN116125324A (en) Estimating battery life expectancy in electric and hybrid electric vehicles using battery system parameters
Sugashini et al. Hybrid Deep Learning Algorithm for the State of Charge Prediction of the Lithium-Ion Battery for Electric Vehicles
CN116306214A (en) Method and device for providing an ageing state model for determining the ageing state of an energy store
CN114707037A (en) New energy vehicle energy-saving driving recommendation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221012

Address after: 430070 Hubei Province, Wuhan city Hongshan District Luoshi Road No. 122

Applicant after: WUHAN University OF TECHNOLOGY

Applicant after: GUANGDONG GUANGSHUN NEW ENERGY POWER TECHNOLOGY Co.,Ltd.

Applicant after: Guangdong lanh Technology Co.,Ltd.

Address before: 430070 Hubei Province, Wuhan city Hongshan District Luoshi Road No. 122

Applicant before: WUHAN University OF TECHNOLOGY

Applicant before: GUANGDONG GUANGSHUN NEW ENERGY POWER TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant