Method and apparatus for acquiring average electricity consumption, and medium and electronic device
By obtaining the consumption and charging capacity of the hybrid car battery pack, as well as mileage, calculating the incremental power and eliminating its impact, an accurate calculation of the average power consumption of the hybrid car is achieved, and the problem of inaccurate calculations in the prior art is solved.
Patent Information
- Application Number
- PCT/CN2024/120150
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-21
- Filing Date
- 2024-09-20
- Publication Date
- 2025-03-27
AI Technical Summary
The prior art fails to take into account the incremental power provided by the engine in series or parallel connection when calculating the average power consumption of a hybrid vehicle, resulting in inaccurate calculations.
By obtaining the power consumption and charging amount of the battery pack in the preset period, as well as the first mileage of the vehicle, calculate the incremental power and the corresponding second mileage, excluding the influence of the incremental power, calculate the power consumption and the third mileage of the vehicle in the preset period, and then obtain the average power consumption.
The accurate calculation of the average power consumption of hybrid vehicles is achieved, and the impact of incremental power at engine start is eliminated, which improves the accuracy of power consumption economics evaluation.
Smart Images

Figure CN2024120150_27032025_PF_FP_ABST
Abstract
Description
Average power consumption acquisition method, device, medium and electronic equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to Chinese patent application No. 202311230198.8, filed on September 21, 2023, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the technical field of electric vehicles, and in particular to a method, device, medium and electronic device for obtaining average power consumption. Background Art
[0004] A hybrid vehicle is a vehicle whose drive system is composed of two or more single drive systems that can operate simultaneously. The vehicle's driving power is determined by whether it is provided by a single drive system alone or by multiple drive systems together, depending on the actual driving state of the vehicle.
[0005] Hybrid vehicles generally fall into three categories: series hybrid vehicles, parallel hybrid vehicles, and parallel-parallel hybrid vehicles. A series hybrid vehicle primarily consists of an engine, generator, and drive motor connected in series to form the HEV (Hybrid Electric Vehicle) powertrain. A parallel hybrid vehicle's engine and drive motor are both powertrains, and the power of the two powertrains can be combined or output independently. A parallel-parallel hybrid vehicle is an electric vehicle that combines both series and parallel structures, primarily consisting of an engine, motor-generator, and drive motor.
[0006] The average power consumption of a hybrid vehicle can be used to evaluate its electricity economy. However, the method of calculating the average power consumption of a hybrid vehicle in related technologies fails to take into account the incremental power provided by the engine when connected in series or parallel, resulting in the power consumption displayed on the instrument panel being greater than the actual power consumption of the vehicle, which is not conducive to accurately calculating the average power consumption of the hybrid vehicle.
[0007] Summary of the Invention
[0008] The present disclosure provides an average power consumption acquisition method, device, medium, and electronic device to solve the technical problem of inaccurate calculation of average power consumption.
[0009] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.
[0010] In a first aspect of the present disclosure, a method for obtaining average power consumption is provided, including: obtaining the power consumption and charge amount of a battery pack within a preset time period, and a first mileage of a vehicle within the preset time period; obtaining the incremental power of the vehicle within the preset time period, and a second mileage corresponding to the incremental power; obtaining the power consumption of the vehicle within the preset time period based on the incremental power and the power consumption and charge amount of the battery pack within the preset time period; obtaining a third mileage within the preset time period based on the first mileage and the second mileage, the third mileage being the mileage corresponding to the power consumption of the vehicle within the preset time period; and obtaining the average power consumption of the vehicle within the preset time period based on the power consumption of the vehicle within the preset time period and the third mileage.
[0011] In a second aspect of the present disclosure, an average power consumption acquisition device is provided, including: a first acquisition unit, used to acquire the power consumption and charge amount of a battery pack within a preset time period, and a first mileage of a vehicle within the preset time period; a second acquisition unit, used to acquire the incremental power of the vehicle within the preset time period, and a second mileage corresponding to the incremental power; a first obtaining unit, used to obtain the power consumption of the vehicle within the preset time period based on the incremental power and the power consumption and charge amount of the battery pack within the preset time period; a second obtaining unit, used to obtain a third mileage within the preset time period based on the first mileage and the second mileage, the third mileage being the mileage corresponding to the power consumption of the vehicle within the preset time period; and a third obtaining unit, used to obtain the average power consumption of the vehicle within the preset time period based on the power consumption of the vehicle within the preset time period and the third mileage.
[0012] In a third aspect of the present disclosure, a computer-readable storage medium is further provided, on which a computer program is stored. The computer program includes executable instructions. When the executable instructions are executed by a processor, the average power consumption acquisition method described in any embodiment of the first aspect is implemented.
[0013] In the fourth aspect of the present disclosure, an electronic device is also provided, including: one or more processors; a memory for storing executable instructions of the processors, when the executable instructions are executed by the one or more processors, the one or more processors implement the average power consumption acquisition method described in any embodiment of the first aspect above.
[0014] In a fifth aspect of the present disclosure, a computer program product is further provided, comprising computer instructions, which, when executed by a processor, implement the average power consumption acquisition method described in any implementation of the first aspect.
[0015] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:
[0017] FIG1 shows a flow chart of a method for obtaining average power consumption according to some embodiments of the present disclosure;
[0018] FIG2 shows a block diagram of an apparatus for obtaining average power consumption according to some embodiments of the present disclosure;
[0019] FIG3 shows a schematic diagram of a computer-readable storage medium according to some embodiments of the present disclosure;
[0020] FIG4 shows a schematic structural diagram of an electronic device according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0021] The following will be combined with the accompanying drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of the present disclosure.
[0022] In addition, the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, well-known methods, devices, implementations or operations are not shown or described in detail to avoid blurring various aspects of the present disclosure.
[0023] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0024] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0025] In the description of this disclosure, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this disclosure, unless otherwise specified, "plurality" means two or more.
[0026] Figure 1 shows a flow chart of a method for obtaining average power consumption according to some embodiments of the present disclosure, which can be executed by a device with computing and processing capabilities. Referring to Figure 1 , the method for obtaining average power consumption includes at least steps S1 to S5.
[0027] In step S1 , the power consumption and charge amount of the battery pack within a preset period of time, as well as the first driving mileage of the vehicle within the preset period of time are obtained.
[0028] In some embodiments, the power consumption of the battery pack within a preset time period can be obtained through a dashboard or a battery management system.
[0029] In the case of a series hybrid electric vehicle, the amount of charge to the battery pack during the preset period is the amount charged by the charging pile. In the case of a parallel-parallel hybrid electric vehicle, the amount of charge to the battery pack during the preset period is the sum of the amount charged by the charging pile and the amount of power generated by the vehicle's engine, where the amount of power generated by the engine-driven generator is the amount of power generated.
[0030] In some embodiments, the first mileage of the vehicle within a preset time period can be obtained through the instrument panel.
[0031] In step S2, the incremental power of the vehicle within a preset time period and a second driving mileage corresponding to the incremental power are obtained.
[0032] In some embodiments, the incremental power of the vehicle within a preset time period can be obtained based on the power consumption of the battery pack during a specific time period, wherein the specific time period can be a time period when the hybrid vehicle is in a series state, a time period when the hybrid vehicle is in a parallel state, or a time period when the hybrid vehicle is in an engine-starting state.
[0033] In step S3, the power consumption of the vehicle during the preset period is obtained based on the incremental power, and the power consumption and charge amount of the battery pack during the preset period.
[0034] The power consumption of the vehicle during the preset time period is calculated according to the above steps S1 to S3, eliminating the influence of the incremental power, so that the subsequent calculation of the average power consumption is more accurate.
[0035] In step S4 , a third driving mileage of the vehicle within a preset period is obtained based on the first driving mileage and the second driving mileage. The third driving mileage is a driving mileage corresponding to the power consumption of the vehicle within the preset period.
[0036] In step S5 , the average power consumption of the vehicle in the preset period is obtained according to the power consumption of the vehicle in the preset period and the third driving mileage.
[0037] In some embodiments, the power consumption of the vehicle during the preset period is obtained based on the incremental power, and the power consumption and charge amount of the battery pack during the preset period, including: calculating the sum of the power consumption and charge amount of the battery pack during the preset period to obtain the power consumption of the vehicle during the preset period; calculating the difference between the power consumption of the vehicle during the preset period and the incremental power to obtain the power consumption of the vehicle during the preset period, so that the calculated power consumption during the preset period excludes the incremental power.
[0038] In some embodiments, based on the first mileage and the second mileage, a third mileage of the vehicle within a preset time period is obtained, including: calculating the difference between the first mileage and the second mileage to obtain the third mileage of the vehicle within the preset time period, thereby eliminating the second mileage corresponding to the incremental power from the first mileage of the vehicle within the preset time period.
[0039] In some embodiments, the power consumption of the battery pack during a preset period is the difference between the initial power consumption of the battery pack and the final power consumption of the battery pack during the preset period. The initial power consumption of the battery pack during the preset period is the power consumption of the battery pack corresponding to the initial time point of the preset period, and the final power consumption of the battery pack during the preset period is the power consumption of the battery pack corresponding to the final time point of the preset period. For example, the preset period is from 3:00 PM to 6:00 PM on June 20, 2021, with the initial time point of the preset period being 3:00 PM on June 20, 2021, and the final time point of the preset period being 6:00 PM on June 20, 2021.
[0040] In some embodiments, if the vehicle is a series hybrid electric vehicle, the charge level of the battery pack during the preset period is the charge level at the charging station, and the incremental charge level during the preset period is the power consumption of the battery pack during engine operation. The power consumption of the battery pack during engine operation is the difference between the initial and final power levels of the battery pack during engine operation.
[0041] In some embodiments, the average power consumption of the series hybrid electric vehicle during a preset period is calculated according to the following formula:
[0042] , D p is the average power consumption of the vehicle during the preset period, D z is the charging capacity of the charging pile, D c is the initial charge of the battery pack within the preset period, D j is the final charge of the battery pack within the preset period, n is the number of times the engine is started, D fji is the final charge of the battery pack when the engine is started for the i-th time, D fci is the initial charge of the battery pack when the engine is started for the i-th time, L y is the first mileage, L fji is the mileage of the vehicle at the end of the vehicle's travel when the engine is started for the i-th time, D fci is the initial mileage of the vehicle when the engine is started for the i-th time.
[0043] The average power consumption during the preset period calculated according to the above formula (1) is the average power consumption of the series hybrid vehicle when the engine is not started. The incremental power consumption when the engine is started is eliminated, making the calculated average power consumption more accurate and convenient for evaluating the power economy of the series hybrid vehicle.
[0044] In some embodiments, when the vehicle is a parallel-parallel hybrid electric vehicle, the charge amount of the battery pack within the preset period is the sum of the charge amount of the charging pile and the power generation of the engine, and the incremental power within the preset period is the power consumption of the battery pack when it is connected in parallel with the engine.
[0045] In some embodiments, the power consumption of the battery pack when the engines are connected in parallel is the difference between the initial power consumption and the final power consumption of the battery pack when the engines are connected in parallel.
[0046] In some embodiments of the present disclosure, the average power consumption of a series-parallel hybrid electric vehicle within a preset period of time may be calculated according to the following formula:
[0047] D p is the average power consumption of the vehicle during the preset period, D z is the charging capacity of the charging pile, D f is the power generation of the engine, D c is the initial charge of the battery pack within the preset period, D j is the final capacity of the battery pack within the preset period, m is the number of engines connected in parallel, D bji D is the final capacity of the battery pack when the engines are connected in parallel for the i-th time. bciis the initial capacity of the battery pack when the engines are connected in parallel for the i-th time, L y is the first mileage, L bji is the mileage of the vehicle at the end of the journey when the engines are connected in parallel for the i-th time, D bci is the initial mileage of the vehicle when the engines are connected in parallel for the i-th time.
[0048] The average power consumption within the preset period calculated according to the above formula (2) is the average power consumption of the series-parallel hybrid vehicle in the pure electric state. The incremental power when the engine is connected in parallel is eliminated, making the calculated average power consumption more accurate and convenient for evaluating the power economy of the series-parallel hybrid vehicle.
[0049] In some embodiments, the above-mentioned average power consumption acquisition method can be implemented through a visual data modeling platform, including the following steps: obtaining the power consumption of the vehicle in the preset period based on the power consumption and charge amount of the battery pack in the preset period, and the incremental power in the preset period; obtaining the third mileage of the vehicle in the preset period based on the first mileage and the second mileage, and the third mileage of the vehicle in the preset period is the mileage corresponding to the power consumption of the vehicle in the preset period; obtaining the average power consumption of the vehicle in the preset period based on the power consumption and the third mileage of the vehicle in the preset period.
[0050] In some embodiments, the visual data modeling platform can obtain the power consumption and charge amount of the vehicle's battery pack within a preset time period and the first mileage of the vehicle within the preset time period through the Greenplum database, and obtain the incremental power within the preset time period and the second mileage corresponding to the incremental power through the Greenplum database. Data is transmitted between the Greenplum database and the vehicle through an intermediate layer. An MQTT client is provided on the vehicle end. The intermediate layer includes an MQTT protocol and Kafka. The MQTT client transmits data to Kafka through the MQTT protocol, and Kafka transmits data to the Greenplum database.
[0051] The average power consumption acquisition method implemented through the visual data modeling platform eliminates the power increment within the preset time period, making the calculation of the vehicle's average power consumption within the preset time period more accurate and facilitating the evaluation of the power economy of hybrid vehicles.
[0052] The present disclosure also provides an average power consumption acquisition device. FIG2 shows a block diagram of the average power consumption acquisition device according to some embodiments of the present disclosure. Referring to FIG2 , the average power consumption acquisition device 100 includes: a first acquisition unit 101, for acquiring the power consumption and charge amount of the battery pack within a preset time period, and a first mileage of the vehicle within the preset time period; a second acquisition unit 102, for acquiring the incremental power of the vehicle within the preset time period, and a second mileage corresponding to the incremental power; a first acquisition unit 103, for acquiring the power consumption of the vehicle within the preset time period based on the incremental power and the power consumption and charge amount of the battery pack within the preset time period; a second acquisition unit 104, for acquiring a third mileage of the vehicle within the preset time period based on the first mileage and the second mileage, the third mileage being the mileage corresponding to the power consumption of the vehicle within the preset time period; and; a third acquisition unit 105, for acquiring the average power consumption of the vehicle within the preset time period based on the power consumption and the third mileage of the vehicle within the preset time period.
[0053] In some embodiments, the first obtaining unit 103 is configured to: calculate the sum of the power consumption and the charge amount of the battery pack during a preset period to obtain the power consumption of the vehicle during the preset period; and calculate the difference between the power consumption and the incremental power of the vehicle during the preset period to obtain the power consumption of the vehicle during the preset period.
[0054] In some embodiments, the first acquisition unit 101 is configured to: when the vehicle is a series hybrid vehicle, use the charging amount of the charging pile as the charging amount of the battery pack within a preset time period, and the incremental power within the preset time period is the power consumption of the battery pack when the vehicle's engine is working.
[0055] In some embodiments, the third obtaining unit 105 is configured to calculate the average power consumption of the vehicle within a preset period according to the following calculation formula:
[0056] D p is the average power consumption of the vehicle during the preset period, D z is the charging capacity of the charging pile, D c is the initial charge of the battery pack within the preset period, D j is the final charge of the battery pack within the preset period, n is the number of times the engine is started, D fji is the final charge of the battery pack when the engine is started for the i-th time, D fci is the initial charge of the battery pack when the engine is started for the i-th time, L y is the first mileage, L fji is the mileage of the vehicle at the end of the vehicle's travel when the engine is started for the i-th time, D fci is the initial mileage of the vehicle when the engine is started for the i-th time.
[0057] In some embodiments, the first acquisition unit 101 is configured to: when the vehicle is a parallel-parallel hybrid electric vehicle, the sum of the charging amount of the charging pile and the power generation of the vehicle's engine is used as the charging amount of the battery pack within a preset time period, and the incremental power of the vehicle within the preset time period is the power consumption of the battery pack when the engine is connected in parallel.
[0058] In some embodiments, the second acquiring unit 102 is further configured to use the difference between the initial power level and the final power level of the battery pack when the engines are connected in parallel as the power consumption of the battery pack when the engines are connected in parallel.
[0059] In some embodiments, the average power consumption of the vehicle during a preset period is calculated according to the following formula:
[0060] D p is the average power consumption of the vehicle during the preset period, D z is the charging capacity of the charging pile, D f is the power generation of the engine, D c is the initial charge of the battery pack within the preset period, D j is the final capacity of the battery pack within the preset period, m is the number of engines connected in parallel, D bji D is the final capacity of the battery pack when the engines are connected in parallel for the i-th time. bci is the initial capacity of the battery pack when the engines are connected in parallel for the i-th time, L y is the first mileage, L bji is the mileage of the vehicle at the end of the journey when the engines are connected in parallel for the i-th time, D bci is the initial mileage of the vehicle when the engines are connected in parallel for the i-th time.
[0061] In some embodiments, the above-mentioned first obtaining unit 103, second obtaining unit 104 and third obtaining unit 105 are implemented through a visual data modeling platform, and are implemented by dragging and dropping on the visual data modeling platform. For example, the data to be used is configured on the data side, and then the data is dragged to the calculation side, and the data is strung together in sequence using a visual operator component, and finally the report data of the average power consumption is generated and written back to the data source. The generated results are visible. It can be seen from the entire calculation process that no native code is written, and the power consumption calculation of hybrid vehicles in different hybrid modes is realized through visual drag operations.
[0062] In some embodiments, the first acquisition unit 101 and the second acquisition unit 102 acquire data through the Greenplum database, and data is transmitted between the Greenplum database and the vehicle (i.e., the vehicle side) through an intermediate layer. An MQTT client is provided on the vehicle side, and the intermediate layer includes the MQTT protocol and Kafka. The MQTT client transmits data to Kafka through the MQTT protocol, and Kafka transmits data to the Greenplum database.
[0063] In some embodiments, when the vehicle and the cloud communicate, due to the problems of network latency and unstable network usage scenarios, it is necessary to use a message protocol to design a short, asynchronously sendable message component. Using MQTT to collect raw data can solve the above problems. After the message is collected from the vehicle and stored in the MQTT client, because MQTT cannot support querying by message generation time and does not support the semantics of exact consumption, Kafka is used for message transfer. Kafka supports distinguishing messages according to the order of time (the business system can customize the time period to pull semaphore data) and provides the semantics of exact consumption (it can ensure that the business system can obtain data and obtain it only once). Therefore, using Kafka here can ensure the data accuracy of the business system and provide the ability to independently select and view signals within a specified time range. Finally, the semaphore is stored in the Greenplum database, rather than the relational databases such as MySQL traditionally used in the industry. The reason is that the Greenplum database provides the ability to read and write billions of data in a distributed manner compared to relational databases. Modern electric vehicles have hundreds of thousands of signal types, and the frequency of signal data generation is very high. Currently, it is known that the time it takes to generate a piece of signal data can be shortened to 50ms. Therefore, as the number of vehicles expands rapidly and the number of vehicle-side domain controllers increases, the signal frequency becomes faster and faster. Traditional relational databases can usually only support hundreds of thousands of data reads and writes per second and lack distributed read and write capabilities. In the real-time computing process for users, it will cause huge delays and read and write performance bottlenecks. By adopting the Greenplum database, it is easy to cope with the updates and developments of the vehicle-side architecture.
[0064] In summary, the hybrid transmission of MQTT and Kafka and the final landing in the Greenplum database effectively solves the pain points of communication between the vehicle and the cloud, such as the unstable vehicle-side network environment, the cloud's inability to accurately consume and independently select any time period to read messages, and data storage performance bottlenecks.
[0065] The present disclosure also provides a computer-readable storage medium storing a program product capable of implementing the method for obtaining average power consumption described above. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product comprising program code. When the program product is executed on a terminal device, the program code is configured to cause the terminal device to execute the steps described in the "Exemplary Methods" section above according to various exemplary embodiments of the present disclosure.
[0066] FIG3 shows a schematic diagram of a computer-readable storage medium according to some embodiments of the present disclosure. Referring to FIG3 , a program product 200 for implementing the above-mentioned method according to an embodiment of the present disclosure is described. The program product 200 may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0067] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0068] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0069] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0070] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0071] The present disclosure also provides an electronic device capable of implementing the above method.
[0072] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."
[0073] Figure 4 shows a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure. The electronic device 300 in some embodiments of the present disclosure is described below with reference to Figure 4. The electronic device 300 shown in Figure 4 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure. As shown in Figure 4, the electronic device 300 is presented in the form of a general-purpose computing device. The components of the electronic device 300 may include, but are not limited to: the at least one processing unit 310 mentioned above, the at least one storage unit 320 mentioned above, and a bus 330 connecting different system components (including the storage unit 320 and the processing unit 310).
[0074] The storage unit 320 stores program code that can be executed by the processing unit 310, causing the processing unit 310 to perform the steps described in the "Methods" section above according to various exemplary embodiments of the present disclosure. The storage unit 320 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM) 321 and / or a cache memory unit 322, and may further include a read-only memory unit (ROM) 323.
[0075] The storage unit 320 may also include a program / utility 324 having a set (at least one) of program modules 325, such program modules 325 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0076] Bus 330 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0077] The electronic device 300 can also communicate with one or more external devices 400 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 300, and / or any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 350. Furthermore, the electronic device 300 can also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 360. As shown, the network adapter 360 communicates with other modules of the electronic device 300 via a bus 330. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 300, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0078] The present disclosure also provides a computer program product, including computer instructions, which implement the above-mentioned average power consumption acquisition method when executed by a processor.
[0079] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted via a computer-readable medium as one or more instructions or code. Other examples and implementations are within the scope and spirit of the present disclosure and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwiring, or a combination of any of these. Furthermore, the functional units may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit.
[0080] In the several embodiments provided in the present disclosure, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0081] The units described as separate components may or may not be physically separate, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0082] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0083] The foregoing description is merely an embodiment of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations are readily apparent to those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present disclosure are intended to be within the scope of the claims of the present disclosure.
Claims
1. The average power consumption acquisition method includes: Obtaining the power consumption and charge amount of the battery pack within a preset period of time, and the first driving mileage of the vehicle within the preset period of time; Acquire an incremental amount of electricity of the vehicle within the preset period of time, and a second driving mileage corresponding to the incremental amount of electricity; Obtaining the power consumption of the vehicle within the preset period of time according to the incremental power and the power consumption and charge amount of the battery pack within the preset period of time; According to the first driving mileage and the second driving mileage, a third driving mileage of the vehicle within the preset period is obtained, wherein the third driving mileage is a driving mileage corresponding to the power consumption of the vehicle within the preset period; as well as The average power consumption of the vehicle in the preset time period is obtained according to the power consumption of the vehicle in the preset time period and the third driving mileage.
2. The method for obtaining average power consumption according to claim 1, wherein: The obtaining the power consumption of the vehicle within the preset period of time according to the incremental power, and the power consumption and charge amount of the battery pack within the preset period of time includes: Calculating the sum of the power consumption and the charge amount of the battery pack in the preset period of time to obtain the power consumption of the vehicle in the preset period of time; and The difference between the power consumption of the vehicle in the preset time period and the incremental power is calculated to obtain the power consumption of the vehicle in the preset time period.
3. The method for obtaining average power consumption according to claim 1, wherein: In the case where the vehicle is a series hybrid electric vehicle, the charge amount of the battery pack within the preset period is the charge amount of the charging pile, and the incremental power within the preset period is the power consumption of the battery pack when the engine of the vehicle is working.
4. The method for obtaining average power consumption according to claim 3, wherein: The average power consumption of the vehicle during the preset period is calculated according to the following calculation formula: D p is the average power consumption of the vehicle during the preset period, D z is the charging capacity of the charging pile, D c is the initial charge of the battery pack within the preset period, D j is the final power of the battery pack within the preset period, n is the number of times the engine is started, D fji is the final power of the battery pack when the engine is started for the i-th time, D fci is the initial charge of the battery pack when the engine is started for the i-th time, L y is the first mileage, L fji is the mileage of the vehicle at the end of the journey when the engine is started for the i-th time, D fci is the initial mileage of the vehicle when the engine is started for the i-th time.
5. The method for obtaining average power consumption according to claim 1, wherein: In the case where the vehicle is a series-parallel hybrid electric vehicle, the charge amount of the battery pack within the preset time period is the sum of the charge amount of the charging pile and the engine power generation of the vehicle, and the incremental power of the vehicle within the preset time period is the power consumption of the battery pack when connected in parallel with the engine.
6. The method for obtaining average power consumption according to claim 5, wherein: The power consumption of the battery pack when the engines are connected in parallel is: the difference between the initial power consumption and the final power consumption of the battery pack when the engines are connected in parallel.
7. The method for obtaining average power consumption according to claim 5, wherein: The average power consumption of the vehicle during the preset period is calculated according to the following calculation formula: D p is the average power consumption of the vehicle during the preset period, D z is the charging capacity of the charging pile, D f is the power generation of the engine, D c is the initial charge of the battery pack within the preset period, D j is the final power of the battery pack within the preset period, m is the number of times the engines are connected in parallel, D bji is the final capacity of the battery pack when the engines are connected in parallel for the i-th time, D bci is the initial capacity of the battery pack when the engines are connected in parallel for the i-th time, L y is the first mileage, L bji is the mileage of the vehicle at the end of the trip when the engines are connected in parallel for the i-th time, D bci is the initial mileage of the vehicle when the engines are connected in parallel for the i-th time.
8. Average power consumption acquisition device, including: A first acquisition unit, used to acquire the power consumption and charge amount of the battery pack within a preset period of time, and a first driving mileage of the vehicle within the preset period of time; A second acquisition unit, configured to acquire an incremental amount of electricity of the vehicle within the preset period of time, and a second driving mileage corresponding to the incremental amount of electricity; A first obtaining unit, configured to obtain the power consumption of the vehicle within the preset period of time according to the incremental power and the power consumption and charge amount of the battery pack within the preset period of time; a second obtaining unit, configured to obtain a third driving mileage of the vehicle within the preset period according to the first driving mileage and the second driving mileage, wherein the third driving mileage is a driving mileage corresponding to the power consumption of the vehicle within the preset period; as well as The third obtaining unit is used to obtain the average power consumption of the vehicle in the preset period according to the power consumption of the vehicle in the preset period and the third driving mileage.
9. A computer-readable storage medium having a computer program stored thereon, wherein the computer program comprises executable instructions, and when the executable instructions are executed by a processor, the average power consumption acquisition method according to any one of claims 1 to 7 is implemented.
10. An electronic device comprising: one or more processors; A memory for storing executable instructions of the processor, wherein when the executable instructions are executed by the one or more processors, the one or more processors implement the average power consumption acquisition method as described in any one of claims 1-7.
11. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the average power consumption acquisition method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Average power consumption statistics system for electric vehicle and statistics method thereof
CN104527450A
Estimation method, device and system of driving range of electric vehicle
CN105253024A
Electric vehicle endurance mileage estimation method based on average power consumption
CN109795369A
Acquisition method of average power consumption, electronic equipment and computer readable storage medium
CN112519583A
Average power consumption acquisition method and device, medium and electronic equipment
CN117227485A