Method, device and equipment for determining quality of electric vehicle, storage medium and program product
By obtaining the driving data and longitudinal acceleration of the electric vehicle, judging the stable driving state and calculating the quality of the car, the problem of large errors in the prior art is solved, and the accuracy and simplicity of determining the quality of the electric vehicle is improved.
Patent Information
- Application Number
- CN202411385318.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-01-03
AI Technical Summary
The existing methods of determining the quality of electric vehicles have large errors and lack accuracy without additional sensors.
By obtaining the driving data of electric vehicles, such as motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change, we can determine whether the car is in a stable driving state and obtain multiple in a stable state The driving force and corresponding longitudinal acceleration calculate the car mass.
It improves the accuracy and simplicity of determining the quality of electric vehicles, reduces errors, and enhances the reliability of measurement.
Smart Images

Figure CN119246090A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of vehicle technology, and in particular, to a method, device, equipment, storage medium and program product for determining the quality of an electric vehicle. Background Art
[0002] Electric vehicles are powered by electric drive systems and are widely regarded as promising due to their relatively low environmental impact. Electric vehicles provide different power under different loading conditions during driving, so it is particularly important to determine the mass of electric vehicles. Existing solutions have large errors in determining the mass of electric vehicles without adding additional sensors. Summary of the invention
[0003] The embodiments of the present invention provide a method, device, equipment, storage medium and program product for determining the mass of an electric vehicle, which can reduce the error in determining the mass of an electric vehicle and improve the accuracy.
[0004] In a first aspect, an embodiment of the present invention provides a method for determining the quality of an electric vehicle, comprising:
[0005] Acquire driving data of the electric vehicle; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change;
[0006] Determining whether the electric vehicle is in a stable driving state based on the driving data;
[0007] If the electric vehicle is in a stable driving state, a plurality of driving forces and the longitudinal acceleration corresponding to each driving force are obtained; wherein the difference between any two of the plurality of driving forces is greater than a first set value;
[0008] The mass of the electric vehicle is determined based on the plurality of driving forces and the longitudinal acceleration corresponding to each driving force.
[0009] In a second aspect, an embodiment of the present invention further provides a device for determining the mass of an electric vehicle, comprising:
[0010] A driving data acquisition module, used to acquire driving data of the electric vehicle; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change;
[0011] A stable driving state judgment module, used for judging whether the electric vehicle is in a stable driving state based on the driving data;
[0012] A driving force and longitudinal acceleration acquisition module, used for acquiring a plurality of driving forces and the longitudinal acceleration corresponding to each driving force when the electric vehicle is in a stable driving state; wherein the difference between any two of the plurality of driving forces is greater than a first set value;
[0013] The mass determination module is used to determine the mass of the electric vehicle based on the multiple driving forces and the longitudinal acceleration corresponding to each driving force.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] 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 so that the at least one processor can execute the method for determining the mass of an electric vehicle described in an embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the mass of an electric vehicle described in an embodiment of the present invention when executed.
[0019] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the method for determining the mass of an electric vehicle as described in an embodiment of the present invention.
[0020] The embodiments of the present invention disclose a method, device, equipment, storage medium and program product for determining the mass of an electric vehicle. The driving data of the electric vehicle is obtained; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change; based on the driving data, it is determined whether the electric vehicle is in a stable driving state; if the electric vehicle is in a stable driving state, multiple driving forces and the longitudinal acceleration corresponding to each driving force are obtained; wherein the difference between the multiple driving forces is greater than a first set value; the mass of the electric vehicle is determined based on the multiple driving forces and the longitudinal acceleration corresponding to each driving force. The method for determining the mass of an electric vehicle provided in this embodiment, when the electric vehicle is in a stable driving state, determines the mass of the electric vehicle based on multiple driving forces and the longitudinal acceleration corresponding to each driving force, which can improve the accuracy and simplicity of determining the mass of the electric vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1is a flow chart of a method for determining the quality of an electric vehicle in Embodiment 1 of the present invention;
[0022] Figure 2 is a structural schematic diagram of a device for determining the mass of an electric vehicle in Embodiment 2 of the present invention;
[0023] Figure 3 It is a structural schematic diagram of an electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0024] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0025] Embodiment 1
[0026] Figure 1 This is a flow chart of a method for determining the quality of an electric vehicle provided in the first embodiment of the present invention. This embodiment is applicable to the case of determining the quality of an electric vehicle. The method can be executed by a device for determining the quality of an electric vehicle. The device can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server. Figure 1 As shown, the method specifically comprises the following steps:
[0027] S110, obtaining driving data of the electric vehicle.
[0028] Among them, the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change. The motor speed indicates the number of revolutions of the motor in a unit time, and the wheel speed indicates the number of revolutions of the wheel in a unit time. The brake pedal opening refers to the distance traveled by the pedal from the normal stop position to the bottom position when the driver steps on the brake pedal, which can be represented by two values 0 and 1, 0 indicates that the brake pedal is not stepped on, and 1 indicates that the brake pedal is stepped on. The gear information can be understood as the gear position of the current vehicle, including: drive gear, reverse gear and neutral gear. The steering wheel angle change rate indicates the change of the steering wheel angle at the current moment relative to the steering wheel angle at the previous moment. The road slope change indicates the change of the road slope at the current moment relative to the road slope at the previous moment.
[0029] S120, judging whether the electric vehicle is in a stable driving state based on the driving data; if the electric vehicle is in a stable driving state, executing S130.
[0030] Among them, an electric vehicle must meet the following conditions simultaneously for it to be in a stable driving state: 1. The vehicle does not slip or lock; 2. The vehicle is driven stably; 3. The slope of the road on which the vehicle is driving does not change.
[0031] Specifically, a method for judging whether an electric vehicle is in a stable driving state based on driving data may be: if the driving data satisfies the following conditions at the same time, the electric vehicle is in a stable driving state: the difference between a first vehicle speed corresponding to the motor speed and a second vehicle speed corresponding to the wheel speed is less than a second set value; the gear information is a driving gear, the brake pedal opening is 0, and the steering wheel angle change rate is less than a third set value; and the road slope change is less than a fourth set value.
[0032] Among them, the second setting value, the third setting value and the fourth setting value are all pre-set values and are not limited here. The first vehicle speed corresponding to the motor speed can be understood as the vehicle speed determined according to the motor speed, and its calculation formula can be: first vehicle speed = motor speed * wheel circumference / transmission ratio. The second vehicle speed corresponding to the wheel speed can be understood as the vehicle speed determined according to the wheel speed, and its calculation formula can be: second vehicle speed = wheel circumference * wheel speed.
[0033] In this embodiment, if the difference between the first vehicle speed corresponding to the motor speed and the second vehicle speed corresponding to the wheel speed is less than the second set value, it indicates that the electric vehicle has not slipped or locked. If the gear information is the driving gear, the brake pedal opening is 0, and the steering wheel angle change rate is less than the third set value, it indicates that the vehicle is stably driven. If the road slope change is less than the fourth set value, it indicates that the road slope on which the vehicle is traveling has not changed.
[0034] In this embodiment, the difference between the first vehicle speed corresponding to the motor speed and the second vehicle speed corresponding to the wheel speed is less than the second set value; the gear information is the driving gear, the brake pedal opening is 0, and the steering wheel angle change rate is less than the third set value; the road slope change is less than the fourth set value; if one or more of the above three conditions are not met, the vehicle is in an unstable state, and the process returns to execute the operation of obtaining the driving data of the electric vehicle and determining whether the electric vehicle is in a stable driving state based on the driving data until the electric vehicle is in a stable driving state.
[0035] S130: Acquire multiple driving forces and the longitudinal acceleration corresponding to each driving force.
[0036] The difference between any two of the multiple driving forces is greater than a first set value. The first set value is a pre-set value and is not limited here. The multiple driving forces and the longitudinal acceleration corresponding to each driving force may be driving forces and longitudinal accelerations obtained at multiple different times.
[0037] In this embodiment, the driving force and the longitudinal acceleration corresponding to the driving force may be obtained by obtaining the motor driving torque at a certain moment, calculating the driving force based on the motor driving torque, and obtaining the corresponding longitudinal acceleration from the vehicle stability control unit.
[0038] Specifically, a method of acquiring multiple driving forces and the longitudinal acceleration corresponding to each driving force may be: collecting driving forces and longitudinal accelerations at multiple different times to obtain multiple driving forces and the longitudinal accelerations corresponding to each driving force.
[0039] In this embodiment, when the electric vehicle is in a stable driving state, the driving force and longitudinal acceleration are first collected at the first moment; then the driving force and longitudinal acceleration are collected at the second moment, and it is determined whether the difference between the driving force at the second moment and the driving force at the first moment is greater than the first set value. If so, the driving force and longitudinal acceleration at the second moment are retained, otherwise, the driving force and longitudinal acceleration at the second moment are discarded; then the driving force and longitudinal acceleration are collected at the third moment, and it is determined whether the difference between the driving force at the third moment and the driving force at the first moment and the retained driving force at the second moment is greater than the first set value. If so, the driving force and longitudinal acceleration at the third moment are retained, otherwise, the driving force and longitudinal acceleration at the third moment are discarded; then the driving force and longitudinal acceleration are continuously collected at the fourth moment. This is analogous here until multiple driving forces whose difference between the driving forces is greater than the first set value and the longitudinal acceleration corresponding to each driving force are obtained.
[0040] S140: Determine the mass of the electric vehicle based on a plurality of driving forces and the longitudinal acceleration corresponding to each driving force.
[0041] In this embodiment, when the electric vehicle is in a stable driving state, the rolling resistance, wind resistance and ramp resistance of the electric vehicle at each moment remain unchanged, or only slightly fluctuate. At this time, the mass of the electric vehicle can be determined based on the pairwise driving forces and the corresponding pairwise longitudinal accelerations.
[0042] Optionally, the method of determining the mass of the electric vehicle based on multiple driving forces and the longitudinal accelerations corresponding to each driving force may be: determining multiple estimated masses based on pairwise driving forces and corresponding pairwise longitudinal accelerations; determining the mass of the electric vehicle based on the multiple estimated masses.
[0043] In this embodiment, the plurality of driving forces are firstly arranged and combined in pairs, and then the plurality of estimated masses are determined based on the arranged and combined pairwise driving forces and the corresponding pairwise longitudinal accelerations.
[0044] Specifically, a method for determining multiple estimated masses based on pairwise driving forces and corresponding pairwise longitudinal accelerations may be: determining the difference between two driving forces and the difference between two corresponding longitudinal accelerations to obtain a first difference and a second difference; and taking the first difference as the quotient of the second difference to obtain an estimated mass.
[0045] In one embodiment, assuming that there are three driving forces: F1, F2 and F3, and the corresponding three longitudinal accelerations are a1, a2 and a2 respectively, then three estimated masses can be determined, which can be expressed as: m0 = (F1-F2) / (a1-a2), m1 = (F1-F3) / (a1-a3), m2 = (F2-F3) / (a2-a3).
[0046] Specifically, the method for determining the mass of the electric vehicle based on multiple estimated masses can be: determining the difference between the estimated masses of each pair among the multiple estimated masses to obtain multiple third differences; if the multiple third differences are all smaller than the fifth set value, then determining the average value of the multiple estimated masses as the mass of the electric vehicle.
[0047] In this embodiment, if the difference between the two estimated masses in the multiple estimated masses is less than the fifth set value, it indicates that the electric vehicle is in a stable operating state and is not disturbed in the process of obtaining multiple driving forces, and the multiple estimated masses are credible, and the average value of the multiple estimated masses is determined as the mass of the electric vehicle. If at least one of the differences between the two estimated masses in the multiple estimated masses is greater than or equal to the fifth set value, it indicates that the electric vehicle is disturbed (such as a bumpy road) in the process of obtaining multiple driving forces, and the multiple estimated masses are unreliable, and the operation returns to execute the acquisition of the driving data of the electric vehicle; based on the driving data, determine whether the electric vehicle is in a stable driving state; if the electric vehicle is in a stable driving state, obtain multiple driving forces and the longitudinal acceleration corresponding to each driving force; determine the mass of the electric vehicle based on the multiple driving forces and the longitudinal acceleration corresponding to each driving force.
[0048] The technical solution of this embodiment is to obtain the driving data of the electric vehicle; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change; based on the driving data, determine whether the electric vehicle is in a stable driving state; if the electric vehicle is in a stable driving state, obtain multiple driving forces and the longitudinal acceleration corresponding to each driving force; wherein the difference between the multiple driving forces is greater than the first set value; determine the mass of the electric vehicle based on the multiple driving forces and the longitudinal acceleration corresponding to each driving force. The method for determining the mass of the electric vehicle provided in this embodiment, when the electric vehicle is in a stable driving state, determines the mass of the electric vehicle based on the multiple driving forces and the longitudinal acceleration corresponding to each driving force, which can improve the accuracy and simplicity of determining the mass of the electric vehicle.
[0049] Embodiment 2
[0050] Figure 2 is a schematic diagram of a structure of a device for determining the quality of an electric vehicle provided in the second embodiment of the present invention, such as Figure 2 As shown, the device comprises:
[0051] The driving data acquisition module 210 is used to acquire the driving data of the electric vehicle; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change;
[0052] A stable driving state judgment module 220 is used to judge whether the electric vehicle is in a stable driving state based on the driving data;
[0053] The driving force and longitudinal acceleration acquisition module 230 is used to acquire multiple driving forces and longitudinal accelerations corresponding to each driving force when the electric vehicle is in a stable driving state; wherein the difference between any two driving forces in the multiple driving forces is greater than a first set value;
[0054] The mass determination module 240 is used to determine the mass of the electric vehicle based on a plurality of driving forces and the longitudinal acceleration corresponding to each driving force.
[0055] Optionally, the stable driving state judgment module 220 is further used for:
[0056] If the driving data meets the following conditions at the same time, the electric vehicle is in a stable driving state:
[0057] The difference between the first vehicle speed corresponding to the motor speed and the second vehicle speed corresponding to the wheel speed is less than a second set value;
[0058] The gear information is the driving gear, the brake pedal opening is 0, and the steering wheel angle change rate is less than a third set value;
[0059] The road gradient change is smaller than a fourth set value.
[0060] Optionally, the quality determination module 240 is further configured to:
[0061] Determining a plurality of estimated masses based on the pairwise driving forces and the corresponding pairwise longitudinal accelerations;
[0062] A mass of an electric vehicle is determined based on a plurality of estimated masses.
[0063] Optionally, the quality determination module 240 is further configured to:
[0064] Determine a difference between two driving forces and a corresponding difference between two longitudinal accelerations to obtain a first difference and a second difference;
[0065] The first difference is divided by the second difference to obtain an estimated quality.
[0066] Optionally, the quality determination module 240 is further configured to:
[0067] Determine the difference between any two of the estimated masses in the plurality of estimated masses to obtain a plurality of third difference values;
[0068] If the plurality of third differences are all smaller than the fifth set value, the average value of the plurality of estimated masses is determined as the mass of the electric vehicle.
[0069] Optionally, the driving force and longitudinal acceleration acquisition module 230 is further used for:
[0070] The driving force and the longitudinal acceleration are collected at multiple different moments to obtain multiple driving forces and the longitudinal acceleration corresponding to each driving force.
[0071] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not described in detail in this embodiment, please refer to the methods provided by all the above embodiments of the present invention.
[0072] Embodiment 3
[0073] Figure 3 A schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, the connections and relationships between the components, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0074] like Figure 3As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0075] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0076] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special 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 11 executes the various methods and processes described above, such as a method for determining the quality of an electric vehicle.
[0077] In some embodiments, the method for determining the quality of an electric vehicle may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the quality of an electric vehicle described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the method for determining the quality of an electric vehicle in any other appropriate manner (e.g., by means of firmware).
[0078] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0079] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0080] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer 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 of the foregoing.
[0081] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic 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 trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0082] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may 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.
[0083] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may 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 difficult management and weak business scalability in traditional physical hosts and VPS services.
[0084] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements a method for determining the mass of an electric vehicle as provided in any embodiment of the present application.
[0085] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0086] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0087] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining the quality of an electric vehicle, characterized in that: include: Acquire driving data of the electric vehicle; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change; Determining whether the electric vehicle is in a stable driving state based on the driving data; If the electric vehicle is in a stable driving state, a plurality of driving forces and the longitudinal acceleration corresponding to each driving force are obtained; wherein the difference between any two of the plurality of driving forces is greater than a first set value; The mass of the electric vehicle is determined based on the plurality of driving forces and the longitudinal acceleration corresponding to each driving force.
2. The method according to claim 1, characterized in that: Determining whether the electric vehicle is in a stable driving state based on the driving data includes: If the driving data satisfies the following conditions at the same time, the electric vehicle is in a stable driving state: The difference between the first vehicle speed corresponding to the motor speed and the second vehicle speed corresponding to the wheel speed is less than a second set value; The gear information is a driving gear, the brake pedal opening is 0, and the steering wheel angle change rate is less than a third set value; The road slope change is less than a fourth set value.
3. The method according to claim 1, characterized in that Determining the mass of the electric vehicle based on the plurality of driving forces and the longitudinal acceleration corresponding to each driving force includes: Determining a plurality of estimated masses based on the pairwise driving forces and the corresponding pairwise longitudinal accelerations; A mass of the electric vehicle is determined based on the plurality of estimated masses.
4. The method according to claim 3, characterized in that: Multiple estimated masses are determined based on the pairwise driving forces and the corresponding pairwise longitudinal accelerations, including: Determine a difference between two driving forces and a corresponding difference between two longitudinal accelerations to obtain a first difference and a second difference; The first difference is divided by the second difference to obtain an estimated quality.
5. The method according to claim 3, characterized in that: Determining the mass of the electric vehicle based on the plurality of estimated masses includes: Determine the difference between any two of the estimated masses in the plurality of estimated masses to obtain a plurality of third difference values; If the plurality of third differences are all smaller than the fifth set value, an average value of the plurality of estimated masses is determined as the mass of the electric vehicle.
6. The method according to claim 1, characterized in that Obtain multiple driving forces and the longitudinal acceleration corresponding to each driving force, including: The driving force and the longitudinal acceleration are collected at multiple different moments to obtain multiple driving forces and the longitudinal acceleration corresponding to each driving force.
7. A device for determining the mass of an electric vehicle, characterized in that: include: A driving data acquisition module, used to acquire driving data of the electric vehicle; wherein the driving data includes at least one of the following: motor speed, wheel speed, brake pedal opening, gear information, steering wheel angle change rate and road slope change; A stable driving state judgment module, used for judging whether the electric vehicle is in a stable driving state based on the driving data; A driving force and longitudinal acceleration acquisition module, used for acquiring a plurality of driving forces and the longitudinal acceleration corresponding to each driving force when the electric vehicle is in a stable driving state; wherein the difference between any two of the plurality of driving forces is greater than a first set value; The mass determination module is used to determine the mass of the electric vehicle based on the multiple driving forces and the longitudinal acceleration corresponding to each driving force.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, 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 so that the at least one processor can execute the method for determining the mass of an electric vehicle according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the mass of an electric vehicle according to any one of claims 1 to 6 when executed.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the method for determining the mass of an electric vehicle according to any one of claims 1 to 6.
