Vehicle power detection method, device, equipment and computer readable storage medium
By calculating the difference between the requested power and the actual power at the time of vehicle power detection, the abnormal state of vehicle power is determined, which solves the problem of inaccurate detection in the existing technology and improves detection accuracy and vehicle quality.
Patent Information
- Application Number
- CN202211194813.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-09-28
AI Technical Summary
Existing vehicle power detection methods are based on abnormal jumps in vehicle speed and motor speed, resulting in inaccurate power abnormal state detection, which may result in missed or misjudged decisions and affect vehicle quality.
By obtaining the requested power and actual power of the target vehicle at each power detection moment, the difference is calculated, and based on the absolute value of the difference, it is judged whether the vehicle is in an abnormal power state to avoid abnormal jumps affecting the detection results.
It improves the accuracy of vehicle power abnormality detection, ensures the accuracy of improvements and repairs based on power abnormality causes, and improves vehicle quality.
Smart Images

Figure CN115435945B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle power detection method, device, equipment and computer-readable storage medium. Background Art
[0002] During the driving process, the vehicle may experience abnormal power. When the vehicle experiences abnormal power, the vehicle may not be controlled by the driver, which may lead to safety problems. Therefore, vehicle manufacturers usually detect whether the vehicles that have been put into use have abnormal power. When it is determined that the vehicle has abnormal power, the vehicle will be inspected to determine the cause of the abnormal power, so as to make improvements in the subsequent production of vehicles to avoid abnormal power due to the same reason.
[0003] Currently, the detection of vehicle power abnormalities is based on the vehicle speed, motor speed and motor power at the current moment and the previous moment. However, due to the influence of driving roads, emergencies, etc. during driving, the vehicle speed, motor speed and motor power may undergo abnormal jumps, resulting in inaccurate detection of the vehicle power abnormality state, which may cause missed judgment or misjudgment of the vehicle power abnormality state, thereby making the determined cause of the power abnormality inaccurate. Improvements made to the new batch of vehicles produced based on the cause of the power abnormality and repairs to the target vehicles with power abnormalities are also inaccurate, affecting the quality of the vehicle.
[0004] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a vehicle power detection method, device, equipment and computer-readable storage medium, aiming to solve the technical problem of inaccurate detection of abnormal vehicle power status, which affects the quality of the vehicle.
[0006] To achieve the above object, the present invention provides a vehicle power detection method, wherein the vehicle power detection comprises the following steps:
[0007] Obtaining a first requested power and a first actual power of the target vehicle at each power detection moment;
[0008] Calculating a first difference between the first requested power and the first actual power at any power detection moment to obtain the first difference corresponding to each power detection moment;
[0009] When it is determined that the absolute value of the sum of each of the first differences is greater than a preset first threshold, it is determined that the target vehicle is in an abnormal power state within the detection time period corresponding to each of the power detection moments, wherein the first threshold is greater than zero.
[0010] Optionally, before the step of obtaining the first requested power and the first actual power of the target vehicle at each power detection moment, the method further includes:
[0011] Acquire a second requested power and a second actual power of the target vehicle at each trigger detection moment;
[0012] Detect whether an absolute value of a second difference between the second requested power and the second actual power at any time in each of the trigger detection times is greater than a preset second threshold, wherein the second threshold is greater than zero;
[0013] When it is determined that the absolute values of the second differences corresponding to each of the trigger detection moments are greater than the second threshold, each of the trigger detection moments and a preset number of moments after the last of the trigger detection moments are taken as the power detection moments, and the step of obtaining the first requested power and the first actual power of the target vehicle at each power detection moment is executed.
[0014] Optionally, after the step of determining that the target vehicle is in an abnormal power state within the detection time period corresponding to each of the power detection moments, the method further includes:
[0015] Detecting whether each of the power detection moments is within a preset target time period;
[0016] When it is determined that each of the power detection moments is within the target time period, each of the continued detection moments is determined based on the power detection moments and the target time period, and each of the continued detection moments is used as the trigger detection moment, respectively, and the step of obtaining the second requested power and the second actual power of the target vehicle at each trigger detection moment is returned to execute.
[0017] Optionally, after the step of determining that the target vehicle is in an abnormal power state within the detection time period corresponding to each of the power detection moments, the method further includes:
[0018] The specific power abnormality situation of the target vehicle in the detection time period is determined according to each of the first differences, wherein the specific power abnormality situation includes: a vehicle automatic acceleration situation and a vehicle power loss situation.
[0019] Optionally, when the first difference is a difference obtained by subtracting the first actual power at the same time from the first requested power, the step of determining the specific situation in which the target vehicle is in the abnormal power state during the detection time period according to each of the first differences includes:
[0020] Detecting whether the sum of the first differences is less than a preset third threshold, wherein the third threshold is equal to zero;
[0021] When it is determined that the sum of the first differences is less than the third threshold, determining that the specific power abnormality situation of the target vehicle during the detection time period is a vehicle automatic acceleration situation;
[0022] When it is determined that the sum of the first differences is greater than or equal to the third threshold, the specific power abnormality situation of the target vehicle in the detection time period is determined to be a vehicle power loss situation.
[0023] Optionally, when the first difference is a difference obtained by subtracting the first actual power at the same time from the first requested power, the step of determining the specific situation in which the target vehicle is in the abnormal power state during the detection time period according to each of the first differences includes:
[0024] Detecting whether a first number is greater than a second number, wherein the first number is the number of the first difference values that is less than zero, and the second number is the number of the first difference values that is greater than or equal to zero;
[0025] When it is determined that the first number is greater than the second number, determining the specific power abnormality situation of the target vehicle in the detection time period and the vehicle automatic acceleration situation;
[0026] When it is determined that the first number is less than or equal to the second number, it is determined that the specific power abnormality situation of the target vehicle during the detection time period is a vehicle power loss situation.
[0027] Optionally, the step of obtaining the first requested power and the first actual power of the target vehicle at any target moment in each of the power detection moments includes:
[0028] Acquire the motor torque requested by the target vehicle at the target time and the current motor speed, and calculate the first requested power of the target vehicle at the target time according to the motor torque requested and the current motor speed;
[0029] The motor controller voltage and the motor current of the target vehicle at the target time are obtained, and the first actual power of the target vehicle at the target time is calculated according to the motor controller voltage and the motor current.
[0030] To achieve the above object, the present invention further provides a vehicle power detection device, the vehicle power detection device comprising:
[0031] An acquisition module, used for acquiring a first requested power and a first actual power of the target vehicle at each power detection moment;
[0032] a calculation module, configured to calculate a first difference between the first requested power and the first actual power at any power detection moment, and obtain the first difference corresponding to each power detection moment;
[0033] A determination module is used to determine that the target vehicle is in an abnormal power state within a detection time period corresponding to each power detection moment when it is determined that the absolute value of the sum of each of the first differences is greater than a preset first threshold, wherein the first threshold is greater than zero.
[0034] To achieve the above-mentioned purpose, the present invention also provides a vehicle power detection device, which includes: a memory, a processor, and a vehicle power detection program stored in the memory and executable on the processor, and the vehicle power detection program, when executed by the processor, implements the steps of the vehicle power detection method as described above.
[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, on which a vehicle power detection program is stored. When the vehicle power detection program is executed by a processor, the steps of the vehicle power detection method as described above are implemented.
[0036] In the present invention, by obtaining the first requested power and the first actual power of the target vehicle at each power detection moment, the first difference between the first requested power and the first actual power is calculated for any power detection moment, and the first difference corresponding to each power detection moment is obtained. When it is determined that the absolute value of the sum of each first difference is greater than a preset first threshold, it is determined that the target vehicle is in a power abnormality state during the detection time period corresponding to each power detection moment. The present invention avoids the abnormal jump of the values of each parameter for calculating the requested power and the actual power from affecting the detection result, thereby improving the accuracy of detecting whether the power of the target vehicle is abnormal, thereby improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of power abnormality and repairs of target vehicles with power abnormality, and improving vehicle quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the first embodiment of the vehicle power detection method of the present invention;
[0038] Figure 2 A schematic diagram of an implementation method of a vehicle power detection method of the present invention;
[0039] Figure 3 This is a functional module diagram of an embodiment of a vehicle power detection device of the present invention;
[0040] Figure 4It is a structural diagram of a vehicle power detection device in a hardware operating environment involved in an embodiment of the present invention.
[0041] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0043] The embodiment of the present invention provides a vehicle power detection method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of a vehicle power detection method of the present invention. It should be noted that although the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than here. The vehicle power detection method may be executed by a computer, smart phone, server or other device that establishes a communication link with the vehicle, which is not limited in this embodiment. For the convenience of description, the description of the execution subject is omitted below. In this embodiment, the vehicle power detection method includes:
[0044] Step S10, obtaining a first requested power and a first actual power of the target vehicle at each power detection moment;
[0045] At present, the power detection of the vehicle is mainly based on the vehicle speed, motor power and motor speed at the current moment and the previous moment. If the vehicle speed and motor speed at the current moment are greater than the vehicle speed and motor speed at the previous moment, and the actual motor power at the current moment is greater than the requested motor, it can be determined that the vehicle is in an abnormal state of automatic acceleration; if the vehicle speed and motor speed at the current moment are less than the vehicle speed and motor speed at the previous moment, and the actual motor power at the current moment is less than the requested motor, it can be determined that the vehicle is in an abnormal state of power loss. Among them, the power requested by the VCU (Vehicle Control Unit) to the vehicle motor is called the requested power, and the power actually output by the vehicle battery to the motor is called the actual power.
[0046] However, due to the influence of the road and vehicle conditions during driving, the vehicle speed, motor speed and other driving data may jump. At this time, if the vehicle is in a power abnormality state only based on the changes in the vehicle speed, motor speed and motor power at two adjacent moments, the detection result may be inaccurate. This may cause the omission or misjudgment of the power abnormality state, making the determined cause of the power abnormality inaccurate, and the improvements made to the new batch of vehicles produced based on the cause of the power abnormality and the maintenance of the target vehicle with power abnormality are also inaccurate, affecting the quality of the vehicle.
[0047] In this embodiment, by detecting whether the vehicle is in the target state based on the change of the vehicle motor power at each moment within a period of time, the influence of the road environment and abnormal signal jumps on the detection result can be reduced, making the obtained detection result more accurate.
[0048] Specifically, in this embodiment, the vehicle that needs to be powered is referred to as a target vehicle for distinction. The requested power and actual power of the target vehicle at each power detection moment are obtained (hereinafter referred to as the first requested power and the first actual power, respectively, for distinction). The first requested power and the first actual power of the vehicle at the power detection moment are used to detect whether the vehicle is in an abnormal power state. Specifically, the power detection moment can be a moment when the interval is less than a certain threshold, which can be set according to actual needs and is not limited here.
[0049] Specifically, in one embodiment, the conditions for starting the power detection can be set in advance, and the power detection can be performed on the target vehicle after it is determined that the power detection is triggered; in another embodiment, the power detection can also be performed at a preset time. For example, the power detection can be performed a preset number of times after the time when the user reports that the vehicle abnormality has occurred. The specific setting can be based on actual needs and is not limited here.
[0050] Step S20, calculating a first difference between the first requested power and the first actual power at any power detection moment, to obtain the first difference corresponding to each power detection moment;
[0051] After obtaining the first requested power and the first actual power of the target vehicle at each power detection moment, the difference between the first requested power at each power detection moment and the first actual power at the same moment (hereinafter referred to as the first difference for distinction) is calculated respectively.
[0052] Further, in a specific implementation, after calculating the difference between the first requested power and the first actual power, the calculated value can be processed using a preset parameter, and the value processed using the preset parameter is used as the first difference to reduce the error in the power detection process. Specifically, the preset parameter can be obtained according to actual tests, for example, the preset parameter can be set to 0.85, which is not limited here.
[0053] Step S30, when it is determined that the absolute value of the sum of each of the first differences is greater than a preset first threshold, it is determined that the target vehicle is in an abnormal power state within the detection time period corresponding to each of the power detection moments, wherein the first threshold is greater than zero.
[0054] The absolute value of the sum of each first difference is calculated. When it is determined that the absolute value of the sum of each first difference is greater than a preset threshold (hereinafter referred to as the first threshold for distinction), it is determined that the target vehicle is in a power abnormality state during the detection time period corresponding to each power detection moment. In a specific implementation, the value of the first threshold is greater than zero. The first threshold can be obtained according to actual needs and engineering tests. For example, in one implementation, the first threshold can be set to 80, which is not specifically limited here.
[0055] It should be noted that by using the requested power and actual power of the target vehicle for vehicle power detection, the influence of the jump in vehicle speed and motor speed on vehicle power detection can be avoided. At the same time, by using the absolute value of the sum of the difference between the requested power and the actual power of the target vehicle during the detection time period for vehicle power detection, the influence of abnormal jumps in the values of various parameters for calculating the requested power and the actual power on the detection results can be avoided, thereby improving the accuracy of detecting whether the power of the target vehicle is abnormal, thereby improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of power abnormality and the repair of target vehicles with power abnormalities, thereby improving vehicle quality.
[0056] Further, in one embodiment, the step of obtaining the first requested power and the first actual power of the target vehicle at any target moment in each of the power detection moments in step S10 includes:
[0057] Step S101, obtaining the motor request torque and the current motor speed of the target vehicle at the target time, and calculating the first request power of the target vehicle at the target time according to the motor request torque and the current motor speed;
[0058] In this implementation manner, after the motor data of the target vehicle is acquired, the first requested power and the first actual power are calculated according to the motor data of the target vehicle.
[0059] Specifically, in this embodiment, the motor request torque and the current motor speed of the target vehicle are obtained, and the first requested power is calculated according to the motor request torque and the current motor speed. Since the units of the motor request torque and the current motor speed are different from the units of power, in a specific embodiment, after calculating the product of the motor request torque and the current motor speed, the unit conversion parameter is used to process the product to obtain the first requested power.
[0060] Step S102 , obtaining a motor controller voltage and a motor current of the target vehicle at the target time, and calculating the first actual power of the target vehicle at the target time according to the motor controller voltage and the motor current.
[0061] The motor control voltage and motor current of the target vehicle are obtained, and the first actual power is calculated according to the motor controller voltage and the motor current. Specifically, the motor controller voltage is multiplied by the motor current to calculate the first actual power.
[0062] Furthermore, in a specific implementation, in order to keep the units of the first requested power and the first actual power the same, after calculating the first requested power and the first actual power, the calculated values are processed. For example, in one implementation, when the unit of the motor requested torque is Nm and the unit of the motor current speed is RPM, the product of the motor requested torque multiplied by the motor current speed is divided by 9550 to obtain the first requested power in KW; when the unit of the motor controller voltage is V and the unit of the motor current is A, the product of the motor controller voltage multiplied by the motor current is divided by 1000 to obtain the first actual power in KW. Specifically, it can be processed according to the value units of each motor data, which is not set here.
[0063] In this embodiment, by detecting whether the target vehicle triggers the power detection, after determining that the target vehicle triggers the power detection, the first requested power and the first actual power of the target vehicle at each power detection moment are obtained. The first difference between each first requested power and the first actual power is calculated, and whether the absolute value of the sum of each first difference is greater than the first threshold value is determined to determine whether the target vehicle is in a power abnormality state during the detection time period corresponding to each power detection moment. This can avoid the abnormal jump of the values of each parameter for calculating the requested power and the actual power from affecting the detection result, thereby improving the accuracy of detecting whether the power of the target vehicle is abnormal, thereby improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of power abnormality and repairs of target vehicles with power abnormality, and improving vehicle quality.
[0064] Further, based on the above first embodiment, a second embodiment of the vehicle power detection method of the present invention is proposed. In this embodiment, before step S20, the method further includes:
[0065] Step S40, obtaining a second requested power and a second actual power of the target vehicle at each trigger detection moment;
[0066] In this embodiment, when determining whether the target vehicle meets certain conditions, performing a power test on the vehicle can make the result of the vehicle power test more accurate, thereby improving the accuracy of detecting whether the power of the target vehicle is abnormal.
[0067] Specifically, in this embodiment, the requested power and actual power (hereinafter referred to as the second requested power and the second actual power, respectively, for distinction) of the target vehicle at each moment (hereinafter referred to as the trigger detection moment for distinction) are obtained.
[0068] Step S50, detecting whether an absolute value of a second difference between the second requested power and the second actual power at any time in each of the trigger detection times is greater than a preset second threshold, wherein the second threshold is greater than zero;
[0069] After the second requested power and the second actual power are acquired, a second difference value at each trigger detection moment is obtained for the second requested power and the second actual power at any trigger detection moment.
[0070] Detect whether the absolute values of each second difference are greater than a preset second threshold. In a specific implementation, the value of the second threshold is greater than zero, and the specific value of the second threshold can be obtained according to actual needs and tests, and is not specifically limited here. For example, in one implementation, the second threshold can be set to 15.
[0071] Step S60, when it is determined that the absolute values of the second differences corresponding to each of the trigger detection moments are greater than the second threshold, each of the trigger detection moments and a preset number of moments after the last moment of the trigger detection moment are taken as the power detection moment, and the step of obtaining the first requested power and the first actual power of the target vehicle at each power detection moment is executed.
[0072] When it is determined that the absolute values of each second difference are greater than the second threshold, it is determined that a vehicle power detection is to be performed on the target vehicle, and each trigger detection moment and a preset number of moments after the last moment of the trigger detection moment are used as power detection moments, and the step of obtaining the first requested power and the first actual power of the target vehicle at each power detection moment is executed.
[0073] It should be noted that by detecting whether the target vehicle meets certain conditions and thereby determining whether to conduct vehicle power detection on the target vehicle, the results of the vehicle power detection can be made more accurate, thereby improving the accuracy of detecting whether the power of the target vehicle is abnormal, improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of power abnormalities and repairs to target vehicles with power abnormalities, and improving vehicle quality.
[0074] Furthermore, in one embodiment, after step S30, the following steps are further included:
[0075] Step S70, detecting whether each of the power detection moments is within a preset target time period;
[0076] In this embodiment, when it is determined that the target vehicle meets certain conditions, the target vehicle is subjected to a power test. Therefore, after determining that the target vehicle is in an abnormal power state during the detection time period, if the target vehicle still meets certain conditions, the target vehicle will continue to be subjected to a power test. Based on the detection requirements, in actual operation, it may only be necessary to perform a power test on the target vehicle within a period of time. Therefore, in this embodiment, it is determined whether to continue to perform a power test on the target vehicle by detecting whether the moment of triggering the power test is within the preset target time period.
[0077] Specifically, in this embodiment, after determining that the target vehicle is in a power abnormality state within the detection time period, it is detected whether the power detection triggering moment is within a preset target time period. In a specific embodiment, the preset target time period can be determined based on the time period included in the reported abnormal information, or can be determined based on a pre-set maintenance time period, which is not specifically limited here.
[0078] Step S80, when it is determined that each of the power detection moments is within the target time period, each of the continued detection moments is determined based on the each of the power detection moments and the target time period, and each of the continued detection moments is used as the trigger detection moment, respectively, and the step of obtaining the second requested power and the second actual power of the target vehicle at each trigger detection moment is returned to execute.
[0079] When it is determined that each power detection moment is within the target time period, it is determined that the target vehicle can continue to be tested for power. At this time, based on each power detection moment and the target time period, each moment (hereinafter referred to as the continued detection moment for distinction) for continuing to detect whether the target vehicle meets the conditions for power detection is determined. Each continued detection moment is used as a trigger detection moment, and the step of obtaining the second requested power and the second actual power of the target vehicle at each trigger detection moment is returned to determine whether the target vehicle meets the conditions for power detection.
[0080] It should be noted that by detecting whether the power detection moment is in the preset target time period and determining whether to continue the vehicle power detection, the detection workload can be reduced and the detection efficiency can be improved. At the same time, the time period when the vehicle is in power abnormality can be determined more accurately and completely, so as to facilitate the investigation of the vehicle's power abnormality, thereby more accurately determining the cause of the vehicle's power abnormality, thereby improving the accuracy of improvements made to the new batch of vehicles produced based on the cause of the power abnormality and the repair of the target vehicle with power abnormality, thereby improving the quality of the vehicle.
[0081] In this embodiment, by detecting whether the second requested power and the second actual power of the target vehicle at the time of triggering the detection meet certain conditions, it is determined whether to perform vehicle power detection on the target vehicle. This can make the result of determining the vehicle power detection more accurate, thereby improving the accuracy of detecting whether the power of the target vehicle is abnormal, improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of power abnormality and the repair of target vehicles with power abnormalities, thereby improving vehicle quality.
[0082] Further, based on the above-mentioned first and / or second embodiments, a third embodiment of the vehicle power detection method of the present invention is proposed. In this embodiment, after step S30, the following steps are included:
[0083] Step S90, determining the specific power abnormality situation of the target vehicle during the detection time period according to each of the first differences, wherein the specific power abnormality situation includes: a vehicle automatic acceleration situation and a vehicle power loss situation.
[0084] In this embodiment, after determining that the target vehicle is in a power abnormality state, the specific circumstances of the power abnormality of the target vehicle within the detection time period can be determined based on each first difference value, so as to determine the cause of the power abnormality of the target vehicle within the detection time period according to different circumstances of the power abnormality, thereby improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of the power abnormality and repairs to target vehicles with power abnormalities, thereby improving vehicle quality.
[0085] In a specific implementation manner, the specific abnormal power situation of the target vehicle includes: a vehicle automatic acceleration situation and a vehicle power loss situation.
[0086] Further, in one embodiment, when the first difference is the first requested power minus the first actual power at the same time, the step S60 includes:
[0087] Step S901, detecting whether the sum of the first differences is less than a preset third threshold, wherein the third threshold is equal to zero;
[0088] In this implementation, the specific situation of the power abnormality of the target vehicle is determined based on the sum of the first difference values. Specifically, in this implementation, the first difference value is the first requested power minus the first actual power at the same time.
[0089] It can be understood that when the absolute value of the sum of the first differences is greater than the first threshold value greater than zero, it can be determined that the target vehicle has abnormal power. In the specific implementation, the sum of the first differences is greater than zero or less than zero. At this time, the specific situation of abnormal power of the target vehicle can be distinguished by using the value zero as the boundary.
[0090] Therefore, in this embodiment, a third threshold value of zero is preset to detect whether the sum of the first differences is less than the preset third threshold value.
[0091] Step S902, when it is determined that the sum of the first differences is less than the third threshold, determining that the specific power abnormality situation of the target vehicle in the detection time period is a vehicle automatic acceleration situation;
[0092] When it is determined that the sum of the first differences is less than the third threshold value, it is determined that the sum of the first differences less than zero among the first differences exceeds the sum of the first differences not greater than zero, that is, the sum of the first requested powers of the target vehicle during the detection time period is more deeply less than the sum of the first actual powers. At this time, it can be determined that the specific situation of the power abnormality of the target vehicle during the detection time period is the vehicle automatic acceleration situation.
[0093] Step S903, when it is determined that the sum of the first differences is greater than or equal to the third threshold, the specific power abnormality situation of the target vehicle in the detection time period, that is, the vehicle power loss situation, is determined.
[0094] When it is determined that the sum of the first differences is not less than the third threshold value, it is determined that the sum of the first differences that are not less than zero among the first differences exceeds the sum of the first differences that are less than zero, that is, the sum of the first requested powers of the target vehicle during the detection time period is greater than the sum of the first actual powers. At this time, it can be determined that the specific situation of the power abnormality of the target vehicle during the detection time period is a vehicle power loss situation.
[0095] Further, in one embodiment, a preset range can be determined according to a first threshold value, the maximum value of the preset range is the first threshold value, and the minimum value of the preset range is the negative value of the first threshold value. In this embodiment, when the sum of the first difference values is greater than the maximum value of the preset range, the specific situation of the power abnormality of the target vehicle is determined to be an automatic acceleration situation of the vehicle; when the sum of the first difference values is less than the minimum value of the preset range, the specific situation of the power abnormality of the target vehicle is determined to be a vehicle loss of power situation. For example, in one embodiment, when the first threshold value is set to 80, the preset range can be (-80, 80), when the sum of the first difference values is greater than 80, the specific situation of the power abnormality of the target vehicle is determined to be an automatic acceleration situation of the vehicle; when the sum of the first difference values is less than -80, the specific situation of the power abnormality of the target vehicle is determined to be a vehicle loss of power situation.
[0096] It should be noted that when the first difference is the first requested power minus the first actual power at the same moment, the specific situation of the target vehicle in power abnormality during the detection time period is determined by comparing each first difference with the third threshold, so as to determine the cause of the power abnormality of the target vehicle during the detection time period according to different situations, thereby improving the accuracy of improvements made to the new batch of vehicles produced based on the cause of power abnormality and the maintenance of target vehicles with power abnormality, thereby improving vehicle quality.
[0097] Further, in one embodiment, when the first difference is the first requested power minus the first actual power at the same time, the step S60 includes:
[0098] Step S904, detecting whether the first number is greater than a second number, wherein the first number is the number of the first difference values that is less than zero, and the second number is the number of the first difference values that is greater than or equal to zero;
[0099] In this embodiment, the first difference is the first requested power minus the first actual power at the same time. Specifically, in this embodiment, the specific situation of the abnormal power state of the target vehicle is determined based on the comparison of the number of first differences less than zero in the first differences (hereinafter referred to as the first number for distinction) and the number of first differences not less than zero (hereinafter referred to as the second number for distinction). That is, based on the comparison of the first number of the first requested power less than the first actual power and the number of the first requested power not less than the first actual power, the specific situation of the target vehicle being in the abnormal power state during the detection time period is determined.
[0100] Step S905, when it is determined that the first number is greater than the second number, determining the specific power abnormality situation of the target vehicle in the detection time period, the vehicle automatic acceleration situation;
[0101] When it is determined that the first number is greater than the second number, it is determined that the first requested power of the target vehicle at each power detection moment is less than the first actual power more times. At this time, it can be determined that the specific situation of the power abnormality of the target vehicle during the detection time period is the vehicle automatic acceleration situation.
[0102] Step S906, when it is determined that the first number is less than or equal to the second number, determining that the specific power abnormality situation of the target vehicle during the detection time period is a vehicle power loss situation.
[0103] When it is determined that the first number is not greater than the second number, it is determined that the first requested power of the target vehicle at each power detection moment is not less than the first actual power more times. At this time, it can be determined that the specific situation of the power abnormality of the target vehicle during the detection time period is a vehicle power loss situation.
[0104] It should be noted that when the first difference is the first requested power minus the first actual power at the same moment, the specific situation in which the target vehicle is in power abnormality during the detection time period is determined by comparing the first number and the second number of the first difference, so as to determine the cause of the power abnormality of the target vehicle during the detection time period according to different situations, thereby improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of the power abnormality and the repair of the target vehicle with power abnormality, thereby improving vehicle quality.
[0105] It can be understood that when the first difference is the first actual power minus the first requested power, the specific situation in which the target vehicle is in an abnormal power state can be determined by referring to the various implementation methods in this embodiment, which will not be elaborated here.
[0106] In this embodiment, by determining the specific circumstances in which the target vehicle is in a power abnormality state during the detection time period based on each first difference value, it is possible to determine the cause of the power abnormality of the target vehicle during the detection time period according to different circumstances of the power abnormality, thereby improving the accuracy of improvements made to a new batch of vehicles produced based on the cause of the power abnormality and repairs to target vehicles with power abnormalities, thereby improving vehicle quality.
[0107] Further, in one embodiment, referring to Figure 2 , obtain vehicle monitoring data, calculate the VCU requested motor power and the power actually output by the battery to the motor according to the vehicle monitoring data. (That is, obtain the motor request torque and the current motor speed of the target vehicle, and multiply the motor request torque by the current motor speed to obtain the first requested power; obtain the motor controller voltage and motor current of the target vehicle, and multiply the motor controller voltage by the motor current to obtain the first actual power).
[0108] When it is determined that the difference between the requested power and the actual power of one piece of data is too large, it is determined that a power test is to be performed on the vehicle. For the sake of convenience, the one piece of data will be referred to as the first piece of data below. In this embodiment, the threshold (i.e., the second threshold) of the absolute value of the difference between the requested power and the actual power can be set to 10. When the absolute value of the difference between the requested power and the actual power of the first piece of data is greater than 10, it is determined that a power test is to be performed on the vehicle. (That is, it is detected whether the absolute value of the second difference between the second requested power of the target vehicle at each moment of the third number and the second actual power at the same moment is respectively greater than the preset second threshold. When it is determined that the absolute value of each second difference is respectively greater than the second threshold, it is determined that the target vehicle triggers the vehicle power test.)
[0109] The target vehicle is subjected to a vehicle power detection, and when it is determined that the absolute value of the sum of the difference between the requested power and the actual power in 5 consecutive data is too large, the vehicle power is determined to be abnormal. In a specific implementation, the 5 data include the first data mentioned above and the 4 data after the first data. Specifically, in this implementation, the threshold value (i.e., the first threshold value) of the absolute value of the sum of the difference between the 5 requested powers and the actual power can be set to 80, and when the absolute value of the sum of the difference between the 5 requested powers and the actual power is greater than 80, the vehicle power is determined to be abnormal. (That is, after determining that the target vehicle triggers the vehicle power detection, the first requested power and the first actual power of the target vehicle at 5 power detection moments are obtained, wherein the 5 power detection moments include determining the trigger detection moment of triggering the vehicle power detection, 1 pre-trigger moment before the trigger detection moment and the trigger detection moment, and 3 post-trigger moments after the trigger detection moment and the trigger detection moment; respectively calculate the first difference between the first requested power at the 5 power detection moments and the first actual power at the same moment; when it is determined that the absolute value of the sum of the 5 first differences is greater than the first threshold value, it is determined that the target vehicle is in a power abnormal state).
[0110] When it is determined that the vehicle is in an abnormal power state, certain measures can be taken for the vehicle. For example, after finding out the cause of the vehicle's power abnormality, the vehicle that has already experienced power abnormality can be improved. At the same time, when producing a new batch of vehicles, improvements can be made to the new batch of vehicles based on the cause of the power abnormality to avoid the same power abnormality.
[0111] The present invention also provides a vehicle power detection device, referring to Figure 3 , the vehicle power detection device comprises:
[0112] An acquisition module 10 is used to acquire a first requested power and a first actual power of the target vehicle at each power detection moment;
[0113] A calculation module 20, configured to calculate a first difference between the first requested power and the first actual power at any power detection moment, and obtain the first difference corresponding to each power detection moment;
[0114] The determination module 30 is used to determine that the target vehicle is in an abnormal power state during the detection time period corresponding to each power detection moment when it is determined that the absolute value of the sum of each of the first differences is greater than a preset first threshold, wherein the first threshold is greater than zero.
[0115] Furthermore, the acquisition module 10 is also used for:
[0116] Acquire a second requested power and a second actual power of the target vehicle at each trigger detection moment;
[0117] The vehicle power detection device further includes a detection module, which is used to:
[0118] Detect whether an absolute value of a second difference between the second requested power and the second actual power at any time in each of the trigger detection times is greater than a preset second threshold, wherein the second threshold is greater than zero;
[0119] The determination module 30 is further used for:
[0120] When it is determined that the absolute values of the second differences corresponding to each of the trigger detection moments are greater than the second threshold, each of the trigger detection moments and a preset number of moments after the last of the trigger detection moments are taken as the power detection moments, and the step of obtaining the first requested power and the first actual power of the target vehicle at each power detection moment is executed.
[0121] Furthermore, the detection module is also used for:
[0122] Detecting whether each of the power detection moments is within a preset target time period;
[0123] The determination module 30 is further used for:
[0124] When it is determined that each of the power detection moments is within the target time period, each of the continued detection moments is determined based on the power detection moments and the target time period, and each of the continued detection moments is used as the trigger detection moment, respectively, and the step of obtaining the second requested power and the second actual power of the target vehicle at each trigger detection moment is returned to execute.
[0125] Furthermore, the determining module 30 is further configured to:
[0126] The specific power abnormality situation of the target vehicle in the detection time period is determined according to each of the first differences, wherein the specific power abnormality situation includes: a vehicle automatic acceleration situation and a vehicle power loss situation.
[0127] Furthermore, the detection module is also used for:
[0128] Detecting whether the sum of the first differences is less than a preset third threshold, wherein the third threshold is equal to zero;
[0129] The determination module 30 is further used for:
[0130] When it is determined that the sum of the first differences is less than the third threshold, determining that the specific power abnormality situation of the target vehicle in the detection time period is a vehicle automatic acceleration situation;
[0131] When it is determined that the sum of the first differences is greater than or equal to the third threshold, the specific power abnormality situation of the target vehicle in the detection time period is determined to be a vehicle power loss situation.
[0132] Furthermore, the detection module is also used for:
[0133] Detecting whether a first number is greater than a second number, wherein the first number is the number of the first difference values that is less than zero, and the second number is the number of the first difference values that is greater than or equal to zero;
[0134] The determination module 30 is further used for:
[0135] When it is determined that the first number is greater than the second number, determining the specific power abnormality situation of the target vehicle in the detection time period and the vehicle automatic acceleration situation;
[0136] When it is determined that the first number is less than or equal to the second number, it is determined that the specific power abnormality situation of the target vehicle during the detection time period is a vehicle power loss situation.
[0137] Furthermore, the acquisition module 10 is also used for:
[0138] Acquire the motor torque requested by the target vehicle at the target time and the current motor speed, and calculate the first requested power of the target vehicle at the target time according to the motor torque requested and the current motor speed;
[0139] The motor controller voltage and the motor current of the target vehicle at the target time are obtained, and the first actual power of the target vehicle at the target time is calculated according to the motor controller voltage and the motor current.
[0140] The various embodiments of the vehicle power detection device of the present invention may refer to the various embodiments of the vehicle power detection method of the present invention, and will not be described in detail here.
[0141] The embodiment of the present invention provides a vehicle power detection device, referring to Figure 4, the vehicle power detection device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0142] Those skilled in the art will understand that Figure 4 The structure shown in does not constitute a limitation on the vehicle power detection device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0143] like Figure 4 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a data storage module, a network communication module, a user interface module, and a vehicle power detection program.
[0144] exist Figure 4 In the vehicle power detection device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the vehicle power detection device of the present invention can be set in the vehicle power detection device, and the vehicle power detection device calls the vehicle power detection program stored in the memory 1005 through the processor 1001, and executes the steps of the vehicle power detection method provided in the embodiment of the present invention.
[0145] The various embodiments of the vehicle power detection device of the present invention may refer to the various embodiments of the vehicle power detection method of the present invention, and will not be described in detail here.
[0146] In addition, an embodiment of the present invention further proposes a computer-readable storage medium, on which a vehicle power detection program is stored. When the vehicle power detection program is executed by a processor, the steps of the vehicle power detection method described above are implemented.
[0147] The various embodiments of the computer-readable storage medium of the present invention may refer to the various embodiments of the vehicle power detection method of the present invention, and will not be described in detail here.
[0148] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0149] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0151] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A vehicle power detection method, characterized in that: The vehicle power detection method comprises the following steps: Obtaining a first requested power and a first actual power of the target vehicle at each power detection moment; Calculating a first difference between the first requested power and the first actual power at any power detection moment to obtain the first difference corresponding to each power detection moment; When it is determined that the absolute value of the sum of each of the first differences is greater than a preset first threshold, it is determined that the target vehicle is in a power abnormality state within the detection time period corresponding to each of the power detection moments, wherein the first threshold is greater than zero; Wherein, before the step of obtaining the first requested power and the first actual power of the target vehicle at each power detection moment, the method further includes: Acquire a second requested power and a second actual power of the target vehicle at each trigger detection moment; Detect whether an absolute value of a second difference between the second requested power and the second actual power at any time in each of the trigger detection times is greater than a preset second threshold, wherein the second threshold is greater than zero; When it is determined that the absolute values of the second differences corresponding to the respective trigger detection moments are all greater than the second threshold, taking the respective trigger detection moments and the moments a preset number after the last one of the trigger detection moments as the power detection moments, and executing the step of obtaining the first requested power and the first actual power of the target vehicle at the respective power detection moments; Wherein, after the step of determining that the target vehicle is in an abnormal power state within the detection time period corresponding to each of the power detection moments, the method further includes: Detecting whether each of the power detection moments is within a preset target time period; When it is determined that each of the power detection moments is within the target time period, each of the continued detection moments is determined based on the power detection moments and the target time period, and each of the continued detection moments is used as the trigger detection moment, respectively, and the step of obtaining the second requested power and the second actual power of the target vehicle at each trigger detection moment is returned to execute.
2. The vehicle power detection method according to claim 1, characterized in that: After the step of determining that the target vehicle is in an abnormal power state within the detection time period corresponding to each of the power detection moments, the method further includes: The specific power abnormality situation of the target vehicle in the detection time period is determined according to each of the first differences, wherein the specific power abnormality situation includes: a vehicle automatic acceleration situation and a vehicle power loss situation.
3. The vehicle power detection method according to claim 2, characterized in that: When the first difference is the difference obtained by subtracting the first actual power at the same time from the first requested power, the step of determining the specific situation in which the target vehicle is in the power abnormal state during the detection time period according to each of the first differences includes: Detecting whether the sum of the first differences is less than a preset third threshold, wherein the third threshold is equal to zero; When it is determined that the sum of the first differences is less than the third threshold, determining that the specific power abnormality situation of the target vehicle during the detection time period is a vehicle automatic acceleration situation; When it is determined that the sum of the first differences is greater than or equal to the third threshold, the specific power abnormality situation of the target vehicle in the detection time period is determined to be a vehicle power loss situation.
4. The vehicle power detection method according to claim 2, characterized in that: When the first difference is the difference obtained by subtracting the first actual power at the same time from the first requested power, the step of determining the specific situation in which the target vehicle is in the power abnormal state during the detection time period according to each of the first differences includes: Detecting whether a first number is greater than a second number, wherein the first number is the number of the first difference values that is less than zero, and the second number is the number of the first difference values that is greater than or equal to zero; When it is determined that the first number is greater than the second number, determining the specific power abnormality situation of the target vehicle in the detection time period and the vehicle automatic acceleration situation; When it is determined that the first number is less than or equal to the second number, it is determined that the specific power abnormality situation of the target vehicle during the detection time period is a vehicle power loss situation.
5. The vehicle power detection method according to any one of claims 1 to 4, characterized in that: The step of obtaining the first requested power and the first actual power of the target vehicle at any target moment in each of the power detection moments includes: Acquire the motor torque requested by the target vehicle at the target time and the current motor speed, and calculate the first requested power of the target vehicle at the target time according to the motor torque requested and the current motor speed; The motor controller voltage and the motor current of the target vehicle at the target time are obtained, and the first actual power of the target vehicle at the target time is calculated according to the motor controller voltage and the motor current.
6. A vehicle power detection device, characterized in that: The vehicle power detection device comprises: An acquisition module, used for acquiring a first requested power and a first actual power of the target vehicle at each power detection moment; a calculation module, configured to calculate a first difference between the first requested power and the first actual power at any power detection moment, and obtain the first difference corresponding to each power detection moment; A determination module, configured to determine that the target vehicle is in an abnormal power state within a detection time period corresponding to each of the power detection moments when it is determined that the absolute value of the sum of each of the first difference values is greater than a preset first threshold, wherein the first threshold is greater than zero; Wherein, the acquisition module is further used to acquire the second requested power and the second actual power of the target vehicle at each trigger detection moment; The vehicle power detection device further includes a detection module, which is used to detect whether the absolute value of the second difference between the second requested power and the second actual power at any time of each of the trigger detection moments is greater than a preset second threshold, wherein the second threshold is greater than zero; The determination module is further configured to, when it is determined that the absolute values of the second differences corresponding to the respective trigger detection moments are all greater than the second threshold value, use the respective trigger detection moments and the moments a preset number after the last moment of the trigger detection moments as the power detection moments, and execute the step of obtaining the first requested power and the first actual power of the target vehicle at the respective power detection moments; Wherein, the detection module is further used to detect whether each of the power detection moments is within a preset target time period; The determination module is also used to determine each continued detection moment based on each power detection moment and the target time period when it is determined that each power detection moment is within the target time period, and use each continued detection moment as the trigger detection moment, and return to execute the step of obtaining the second requested power and the second actual power of the target vehicle at each trigger detection moment.
7. A vehicle power detection device, characterized in that: The device comprises: a memory, a processor, and a vehicle power detection program stored in the memory and executable on the processor, wherein the vehicle power detection program is configured to implement the steps of the vehicle power detection method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a vehicle power detection program, and when the vehicle power detection program is executed by the processor, the steps of the vehicle power detection method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Device and method for safely monitoring torque of pure electric vehicle
CN103863122A
Monitoring method and system for running safety of electric vehicle
CN104859452A
Electric vehicle and torque monitoring method and system thereof
CN107650716A
Vehicle performance monitoring system implementation method and system and readable storage medium
CN108556770A
Electronic control engine service test method, device and equipment and storage medium
CN111077390A
