A vehicle power consumption detection method, device, equipment and medium
By acquiring the vehicle's current operating data and dynamically adjusting the weights, the problem of large errors in static weight calculation is solved, enabling accurate power consumption calculation under different operating conditions.
Patent Information
- Application Number
- CN202510588435.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-08
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-05-08
AI Technical Summary
Existing technologies calculate vehicle energy consumption using static weights, which cannot accurately reflect actual energy consumption in different scenarios, resulting in significant calculation errors.
By acquiring the vehicle's current operating data, including vehicle load, driving speed, road conditions, driving behavior, and battery status, the weights are dynamically adjusted, and the power consumption is calculated by combining the current operating data with the updated weights.
It enables more accurate calculation of vehicle power consumption under different operating conditions, reducing calculation errors.
Smart Images

Figure CN120171301B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, and in particular to a vehicle power consumption detection method, device, equipment and medium. BACKGROUND
[0002] The power consumption of a pure electric vehicle directly affects the vehicle's range, so it is necessary to detect the power consumption of a pure electric vehicle.
[0003] Currently, the prior art calculates power consumption by using a static weight for vehicle load and road conditions and other operating data.
[0004] However, the influence weight of power consumption varies significantly in different scenarios. For example, in the case of a truck-type pure electric vehicle under high load, long-time operation and different road conditions, the static weight calculation method cannot accurately reflect the actual power consumption because it does not adjust the weight in real time. The above-mentioned method for calculating vehicle power consumption has the defect of large calculation error. SUMMARY
[0005] The present application provides a vehicle power consumption detection method, device, equipment and medium, and the embodiments of the present application can reduce the calculation error of vehicle power consumption detection.
[0006] In a first aspect, the embodiments of the present application provide a vehicle power consumption detection method, which comprises:
[0007] obtaining current operating data of the vehicle; the current operating data comprises at least one of the following: vehicle load, driving speed, road condition information, driving behavior information and battery state information;
[0008] determining weight adjustment data of the current operating data according to an adjustment standard value corresponding to the current operating data, the weight adjustment data comprising a weight adjustment sign and a weight adjustment value;
[0009] adjusting a current initial weight corresponding to the current operating data according to the weight adjustment data of the current operating data, to obtain a current updated weight corresponding to the current operating data;
[0010] calculating the current power consumption of the vehicle according to the current operating data and the current updated weight.
[0011] In a second aspect, the embodiments of the present application also provide a vehicle power consumption detection device, which comprises:
[0012] a data acquisition module for acquiring current operating data of the vehicle; the current operating data comprises at least one of the following: vehicle load, driving speed, road condition information, driving behavior information and battery state information;
[0013] The weight determination module is configured to determine weight adjustment data of the current running data according to an adjustment standard value corresponding to the current running data, wherein the weight adjustment data comprises a weight adjustment sign and a weight adjustment value.
[0014] The weight updating module is configured to adjust a current initial weight corresponding to the current running data according to the weight adjustment data of the current running data, and obtain a current updated weight corresponding to the current running data.
[0015] The power consumption calculation module is configured to calculate the current power consumption of the vehicle according to the current running data and the current updated weight.
[0016] In a third aspect, the embodiments of the present application further provide a vehicle power consumption detection device, which comprises:
[0017] at least one processor; and
[0018] a memory in communication with the at least one processor; wherein
[0019] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the vehicle power consumption detection method of any of the embodiments of the present application.
[0020] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores computer instructions for enabling a processor to execute the vehicle power consumption detection method of any of the embodiments of the present application.
[0021] The technical scheme of the embodiments of the present application provides basic data support for real-time power consumption calculation by obtaining current running data including vehicle load, driving speed, road condition information, driving behavior information and battery state information; determines weight adjustment data according to an adjustment standard value corresponding to the current running data; adjusts the current initial weight to obtain the current updated weight; calculates the current running data in combination with the updated weight to obtain the current power consumption of the vehicle; and adjusts the corresponding weight adjustment data in real time and dynamically according to the current running data of the vehicle, so that the power consumption of the vehicle can be calculated more accurately; solves the problem of large calculation error in calculating the power consumption of the vehicle by using static weight; and reduces the calculation error of vehicle power consumption detection.
[0022] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description only show some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0024] Figure 1 A flow chart of a vehicle power consumption detection method provided by the embodiment of the present application;
[0025] Figure 2 A flow chart of a vehicle power consumption detection method provided by the embodiment of the present application;
[0026] Figure 3 A structural schematic diagram of a vehicle power consumption detection device provided by the embodiment of the present application;
[0027] Figure 4 A structural schematic diagram of a vehicle power consumption detection device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the person skilled in the art better understand the present application, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should be within the scope of protection of the present application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0030] In the technical solutions of the embodiments of the present application, the acquisition, storage and application of the current running data and historical running data, etc. are in line with the relevant legal regulations and do not violate public order and good customs.
[0031] Figure 1A flow chart of a vehicle power consumption detection method is provided for an embodiment of the present application. The embodiment of the present application can be applicable to the case of measuring the power consumption of a pure electric vehicle that is running. The method can be executed by a vehicle power consumption detection device, which can be realized in the form of hardware and / or software.
[0032] Referring to Figure 1 The vehicle power consumption detection method shown includes:
[0033] S101, current running data of the vehicle is acquired; the current running data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information and battery state information.
[0034] The current running data can be a value reflecting the running state of the vehicle in the current time period. The current running data is the basic data for calculating the vehicle power consumption. The running state of the vehicle changes with time and different environmental conditions, so the current running data is dynamically changing, and the current running data of the vehicle is continuously updated according to the changes in actual conditions. The current running data can be the running data of the vehicle in the previous hour to the current time.
[0035] The vehicle load can be the total weight of the vehicle itself and the objects carried. In a pure electric vehicle, the heavier the load, the greater the demand for traction of the vehicle, and the electric motor needs to consume more power to maintain the same speed or accelerate, so the vehicle load directly affects the calculation of power consumption. For example, if the vehicle load when the vehicle is carrying goods is 10 tons, compared with 2 tons when it is empty, the power consumption will increase, and additional energy is needed to overcome the inertia of heavy load and ensure continuous driving of the vehicle.
[0036] The driving speed can be the average driving speed of the vehicle in the current time period. When the driving speed is high, the electric motor needs to release more power to maintain a high speed, and the power consumption of the vehicle is high at this time. For example, when the driving speed of the vehicle is 100 km / h, compared with the driving speed of the vehicle being 50 km / h, the power consumption of the vehicle increases significantly. The driving speed also includes: speed standard deviation; the speed standard deviation can be a statistical quantity indicating the dispersion degree of the instantaneous speed value of the vehicle relative to the average speed in the time period. The speed standard deviation is used to represent the fluctuation of the speed data, and can measure the indicators of driving stability and fluctuation intensity.
[0037] The road condition information can be information reflecting a road condition in which the vehicle is currently driving. The road condition information can include road surface slope, road surface flatness, whether there is traffic congestion, and road surface type, etc. The road surface type includes gravel road surface, asphalt road surface, and earth road surface, etc. By measuring the road condition information, the influence of the road condition on the power consumption of the vehicle can be accurately quantified. The road condition information directly affects the power consumption of the vehicle. For example, on an uphill road section, the vehicle needs to overcome gravity and consume more power; on a downhill, the vehicle can recover brake energy to reduce power consumption; when there is traffic congestion, the vehicle will frequently accelerate and decelerate, resulting in more power consumption; when the vehicle is driving on an asphalt road surface, the power consumption of the vehicle will increase significantly compared to driving on a gravel road surface.
[0038] The driving behavior information can be information reflecting the operation behavior of the driver on the vehicle during driving. The driving behavior information can include acceleration and deceleration control of the vehicle and over-speed duration, etc. By measuring the numerical value of the driving behavior, the influence of the driving behavior on the power consumption of the vehicle can be accurately quantified. For example, if the driver frequently accelerates and brakes, such driving behavior will consume more power.
[0039] The battery state information can be information reflecting the working state of the battery. The battery state information can include battery remaining power and temperature value. The working state of the battery directly affects the power consumption of the vehicle. Under the same driving conditions, the power consumption when the working state of the battery is good is less than the power consumption when the working state of the battery is poor. For example, the lower the battery remaining power, the worse the working state of the battery; when the temperature value of the battery is too high or too low, the working state of the battery is worse; on the contrary, the higher the battery remaining power, the better the working state of the battery; when the temperature value of the battery is appropriate, the working state of the battery is better.
[0040] In S102, weight adjustment data of the current running data is determined according to an adjustment standard value corresponding to the current running data. The weight adjustment data includes a weight adjustment symbol and a weight adjustment numerical value.
[0041] The adjustment standard value can be a reference value corresponding to each parameter item in the running data. The adjustment standard value represents a reference value of the balance between the running performance and the power consumption, which can be obtained through multiple experiments. The parameter items include vehicle load, driving speed, road condition information, driving behavior information, or battery state information. The adjustment standard value can be used to compare with each parameter in the current running data to determine the adjustment direction and amplitude of the weight. Each parameter item in the running data corresponds to different adjustment standard values. For example, the adjustment standard value corresponding to the vehicle load is 2 tons, and the adjustment standard value corresponding to the driving speed is 60 km / h.
[0042] The weight adjustment data can be a value and an adjustment direction for adjusting the weight of each influencing factor. The deviation degree can be calculated by comparing the current running data with the adjustment standard value, and the weight adjustment value can be determined accordingly. The weight of each influencing factor can be dynamically adjusted, so that the power consumption calculation can reflect the actual situation of the current driving condition in real time. For example, assuming that the driving speed in the current running data is 120 km / h, and the corresponding adjustment standard value is 60 km / h, the weight adjustment data of the speed can be +0.3, indicating that the weight adjustment value is 0.3 and the adjustment direction is to increase; assuming that the driving speed in the current running data is 20 km / h, and the corresponding adjustment standard value is 60 km / h, the weight adjustment data of the speed can be -0.3, indicating that the weight adjustment value is 0.3 and the adjustment direction is to decrease.
[0043] The weight adjustment symbol can be a symbol indicating the direction of weight adjustment. The direction of weight adjustment can be determined according to the size relationship of the comparison result of each parameter item in the current running data and the corresponding adjustment standard value.
[0044] The weight adjustment value can be a specific value for adjusting the weight of each influencing factor. The weight adjustment value can be obtained by calculating the difference between each parameter item in the current running data and the corresponding adjustment standard value, and according to the corresponding proportion.
[0045] S103, adjusting the current initial weight corresponding to the current running data according to the weight adjustment data of the current running data, to obtain the current updated weight corresponding to the current running data.
[0046] The initial weight can represent the influence of the running data of the vehicle on the power consumption under the adjustment standard value. When the dynamic correction weight is not performed, the initial weight can be directly multiplied by the corresponding running data for rough calculation of the power consumption.
[0047] The current updated weight can be a new weight coefficient obtained by adding or subtracting the initial weight based on the weight adjustment data. The current updated weight is a set of weights, and the current updated weight includes weights corresponding to each parameter item. The influence of each parameter item in the running data on the power consumption can dynamically change with the change of the current running data, and the real power consumption can be more accurately reflected by correcting the weight.
[0048] S104, calculating the current power consumption of the vehicle according to the current running data and the current updated weight.
[0049] The current power consumption can be the power consumption of the vehicle per kilometer in the current driving state.
[0050] Specifically, the power consumption of the vehicle in a period of time under the current running state is obtained by weighted summation of each parameter value in the current running data and the corresponding current updated weight.
[0051] It can be seen that, in the embodiment of the present application, the current running data including the vehicle load, the driving speed, the road condition information, the driving behavior information and the battery state information is acquired, thereby providing basic data support for the calculation of the real-time power consumption; the weight adjustment data is determined according to the adjustment standard value corresponding to the current running data; the current initial weight is adjusted to obtain the current updated weight; the current power consumption of the vehicle is calculated by combining the current running data and the updated weight; the power consumption of the vehicle is calculated more accurately by adjusting the corresponding weight adjustment data in real time and dynamically according to the current running data of the vehicle; the problem of large calculation error in the calculation of the power consumption of the vehicle by using the static weight is solved; and the calculation error of the power consumption detection of the vehicle can be reduced.
[0052] In an optional embodiment, Figure 2 The flowchart of the vehicle power consumption detection method provided in the embodiment of the present application is detailed as follows: the “weight adjustment data includes: weight adjustment symbol; the weight adjustment data of the running data is determined according to the adjustment standard value corresponding to the running data” is refined as “the difference between each parameter item in the current running data and the standard value corresponding to each parameter item in the adjustment standard value is calculated; the positive and negative adjustment directions corresponding to each parameter item are determined according to the positive and negative signs of the difference calculated by each parameter item, and are used as the weight adjustment symbol of the current running data”, thereby perfecting the operation of the vehicle power consumption detection.
[0053] It should be noted that the parts not described in detail in the embodiment of the present application can be referred to the description of other embodiments.
[0054] Referring to Figure 2 The vehicle power consumption detection method shown in the figure includes:
[0055] S201, acquiring the current running data of the vehicle; the current running data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information and battery state information.
[0056] S202, calculating the difference between each parameter item in the current running data and the standard value corresponding to each parameter item in the adjustment standard value.
[0057] The difference value can be a numerical difference between the parameter item in the running data and the standard value in the adjustment standard value. The absolute value of the difference value represents the deviation degree of the parameter item in the running data from the standard value, and the positive or negative of the difference value represents the deviation direction of the parameter item in the running data from the standard value. For example, assuming that the driving speed in the running data is 100 km / h, and the corresponding standard value is 60 km / h, the difference value is 40 km / h; assuming that the driving speed in the running data is 20 km / h, and the corresponding standard value is 60 km / h, the difference value is -40 km / h.
[0058] S203, determining the positive or negative adjustment direction corresponding to each parameter item according to the positive or negative sign of the difference value calculated for each parameter item, and taking the positive or negative adjustment direction as the weight adjustment sign of the current running data.
[0059] The positive or negative adjustment direction can be an adjustment direction of the corresponding weight determined according to the positive or negative of the difference value. For example, when the difference value is greater than zero, that is, the parameter item in the current running data is higher than the standard value, it indicates that the parameter item has a greater impact on the power consumption than the standard in the current working condition, and the weight value corresponding to the parameter item needs to be increased; when the difference value is less than zero, that is, the parameter item in the current running data is lower than the standard value, it indicates that the parameter item has a smaller impact on the power consumption than the standard in the current working condition, and the weight value corresponding to the parameter item needs to be reduced. The weight adjustment sign can be the positive or negative adjustment sign of the weight.
[0060] S204, adjusting the current initial weight corresponding to the current running data according to the weight adjustment data of the current running data, to obtain a current updated weight corresponding to the current running data.
[0061] S205, calculating the current power consumption of the vehicle according to the current running data and the current updated weight.
[0062] It can be seen that in the embodiment, by calculating the difference value between the real-time running data and the preset adjustment standard value, the deviation degree of each parameter item can be quantified, and accurate numerical basis can be provided for weight adjustment, so that the adaptability and accuracy of the power consumption calculation to different working conditions are improved; by directly mapping the positive or negative of the difference value to the increase or decrease direction of the weight, and taking it as the adjustment sign, the weight adjustment sign in the weight adjustment data can be accurately judged.
[0063] In some embodiments, the weight adjustment data includes a weight adjustment value.
[0064] According to the adjustment standard value corresponding to the current running data, the weight adjustment data of the current running data is determined, including:
[0065] The difference value between each parameter item in the current running data and the corresponding standard value in the adjustment standard value is calculated.
[0066] The absolute value of the difference value calculated by each parameter item and the ratio between the standard value corresponding to each parameter item in the adjustment standard value are calculated to determine the weight adjustment value of the weight corresponding to each parameter item in the initial weight.
[0067] Specifically, since the difference value is positive and negative, when the difference value is negative, the absolute value of the difference value needs to be obtained, the ratio between the absolute value of the difference value calculated by each parameter item and the standard value corresponding to each parameter item in the adjustment standard value is calculated, the change ratio degree between the parameter item and the standard value is determined through the ratio, and the adjustment ratio degree of the weight is determined according to the change ratio degree, so as to determine the weight adjustment value of the weight corresponding to each parameter item in the initial weight.
[0068] It can be seen that in the embodiment, by calculating the ratio between the absolute value of the difference value between the parameter item in the running data and the adjustment standard value thereof, the actual deviation of each parameter item can be quantified intuitively, which provides a clear size judgment basis for the weight adjustment value, thereby enhancing the explainability of the power consumption calculation process; and more accurate weight adjustment data is obtained, further improving the accuracy of the power consumption calculation.
[0069] In some embodiments, the road condition information includes a slope value, a road speed limit value, and an average vehicle speed value; the driving behavior information includes an acceleration frequency, a deceleration frequency, and an overspeed duration; and the battery state information includes a battery remaining capacity and a temperature value.
[0070] The slope value can refer to the longitudinal slope size of the current road section, which is used to determine whether the current vehicle is on an uphill, downhill or flat slope, and different slope values are assigned different influence values; the speed limit value and the average vehicle speed value of the current road are obtained to determine whether the current vehicle is in a congested state; and the weight values corresponding to the above items are respectively assigned according to the slope state of the vehicle and whether it is in a congested state, and the road condition information is calculated.
[0071] The acceleration frequency can refer to the number of times of sudden acceleration and the total number of times of acceleration, and by calculating the ratio between the number of times of sudden acceleration and the total number of times of acceleration of the vehicle in the current time period, the frequency of sudden acceleration driving of the driver can be determined.
[0072] The deceleration frequency can refer to the number of times of sudden deceleration and the total number of times of deceleration, and by calculating the ratio between the number of times of sudden deceleration and the total number of times of deceleration of the vehicle in the current time period, the frequency of sudden deceleration driving of the driver can be determined.
[0073] The overspeed duration can refer to the total duration of overspeed driving of the vehicle in the current time period. By calculating the ratio between the overspeed duration and the driving duration in the current time period, the time proportion of overspeed driving can be determined.
[0074] Specifically, according to the frequency of sudden acceleration driving, the frequency of sudden deceleration driving, and the proportion of overspeed time, the corresponding weight values of the above-mentioned items are respectively given, and the driving behavior information can be calculated.
[0075] The battery residual capacity can refer to the residual capacity of the battery; the temperature value can refer to the temperature value of the battery. According to the battery residual capacity and the temperature value, the battery residual capacity and the temperature value are respectively given different weights, and the battery state information is calculated.
[0076] It can be seen that in the embodiment, by acquiring the slope value, the identification of uphill and downhill sections in the vehicle driving process can be realized, thereby providing basic data support for energy consumption analysis or power consumption prediction; by acquiring the road speed limit value and the average vehicle speed value, it can be detected whether the vehicle is in a congested section; by acquiring the acceleration frequency, the deceleration frequency and the overspeed time, the driving behavior mode of the driver can be detected, and the driving behavior information can be quantified; by acquiring the battery residual capacity and the temperature value, the battery state information can be quantified; by considering multiple dimensions of influencing factors when calculating the power consumption, and by refining each dimension, the power consumption of the vehicle can be more comprehensively and accurately detected.
[0077] In some embodiments, the adjustment standard value is determined by the following method:
[0078] Acquiring a standard power consumption interval of the vehicle;
[0079] Acquiring historical running data of the vehicle; the historical running data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information and battery state information;
[0080] According to the adjustment standard value corresponding to the historical running data, the weight adjustment data of the historical running data is determined, and the weight adjustment data includes: weight adjustment symbol and weight adjustment value;
[0081] According to the weight adjustment data of the historical running data, the historical initial weight corresponding to the historical running data is adjusted to obtain the historical updated weight corresponding to the historical running data;
[0082] According to the historical running data and the historical updated weight, the predicted power of the vehicle is calculated;
[0083] In the case that the predicted power is located outside the standard power consumption interval, the adjustment standard value is updated according to the difference between the predicted power and the standard power consumption interval.
[0084] The standard power consumption interval can refer to the range of power consumption of the vehicle in a normal driving state. For example, the standard power consumption interval of the vehicle can be 1.0-1.2kWh / km.
[0085] The predicted power consumption can refer to the power consumption of the vehicle predicted by historical data. The historical operation data and the historical weight update can be input into the deep learning model to obtain the predicted power consumption of the vehicle.
[0086] It can be seen that, in the embodiment, by obtaining the standard power consumption interval of the vehicle, a benchmark reference for vehicle energy consumption performance can be realized; by obtaining the historical operation data including the vehicle load, the driving speed, the road condition information, the driving behavior information and the battery state information, a comprehensive collection of factors affecting energy consumption can be realized, providing a multi-dimensional input basis for power consumption prediction; by determining the weight adjustment data based on the adjustment standard value corresponding to the historical operation data, the dynamic adjustment of the influence degree of various historical data can be realized; by updating the initial weight of the historical data using the weight adjustment data, the weight optimization of the historical data in the prediction process can be realized, thereby improving the accuracy of the prediction result; by combining the historical operation data and the updated weight for calculation, a vehicle power consumption prediction result more in line with actual working conditions can be realized; by comparing the difference between the predicted power consumption and the standard power consumption interval and updating the adjustment standard value accordingly, an adjustment standard value more in line with the balance between the running performance and the power consumption can be obtained.
[0087] In some embodiments, the vehicle includes: a truck taking electric energy as a power source.
[0088] It can be seen that, in the embodiment, by setting the vehicle as a truck taking electric energy as a power source, the power consumption calculation of the electric truck can be applied, thereby improving the accuracy and applicability of energy consumption detection in the electric truck scene.
[0089] Figure 3 The embodiment of the application provides a structural schematic diagram of a vehicle power consumption detection device. The embodiment of the application can be applied to the case that the power consumption of a pure electric vehicle in running is measured. The device can execute a vehicle power consumption detection method. The device can be realized in the form of hardware and / or software.
[0090] Referring to Figure 3 The vehicle power consumption detection device shown in the figure includes: a data acquisition module 301, a weight determination module 302, a weight update module 303 and a power consumption calculation module 304, wherein,
[0091] The data acquisition module 301 is configured to acquire the current operation data of the vehicle. The current operation data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information and battery state information.
[0092] The weight determination module 302 is configured to determine weight adjustment data of the current running data according to the adjustment standard value corresponding to the current running data, and the weight adjustment data comprises a weight adjustment sign and a weight adjustment value.
[0093] The weight updating module 303 is configured to adjust the current initial weight corresponding to the current running data according to the weight adjustment data of the current running data, and obtain the current updated weight corresponding to the current running data.
[0094] The power consumption calculation module 304 is configured to calculate the current power consumption of the vehicle according to the current running data and the current updated weight.
[0095] The technical scheme of the embodiment of the application provides basic data support for real-time power consumption calculation in the manner of obtaining current running data including vehicle load, driving speed, road condition information, driving behavior information and battery state information; the weight adjustment data is determined according to the adjustment standard value corresponding to the current running data; the current initial weight is adjusted to obtain the current updated weight; the current power consumption of the vehicle is calculated in combination with the current running data and the updated weight; the power consumption of the vehicle can be more accurately calculated in the manner of dynamically adjusting the corresponding weight adjustment data according to the current running data of the vehicle; the problem of large calculation error in calculating the power consumption of the vehicle by using static weight is solved; and the calculation error of vehicle power consumption detection can be reduced.
[0096] In some embodiments, in the aspect of determining the weight adjustment data of the running data according to the adjustment standard value corresponding to the running data, the weight determination module 302 is specifically configured to:
[0097] calculate the difference between each parameter item in the current running data and the standard value corresponding to each parameter item in the adjustment standard value;
[0098] determine the positive and negative adjustment direction corresponding to each parameter item according to the positive and negative sign of the difference calculated for each parameter item, and take the positive and negative adjustment direction as the weight adjustment sign of the current running data.
[0099] The weight adjustment data comprises the weight adjustment sign.
[0100] Correspondingly, the weight determination module comprises:
[0101] The difference calculation unit is configured to calculate the difference between each parameter item in the current running data and the standard value corresponding to each parameter item in the adjustment standard value.
[0102] The sign determination unit is configured to determine the positive and negative adjustment direction corresponding to each parameter item according to the positive and negative sign of the difference calculated for each parameter item, and take the positive and negative adjustment direction as the weight adjustment sign of the current running data.
[0103] In some embodiments, the weight adjustment data comprises a weight adjustment value, and the weight determination module 302 is specifically configured to:
[0104] calculate a difference between each parameter item in the current running data and a corresponding standard value in the adjustment standard value;
[0105] calculate an absolute value of the difference of each parameter item and a ratio between the absolute value and a corresponding standard value in the adjustment standard value, to determine a weight adjustment value of the weight corresponding to each parameter item in the initial weight.
[0106] In some embodiments, the road condition information comprises a slope value, a road speed limit value and an average vehicle speed value; the driving behavior information comprises an acceleration frequency, a deceleration frequency and an overspeed duration; and the battery state information comprises a remaining battery capacity and a temperature value.
[0107] In some embodiments, the weight determination module 302 is specifically configured to determine the adjustment standard value in the following manner:
[0108] obtain a standard power consumption range of the vehicle;
[0109] obtain historical running data of the vehicle, the historical running data comprising at least one of the following: a vehicle load, a driving speed, road condition information, driving behavior information and battery state information;
[0110] determine weight adjustment data of the historical running data according to a corresponding adjustment standard value of the historical running data, the weight adjustment data comprising a weight adjustment sign and a weight adjustment value;
[0111] adjust a historical initial weight corresponding to the historical running data according to the weight adjustment data of the historical running data, to obtain a historical updated weight corresponding to the historical running data;
[0112] calculate a predicted power consumption of the vehicle according to the historical running data and the historical updated weight;
[0113] in a case where the predicted power consumption is located outside the standard power consumption range, update the adjustment standard value according to a difference between the predicted power consumption and the standard power consumption range.
[0114] In some embodiments, the vehicle comprises a truck using electric energy as a power source.
[0115] The vehicle power consumption detection device provided by the embodiments of the present application can execute the vehicle power consumption detection method provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of executing the vehicle power consumption detection method.
[0116] Figure 4A structural schematic diagram of a vehicle power consumption detection device provided by an embodiment of the present application.
[0117] As shown in Figure 4 The vehicle power consumption detection device 400 includes at least one processor 401, and a memory, such as a read-only memory (ROM) 402, a random access memory (RAM) 403, etc., which is communicatively connected to the at least one processor 401, wherein the memory stores a computer program executable by the at least one processor, and the processor 401 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 402 or loaded from the storage unit 408 into the random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the vehicle power consumption detection device 400 can also be stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 408 is also connected to the bus 404.
[0118] A plurality of components in the vehicle power consumption detection device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the vehicle power consumption detection device 400 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunications networks.
[0119] The processor 401 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 401 performs various methods and processes described above, such as the vehicle power consumption detection method.
[0120] In some embodiments, the vehicle power consumption detection method can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 408. In some embodiments, parts or all of the computer program can be loaded and / or installed onto vehicle power consumption detection device 400 via, e.g., ROM 402 and / or communication unit 409. When the computer program is loaded into RAM 403 and executed by processor 401, one or more steps of the vehicle power consumption detection method described above can be performed. Alternatively, in other embodiments, processor 401 can be configured to perform the vehicle power consumption detection method by other means, e.g., with the aid of firmware.
[0121] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0122] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0123] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0124] To provide for interaction with a user, the systems and techniques described here can be implemented on an operation detection device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the vehicle power consumption detection device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0125] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0126] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server) service.
[0127] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present application can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, and this is not limited herein.
[0128] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for detecting vehicle power consumption, characterized in that, The method includes: Obtain the vehicle's current operating data; the current operating data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information, and battery status information; Based on the adjustment standard value corresponding to the current running data, the weight adjustment data of the current running data is determined, and the weight adjustment data includes: weight adjustment symbol and weight adjustment value; Adjust the data according to the weight of the current running data, adjust the current initial weight corresponding to the current running data, and obtain the current updated weight corresponding to the current running data; The current power consumption of the vehicle is calculated based on the current operating data and the current update weight. The step of determining the weight adjustment data of the current running data based on the adjustment standard value corresponding to the current running data includes: Calculate the difference between each parameter item in the current running data and the standard value corresponding to each parameter item in the adjustment standard value; Based on the sign of the difference calculated for each parameter item, determine the positive or negative adjustment direction corresponding to each parameter item, and use it as the weight adjustment sign for the current running data; Calculate the ratio between the absolute value of the difference calculated for each parameter item and the standard value corresponding to each parameter item in the adjustment standard value, and determine the weight adjustment value of the weight corresponding to each parameter item in the initial weight; The adjustment standard value is determined in the following way: Obtain the standard power consumption range of the vehicle; Obtain the vehicle's historical operating data; the historical operating data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information, and battery status information; Based on the adjustment standard value corresponding to the historical operating data, the weight adjustment data of the historical operating data is determined, and the weight adjustment data includes: weight adjustment symbol and weight adjustment value; Based on the weight adjustment data of the historical operating data, the historical initial weights corresponding to the historical operating data are adjusted to obtain the historical updated weights corresponding to the historical operating data. The predicted battery level of the vehicle is calculated based on the historical operating data and the historical update weight. If the predicted power consumption is outside the standard power consumption range, the adjustment standard value is updated based on the difference between the predicted power consumption and the standard power consumption range.
2. The method according to claim 1, characterized in that, The road condition information includes: gradient value, road speed limit value, and average vehicle speed value; the driving behavior information includes: number of accelerations, number of decelerations, and duration of speeding; the battery status information includes: remaining battery power and temperature value.
3. The method according to claim 1, characterized in that, The vehicles include trucks that use electricity as their power source.
4. A vehicle power consumption detection device, characterized in that, include: The data acquisition module is used to acquire the vehicle's current operating data; the current operating data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information, and battery status information; The weight determination module is used to determine the weight adjustment data of the current running data based on the adjustment standard value corresponding to the current running data. The weight adjustment data includes: weight adjustment symbol and weight adjustment value. The weight update module is used to adjust the data according to the weight of the current running data, adjust the current initial weight corresponding to the current running data, and obtain the current updated weight corresponding to the current running data. The power consumption calculation module is used to calculate the current power consumption of the vehicle based on the current operating data and the current update weight. Specifically, the weight determination module is used for: The difference calculation unit is used to calculate the difference between each parameter item in the current running data and the standard value corresponding to each parameter item in the adjustment standard value; The sign determination unit is used to determine the positive or negative adjustment direction corresponding to each parameter item based on the positive or negative sign of the difference calculated for each parameter item, and use it as the weight adjustment sign of the current running data; The adjustment value determination unit is used to calculate the ratio between the absolute value of the difference calculated for each of the parameter items and the standard value corresponding to each parameter item in the adjustment standard value, and to determine the weight adjustment value of the weight corresponding to each parameter item in the initial weight; The adjustment standard value is determined in the following way: Obtain the standard power consumption range of the vehicle; Obtain the vehicle's historical operating data; the historical operating data includes at least one of the following: vehicle load, driving speed, road condition information, driving behavior information, and battery status information; Based on the adjustment standard value corresponding to the historical operating data, the weight adjustment data of the historical operating data is determined, and the weight adjustment data includes: weight adjustment symbol and weight adjustment value; Based on the weight adjustment data of the historical operating data, the historical initial weights corresponding to the historical operating data are adjusted to obtain the historical updated weights corresponding to the historical operating data. The predicted battery level of the vehicle is calculated based on the historical operating data and the historical update weight. If the predicted power consumption is outside the standard power consumption range, the adjustment standard value is updated based on the difference between the predicted power consumption and the standard power consumption range.
5. A vehicle power consumption detection device, characterized in that, The vehicle power consumption detection equipment includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the vehicle power consumption detection method according to any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the vehicle power consumption detection method according to any one of claims 1-3.
Citation Information
Patent Citations
Mileage prediction method and device for new energy vehicle
CN117549750A
Vehicle control method and device, vehicle and storage medium
CN117922583A