Method and device for calculating hydrogen consumption, terminal equipment and storage medium

文档序号:1960189 发布日期:2021-12-14 浏览:21次 中文

阅读说明:本技术 氢耗量计算的方法、装置、终端设备及存储介质 (Method and device for calculating hydrogen consumption, terminal equipment and storage medium ) 是由 王波 吴星成 廉思远 王子剑 陈明 于 2021-08-11 设计创作,主要内容包括:本发明公开了一种氢耗量计算的方法、装置、终端设备及存储介质,所述方法包括:获取氢燃料电池系统在t时刻和(t+k)时刻各自的剩余氢气质量;计算所述氢燃料电池所在车辆从所述t时刻到所述(t+k)时刻的行车里程;根据所述t时刻的剩余氢气质量、所述(t+k)时刻的剩余氢气质量及所述行车里程,计算所述(t+k)时刻的初始百里氢耗量;根据所述t时刻的真实百里氢耗量,对所述(t+k)时刻的初始百里氢耗量进行加权修正,得到所述(t+k)时刻的真实百里氢耗量;其中,当t为0时,所述t时刻的真实百里氢耗量为预设的基准氢耗量。采用本发明,能解决现有技术中氢耗量计算困难、准确度较低的技术问题。(The invention discloses a method, a device, terminal equipment and a storage medium for calculating hydrogen consumption, wherein the method comprises the following steps: acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k); calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment; calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage; according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k); and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption. By adopting the method and the device, the technical problems of difficult calculation of hydrogen consumption and low accuracy in the prior art can be solved.)

1. A method of hydrogen consumption calculation, the method comprising:

acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein both t and k are non-negative numbers;

calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment;

calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage;

according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k);

and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

2. The method according to claim 1, wherein the performing weighted correction on the initial hydrogen consumption at the (t + k) time according to the actual hydrogen consumption at the t time includes:

and performing weighted correction on the initial hundreds of miles hydrogen consumption at the (t + k) moment according to the real hundreds of miles hydrogen consumption at the t moment and the driving mileage to obtain the real hundreds of miles hydrogen consumption at the (t + k) moment.

3. The method of claim 1, wherein calculating the initial hundreds of miles of hydrogen consumption at the time (t + k) based on the remaining hydrogen mass at the time (t), the remaining hydrogen mass at the time (t + k), and the mileage comprises:

calculating the consumed hydrogen mass consumed in the mileage according to the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k);

and calculating the initial hydrogen consumption at the (t + k) moment according to the consumed hydrogen mass and the mileage.

4. The method of claim 1, wherein the calculating the mileage of the vehicle in which the hydrogen fuel cell is located from the time t to the time (t + k) comprises:

acquiring the respective driving speeds of the vehicle where the hydrogen fuel cell system is located at the time t and the time (t + k);

and calculating the driving mileage of the vehicle from the time t to the time (t + k) according to the respective driving speeds of the time t and the time (t + k).

5. The method according to claim 4, wherein the obtaining of the respective traveling speeds of the vehicle in which the hydrogen fuel cell system is located at the time t and the time (t + k) comprises:

receiving the driving speed at the time t and the driving speed at the time (t + k) which are sent by a vehicle body stabilizing system of the vehicle, wherein the driving speeds are obtained by calculation according to the wheel rotating speed and the wheel rolling radius of the vehicle; alternatively, the first and second electrodes may be,

and calculating the running speed at the time t and the running speed at the time (t + k) according to the wheel rotating speed and the wheel rolling radius of the vehicle at the time t and the time (t + k), respectively.

6. The method of claim 1, wherein said obtaining the remaining hydrogen mass of the hydrogen fuel cell system at each of time t and time (t + k) comprises:

receiving the residual hydrogen mass of the hydrogen fuel cell system at the time t and the residual hydrogen mass at the time (t + k) sent by a hydrogen system controller of the vehicle, wherein the residual hydrogen mass is obtained by calculation according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure in the hydrogen fuel cell system; alternatively, the first and second electrodes may be,

and calculating the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k) according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure of the hydrogen fuel cell system at the time t and the time (t + k), respectively.

7. The method of claim 6, wherein the remaining hydrogen mass is:

wherein m is the remaining hydrogen mass, V is the current hydrogen volume, P is the current hydrogen pressure, and T is the current hydrogen temperature.

8. A hydrogen consumption calculation apparatus includes an acquisition module, a calculation module, and a correction module, wherein:

the acquisition module is used for acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein both t and k are non-negative numbers;

the calculation module is used for calculating the mileage of the vehicle in which the hydrogen fuel cell is located from the time t to the time (t + k);

the calculating module is further configured to calculate an initial hydrogen consumption at the (t + k) time according to the remaining hydrogen mass at the t time, the remaining hydrogen mass at the (t + k) time, and the mileage;

the correction module is used for performing weighted correction on the initial hundreds of miles of hydrogen consumption at the (t + k) moment according to the real hundreds of miles of hydrogen consumption at the t moment to obtain the real hundreds of miles of hydrogen consumption at the (t + k) moment;

and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

9. A terminal device, comprising: a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface are connected through the bus and complete mutual communication; the memory stores executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of hydrogen consumption calculation as set forth in any one of claims 1 to 7 above.

10. A computer-readable storage medium characterized by storing a program that executes the method of hydrogen consumption calculation according to any one of claims 1 to 7 when the program is run on a terminal device.

Technical Field

The present invention relates to the field of vehicle technologies, and in particular, to a method and an apparatus for calculating hydrogen consumption, a terminal device, and a storage medium.

Background

In a fuel cell hybrid vehicle, the hydrogen consumption in hundred (kilometers) (kg/100km) is an important performance index, and how to accurately calculate and display the hydrogen consumption in hundred (kilometers) of the vehicle in real time is related to the accurate calculation of the whole cruising mileage of the vehicle and the accurate perception of the economic level of the vehicle, so that the phenomenon that a user complains about the inaccurate display of the hydrogen consumption is avoided.

Compared with the traditional fuel vehicle, the fuel liquid level is directly measured to judge the residual fuel amount and the fuel injection amount of the fuel injection nozzle of the engine is controlled to accurately count the real (actual) fuel consumption, and hydrogen cannot directly measure the so-called liquid level to count the residual amount due to the normal-temperature gaseous characteristics of the hydrogen and can only be converted by measuring the pressure and the temperature of the hydrogen in a certain volume. And due to the design limitation of part of the structure, the pressure pinched by the hydrogen cylinder cannot be measured, and only the pressure in a high-pressure pipeline connected with the hydrogen cylinder can be measured. In addition, the hydrogen supply system is not provided with a flow meter or a structure similar to an oil nozzle, so that the accuracy of hydrogen consumption calculation is low and is very difficult.

Therefore, it is desirable to provide a more accurate hydrogen consumption calculation method.

Disclosure of Invention

The embodiment of the application provides a method, a device, a terminal device and a storage medium for calculating hydrogen consumption, solves the technical problems of difficulty in calculation of hydrogen consumption and low accuracy in the prior art, and realizes more convenient and accurate calculation of hydrogen consumption.

In one aspect, the present application provides a method for calculating hydrogen consumption through an embodiment of the present application, the method including:

acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein both t and k are non-negative numbers;

calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment;

calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage;

according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k);

and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

Optionally, the performing weighted correction on the initial hydrogen consumption at the (t + k) time according to the real hydrogen consumption at the t time, and obtaining the real hydrogen consumption at the (t + k) time includes:

and performing weighted correction on the initial hundreds of miles hydrogen consumption at the (t + k) moment according to the real hundreds of miles hydrogen consumption at the t moment and the driving mileage to obtain the real hundreds of miles hydrogen consumption at the (t + k) moment.

Optionally, the real hundreds of miles hydrogen consumption at the time (t + k) is:

wherein, C(t+k)Is the true hydrogen consumption at said time (t + k), CtAnd B, the actual hydrogen consumption at the time t, A is the initial hydrogen consumption at the time (t + k), and D is the mileage.

Optionally, the calculating the initial hydrogen consumption at the time (t + k) according to the remaining hydrogen mass at the time t, the remaining hydrogen mass at the time (t + k), and the mileage includes:

calculating the consumed hydrogen mass consumed in the mileage according to the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k);

and calculating the initial hydrogen consumption at the (t + k) moment according to the consumed hydrogen mass and the mileage.

Optionally, the initial hundreds of miles hydrogen consumption at the time (t + k) is:

wherein, A is the initial hydrogen consumption at the (t + k) moment, M is the hydrogen consumption mass, and D is the mileage.

Optionally, the calculating the mileage of the vehicle in which the hydrogen fuel cell is located from the time t to the time (t + k) includes:

acquiring the respective driving speeds of the vehicle where the hydrogen fuel cell system is located at the time t and the time (t + k);

and calculating the driving mileage of the vehicle from the time t to the time (t + k) according to the respective driving speeds of the time t and the time (t + k).

Optionally, the obtaining of the respective driving speeds of the vehicle in which the hydrogen fuel cell system is located at the time t and the time (t + k) includes:

receiving the driving speed at the time t and the driving speed at the time (t + k) which are sent by a vehicle body stabilizing system of the vehicle, wherein the driving speeds are obtained by calculation according to the wheel rotating speed and the wheel rolling radius of the vehicle; alternatively, the first and second electrodes may be,

and calculating the running speed at the time t and the running speed at the time (t + k) according to the wheel rotating speed and the wheel rolling radius of the vehicle at the time t and the time (t + k), respectively.

Optionally, the driving speed is:

v=n×60×(2×π×r)

wherein v is the running speed, n is the wheel speed, and r is the wheel radius.

Optionally, the obtaining the remaining hydrogen gas mass of the hydrogen fuel cell system at the respective times t and (t + k) includes:

receiving the residual hydrogen mass of the hydrogen fuel cell system at the time t and the residual hydrogen mass at the time (t + k) sent by a hydrogen system controller of the vehicle, wherein the residual hydrogen mass is obtained by calculation according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure in the hydrogen fuel cell system; alternatively, the first and second electrodes may be,

and calculating the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k) according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure of the hydrogen fuel cell system at the time t and the time (t + k), respectively.

Optionally, the remaining hydrogen mass is:

wherein m is the remaining hydrogen mass, V is the current hydrogen volume, P is the current hydrogen pressure, and T is the current hydrogen temperature.

In another aspect, the present application provides a hydrogen consumption calculation apparatus according to an embodiment of the present application, the apparatus including an acquisition module, a calculation module, and a correction module, wherein:

the acquisition module is used for acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein both t and k are non-negative numbers;

the calculation module is used for calculating the mileage of the vehicle in which the hydrogen fuel cell is located from the time t to the time (t + k);

the calculating module is further configured to calculate an initial hydrogen consumption at the (t + k) time according to the remaining hydrogen mass at the t time, the remaining hydrogen mass at the (t + k) time, and the mileage;

the correction module is used for performing weighted correction on the initial hundreds of miles of hydrogen consumption at the (t + k) moment according to the real hundreds of miles of hydrogen consumption at the t moment to obtain the real hundreds of miles of hydrogen consumption at the (t + k) moment;

and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

For the content that is not introduced or not described in the present application, reference may be made to the related descriptions in the foregoing method embodiments, and details are not described here again.

On the other hand, the present application provides a terminal device according to an embodiment of the present application, including: a processor, a memory, a communication interface, and a bus; the processor, the memory and the communication interface are connected through the bus and complete mutual communication; the memory stores executable program code; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory for performing the method of hydrogen consumption calculation as described above.

On the other hand, the present application provides, by an embodiment of the present application, a computer-readable storage medium storing a program that, when executed on a terminal device, performs the method of hydrogen consumption calculation as described above.

One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: the method comprises the steps of obtaining the residual hydrogen mass of a hydrogen fuel cell system at the time t and the time (t + k); calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment; calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage; according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k); and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption. Therefore, the real hydrogen consumption in hundred (public) can be accurately calculated according to the quality of the residual hydrogen in the hydrogen fuel cell, the convenience and the accuracy of the calculation of the hydrogen consumption are realized, and the technical problems of difficult calculation and low accuracy of the hydrogen consumption in the prior art are solved.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.

Fig. 1 is a schematic view of an internal structure of a hydrogen fuel cell hybrid vehicle according to an embodiment of the present application.

Fig. 2 is a schematic flow chart of a method for calculating hydrogen consumption according to an embodiment of the present application.

Fig. 3 is a schematic flow chart of another method for calculating hydrogen consumption according to the embodiment of the present application.

Fig. 4 is a schematic structural diagram of a hydrogen consumption calculation apparatus according to an embodiment of the present application.

Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.

Detailed Description

The embodiment of the application provides a method for calculating the hydrogen consumption, and solves the technical problems that the hydrogen consumption is difficult to calculate and the accuracy is low in the prior art.

In order to solve the technical problems, the general idea of the embodiment of the application is as follows: acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein both t and k are non-negative numbers; calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment; calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage; according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k); and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments.

First, it is stated that the term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.

Compared with other fuel cell hybrid power vehicle hydrogen consumption calculation methods, the technical problem to be solved by the application is that: on the premise that a hydrogen injection amount metering device and other hardware for accurately measuring the hydrogen flow are not available and the consumption of hydrogen in short time and short distance is not obvious, the hydrogen consumption amount is calculated and displayed more accurately. In order to solve the above technical problems, the technical means adopted by the present application is: and a proper reference hydrogen consumption (value) is set, so that the displayed values of the hydrogen consumption of the vehicle instrument and the initial driving of the driving range are ensured, and the problem that the effective value cannot be accurately displayed for a long time is avoided. On the basis of the reference hydrogen consumption, the mass of the residual hydrogen in the hydrogen bottle is calculated through the temperature and pressure changes in the hydrogen bottle in the hydrogen fuel cell system, the initial hydrogen consumption per hundred miles is calculated through intercepting the difference value of the two in a certain mileage section, and then the initial hydrogen consumption per hundred miles is weighted to the previous reference hydrogen consumption value and used for correcting the initial hydrogen consumption per hundred miles.

Fig. 1 is a schematic view of an internal structure of a fuel cell hybrid vehicle according to an embodiment of the present disclosure. The structure shown in fig. 1 includes: a hydrogen system controller 101 (HMS), a vehicle meter 102 (which may also be referred to as an Integrated Circuit (IC) meter), a body stabilization system 103 (ESC), a hydrogen cylinder 104, a temperature sensor 105 and a pressure sensor 106 disposed in the hydrogen cylinder 104, and a wheel speed sensor 107. Wherein:

the hydrogen system controller HMS 101 is configured to collect the hydrogen gas temperature and the hydrogen gas pressure fed back by the temperature sensor 105 and the pressure sensor 106, calculate the mass of the hydrogen gas remaining in the hydrogen cylinder 104 in real time by combining the hydrogen gas volume in the hydrogen cylinder 104, and feed the mass back to the vehicle meter 102.

The temperature sensor 105 and the pressure sensor 106 are fixed on the hydrogen cylinder valve, and are correspondingly used for acquiring the hydrogen temperature T and the hydrogen pressure P in the cylinder and feeding back the hydrogen temperature T and the hydrogen pressure P to the hydrogen system controller 101. The hydrogen bottle 104 is used for storing hydrogen gas.

The wheel speed sensor 107 is configured to collect a wheel speed (also referred to as a wheel speed signal) of the vehicle and feed the wheel speed back to the body stabilization system ESC 103.

The vehicle body stabilization system ESC103 is configured to calculate and output a real-time driving speed (also referred to as a vehicle speed signal or a current vehicle speed) of the entire vehicle according to the input wheel rotation speed.

The vehicle instrument 102 is configured to receive a driving speed fed back by the body stabilization system ESC103 and a remaining hydrogen mass fed back by the hydrogen system controller HMS 101, and calculate a hydrogen consumption per kilometer per unit mileage according to an initially determined reference (hydrogen consumption per kilometer) (kg/100km) and a real-time initial hydrogen consumption per kilometer.

Based on the schematic structural diagram shown in fig. 1, please refer to fig. 2, which is a schematic flow chart of a method for calculating hydrogen consumption according to an embodiment of the present application. The method shown in fig. 2 is applied to the vehicle meter 102 in the structure shown in fig. 1, and comprises the following implementation steps:

and S201, acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein t and k are non-negative numbers.

The remaining hydrogen mass may be calculated by the vehicle meter 102 itself or by receiving feedback from the hydrogen system controller HMS 101, and is preferably calculated by the hydrogen system controller HMS side, which is described in detail below.

And S202, calculating the mileage of the vehicle with the hydrogen fuel cell from the time t to the time (t + k).

According to the driving mileage calculation method and device, the corresponding driving mileage can be calculated according to the respective driving speeds of the vehicle at the time t and the time (t + k) and the corresponding consumption duration k. The driving speeds at different times can also be calculated by the vehicle instrument 102 itself or can be sent by the vehicle body stabilization system ESC103, and preferably can be calculated specifically by the vehicle body stabilization system ESC103 side, which is described in detail in the present application.

And S203, calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage.

S204, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the (t + k) moment according to the real hundreds of miles of hydrogen consumption at the t moment to obtain the real hundreds of miles of hydrogen consumption at the (t + k) moment; and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

In an embodiment, please refer to fig. 3, which is a schematic flow chart of another hydrogen consumption calculation method provided in the embodiment of the present application. The method as shown in fig. 3 comprises the following implementation steps:

and S301, calculating and obtaining the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k) by the hydrogen system controller HMS 101 according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure of the hydrogen fuel cell system at the time t and the time (t + k).

Specifically, the HMS calculates the remaining hydrogen mass at the time t according to the current hydrogen volume, the current hydrogen temperature, and the current hydrogen pressure of the hydrogen fuel cell system at the time t; and calculating the residual hydrogen mass at the (t + k) moment according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure of the hydrogen fuel cell system at the (t + k) moment.

In one embodiment, the specific calculation of the remaining hydrogen mass is as shown in equation (1):

wherein m is the remaining hydrogen mass, V is the current hydrogen volume, P is the current hydrogen pressure, and T is the current hydrogen temperature.

S302, the vehicle body stabilization system ESC103 calculates and obtains the running speed at the time t and the running speed at the time (t + k) according to the respective wheel rotating speed and wheel rolling radius of the vehicle at the time t and the time (t + k).

The wheel speed is that the wheel speed sensor 107 gathers. The ESC can calculate the running speed at the time t according to the wheel rotating speed and the wheel rolling radius of the vehicle at the time t; and calculating the running speed at the (t + k) moment according to the wheel rotating speed and the wheel rolling radius of the vehicle at the (t + k) moment.

In one embodiment, the driving speed is calculated as shown in the following formula (2):

formula (2) is n × 60 × (2 × pi × r)

Wherein v is the driving speed, n is the wheel rotation speed, and r is the wheel rolling radius.

And S303, the vehicle instrument 102 calculates the driving mileage of the vehicle from the time t to the time (t + k) according to the driving speeds of the time t and the time (t + k).

Specifically, the driving mileage D is calculated according to the respective driving speeds of the vehicle at the time t and the time (t + k) and the driving duration k.

S304, the vehicle meter 102 calculates the consumed hydrogen mass M consumed within the driving range D according to the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k). Wherein the consumed hydrogen mass M is equal to the remaining hydrogen mass at the time t minus the remaining hydrogen mass at the time (t + k).

S305, calculating the initial hydrogen consumption A at the (t + k) moment by the vehicle instrument 102 according to the consumed hydrogen mass M and the mileage D.

In one embodiment, the specific calculation of the initial hydrogen consumption a is shown in the following equation (3):

wherein, A is the initial hydrogen consumption at the (t + k) moment, M is the hydrogen consumption mass, and D is the mileage.

S306, the vehicle meter 102 consumes C real hydrogen in hundred according to the t momenttAnd the driving mileage D is used for carrying out weighted correction on the initial hundreds of miles hydrogen consumption A at the (t + k) moment to obtain the real hundreds of miles hydrogen consumption C at the (t + k) moment(t+k)

In the application, when the time or the mileage is short, the hydrogen consumption (change) is small, so that the calculation result is easy to approach to 0. Meanwhile, in order to avoid that the hydrogen consumption display of the instrument is always 0, the theoretical hundred kilometers hydrogen consumption reference value C of the vehicle is calculated based on a certain whole vehicle working condition0And may also be referred to as a baseline hydrogen consumption. That is, when the calculated hydrogen consumption is 0, the hydrogen consumption per hundred kilometers of the meter is in accordance with C0And (6) displaying.

Further, according to the application, the actual hydrogen consumption C in hundred miles at the last moment (t moment)tAnd the driving mileage D is used for performing weighted correction on the initial hydrogen consumption A at the current moment (t + k moment) to obtain the real hydrogen consumption at the current moment, which can be specifically shown in the following formula (4):

wherein, C(t+k)Is the true hydrogen consumption at said time (t + k), CtAnd B, the actual hydrogen consumption at the time t, A is the initial hydrogen consumption at the time (t + k), and D is the mileage. When the real hydrogen consumption at the last moment is calculated to be 0, or t is 0, C(t+k)=C0. The above result C is obtained as the mileage is gradually increased(t+k)Will approach infinity to the most realistic one hundred kilometers hydrogen consumption.

Through implementing this application, can reach following beneficial effect: the situation that the hydrogen consumption cannot be displayed or is 0 due to low hydrogen consumption in a short time or a short distance is solved, and the complaint of the user is reduced. And the hundred kilometers of hydrogen consumption is directly calculated according to the mass of the residual hydrogen in the hydrogen bottle, so that the actual hydrogen consumption condition is more approximate, and the accuracy of hydrogen consumption calculation is favorably improved.

Based on the same inventive concept, another embodiment of the present application provides a device and a terminal device corresponding to the method for calculating hydrogen consumption in the embodiment of the present application. Fig. 4 is a schematic structural diagram of a hydrogen consumption calculating device according to an embodiment of the present application. The apparatus 40 as shown in fig. 4 comprises: an obtaining module 401, a calculating module 402 and a correcting module 403, wherein:

the acquiring module 401 is configured to acquire the respective residual hydrogen masses of the hydrogen fuel cell system at time t and time (t + k), where t and k are both non-negative numbers;

the calculating module 402 is configured to calculate a mileage of a vehicle in which the hydrogen fuel cell is located from the time t to the time (t + k);

the calculating module 402 is further configured to calculate an initial hydrogen consumption at the (t + k) time according to the remaining hydrogen mass at the t time, the remaining hydrogen mass at the (t + k) time, and the mileage;

the correcting module 403 is configured to perform weighted correction on the initial hundreds of miles of hydrogen consumption at the (t + k) time according to the real hundreds of miles of hydrogen consumption at the t time, so as to obtain the real hundreds of miles of hydrogen consumption at the (t + k) time; and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

Optionally, the calculating module 402 is specifically configured to:

and performing weighted correction on the initial hundreds of miles hydrogen consumption at the (t + k) moment according to the real hundreds of miles hydrogen consumption at the t moment and the driving mileage to obtain the real hundreds of miles hydrogen consumption at the (t + k) moment.

Optionally, the real hundreds of miles hydrogen consumption at the time (t + k) is:

wherein, C(t+k)Is the true hydrogen consumption at said time (t + k), CtIs the real hydrogen consumption at the time t, and A is the initial hydrogen consumption at the time (t + k)And D is the mileage.

Optionally, the calculating module 402 is specifically configured to:

calculating the consumed hydrogen mass consumed in the mileage according to the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k);

and calculating the initial hydrogen consumption at the (t + k) moment according to the consumed hydrogen mass and the mileage.

Optionally, the initial hundreds of miles hydrogen consumption at the time (t + k) is:

wherein, A is the initial hydrogen consumption at the (t + k) moment, M is the hydrogen consumption mass, and D is the mileage.

Optionally, the calculating module 402 is specifically configured to:

acquiring the respective driving speeds of the vehicle where the hydrogen fuel cell system is located at the time t and the time (t + k);

and calculating the driving mileage of the vehicle from the time t to the time (t + k) according to the respective driving speeds of the time t and the time (t + k).

Optionally, the obtaining module 401 is specifically configured to:

receiving the driving speed at the time t and the driving speed at the time (t + k) which are sent by a vehicle body stabilizing system of the vehicle, wherein the driving speeds are obtained by calculation according to the wheel rotating speed and the wheel rolling radius of the vehicle; alternatively, the first and second electrodes may be,

and calculating the running speed at the time t and the running speed at the time (t + k) according to the wheel rotating speed and the wheel rolling radius of the vehicle at the time t and the time (t + k), respectively.

Optionally, the driving speed is:

v=n×60×(2×π×r)

wherein v is the driving speed, n is the wheel rotation speed, and r is the wheel rolling radius.

Optionally, the obtaining module 401 is specifically configured to:

receiving the residual hydrogen mass of the hydrogen fuel cell system at the time t and the residual hydrogen mass at the time (t + k) sent by a hydrogen system controller of the vehicle, wherein the residual hydrogen mass is obtained by calculation according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure in the hydrogen fuel cell system; alternatively, the first and second electrodes may be,

and calculating the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k) according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure of the hydrogen fuel cell system at the time t and the time (t + k), respectively.

Optionally, the remaining hydrogen mass is:

wherein m is the remaining hydrogen mass, V is the current hydrogen volume, P is the current hydrogen pressure, and T is the current hydrogen temperature.

Please refer to fig. 5, which is a schematic structural diagram of a terminal device according to an embodiment of the present application. The terminal device 50 shown in fig. 5 includes: at least one processor 501, a communication interface 502, a user interface 503 and a memory 504, wherein the processor 501, the communication interface 502, the user interface 503 and the memory 504 can be connected through a bus or other means, and the embodiment of the present invention is exemplified by being connected through the bus 505. Wherein the content of the first and second substances,

processor 501 may be a general-purpose processor, such as a Central Processing Unit (CPU).

The communication interface 502 may be a wired interface (e.g., an ethernet interface) or a wireless interface (e.g., a cellular network interface or using a wireless local area network interface) for communicating with other terminals or websites. In this embodiment of the present invention, the communication interface 502 is specifically configured to obtain the remaining hydrogen quality.

The user interface 503 may be a touch panel, including a touch screen and a touch screen, for detecting an operation instruction on the touch panel, and the user interface 503 may also be a physical button or a mouse. The user interface 503 may also be a display screen for outputting, displaying images or data.

The Memory 504 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 504 may also comprise a combination of the above-described types of memory. The memory 504 is used for storing a set of program codes, and the processor 501 is used for calling the program codes stored in the memory 504 and executing the following operations:

acquiring the residual hydrogen mass of the hydrogen fuel cell system at the time t and the time (t + k), wherein both t and k are non-negative numbers;

calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment;

calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage;

according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k);

and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption.

Optionally, the performing weighted correction on the initial hydrogen consumption at the (t + k) time according to the real hydrogen consumption at the t time, and obtaining the real hydrogen consumption at the (t + k) time includes:

and performing weighted correction on the initial hundreds of miles hydrogen consumption at the (t + k) moment according to the real hundreds of miles hydrogen consumption at the t moment and the driving mileage to obtain the real hundreds of miles hydrogen consumption at the (t + k) moment.

Optionally, the real hundreds of miles hydrogen consumption at the time (t + k) is:

wherein, C(t+k)Is the true hydrogen consumption at said time (t + k), CtAnd B, the actual hydrogen consumption at the time t, A is the initial hydrogen consumption at the time (t + k), and D is the mileage.

Optionally, the calculating the initial hydrogen consumption at the time (t + k) according to the remaining hydrogen mass at the time t, the remaining hydrogen mass at the time (t + k), and the mileage includes:

calculating the consumed hydrogen mass consumed in the mileage according to the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k);

and calculating the initial hydrogen consumption at the (t + k) moment according to the consumed hydrogen mass and the mileage.

Optionally, the initial hundreds of miles hydrogen consumption at the time (t + k) is:

wherein, A is the initial hydrogen consumption at the (t + k) moment, M is the hydrogen consumption mass, and D is the mileage.

Optionally, the calculating the mileage of the vehicle in which the hydrogen fuel cell is located from the time t to the time (t + k) includes:

acquiring the respective driving speeds of the vehicle where the hydrogen fuel cell system is located at the time t and the time (t + k);

and calculating the driving mileage of the vehicle from the time t to the time (t + k) according to the respective driving speeds of the time t and the time (t + k).

Optionally, the obtaining of the respective driving speeds of the vehicle in which the hydrogen fuel cell system is located at the time t and the time (t + k) includes:

receiving the driving speed at the time t and the driving speed at the time (t + k) which are sent by a vehicle body stabilizing system of the vehicle, wherein the driving speeds are obtained by calculation according to the wheel rotating speed and the wheel rolling radius of the vehicle; alternatively, the first and second electrodes may be,

and calculating the running speed at the time t and the running speed at the time (t + k) according to the wheel rotating speed and the wheel rolling radius of the vehicle at the time t and the time (t + k), respectively.

Optionally, the driving speed is:

v=n×60×(2×π×r)

wherein v is the running speed, n is the wheel speed, and r is the wheel radius.

Optionally, the obtaining the remaining hydrogen gas mass of the hydrogen fuel cell system at the respective times t and (t + k) includes:

receiving the residual hydrogen mass of the hydrogen fuel cell system at the time t and the residual hydrogen mass at the time (t + k) sent by a hydrogen system controller of the vehicle, wherein the residual hydrogen mass is obtained by calculation according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure in the hydrogen fuel cell system; alternatively, the first and second electrodes may be,

and calculating the residual hydrogen mass at the time t and the residual hydrogen mass at the time (t + k) according to the current hydrogen volume, the current hydrogen temperature and the current hydrogen pressure of the hydrogen fuel cell system at the time t and the time (t + k), respectively.

Optionally, the remaining hydrogen mass is:

wherein m is the remaining hydrogen mass, V is the current hydrogen volume, P is the current hydrogen pressure, and T is the current hydrogen temperature.

Since the terminal device described in this embodiment is a terminal device used for implementing the method for calculating hydrogen consumption in this embodiment, based on the method for calculating hydrogen consumption described in this embodiment, a person skilled in the art can understand the specific implementation manner of the terminal device of this embodiment and various variations thereof, and therefore, how to implement the method in this embodiment by the terminal device is not described in detail here. So long as those skilled in the art implement the terminal device used in the method for calculating hydrogen consumption in the embodiment of the present application, all of which are within the scope of the protection of the present application.

The technical scheme in the embodiment of the application at least has the following technical effects or advantages: the method comprises the steps of obtaining the residual hydrogen mass of a hydrogen fuel cell system at the time t and the time (t + k); calculating the mileage of the vehicle in which the hydrogen fuel cell is positioned from the t moment to the (t + k) moment; calculating the initial hydrogen consumption at the (t + k) moment according to the residual hydrogen mass at the t moment, the residual hydrogen mass at the (t + k) moment and the mileage; according to the real hundreds of miles of hydrogen consumption at the time t, carrying out weighted correction on the initial hundreds of miles of hydrogen consumption at the time (t + k) to obtain the real hundreds of miles of hydrogen consumption at the time (t + k); and when t is 0, the real hundred-miles hydrogen consumption at the time t is a preset reference hydrogen consumption. Therefore, the real hydrogen consumption in hundred (public) can be accurately calculated according to the quality of the residual hydrogen in the hydrogen fuel cell, the convenience and the accuracy of the calculation of the hydrogen consumption are realized, and the technical problems of difficult calculation and low accuracy of the hydrogen consumption in the prior art are solved.

As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.

The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.

These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.

It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于复合传感的自适应座椅调节系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!