Vehicle control method, vehicle and computer readable storage medium
By obtaining vehicle information in electric vehicles, we can determine and handle motor faults in unexpected directions, which solves the safety threat caused by inconsistent motor zero positions and improves the accuracy of fault identification and user safety.
Patent Information
- Application Number
- CN202110347928.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-03-31
AI Technical Summary
When the zero position of the motor in an electric vehicle is inconsistent with the zero position stored in the control system, it may cause the vehicle to shift into forward gear but drive in the rear, seriously threatening driving safety.
By obtaining information while the vehicle is driving, it can determine whether a motor fault occurs in an unexpected direction and deal with it when a fault occurs, including controlling the motor to output a preset torque and issuing a fault reminder.
Accurately identify motor driving faults in unexpected directions to ensure user driving safety, avoid misjudgments caused by slopes and gear shifts, and improve the accuracy and efficiency of fault identification.
Smart Images

Figure CN115139797B
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of vehicle control technology, and more specifically, to a vehicle control method, a vehicle, and a computer-readable storage medium. Background Art
[0002] With the increase in the number of electric vehicles, various low-probability events have occurred in automotive electronic systems. Although the probability of such problems is small, they pose a threat to the safety of users' lives after they occur. This is especially true for the electric drive system, which is the core of electric vehicles. Its safe and effective operation determines the safe driving of the car.
[0003] The motor control system controls the motor to accelerate and decelerate according to the user's driving intention, and the motor zero position is very important. The actual zero position of the motor and the zero position value used by the motor control system determine whether the motor can perform and whether the motor can drive in the expected direction. Among them, the zero position used in the motor control system is calibrated at the factory, and this value cannot be changed by anyone except the manufacturer; the actual zero position of the motor may change due to many reasons (such as failure of the rotary transformer used to collect the motor position).
[0004] If there is a problem with the motor zero position sampling value or the motor resolver, the actual motor zero position will be inconsistent with the zero position value stored in the motor control system. When the deviation between the actual motor zero position and the zero position value stored in the motor control system is large enough, the vehicle will be in forward gear but drive backward, which seriously threatens the user's driving safety. Summary of the invention
[0005] One purpose of the embodiments of the present disclosure is to provide a technical solution to improve vehicle driving safety.
[0006] According to a first aspect of an embodiment of the present disclosure, there is provided a vehicle control method, comprising:
[0007] Acquire vehicle information of a target vehicle during driving according to a preset frequency, wherein the vehicle information is information reflecting the driving state of the target vehicle;
[0008] Determine whether the target vehicle has a motor driving failure in an unexpected direction according to the vehicle information;
[0009] In the event that the target vehicle has a motor failure in an unexpected direction of travel, the target vehicle is subjected to fault processing.
[0010] Optionally, the vehicle information includes gear information, motor speed and slope information of the driving surface of the target vehicle.
[0011] Determining whether the target vehicle has a motor driving failure in an unexpected direction according to the vehicle information includes:
[0012] Determining whether the current slope of the ground on which the target vehicle is traveling is within a preset slope range;
[0013] When the current slope is within a preset slope range, determining a target torque of the target vehicle and a preset slope-stabilizing torque of the target vehicle;
[0014] Determining whether the target torque is greater than the slope-stabilizing torque, and comparing a current motor speed of the target vehicle with a first speed threshold corresponding to a current gear position of the target vehicle;
[0015] In a case where the target torque is greater than the slope-stabilizing torque, it is determined whether the target vehicle has a motor driving failure in an unexpected direction according to the current gear position and the comparison result.
[0016] Optionally, when the current gear is a forward gear and the target torque is greater than the slope-stabilizing torque, determining whether the target vehicle has a motor driving failure in an unexpected direction according to the comparison result includes:
[0017] When the target torque is greater than the slope-stabilizing torque, if the current motor speed is less than a first speed threshold corresponding to the forward gear and lasts for more than a first set time, it is determined that the target vehicle has a motor driving failure in an unexpected direction.
[0018] Optionally, when the current gear is a forward gear, before the step of determining whether the current slope is within a preset slope range, the method further includes:
[0019] Determining whether the current motor speed is greater than a preset second speed threshold;
[0020] When the current motor speed is greater than the second speed threshold, the step of determining whether the current slope is within a preset slope range is performed.
[0021] Optionally, before the step of determining whether the current slope is within a preset slope range, the method further includes:
[0022] When the current motor speed is less than or equal to the second speed threshold, the current motor speed is compared with a preset third speed threshold until the current motor speed is greater than or equal to the third speed threshold, and the step of determining whether the current slope is within a preset slope range is performed.
[0023] Optionally, when the current gear is a reverse gear and the target torque is greater than the slope-stabilizing torque, determining whether the target vehicle has a motor driving failure in an unexpected direction according to the comparison result includes:
[0024] When the target torque is greater than the slope-steady torque, if the current motor speed is greater than a first speed threshold corresponding to the reverse gear and lasts for more than a second set time, it is determined that the target vehicle has a motor driving failure in an unexpected direction.
[0025] Optionally, when the current gear is a reverse gear, before the step of determining whether the current slope is within a preset slope range, the method further includes:
[0026] Determining whether the current motor speed is less than a preset fourth speed threshold;
[0027] When the current motor speed is less than the fourth speed threshold, the step of determining whether the current slope is within a preset slope range is performed.
[0028] Optionally, before the step of determining whether the current slope is within a preset slope range, the method further includes:
[0029] When the current motor speed is greater than or equal to the fourth speed threshold, the current motor speed is compared with the preset fifth speed threshold until the current motor speed is less than or equal to the fifth speed threshold, and the step of determining whether the current slope is within the preset slope range is performed.
[0030] Optionally, the fault handling of the target vehicle at least includes:
[0031] Controlling the motor of the target vehicle to output a preset torque; and / or,
[0032] Issue a fault reminder.
[0033] Optionally, the vehicle information also includes vehicle speed;
[0034] The fault handling of the target vehicle comprises:
[0035] Determining whether the absolute value of the current speed of the target vehicle is less than or equal to a preset speed threshold;
[0036] When the absolute value of the current vehicle speed is less than or equal to the vehicle speed threshold, the target vehicle is controlled to apply an electronic parking brake system.
[0037] Optionally, the performing fault processing on the target vehicle further includes:
[0038] Acquiring the speed of the target vehicle when it is determined that the target vehicle has a motor failure in an unexpected direction of travel, as a reference speed;
[0039] When the absolute value of the current speed of the target vehicle is greater than the speed threshold, determining whether the absolute value of the current speed is greater than the reference speed and whether the brake pedal of the target vehicle is not depressed according to a preset frequency;
[0040] When the absolute value of the current vehicle speed is greater than the reference vehicle speed and the brake pedal of the target vehicle is not depressed, the target vehicle is controlled to decelerate and brake.
[0041] According to a second aspect of the present disclosure, a vehicle is provided, comprising a main controller and a memory, wherein the memory is used to store a computer program, and the main controller is used to control the vehicle to execute the method according to the first aspect of the present disclosure under the control of the computer program.
[0042] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method described in the first aspect of the present disclosure is implemented.
[0043] A beneficial effect of the disclosed embodiment is that it determines whether the target vehicle has a motor driving failure in an unexpected direction based on vehicle information of the target vehicle during driving, and performs fault processing on the target vehicle when the target vehicle has a motor driving failure in an unexpected direction. It can accurately identify whether the target vehicle has a motor driving failure in an unexpected direction, thereby ensuring the driving safety of the user.
[0044] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0046] Figure 1 is a schematic structural diagram of a vehicle capable of implementing an embodiment of the present disclosure;
[0047] Figure 2 is a flow chart of a vehicle control method according to an embodiment of the present disclosure;
[0048] Figure 3 is a flowchart of a fault identification step according to an embodiment of the present disclosure
[0049] Figure 4is a flowchart of a fault identification step according to an example of the present disclosure;
[0050] Figure 5 is a flowchart of a troubleshooting step according to an example of the present disclosure;
[0051] Figure 6 is a schematic diagram of a vehicle according to one embodiment of the present disclosure. DETAILED DESCRIPTION
[0052] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0053] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0054] Technologies, methods and equipment known to persons of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods and equipment should be considered part of the specification.
[0055] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0056] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0057] <Hardware Configuration>
[0058] Figure 1 It is a schematic diagram of the structure of a vehicle that can be used to implement the embodiment of the present disclosure.
[0059] like Figure 1 As shown, the vehicle 1000 may include a vehicle control system 1100 , a motor control system 1200 , a motor 1300 , a vehicle information collection system 1400 , an electronic parking brake system 1500 and an intelligent vehicle system 1600 .
[0060] The vehicle information collection system 1400 can collect vehicle information during driving, wherein the vehicle information is information reflecting the driving state of the target vehicle. The vehicle information may include gear information, vehicle speed, the rotation speed of the motor 1300, and the slope information of the ground on which the vehicle is driving. In one example, the vehicle information collection system 1400 may collect corresponding vehicle information respectively according to a pre-set collection frequency. The collection frequency and collection time of each type of vehicle information may be the same or different, and are not limited here.
[0061] The vehicle control system 1100 can obtain the vehicle information collected by the vehicle information collection system 1400, and determine whether the vehicle has a motor driving failure in an unexpected direction according to the vehicle information. In the case of a motor driving failure in an unexpected direction, the preset torque can be sent to the motor control system 1200 so that the motor control system 1200 controls the motor 1300 to output the preset torque. In one example, the preset torque can be 0.
[0062] Furthermore, the vehicle control system 1100 can also issue a fault reminder through the intelligent vehicle system 1600 when the vehicle has a motor failure in an unexpected direction. The way of issuing the fault reminder can include at least one of text, voice, vibration, light, etc.
[0063] Furthermore, the vehicle control system 1100 can also activate the electronic parking brake system 1500 to reduce the speed of the vehicle when the vehicle's motor fails to move in an unexpected direction.
[0064] <Method Example>
[0065] Figure 2 A vehicle control method according to an embodiment is shown. In one embodiment, the method may be implemented by a vehicle control system. In one example, the processor may be Figure 1 The vehicle control system 1100 shown in FIG.
[0066] like Figure 2 As shown, the vehicle control method of this embodiment may include the following steps S201 to S203:
[0067] Step S201, obtaining vehicle information of a target vehicle during driving according to a preset frequency.
[0068] In this embodiment, the vehicle information may be information reflecting the driving state of the target vehicle. Specifically, the vehicle information may include motor speed, gear information, and slope information of the driving ground.
[0069] In this embodiment, step S201 may be performed according to a preset frequency. The preset frequency may be set in advance according to an application scenario or specific requirements. For example, the preset frequency may be the same as the frequency of collecting any type of vehicle information.
[0070] Step S202, determining whether the target vehicle has a motor driving failure in an unexpected direction based on the vehicle information.
[0071] In one embodiment of the present disclosure, determining whether the target vehicle has a motor driving failure in an unexpected direction according to the vehicle information may include: Figure 3 Steps S301 to S304 shown:
[0072] Step S301, determining whether the current slope of the ground on which the target vehicle is traveling is within a preset slope range.
[0073] In this embodiment, the acceleration data of the target vehicle may be collected by an acceleration sensor disposed on the target vehicle, and then the current slope of the ground on which the target vehicle is traveling may be calculated based on the acceleration data.
[0074] The preset slope range in this embodiment can be pre-set according to the application scenario or specific needs. For example, when only considering uphill, the preset slope range can be [0, 10%]; when considering both uphill and downhill, the preset slope range can also be [-10%, 10%].
[0075] When the current slope of the target vehicle is within the preset slope range, it can be ensured that the target vehicle can be stably parked on the ramp without slipping. In one example, the absolute values of the maximum value and the minimum value of the preset slope range can be equal.
[0076] In one example, when the target vehicle is traveling on an uphill surface, the current slope of the target vehicle may be a positive number; and when the target vehicle is traveling on a downhill surface, the current slope of the target vehicle may be a negative number.
[0077] Specifically, the absolute value of the current slope can be the acute angle between the ground on which the target vehicle is traveling and the horizontal plane. When the front of the target vehicle is facing upward, it can be determined that the current slope of the ground on which the target vehicle is traveling is equal to the acute angle; when the front of the target vehicle is facing downward, it can be determined that the current slope of the ground on which the target vehicle is traveling is equal to the negative of the acute angle.
[0078] Since the motor is prone to unexpected direction driving failure when the vehicle is on an uphill slope, it is possible to determine whether the target vehicle has an unexpected direction driving failure of the motor only when the target vehicle is on an uphill slope. Correspondingly, the preset slope range can be a positive number range.
[0079] Step S302, when the current slope of the target vehicle is within a preset slope range, determining the target torque of the target vehicle and the preset slope-stabilizing torque of the target vehicle.
[0080] In this embodiment, the target torque of the target vehicle may be determined by the actual vehicle condition of the target vehicle. Specifically, the target torque may be obtained according to the maximum discharge power of the battery of the target vehicle, the maximum allowable output torque of the motor, the current throttle depth of the target vehicle, and the current slope of the target vehicle.
[0081] The vehicle's slope-stabilizing torque corresponds to the slope range. The slope-stabilizing torque can be the minimum torque required for the preset target vehicle to stably stop on the slope with the maximum and minimum values of the preset slope range without slipping. Specifically, the slope-stabilizing torque of the target vehicle in different slope ranges can be determined in advance through experiments. Different slopes correspond to different slope-stabilizing torques. Within the preset slope range, the controller can actively output the slope-stabilizing torque corresponding to the slope to ensure that the vehicle can stably stop on the slope without slipping under the current slope without pressing the brake or accelerator.
[0082] Step S303, determining whether the target torque is greater than the slope-steady torque, and comparing the current motor speed of the target vehicle with a first speed threshold corresponding to the current gear position.
[0083] In this embodiment, the current gear of the target vehicle may be a forward gear or a reverse gear. Therefore, the first speed threshold corresponding to the forward gear and the first speed threshold corresponding to the reverse gear may be set in advance according to the application scenario or specific requirements.
[0084] Under normal circumstances, the rotation direction of the motor in the forward gear is opposite to that in the reverse gear. Specifically, the motor can rotate forward in the forward gear and reverse in the reverse gear. Therefore, in order to detect whether the target vehicle has a motor driving failure in an unexpected direction, the first speed threshold corresponding to the forward gear can be set to a negative number, and the first speed threshold corresponding to the reverse gear can be set to a positive number. For example, the first speed threshold corresponding to the forward gear can be set to -100rpm, and the first speed threshold corresponding to the reverse gear can be set to 100rpm.
[0085] Step S304: when the target torque is greater than the slope-steady torque, it is determined that the target vehicle has a motor driving failure in an unexpected direction according to the current gear position of the target vehicle and the comparison result.
[0086] When the target vehicle is on a slope, if the motor cannot output the target torque due to reasons such as motor overheating resulting in limited motor output capacity, the target vehicle will slide backwards, but this does not mean that the target vehicle has a motor failure that causes the motor to move in an unexpected direction.
[0087] Therefore, when the target torque is greater than the slope-steady torque, based on the comparison result of the current gear of the target vehicle, the current motor speed and the first speed threshold corresponding to the current gear, the problem of misjudgment of the target vehicle's motor driving in an unexpected direction due to the target vehicle sliding backward on the slope simply because the motor cannot output the target torque can be avoided.
[0088] In one embodiment of the present disclosure, the current gear of the target vehicle may be a forward gear. Then, when the target torque is greater than the slope-stabilizing torque, determining that the target vehicle has a motor driving fault in an unexpected direction according to the current gear of the target vehicle and the comparison result may include:
[0089] When the target torque is greater than the slope-stabilizing torque, determine whether the current motor speed of the target vehicle is less than the first speed threshold corresponding to the forward gear and exceeds the first set time; when the target torque is greater than the slope-stabilizing torque and the current motor speed of the target vehicle is less than the first speed threshold corresponding to the forward gear and exceeds the first set time, determine that the target vehicle has a motor driving failure in an unexpected direction.
[0090] In this embodiment, the first set time length may be pre-set according to an application scenario or specific requirements. For example, the first set time length may be 500 ms.
[0091] Based on this embodiment, if the target vehicle switches from a reverse gear to a forward gear, but the motor of the target vehicle is still in the process of switching from reverse rotation to forward rotation, it is also possible that the target torque is greater than the slope stabilization torque, and the current motor speed of the target vehicle is less than the first speed threshold corresponding to the forward gear and exceeds the first set time.
[0092] Therefore, in order to avoid misjudgment of the target vehicle's motor driving failure in an unexpected direction, before executing the aforementioned step S301, the method may also include: determining whether the current motor speed of the target vehicle is greater than a preset second speed threshold; when the current motor speed is greater than the second speed threshold, executing step S301; when the current motor speed is less than or equal to the second speed threshold, comparing the current motor speed with a preset third speed threshold, until the current motor speed is greater than or equal to the third speed threshold, and executing the aforementioned step S301.
[0093] The second speed threshold and the third speed threshold in this embodiment can be set in advance according to the application scenario or specific needs. In order to avoid the situation where the target vehicle has switched from the reverse gear to the forward gear, but the motor of the target vehicle is still in the process of switching from reverse to forward rotation, resulting in a misjudgment of the motor's unexpected direction of travel failure, the second speed threshold can be set to a negative number greater than the first speed threshold corresponding to the forward gear, and the third speed threshold can be set to a non-negative number greater than the first speed threshold. For example, the second speed threshold can be set to -50rpm, and the third speed threshold can be set to 0rpm. Setting the third speed threshold of 0rpm means that after the motor speed does not meet the condition of being greater than the second speed threshold, the motor is monitored again. Only when the motor speed is greater than or equal to 0rpm in the forward gear, the target vehicle is judged for unexpected driving failure, which can ensure that the motor can rotate forward, making the target vehicle safer to drive; moreover, it can also make the recognition result of the motor of the target vehicle driving in the unexpected direction more accurate.
[0094] During the driving process of the target vehicle, the vehicle information of the target vehicle is continuously updated according to a preset frequency.
[0095] After executing the judgment whether the current motor speed is greater than the preset second speed threshold, if it is determined that the current motor speed is greater than the second speed threshold, the process of judging the unexpected driving direction of the motor can be entered, and steps S301 to S304 can be executed. After executing the judgment whether the current motor speed is greater than the preset second speed threshold, if it is determined that the current motor speed is less than or equal to the second speed threshold, it is necessary to continue to compare the current motor speed with the third speed threshold, that is, to judge whether the current motor speed is greater than or equal to the third speed threshold. When the current motor speed is greater than or equal to the third speed threshold, the process of judging the unexpected driving direction of the motor can be entered, and steps S301 to S304 can be executed. When the current motor speed is less than the third speed threshold, the current motor speed continues to be compared with the third speed threshold.
[0096] By using the method of this embodiment to determine whether the target vehicle has a motor driving failure in an unexpected direction, the efficiency of identifying the target vehicle having a motor driving failure in an unexpected direction can be improved, and several situations in which the user operates normally but may be triggered by mistake can be avoided, making the identification result of the target vehicle having a motor driving failure in an unexpected direction more accurate.
[0097] In another embodiment of the present disclosure, the current gear of the target vehicle may be a reverse gear. Then, when the target torque is greater than the slope-stabilizing torque, determining that the target vehicle has a motor driving fault in an unexpected direction according to the current gear of the target vehicle and the comparison result may include:
[0098] When the target torque is greater than the slope-stabilizing torque, determine whether the current motor speed of the target vehicle is greater than the first speed threshold corresponding to the reverse gear and exceeds the second set time; when the target torque is greater than the slope-stabilizing torque and the current motor speed of the target vehicle is greater than the first speed threshold corresponding to the reverse gear and exceeds the second set time, it is determined that the target vehicle has a motor driving failure in an unexpected direction.
[0099] In this embodiment, the second set time length may be pre-set according to the application scenario or specific requirements, for example, the second set time length may be 500ms. The second set time length in this embodiment may be equal to or different from the first set time length in the above embodiment, which is not limited here.
[0100] Based on this embodiment, if the target vehicle switches from a forward gear to a reverse gear, but the motor of the target vehicle is still in the process of switching from forward rotation to reverse rotation, it is also possible that the target torque is greater than the slope-stabilizing torque, and the current motor speed of the target vehicle is greater than the first speed threshold corresponding to the reverse gear and exceeds the second set time.
[0101] Therefore, in order to avoid misjudgment of the target vehicle's motor driving failure in an unexpected direction, before executing the aforementioned step S301, the method may also include: determining whether the current motor speed of the target vehicle is less than a preset fourth speed threshold; when the current motor speed is less than the fourth speed threshold, executing step S301; when the current motor speed is greater than or equal to the fourth speed threshold, comparing the current motor speed with the preset fifth speed threshold, until the current motor speed is less than or equal to the fifth speed threshold, and executing the aforementioned step S301.
[0102] The fourth speed threshold and the fifth speed threshold in this embodiment can be set in advance according to the application scenario or specific needs. In order to detect whether the target vehicle has a motor driving failure in an unexpected direction, the fourth speed threshold can be set to a positive number less than the first speed threshold corresponding to the forward gear, and the fifth speed threshold can be set to a non-positive number less than the first speed threshold. For example, the fourth speed threshold can be set to 50rpm, and the fifth speed threshold can be set to 0rpm.
[0103] During the driving process of the target vehicle, the vehicle information of the target vehicle is continuously updated according to a preset frequency.
[0104] After executing the judgment whether the current motor speed is less than the preset fourth speed threshold, if it is determined that the current motor speed is less than the fourth speed threshold, the process of judging the unexpected driving direction of the motor can be entered, and steps S301 to S304 can be executed. After executing the judgment whether the current motor speed is less than the preset fourth speed threshold, if it is determined that the current motor speed is greater than or equal to the fourth speed threshold, it is necessary to continue to compare the current motor speed with the fifth speed threshold, that is, to judge whether the current motor speed is less than or equal to the fifth speed threshold. When the current motor speed is less than or equal to the fifth speed threshold, the process of judging the unexpected driving direction of the motor can be entered, and steps S301 to S304 can be executed. When the current motor speed is greater than the fifth speed threshold, the current motor speed continues to be compared with the fifth speed threshold.
[0105] By using the method of this embodiment to determine whether the target vehicle has a motor driving failure in an unexpected direction, the efficiency of identifying the target vehicle having a motor driving failure in an unexpected direction can be improved, and several situations in which the user operates normally but may be triggered by mistake can be avoided, making the identification result of the target vehicle having a motor driving failure in an unexpected direction more accurate.
[0106] Step S203, when the target vehicle has a motor failure in an unexpected direction of travel, the target vehicle is fault-handled.
[0107] In one embodiment of the present disclosure, a method of performing fault processing on a target vehicle may include: controlling a motor of the target vehicle to output a preset torque.
[0108] Specifically, the vehicle control system of the target vehicle may send the preset torque to the motor control system, and the motor control system may control the motor to output the preset torque.
[0109] The preset torque in this embodiment may be set in advance according to an application scenario or specific requirements. For example, the preset torque may be 0.
[0110] In another embodiment of the present disclosure, the method of performing fault processing on the target vehicle may further include: issuing a fault reminder.
[0111] Specifically, the vehicle control system may issue a fault reminder through the intelligent vehicle system to remind the user to repair the target vehicle. The fault reminder may be issued in the form of at least one of text, voice, vibration, light, etc.
[0112] In one embodiment of the present disclosure, the vehicle information acquired in step S201 may further include vehicle speed, and then, performing fault processing on the target vehicle may further include:
[0113] Determine whether the absolute value of the current speed of the target vehicle is less than or equal to a preset speed threshold; if the absolute value of the current speed is less than or equal to the speed threshold, control the target vehicle to activate the electronic parking system.
[0114] In this embodiment, the vehicle speed threshold may be pre-set according to the application scenario or specific requirements. Specifically, the vehicle speed threshold may be the maximum vehicle speed at which the electronic parking brake system can be activated. For example, the vehicle speed threshold may be 6 km / h.
[0115] When the absolute value of the current speed of the target vehicle is less than or equal to the speed threshold, the target vehicle can be stopped by controlling the electronic parking system to ensure the driving safety of the user.
[0116] On the basis of this embodiment, the method may further include: obtaining the speed of the target vehicle when it is determined that the target vehicle has a motor driving failure in an unexpected direction, as a reference speed. Then, when the absolute value of the current speed of the target vehicle obtained is greater than the speed threshold, judging whether the absolute value of the current speed obtained most recently is greater than the reference speed and whether the brake pedal of the target vehicle is pressed according to a preset frequency; when the absolute value of the current speed is greater than and the brake pedal of the target vehicle is not pressed, controlling the target vehicle to decelerate and brake.
[0117] The reference vehicle speed in this embodiment may be the vehicle speed of the target vehicle that is most recently acquired when a result is obtained that the target vehicle has a motor failure that causes the target vehicle to travel in an unexpected direction.
[0118] When the absolute value of the current speed of the target vehicle is greater than the speed threshold, although the target vehicle cannot be controlled to directly apply the electronic parking brake system, the target vehicle can be controlled to decelerate and brake by continuously requesting the electronic parking brake system to reduce the current speed of the target vehicle and ensure the user's driving safety.
[0119] In an embodiment of the present disclosure, based on the vehicle information of the target vehicle during driving, it is determined whether the target vehicle has a motor driving fault in an unexpected direction, and in the case of a motor driving fault in an unexpected direction, the target vehicle is fault-handled, so that it can accurately identify whether the target vehicle has a motor driving fault in an unexpected direction, thereby ensuring the driving safety of the user. Moreover, in at least one embodiment of the present disclosure, it is also possible to avoid the possibility of misjudgment due to slope and gear shifting, so that the identification result of the motor driving fault in the target vehicle is more accurate.
[0120] <Example 1>
[0121] Figure 4It is a flowchart of the steps of determining whether a target vehicle has a motor driving failure in an unexpected direction according to an example of the present disclosure.
[0122] like Figure 4 As shown, the method includes:
[0123] Step S401, determine whether the current gear position of the target vehicle is a forward gear position, if yes, execute step S402; if not, execute step S409.
[0124] Step S402, determining whether the current motor speed is greater than a second speed threshold; if so, executing step S403; if not, executing step S408;
[0125] Step S403, determining whether the current slope of the target vehicle is within a preset slope range, if yes, executing step S404, if no, continuing to execute step S403.
[0126] Step S404, determining the target torque of the target vehicle and the preset slope-steady torque of the target vehicle.
[0127] Step S405, determine whether the target torque is greater than the slope-steady torque, whether the current motor speed of the target vehicle is less than the first speed threshold corresponding to the forward gear and exceeds the first set time. If so, execute step S406, if not, execute step S407.
[0128] Step S406, determining that the target vehicle has a motor failure in an unexpected direction of travel.
[0129] Step S407, determining that the target vehicle does not have a motor failure of driving in an unexpected direction.
[0130] Step S408, determining whether the current motor speed is greater than or equal to a preset third speed threshold, if yes, executing step S403; if no, continuing to execute step S408.
[0131] Step S409, determining whether the current gear position of the target vehicle is a reverse gear position, if yes, executing step S410; if not, executing step S407.
[0132] Step S410, determining whether the current motor speed of the target vehicle is less than a preset fourth speed threshold, if so, executing step S411; if not, executing step S414.
[0133] Step S411, determine whether the current slope of the target vehicle is within a preset slope range, if yes, execute step S412; if no, continue to execute step S411.
[0134] Step S412, determining the target torque of the target vehicle and the preset slope-steady torque of the target vehicle.
[0135] Step S413, determine whether the target torque is greater than the slope-steady torque, whether the current motor speed of the target vehicle is greater than the first speed threshold corresponding to the reverse gear and exceeds the second set time. If so, execute step S406; if not, execute step S407.
[0136] Step S414, determining whether the current motor speed is less than or equal to a preset fifth speed threshold, if yes, executing step S411; if no, continuing to execute step S414.
[0137] In this embodiment, during the execution of steps S401 to S414, the vehicle information of the target vehicle may be continuously acquired at a preset frequency. The current motor speed, current gear position and current slope involved in the above steps are the latest motor speed, gear position and slope acquired when executing the corresponding steps.
[0138] <Example 2>
[0139] Figure 5 It is a flowchart of the troubleshooting steps according to an example of the present disclosure.
[0140] like Figure 5 As shown, the method includes:
[0141] Step S501, obtaining the speed of the target vehicle when it is determined that the target vehicle has a motor failure in an unexpected direction of travel, as a reference speed.
[0142] Step S502, determining whether the absolute value of the current speed of the target vehicle is less than or equal to a preset speed threshold, if so, executing step S503; if not, executing step S504.
[0143] Step S503, controlling the target vehicle to pull up the electronic parking system, controlling the motor of the target vehicle to output a preset torque, and issuing a fault reminder.
[0144] Step S504, controlling the motor of the target vehicle to output a preset torque and issuing a fault reminder.
[0145] Step S505, determining whether the absolute value of the current vehicle speed most recently acquired is greater than the reference vehicle speed and whether the brake pedal of the target vehicle is depressed, if so, executing step S506; if not, continuing to execute step S502.
[0146] Step S506, controlling the target vehicle to decelerate and brake.
[0147] <Vehicle Embodiment>
[0148] Figure 6 A schematic diagram of the structure of a vehicle that can be used to implement the vehicle control method of an embodiment of the present disclosure is shown.
[0149] Figure 6 The vehicle 6000 shown may include a main controller 6100 and a memory 6200, wherein the memory 6200 is used to store a computer program, and the main controller 6100 is used to control the vehicle to execute the method of any embodiment of the present specification under the control of the computer program.
[0150] The main controller 6100 is a main component of the vehicle's electronic control unit (ECU) and is used to execute a computer program, which can be written in an instruction set of an architecture such as x67, Arm, RISC, MIPS, SSE, etc.
[0151] The memory 6200 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like, and is used to store the above computer programs and the like.
[0152] In one example, the vehicle 1000 in this embodiment may be a pure fuel vehicle or an electric vehicle equipped with a power battery, wherein the electric vehicle may be a pure electric vehicle or a hybrid vehicle.
[0153] In one example, the vehicle may have Figure 1 The vehicle 1000 shown in FIG. 1 is not limited here.
[0154] In one example, the vehicle may also have at least one of other hardware structures such as an engine, a motor control system, a vehicle information collection system, an input device, an interface device, an output device, a motor, a power battery, etc., which are not limited here.
[0155] The rear end of the engine (the end connected to the flywheel) can be connected to the input end of the reducer through a clutch, and the output end of the reducer is connected to the wheel axle so that the wheel can be driven to rotate through the engine.
[0156] The motor control system is used to control the motor action according to the control instructions sent by the main controller 6100, for example, controlling the motor output torque to drive the wheel axle to rotate; for example, controlling the motor to feed back electrical energy to the power battery, etc.
[0157] The vehicle information collection system may include various sensors, for example, at least one of a rotation speed sensor, a posture sensor, a temperature sensor, a humidity sensor, a pressure sensor, and the like.
[0158] The vehicle information collection system can also collect the gear information, throttle information and brake information of the target vehicle.
[0159] The input device may include a key circuit, a touch screen, a microphone, a knob circuit, a throttle control device with an accelerator pedal, a brake control device with a brake pedal, and the like.
[0160] The interface device may include an earphone interface, an on-board diagnostics (OBD) interface, a charging interface, a USB interface, and the like.
[0161] Output devices may include display screens, speakers, various indicator lights, etc.
[0162] When the motor is used as an electric motor, the power battery can be used to provide electrical energy to the motor.
[0163] <Storage Medium Embodiment>
[0164] This embodiment further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method of any embodiment of the present disclosure is implemented.
[0165] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0166] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: 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), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0167] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0168] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.
[0169] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0170] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0171] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0172] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and a part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0173] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A vehicle control method, characterized in that: include: Acquire vehicle information of a target vehicle during driving according to a preset frequency, wherein the vehicle information is information reflecting the driving state of the target vehicle; Determine whether the target vehicle has a motor driving failure in an unexpected direction according to the vehicle information; In the event that the target vehicle has a motor failure in an unexpected direction, the target vehicle is fault-handled; the vehicle information includes the gear information, motor speed, and slope information of the driving ground of the target vehicle, Determining whether the target vehicle has a motor driving failure in an unexpected direction according to the vehicle information includes: Determining whether the current slope of the ground on which the target vehicle is traveling is within a preset slope range; When the current slope is within a preset slope range, determining a target torque of the target vehicle and a preset slope-stabilizing torque of the target vehicle; Determining whether the target torque is greater than the slope-stabilizing torque, and comparing a current motor speed of the target vehicle with a first speed threshold corresponding to a current gear position of the target vehicle; When the target torque is greater than the slope-stabilizing torque, it is determined whether the target vehicle has a motor driving failure in an unexpected direction according to the current gear position and the comparison result. When the current gear is a forward gear, before the step of determining whether the current slope of the target vehicle's driving surface is within a preset slope range, the method further includes: determining whether the current motor speed is greater than a preset second speed threshold; when the current motor speed is less than or equal to the second speed threshold, comparing the current motor speed with a preset third speed threshold until the current motor speed is greater than or equal to the third speed threshold, and executing the step of determining whether the current slope of the target vehicle's driving surface is within a preset slope range.
2. The method according to claim 1, characterized in that When the current gear is a forward gear and the target torque is greater than the slope-stabilizing torque, determining whether the target vehicle has a motor driving failure in an unexpected direction according to the comparison result includes: When the target torque is greater than the slope-stabilizing torque, if the current motor speed is less than a first speed threshold corresponding to the forward gear and lasts for more than a first set time, it is determined that the target vehicle has a motor driving failure in an unexpected direction.
3. The method according to claim 1, characterized in that When the current gear is the reverse gear and the target torque is greater than the slope-stabilizing torque, determining whether the target vehicle has a motor driving failure in an unexpected direction according to the comparison result includes: When the target torque is greater than the slope-steady torque, if the current motor speed is greater than a first speed threshold corresponding to the reverse gear and lasts for more than a second set time, it is determined that the target vehicle has a motor driving failure in an unexpected direction.
4. The method according to claim 1, characterized in that: In the case where the current gear is a reverse gear, before the step of determining whether the current slope is within a preset slope range, the method further includes: Determining whether the current motor speed is less than a preset fourth speed threshold; When the current motor speed is less than the fourth speed threshold, the step of determining whether the current slope is within a preset slope range is performed.
5. The method according to claim 4, characterized in that Before the step of determining whether the current slope is within a preset slope range, the method further includes: When the current motor speed is greater than or equal to the fourth speed threshold, the current motor speed is compared with the preset fifth speed threshold until the current motor speed is less than or equal to the fifth speed threshold, and the step of determining whether the current slope is within the preset slope range is performed.
6. The method according to claim 1, characterized in that The fault handling of the target vehicle at least includes: Controlling the motor of the target vehicle to output a preset torque; and / or, Issue a fault reminder.
7. The method according to claim 1, characterized in that The vehicle information also includes vehicle speed; The fault handling of the target vehicle comprises: Determining whether the absolute value of the current speed of the target vehicle is less than or equal to a preset speed threshold; When the absolute value of the current vehicle speed is less than or equal to the vehicle speed threshold, the target vehicle is controlled to apply an electronic parking brake system.
8. The method according to claim 7, characterized in that The fault handling of the target vehicle further comprises: Acquiring the speed of the target vehicle when it is determined that the target vehicle has a motor failure in an unexpected direction of travel, as a reference speed; When the absolute value of the current speed of the target vehicle is greater than the speed threshold, determining whether the absolute value of the current speed is greater than the reference speed and whether the brake pedal of the target vehicle is not depressed according to a preset frequency; When the absolute value of the current vehicle speed is greater than the reference vehicle speed and the brake pedal of the target vehicle is not depressed, the target vehicle is controlled to decelerate and brake.
9. A vehicle, characterized in that: The vehicle comprises a main controller and a memory, wherein the memory is used to store a computer program, and the main controller is used to control the vehicle to execute the method according to any one of claims 1 to 8 under the control of the computer program.
10. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 8 when executed by a processor.
