Method and system for determining motor driving mode, electronic device and storage medium
By determining the vehicle's start-up mode and current status through the vehicle controller and comparing it with preset conditions, the motor's operating mode is determined, which solves the problem of unnecessary torque output when the motor fails and improves vehicle safety.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- IAT AUTOMOBILE TECH
- Filing Date
- 2022-11-07
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, if a vehicle's motor malfunctions, the motor will continuously output torque, leading to unnecessary torque output and creating a safety hazard.
The vehicle controller determines the vehicle's start-up mode, obtains the current status, compares it with preset conditions, generates comparison results, and determines the motor's operating mode based on the comparison results, ensuring that the motor does not output torque when the preset conditions are met.
It improves the accuracy of judging the vehicle motor status, prevents the vehicle from accelerating or decelerating unexpectedly, reduces the occurrence of safety problems, and ensures that the motor does not output unnecessary torque in the event of a malfunction.
Smart Images

Figure CN115675116B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control, and in particular to a method, system, electronic device, and computer-readable storage medium for determining an electric motor drive mode. Background Technology
[0002] The drive mode of an electric vehicle refers to the arrangement of the car's electric motors and the number and position of the drive wheels. Most passenger cars have two rows of wheels, front and rear. The wheels directly driven by the electric motors to propel (or pull) the car forward are the drive wheels. The most basic classification standard is based on the number of drive wheels, dividing them into two-wheel drive and four-wheel drive.
[0003] To control the drive mode of an electric vehicle, existing technologies often require ensuring the motor is continuously outputting torque during motor control. The vehicle controller receives valid throttle and brake pedal signals to provide braking or drive control to the motor. Specifically, when the vehicle controller confirms the validity of the braking signal, it issues a braking control signal; validity of the braking signal means receiving a brake switch signal and / or a brake analog signal. When the vehicle controller confirms the validity of the throttle signal, it issues a drive control signal; validity of the throttle signal means simultaneously receiving a throttle switch signal and a throttle analog signal. When both the throttle and brake pedals are pressed simultaneously, the vehicle controller and / or motor controller only apply the corresponding braking control to the braking signal. This control method enables control of the electric vehicle's drive mode.
[0004] However, if the vehicle's motor malfunctions, because the motor is constantly outputting torque, it will output unnecessary torque, which could lead to a dangerous situation.
[0005] Based on this, the present invention is proposed. Summary of the Invention
[0006] The purpose of this application is to provide a method, system, electronic device, and computer-readable storage medium for determining the motor drive mode, which solves the technical problem in the prior art that when the vehicle motor fails, the motor is always in the state of outputting torque, which causes the motor to output unnecessary torque and thus cause danger.
[0007] According to a first aspect of this application, a method for determining a motor drive mode is provided, the method comprising:
[0008] Determine the vehicle's start mode; whereby the vehicle's start mode is used to indicate whether the vehicle is starting.
[0009] Based on the vehicle's startup mode, obtain the vehicle's current status;
[0010] The vehicle's current state is compared with preset conditions to generate a comparison result;
[0011] When the comparison result shows that the current state of the vehicle meets the preset conditions, the first operating mode of the vehicle's motor is determined; wherein, the first operating mode is used to characterize that the vehicle's motor does not output torque.
[0012] Optionally, based on the startup mode, obtain the vehicle's current status, including:
[0013] When the vehicle's starting mode is vehicle start-up, acquire at least one of the following: vehicle gear status, vehicle motion status, and vehicle motor torque value status.
[0014] When the vehicle's start-up mode is "the vehicle is not starting", obtain at least one of the vehicle's previous motor torque state and the vehicle's motion state.
[0015] Optionally, the method also includes:
[0016] When the comparison result shows that the current state of the vehicle does not meet the preset conditions, the second operating mode of the vehicle's motor is determined; wherein, the second operating mode is used to characterize the output torque of the vehicle's motor in this case.
[0017] Optional, preset conditions include:
[0018] The vehicle is in P or N gear, the vehicle is stationary, the vehicle's motor torque is zero, and the vehicle's motor did not output torque in the previous instance; wherein, the number of preset conditions is not less than the number of conditions for the current state of the vehicle, and each condition for the current state of the vehicle corresponds to each condition in the preset conditions.
[0019] Optionally, the current state of the vehicle is compared with preset conditions to generate a comparison result, including:
[0020] When the vehicle is started, the vehicle's gear position is compared with the preset condition that the vehicle is in P or N gear.
[0021] When the vehicle is in P or N gear, the vehicle's motion state is compared with the preset condition that the vehicle is stationary.
[0022] When the vehicle's motion state matches that of a stationary vehicle, the torque value of the vehicle's motor is compared with the preset condition that the vehicle's motor torque is zero.
[0023] If the torque value of the vehicle's motor is zero, the comparison result will show that the current state of the vehicle meets the preset conditions.
[0024] Optionally, the current state of the vehicle is compared with preset conditions to generate a comparison result, including:
[0025] When the vehicle's starting mode is that the vehicle is not starting, the previous motor torque status of the vehicle is compared with the preset condition that the vehicle's motor did not output torque in the previous time.
[0026] If the vehicle's previous motor torque state was such that the vehicle's motor did not output torque, the comparison result is generated to show that the vehicle's current state meets the preset conditions.
[0027] If the vehicle's motor torque state in the previous instance does not match the previous instance where the vehicle's motor was not outputting torque, the vehicle's motion state is compared with the preset condition that the vehicle is stationary.
[0028] If the vehicle's motion state matches that of a stationary vehicle, the comparison result will show that the vehicle's current state meets the preset conditions.
[0029] Optionally, the method also includes:
[0030] The motor controlling the vehicle is driven based on either the first operating mode or the second operating mode.
[0031] According to a second aspect of this application, a system for determining a motor drive mode is provided, the system comprising:
[0032] The first determining module is used to determine the vehicle's start-up mode; wherein, the vehicle's start-up mode is used to characterize whether the vehicle is starting.
[0033] The first acquisition module is used to acquire the current status of the vehicle based on the vehicle's startup mode;
[0034] The comparison module is used to compare the current state of the vehicle with preset conditions and generate comparison results;
[0035] The second determining module is used to determine the first operating mode of the vehicle's motor when the comparison result shows that the current state of the vehicle meets the preset conditions; wherein, the first operating mode is used to characterize that the vehicle's motor does not output torque.
[0036] Optionally, the first acquisition module is used to acquire at least one of the vehicle's gear position, the vehicle's motion state, and the vehicle's motor torque value state when the vehicle's start-up mode is vehicle start-up; and to acquire at least one of the vehicle's previous motor torque state and the vehicle's motion state when the vehicle's start-up mode is vehicle not start-up.
[0037] Optionally, the system also includes: a third determining module, used to determine the second operating mode of the vehicle's motor when the comparison result shows that the current state of the vehicle does not meet the preset conditions; wherein the second operating mode is used to characterize the output torque of the vehicle's motor in this case.
[0038] Optionally, the preset conditions include one or more of the following: the vehicle is in P or N gear, the vehicle is stationary, the vehicle's motor torque is zero, and the vehicle's motor did not output torque in the previous instance; wherein, the number of preset conditions is not less than the number of items in the current state of the vehicle, and each item in the current state of the vehicle corresponds to each item in the preset conditions.
[0039] Optionally, a comparison module is used to compare the vehicle's gear position with the preset condition of the vehicle being in P or N gear when the vehicle's starting mode is vehicle start-up; if the vehicle's gear position matches that the vehicle is in P or N gear, compare the vehicle's motion state with the preset condition of the vehicle being stationary; if the vehicle's motion state matches that the vehicle is stationary, compare the vehicle's motor torque value with the preset condition of the vehicle's motor torque being zero; if the vehicle's motor torque value matches that the vehicle's motor torque is zero, generate a comparison result indicating that the vehicle's current state meets the preset conditions.
[0040] Optionally, a comparison module is used to compare the vehicle's previous motor torque state with the preset condition of the vehicle's motor not outputting torque when the vehicle's starting mode is "the vehicle is not starting"; if the vehicle's previous motor torque state matches the preset condition of the vehicle's motor not outputting torque, a comparison result is generated indicating that the vehicle's current state meets the preset condition; if the vehicle's previous motor torque state does not match the preset condition of the vehicle's motor not outputting torque, the module compares the vehicle's motion state with the preset condition of the vehicle being stationary; if the vehicle's motion state matches the preset condition of the vehicle being stationary, a comparison result is generated indicating that the vehicle's current state meets the preset condition.
[0041] Optionally, the system may also include a control module for controlling the vehicle's motor to drive based on a first operating mode or a second operating mode.
[0042] According to a third aspect of this application, an electronic device is provided, comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method for determining a motor drive mode as described in the first aspect.
[0043] According to a fourth aspect of this application, a readable storage medium is provided that stores a program or instructions, which, when executed by a processor, implement the steps of the method for determining a motor drive mode as shown in the first aspect.
[0044] This application utilizes the vehicle's controller as the executing entity. The vehicle controller determines the vehicle's start-up mode, indicating whether the vehicle is starting. After determining the start-up mode, the vehicle's current state is acquired and compared with preset conditions to generate a comparison result. If the comparison result indicates that the vehicle's current state meets the preset conditions, a first operating mode for the vehicle's motor is determined. This first operating mode indicates that the vehicle's motor does not output torque. In other words, this application compares the vehicle's current state with preset conditions, determining whether the current state meets the preset conditions, and if so, controls the vehicle's motor to not output torque. This solves the technical problem in the prior art where, if the vehicle's motor malfunctions, it continuously outputs torque, leading to unnecessary torque output and potentially causing a hazard. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0046] Figure 1 A flowchart illustrating the method for determining the motor drive mode provided in this application embodiment;
[0047] Figure 2 A flowchart illustrating the method for determining the motor drive mode provided in this application embodiment;
[0048] Figure 3 A flowchart of a method for determining a motor drive mode provided in an embodiment of this application; and
[0049] Figure 4 This is a schematic diagram of a motor drive mode determination system provided in an embodiment of this application. Detailed Implementation
[0050] To make the above and other features and advantages of this application clearer, the application is further described below with reference to the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explanation to those skilled in the art and are exemplary only, not restrictive.
[0051] In the following description, numerous specific details are set forth to provide a thorough understanding of this application. However, it will be apparent to those skilled in the art that these specific details are not required to practice this application. In other instances, well-known steps or services have not been described in detail to avoid obscuring this application.
[0052] As can be seen from the background section, in the prior art, if the vehicle's motor fails, the motor will continuously output torque, causing it to output unnecessary torque, which may lead to danger.
[0053] To address the aforementioned technical problems, this application provides a method, system, electronic device, and computer-readable storage medium for determining a motor drive mode. The method for determining a motor drive mode provided in this application will be described in detail below with reference to the accompanying drawings and specific embodiments and application scenarios.
[0054] like Figure 1 As shown, this application provides a method for determining a motor drive mode, which may include:
[0055] Step S11: Determine the vehicle's start mode; wherein, the vehicle's start mode is used to characterize whether the vehicle is starting.
[0056] Specifically, in this application, the vehicle controller can be used as the executing entity. The vehicle can obtain the vehicle's start mode, which indicates whether the vehicle is starting. For example, when the vehicle is in the ready mode, it indicates that the vehicle is fully prepared, has started successfully, and is ready to depart at any time.
[0057] In an optional embodiment, since new energy vehicles typically do not produce engine noise after starting, the driver cannot determine whether the vehicle has started successfully. Therefore, when the vehicle is in ready mode, the vehicle controller can control the display of the vehicle's ready light, meaning the driver can determine the vehicle's starting mode based on the brightness of the ready light. For example, when the ready light is bright, it indicates that the vehicle is in ready mode and can be started at any time.
[0058] Step S13: Obtain the current status of the vehicle based on its startup mode.
[0059] Specifically, in this application, the vehicle controller can establish communication with other control units of the vehicle. After determining the vehicle's start mode, the vehicle controller can obtain the vehicle status corresponding to each control unit sent by the other control units. For example, the gear position control unit can obtain the vehicle's gear position information and then send the gear position information to the vehicle controller, which can then receive the gear position information.
[0060] Step S15: Compare the current state of the vehicle with the preset conditions to generate a comparison result.
[0061] Specifically, in this application, when the vehicle controller obtains the current state of the vehicle, it compares the current state with preset conditions, generates a comparison result, and determines the operating mode of the vehicle's motor based on the comparison result. It should be noted that the comparison result can be either the current state meets the preset conditions or the current state does not meet the preset conditions.
[0062] Step S17: When the comparison result shows that the current state of the vehicle meets the preset conditions, determine the first working mode of the vehicle's motor; wherein, the first working mode is used to characterize that the vehicle's motor does not output torque.
[0063] Specifically, in this application, when the comparison result indicates that the vehicle's current state meets preset conditions, the first operating mode of the vehicle's motor is determined. It should be noted that the first operating mode indicates that the vehicle's motor does not output torque; that is, when the vehicle's current state meets the preset conditions, the vehicle's motor does not operate. For example, during normal vehicle operation, the vehicle's starting mode can be "Vehicle Starting." The vehicle controller determines the vehicle's current state in real time (e.g., gear position, motor torque, etc.). If the current state meets the preset conditions, the vehicle's motor can switch to a state where it does not output torque, meaning the vehicle tends to stop.
[0064] like Figure 2 As shown, in order to more accurately determine the operating status of the vehicle's motor, in an optional embodiment, step S13 includes:
[0065] Step S1301: When the vehicle's start-up mode is vehicle start-up, acquire at least one of the following: vehicle gear status, vehicle motion status, and vehicle motor torque value status.
[0066] Step S1302: When the vehicle's start-up mode is "the vehicle is not starting", obtain at least one of the vehicle's previous motor torque state and the vehicle's motion state.
[0067] Specifically, in this application, the vehicle controller can establish communication relationships with the vehicle's gear position controller, motion state controller, and motor controller. When the vehicle is in the start-up mode, the vehicle controller can acquire at least one of the vehicle's gear position status, motion state, and motor torque value. That is, the vehicle controller sends a receive signal to at least one of the gear position controller, motion state controller, and motor controller, and each controller then sends the vehicle's gear position status, motion state, and motor torque value back to the vehicle controller based on the received signal. For example, when the vehicle is not starting, it may only receive the gear position status, or it may receive both the gear position status and motion state.
[0068] It should be noted that the vehicle's gear status can be the current gear position (e.g., P, N, etc.); the vehicle's operating status can be whether the vehicle is stationary or moving; and the vehicle's motor torque value can be the current torque value (e.g., 1000 N / m, 0 N / m, etc.).
[0069] Furthermore, even when the vehicle is not started, the vehicle controller can obtain at least one of the vehicle's previous motor torque state and the vehicle's motion state. For example, it can obtain only one of the vehicle's previous motor torque state or vehicle motion state, or it can obtain both the vehicle's previous motor torque state and vehicle motion state. This application, by determining the current state of the vehicle under different starting conditions, can more effectively determine whether the motor should output torque based on the vehicle's situation.
[0070] In an optional embodiment, the method further includes: when the comparison result indicates that the current state of the vehicle does not meet the preset conditions, determining a second operating mode of the vehicle's motor; wherein the second operating mode is used to characterize the output torque of the vehicle's motor in this instance.
[0071] Specifically, in this application, when the current state of the vehicle does not meet the preset conditions, a second operating mode of the vehicle's motor is determined. It should be noted that the second operating mode is used to characterize the output torque of the vehicle's motor in this case.
[0072] In an optional embodiment, the preset conditions include one or more of the following: the vehicle is in P or N gear, the vehicle is stationary, the vehicle's motor torque is zero, and the vehicle's motor did not output torque in the previous instance; wherein, the number of preset conditions is not less than the number of items in the current state of the vehicle, and each item in the current state of the vehicle corresponds to each item in the preset conditions.
[0073] Specifically, in this application, after the vehicle controller obtains the current state of the vehicle, the vehicle needs to compare the current state with preset conditions. Therefore, the preset conditions need to correspond to the current state of the vehicle. For example, if the current state of the vehicle obtained by the vehicle controller is the vehicle's gear position, then the preset conditions must include that the vehicle is in P or N gear. Other contents of the preset conditions may or may not be included. That is to say, in addition to the requirement that the vehicle is in P or N gear, the preset conditions may also include that the vehicle is stationary, the vehicle's motor torque is zero, etc. In this way, it is possible to more accurately determine whether the current vehicle state meets the preset conditions, thereby more accurately determining whether the vehicle's motor torque should be output.
[0074] In an optional embodiment, step S15 includes: when the vehicle's start-up mode is vehicle start-up, comparing the vehicle's gear position with the preset condition that the vehicle is in P gear or N gear.
[0075] When the vehicle is in P or N gear, the vehicle's motion state is compared with the preset condition that the vehicle is stationary.
[0076] When the vehicle's motion state matches that of a stationary vehicle, the torque value of the vehicle's motor is compared with the preset condition that the vehicle's motor torque is zero.
[0077] If the torque value of the vehicle's motor is zero, the comparison result will show that the current state of the vehicle meets the preset conditions.
[0078] Specifically, this application proposes a specific solution for the vehicle's motor drive mode. The solution involves the following steps: When the vehicle is in the start-up mode, the vehicle controller needs to acquire the vehicle's gear position, motion state, and motor torque value. Preset conditions must include: the vehicle is in P or N gear, the vehicle is stationary, and the motor torque is zero. First, the vehicle's gear position is compared with the preset condition of being in P or N gear. If the gear position matches, the vehicle's motion state is compared with the preset condition of being stationary. If the motion state matches, the motor torque value is compared with the preset condition of zero motor torque. If the motor torque value matches, meaning all the above conditions are met, the comparison result indicates that the vehicle's current state meets the preset conditions.
[0079] In an optional embodiment, when the vehicle's start-up mode is vehicle start-up, the vehicle controller needs to obtain the vehicle's gear position, vehicle's motion state, and vehicle's motor torque value. If any one or more of the vehicle's gear position, vehicle's motion state, and vehicle's motor torque value do not meet preset conditions, the current vehicle output torque is determined.
[0080] In an optional embodiment, step S15 includes: when the vehicle's start-up mode is that the vehicle is not starting, comparing the previous motor torque state of the vehicle with the previous motor not outputting torque in the preset conditions.
[0081] If the vehicle's previous motor torque state was such that the vehicle's motor did not output torque, the comparison result will show that the vehicle's current state meets the preset conditions.
[0082] If the vehicle's motor torque status in the previous instance does not match the previous instance where the vehicle's motor was not outputting torque, the vehicle's motion status is compared with the preset condition that the vehicle is stationary.
[0083] If the vehicle's motion state matches that of a stationary vehicle, the comparison result will show that the vehicle's current state meets the preset conditions.
[0084] Specifically, this application proposes another specific solution for the vehicle's motor drive mode. The solution is as follows: When the vehicle's starting mode is "not starting," the vehicle controller needs to obtain the vehicle's previous motor torque state and motion state. The preset conditions must include: the vehicle's motor not outputting torque in the previous instance and the vehicle being stationary. First, the vehicle controller compares the vehicle's previous motor torque state with the vehicle's motion state in the preset conditions. If the previous motor torque state meets the conditions, the comparison result indicates that the vehicle's current state meets the preset conditions. If the previous motor torque state does not meet the conditions, the vehicle's motion state is then compared with the preset condition that the vehicle is stationary. If they meet, the comparison result indicates that the vehicle's current state meets the preset conditions, and the motor is controlled not to output torque. If the vehicle's motion state does not meet the preset conditions, the motor is controlled to output torque.
[0085] In an optional embodiment, the method further includes controlling the vehicle's motor to drive based on a first operating mode or a second operating mode.
[0086] Specifically, in this application, the vehicle controller needs to determine in real time whether the vehicle's current motor is in a first operating mode or a second operating mode, and then use the first or second operating mode as the vehicle's previous motor operating mode, which is the basis for determining whether the current state meets the preset conditions. For example, if the motor drive mode is in the first operating mode when the vehicle starts, then after the vehicle starts, the controller determines whether the motor drive mode is in the first or second operating mode based on the vehicle's current state. If the motor drive mode is in the second operating mode, then the second operating mode is used as the basis for the next determination of the vehicle's motor torque state.
[0087] It should be noted that during normal vehicle operation, the vehicle's motor is always in torque output mode. Therefore, during normal vehicle operation, the front or rear wheels will rotate regardless of whether the motor is providing torque. Thus, the motor needs to maintain torque output to achieve the effect of the front or rear wheels rotating.
[0088] Combination Figure 3 As shown, in an optional embodiment, this application provides a flowchart of a method for determining a motor drive mode.
[0089] This application provides two motor drive modes: Standby Mode, which does not output torque; and Torque Mode, which outputs the current torque.
[0090] The default motor drive mode is: Standby Mode.
[0091] The motor mode selection first determines whether the vehicle is in a Ready state. If the vehicle is not currently in a Ready state, it determines whether the current motor drive mode is Torque Mode. If not, it outputs Standby drive mode. If the vehicle is currently in Torque drive mode, it determines whether the vehicle is currently stationary. If the vehicle is stationary, it outputs Standby drive mode; otherwise, it outputs Torque drive mode.
[0092] If the vehicle is currently in the Ready state, determine whether the current gear is in P / N gear. If not, output Torque drive mode.
[0093] If the vehicle is currently in the Ready state and the gear is in P / N, determine whether the vehicle is currently stationary. If not, output Torque drive mode.
[0094] If the vehicle is currently in the Ready state, the gear is in P / N position, and the vehicle is stationary, then determine whether the actual torque of the motor is 0 N / m. If yes, output Standby drive mode; otherwise, output Torque drive mode.
[0095] Compared with existing technologies, this application receives multiple vehicle states through a vehicle controller and compares them with preset conditions to determine whether the vehicle's motor is outputting torque or not. This allows for a more accurate judgment of the current vehicle state, resulting in higher reliability. It also provides the most suitable driving mode for the vehicle, more effectively preventing unexpected acceleration and deceleration, and reducing the occurrence of safety problems. Furthermore, it solves the technical problem in existing technologies where, if the vehicle's motor malfunctions, it continues to output torque unnecessarily, leading to potential hazards.
[0096] like Figure 4 As shown, in an optional embodiment, this application also provides a system for determining a motor drive mode, the system comprising:
[0097] The first determining module 41 is used to determine the vehicle's starting mode; wherein, the vehicle's starting mode is used to indicate whether the vehicle is starting; the first acquiring module 42 is used to acquire the vehicle's current state based on the vehicle's starting mode; the comparison module 43 is used to compare the vehicle's current state with preset conditions and generate a comparison result; the second determining module 44 is used to determine the vehicle's motor's first operating mode when the comparison result indicates that the vehicle's current state meets the preset conditions; wherein, the first operating mode is used to indicate that the vehicle's motor does not output torque in this instance.
[0098] Specifically, the vehicle controller can act as the executing entity of this application. The vehicle can obtain its start-up mode, which indicates whether the vehicle is starting. For example, when the vehicle is in "ready" mode, it indicates that the vehicle is fully prepared, has started successfully, and is ready to depart at any time. The vehicle controller can establish communication with other control units within the vehicle. After determining the start-up mode, the vehicle controller can obtain the vehicle status corresponding to each control unit sent by the other control units. For example, the gear position control unit can obtain the vehicle's gear position information and then send it to the vehicle controller, which can receive the gear position information. When the vehicle controller obtains the current vehicle status, it compares the current status with preset conditions, generates a comparison result, and determines the operating mode of the vehicle's motor based on the comparison result. It should be noted that the comparison result can be either the current status meets the preset conditions or the current status does not meet the preset conditions. Specifically, when the comparison result indicates that the vehicle's current state meets preset conditions, the first operating mode of the vehicle's motor is determined. It should be noted that the first operating mode indicates that the vehicle's motor does not output torque; that is, the vehicle's motor does not operate when the vehicle's current state meets the preset conditions. For example, during normal vehicle operation, the vehicle's starting mode can be "Vehicle Starting." The vehicle controller determines the vehicle's current state in real time (e.g., gear position, motor torque, etc.). If the current state meets the preset conditions, the vehicle's motor can switch to a state where it does not output torque, meaning the vehicle tends to stop.
[0099] Optionally, the first acquisition module 42 is used to acquire at least one of the vehicle gear position, the vehicle motion state, and the vehicle motor torque value state when the vehicle's start-up mode is vehicle start-up; and to acquire at least one of the vehicle's previous motor torque state and the vehicle motion state when the vehicle's start-up mode is vehicle not start-up.
[0100] Specifically, the vehicle controller can establish communication relationships with the vehicle's gear position controller, motion state controller, and motor controller. When the vehicle is in the start-up mode, the vehicle controller can acquire at least one of the vehicle's gear position status, motion state, and motor torque value status. That is, the vehicle controller sends a receive signal to at least one of the gear position controller, motion state controller, and motor controller, and each controller sends its own gear position status, motion state, and motor torque value status back to the vehicle controller based on the received signal. For example, when the vehicle is not starting, it may only receive the gear position status, or it may receive both the gear position status and motion state. Furthermore, when the vehicle is not starting, the vehicle controller can acquire at least one of the vehicle's previous motor torque status and motion state. For example, when the vehicle is not starting, it may only acquire one of the previous motor torque status or motion state, or it may acquire both the previous motor torque status and motion state. This application, by determining the current state of the vehicle under different starting conditions, can more effectively determine whether the motor should output torque based on the vehicle's situation.
[0101] Optionally, the system also includes: a third determining module, used to determine the second operating mode of the vehicle's motor when the comparison result shows that the current state of the vehicle does not meet the preset conditions; wherein the second operating mode is used to characterize the output torque of the vehicle's motor in this case.
[0102] Specifically, when the current state of the vehicle does not meet the preset conditions, the second operating mode of the vehicle's motor is determined. It should be noted that the second operating mode is used to characterize the output torque of the vehicle's motor in this case.
[0103] Optionally, the preset conditions include one or more of the following: the vehicle is in P or N gear, the vehicle is stationary, the vehicle's motor torque is zero, and the vehicle's motor did not output torque in the previous instance; wherein, the number of preset conditions is not less than the number of items in the current state of the vehicle, and each item in the current state of the vehicle corresponds to each item in the preset conditions.
[0104] Specifically, after the vehicle controller obtains the vehicle's current state, it needs to compare this state with preset conditions. Therefore, the preset conditions must correspond to the vehicle's current state. For example, if the vehicle controller obtains the vehicle's current state as its gear position, then the preset conditions must include the vehicle being in P or N gear. Other preset conditions are optional; that is, besides requiring the vehicle to be in P or N gear, preset conditions can also include the vehicle being stationary, the motor torque being zero, etc. This method allows for a more accurate determination of whether the current vehicle state meets the preset conditions, thereby more accurately determining whether the vehicle's motor torque should be output.
[0105] Optionally, the comparison module 43 is used to compare the vehicle's gear position with the preset condition of the vehicle being in P or N gear when the vehicle's starting mode is vehicle start-up; compare the vehicle's motion state with the preset condition of the vehicle being stationary when the vehicle's gear position is P or N; compare the vehicle's motor torque value with the preset condition of the vehicle's motor torque being zero when the vehicle's motion state is stationary; and generate a comparison result indicating that the vehicle's current state meets the preset conditions when the vehicle's motor torque value is zero.
[0106] Specifically, a solution is proposed for the vehicle's motor drive mode. The solution involves the following steps: When the vehicle is in start-up mode, the vehicle controller needs to acquire the vehicle's gear position, motion state, and motor torque value. Preset conditions must include: the vehicle is in P or N gear, the vehicle is stationary, and the motor torque is zero. First, the vehicle's gear position is compared to the preset condition of being in P or N gear. If the gear position matches, the vehicle's motion state is compared to the preset condition of being stationary. If the motion state matches, the motor torque value is compared to the preset condition of zero motor torque. If the motor torque value matches, meaning all the above conditions are met, the comparison result is generated indicating that the vehicle's current state meets the preset conditions.
[0107] Specifically, this application proposes another specific solution for the vehicle's motor drive mode. The solution is as follows: When the vehicle's starting mode is "not starting," the vehicle controller needs to obtain the vehicle's previous motor torque state and motion state. The preset conditions must include: the vehicle's motor not outputting torque in the previous instance and the vehicle being stationary. First, the vehicle controller compares the vehicle's previous motor torque state with the vehicle's motion state in the preset conditions. If the previous motor torque state meets the conditions, the comparison result indicates that the vehicle's current state meets the preset conditions. If the previous motor torque state does not meet the conditions, the vehicle's motion state is then compared with the preset condition that the vehicle is stationary. If they meet, the comparison result indicates that the vehicle's current state meets the preset conditions, and the motor is controlled not to output torque. If the vehicle's motion state does not meet the preset conditions, the motor is controlled to output torque.
[0108] Optionally, the comparison module 43 is used to compare the vehicle's previous motor torque state with the preset condition of the vehicle's motor not outputting torque when the vehicle's starting mode is that the vehicle is not starting; if the vehicle's previous motor torque state matches the preset condition of the vehicle's motor not outputting torque, the comparison result is generated that the vehicle's current state meets the preset condition; if the vehicle's previous motor torque state does not match the preset condition of the vehicle's motor not outputting torque, the comparison module 43 compares the vehicle's motion state with the preset condition of the vehicle being stationary; if the vehicle's motion state matches the preset condition of the vehicle being stationary, the comparison result is generated that the vehicle's current state meets the preset condition.
[0109] Optionally, the system may also include a control module for controlling the vehicle's motor to drive based on a first operating mode or a second operating mode.
[0110] Specifically, the vehicle controller needs to determine in real time whether the vehicle's motor is currently in the first or second operating mode. This first or second operating mode is then used as the previous motor operating mode, which is the basis for determining whether the current state meets the preset conditions. For example, if the motor drive mode is in the first operating mode when the vehicle starts, then after the vehicle starts, the controller determines whether the motor drive mode is in the first or second operating mode based on the vehicle's current state. If the motor drive mode is in the second operating mode, this second operating mode is used as the basis for the next determination of the vehicle's motor torque state.
[0111] Compared with existing technologies, this application receives multiple vehicle states through a vehicle controller and compares them with preset conditions to determine whether the vehicle's motor is outputting torque or not. This allows for a more accurate judgment of the current vehicle state, resulting in higher reliability. It also provides the most suitable driving mode for the vehicle, more effectively preventing unexpected acceleration and deceleration, and reducing the occurrence of safety problems. Furthermore, it solves the technical problem in existing technologies where, if the vehicle's motor malfunctions, it continues to output torque unnecessarily, leading to potential hazards.
[0112] It should be understood that the various modules / units of the apparatus of this application can be implemented wholly or partially through software, hardware, firmware, or a combination thereof. Each module / unit can be embedded in the processor of a computer device in hardware or firmware form or independent of the processor, or it can be stored in the memory of a computer device in software form for the processor to call to execute the services of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.
[0113] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores computer instructions executable by the processor, which, when executed by the processor, instruct the processor to perform the steps of the method of this application. The computer device can be broadly categorized as a server, terminal, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the computer device may include a processor, memory, network interface, communication interface, etc., connected via a system bus. The processor of the computer device can be used to provide the necessary computing, processing, and / or control capabilities. The memory of the computer device may include non-volatile storage media and internal memory. The non-volatile storage media may store service systems, computer programs, etc. The internal memory can provide an environment for the operation of the service systems and computer programs in the non-volatile storage media. The network interface and communication interface of the computer device can be used to connect and communicate with external devices via a network.
[0114] This application can be implemented as a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, causes the steps of the method of this application to be performed. In one embodiment, the computer program is distributed across multiple network-coupled computer devices or processors, such that the computer program is stored, accessed, and executed in a distributed manner by one or more computer devices or processors. A single method step / service, or two or more method steps / services, may be executed by a single computer device or processor or by two or more computer devices or processors. One or more method steps / services may be executed by one or more computer devices or processors, and one or more other method steps / services may be executed by one or more other computer devices or processors. One or more computer devices or processors may execute a single method step / service, or execute two or more method steps / services.
[0115] Those skilled in the art will understand that the steps of the method of this application can be performed by a computer program instructing related hardware, such as a computer device or processor. The computer program can be stored in a non-transitory computer-readable storage medium, and when executed, it causes the steps of the method of this application to be performed. Depending on the context, any references herein to memory, storage, databases, or other media may include non-volatile and / or volatile memory. Examples of non-volatile memory include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state drive, etc. Examples of volatile memory include random access memory (RAM), external cache memory, etc.
[0116] The technical features described above can be combined arbitrarily. Although not all possible combinations of these technical features are described, any combination of these technical features should be considered to be covered by this specification, provided that such combination does not contain contradictions.
[0117] Although this application has been described in conjunction with embodiments, those skilled in the art will understand that the above description and drawings are exemplary and not restrictive, and this application is not limited to the disclosed embodiments. Various modifications and variations are possible without departing from the spirit of this application.
Claims
1. A method for determining a motor drive mode, characterized in that, The method includes: Determine the vehicle's start-up mode; wherein the vehicle's start-up mode is used to characterize whether the vehicle is started; Based on the vehicle's startup mode, obtain the vehicle's current status; The current state of the vehicle is compared with preset conditions to generate a comparison result, wherein the preset conditions correspond to the current state of the vehicle. When the comparison result indicates that the current state of the vehicle meets the preset conditions, a first operating mode of the vehicle's motor is determined; wherein, the first operating mode is used to characterize that the vehicle's motor does not output torque in this case. When the comparison result indicates that the current state of the vehicle does not meet the preset conditions, a second operating mode for the vehicle's motor is determined; wherein, the second operating mode is used to characterize the output torque of the vehicle's motor in this situation. The vehicle's starting modes include the vehicle not starting and the vehicle starting. The preset conditions include: The vehicle is in P or N gear, the vehicle is stationary, the vehicle's motor torque is zero, and the vehicle's motor did not output torque in the previous instance; wherein, the number of the preset conditions is not less than the number of the current conditions of the vehicle, and each condition of the current state of the vehicle corresponds to each condition in the preset conditions. The process of comparing the current state of the vehicle with preset conditions to generate a comparison result includes: When the vehicle's starting mode is that the vehicle does not start, the previous motor torque state of the vehicle is compared with the previous motor not outputting torque in the preset condition. If the previous motor torque state of the vehicle was such that the motor of the vehicle did not output torque, the comparison result is generated to show that the current state of the vehicle meets the preset condition. If the previous motor torque state of the vehicle does not match the previous motor not outputting torque, the motion state of the vehicle is compared with the preset condition that the vehicle is stationary. If the vehicle's motion state matches the condition that the vehicle is stationary, a comparison result is generated indicating that the vehicle's current state meets the preset conditions.
2. The method for determining the motor drive mode according to claim 1, characterized in that, The step of obtaining the current state of the vehicle based on the startup mode includes: When the vehicle's starting mode is vehicle start-up, at least one of the following is obtained: vehicle gear status, vehicle motion status, and vehicle motor torque value status. When the vehicle's starting mode is that the vehicle is not started, at least one of the vehicle's previous motor torque state and the vehicle's motion state is obtained.
3. The method for determining the motor drive mode according to claim 1, characterized in that, The step of comparing the current state of the vehicle with preset conditions and generating a comparison result includes: When the vehicle's starting mode is vehicle start-up, the vehicle's gear position is compared with the preset condition that the vehicle is in P or N gear. When the vehicle's gear position is in P or N, the vehicle's motion state is compared with the preset condition that the vehicle is stationary. When the vehicle's motion state matches that of a stationary vehicle, the torque value of the vehicle's motor is compared with the preset condition that the vehicle's motor torque is zero. If the torque value of the vehicle's motor is zero, a comparison result is generated indicating that the current state of the vehicle meets the preset conditions.
4. The method for determining the motor drive mode according to claim 1, characterized in that, The method further includes: The motor controlling the vehicle is driven based on either the first operating mode or the second operating mode.
5. A system for determining a motor drive mode, characterized in that, The system includes: The first determining module is used to determine the vehicle's start-up mode; wherein the vehicle's start-up mode is used to characterize whether the vehicle is started. The first acquisition module is used to acquire the current state of the vehicle based on the vehicle's startup mode; The comparison module is used to compare the current state of the vehicle with preset conditions and generate a comparison result, wherein the preset conditions correspond to the current state of the vehicle. The second determining module is used to determine the first operating mode of the vehicle's motor when the comparison result shows that the current state of the vehicle meets the preset conditions; wherein, the first operating mode is used to characterize that the vehicle's motor does not output torque in this case. The third determining module is used to determine the second operating mode of the vehicle's motor when the comparison result shows that the vehicle's current state does not meet the preset conditions; wherein, the second operating mode is used to characterize the output torque of the vehicle's motor in this situation. The vehicle's starting modes include the vehicle not starting and the vehicle starting. The preset conditions include: The vehicle is in P or N gear, the vehicle is stationary, the vehicle's motor torque is zero, and the vehicle's motor did not output torque in the previous instance; wherein, the number of the preset conditions is not less than the number of the current conditions of the vehicle, and each condition of the current state of the vehicle corresponds to each condition in the preset conditions. Specifically, the comparison module is used to compare the vehicle's previous motor torque state with the preset condition of the vehicle's motor not outputting torque when the vehicle's starting mode is that the vehicle is not starting; if the vehicle's previous motor torque state matches the preset condition of the vehicle's motor not outputting torque, a comparison result is generated indicating that the vehicle's current state meets the preset condition; if the vehicle's previous motor torque state does not match the preset condition of the vehicle's motor not outputting torque, the module compares the vehicle's motion state with the preset condition of the vehicle being stationary; if the vehicle's motion state matches the preset condition of the vehicle being stationary, a comparison result is generated indicating that the vehicle's current state meets the preset condition.
6. An electronic device, characterized in that, The electronic device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the method for determining the motor drive mode as described in any one of claims 1-4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the method for determining the motor drive mode as described in any one of claims 1-4.