CN115675116A - Method and system for determining motor driving mode, electronic device and storage medium - Google Patents

Method and system for determining motor driving mode, electronic device and storage medium Download PDF

Info

Publication number
CN115675116A
CN115675116A CN202211390895.5A CN202211390895A CN115675116A CN 115675116 A CN115675116 A CN 115675116A CN 202211390895 A CN202211390895 A CN 202211390895A CN 115675116 A CN115675116 A CN 115675116A
Authority
CN
China
Prior art keywords
vehicle
motor
state
torque
preset condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211390895.5A
Other languages
Chinese (zh)
Inventor
袁旭
王亚梦
郑国勇
王守军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
IAT Automobile Technology Co Ltd
Original Assignee
IAT Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by IAT Automobile Technology Co Ltd filed Critical IAT Automobile Technology Co Ltd
Priority to CN202211390895.5A priority Critical patent/CN115675116A/en
Publication of CN115675116A publication Critical patent/CN115675116A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/72Electric energy management in electromobility

Landscapes

  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The application provides a method, a system, an electronic device and a computer readable storage medium for determining a motor driving mode, wherein the method comprises the following steps: determining a starting mode of the vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not; acquiring the current state of the vehicle based on the starting mode of the vehicle; comparing the current state of the vehicle with a preset condition to generate a comparison result; when the comparison result shows that the current state of the vehicle meets the preset condition, determining a first working mode of a motor of the vehicle; the first working mode is used for representing that the motor of the vehicle does not output torque at this time. The technical problem of the prior art that if a motor of a vehicle breaks down, the motor of the vehicle is always in a torque output state, so that the motor outputs unnecessary torque, and danger is caused is solved.

Description

Method and system for determining motor driving mode, electronic device and storage medium
Technical Field
The present invention relates to the field of vehicle control, and in particular, to a method and a system for determining a motor driving mode, an electronic device, and a computer-readable storage medium.
Background
The driving mode of the electric vehicle refers to the arrangement of the vehicle motor and the number and position of the driving wheels. A typical passenger vehicle has front and rear rows of wheels, wherein the wheels are driven by a motor directly to move the vehicle forward. The most basic classification criteria are two-wheel drive and four-wheel drive, depending on the number of drive wheels.
In order to control the driving mode of the electric vehicle, in the prior art, in the process of controlling the motor of the vehicle, it is often necessary to ensure that the state of the motor of the vehicle is always in the state of outputting torque, and then the vehicle controller receives effective throttle signals and brake pedal signals to provide braking or driving control for the motor. The specific method comprises the following steps: when the vehicle control unit confirms the rationality of the braking signal, a braking control signal is sent out; the rationality of the brake signal means: receiving a brake switch signal and/or a brake analog quantity signal; when the vehicle control unit confirms the rationality of the throttle signal, a driving control signal is sent out; the rationality of the throttle signal means: simultaneously receiving an accelerator switch signal and an accelerator analog quantity signal; when the accelerator pedal and the brake pedal are simultaneously pressed, the vehicle control unit and/or the motor controller only correspondingly brake and control the brake signal. The control method realizes the control of the driving mode of the electric automobile.
However, if the motor of the vehicle is in a failure state, the motor of the vehicle is always in a state of outputting torque, so that the motor outputs unnecessary torque, thereby causing danger.
The present invention has been made in view of the above circumstances.
Disclosure of Invention
The application aims to provide a method and a system for determining a motor driving mode, electronic equipment and a computer readable storage medium, and the technical problem that in the prior art, if a motor of a vehicle breaks down, the motor of the vehicle is always in a torque output state, so that the motor outputs unnecessary torque, and further dangers are caused is solved.
According to a first aspect of the present application, there is provided a motor drive mode determination method, the method including:
determining a starting mode of the vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not;
acquiring the current state of the vehicle based on the starting mode of the vehicle;
comparing the current state of the vehicle with a preset condition to generate a comparison result;
when the comparison result shows that the current state of the vehicle meets the preset condition, determining a first working mode of a motor of the vehicle; the first working mode is used for representing that the motor of the vehicle does not output torque at this time.
Optionally, based on the starting mode, obtaining the current state of the vehicle includes:
acquiring at least one of a vehicle gear state of the vehicle, a motion state of the vehicle and a torque value state of a motor of the vehicle when the starting mode of the vehicle is that the vehicle is started;
when the starting mode of the vehicle is that the vehicle is not started, at least one of the motor torque state of the last vehicle of the vehicle and the motion state of the vehicle is acquired.
Optionally, the method further comprises:
when the comparison result shows that the current state of the vehicle does not accord with the preset condition, determining a second working mode of a motor of the vehicle; wherein the second operating mode is used to characterize the motor output torque of the vehicle at that time.
Optionally, the preset conditions include:
one or more of the P gear or the N gear of the vehicle, the static state of the vehicle, the zero torque of the motor of the vehicle and the non-output torque of the motor of the last vehicle; wherein the number of terms of the preset condition is not less than the number of terms of the current state of the vehicle, and each term of the current state of the vehicle corresponds to each term of the preset condition.
Optionally, comparing the current state of the vehicle with a preset condition to generate a comparison result, including:
comparing the gear state of the vehicle with the P gear or the N gear of the vehicle in the preset condition under the condition that the starting mode of the vehicle is that the vehicle is started;
comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the gear state of the vehicle accords with the condition that the vehicle is in the P gear or the N gear;
comparing the torque value state of the motor of the vehicle with the motor torque of the vehicle in the preset condition to be zero under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state;
and under the condition that the torque value state of the motor of the vehicle meets the condition that the motor torque of the vehicle is zero, generating a comparison result that the current state of the vehicle meets the preset condition.
Optionally, comparing the current state of the vehicle with a preset condition to generate a comparison result, including:
comparing the motor torque state of the last vehicle of the vehicle with the motor non-output torque of the last vehicle under the preset condition under the condition that the vehicle is not started in the starting mode of the vehicle;
under the condition that the torque state of the motor of the last vehicle of the vehicle is in accordance with the torque not output by the motor of the last vehicle, generating a comparison result that the current state of the vehicle is in accordance with a preset condition;
comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the torque state of the motor of the last vehicle of the vehicle is not in accordance with the torque not output by the motor of the last vehicle;
and under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state, generating a comparison result that the current state of the vehicle accords with a preset condition.
Optionally, the method further comprises:
controlling a motor of the vehicle to be driven based on the first operation mode or the second operation mode.
According to a second aspect of the present application, there is provided a motor drive mode determination system, comprising:
the device comprises a first determination module, a second determination module and a control module, wherein the first determination module is used for determining a starting mode of a vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not;
the first acquisition module is used for acquiring the current state of the vehicle based on the starting mode of the vehicle;
the comparison module is used for comparing the current state of the vehicle with a preset condition to generate a comparison result;
the second determining module is used for determining a first working mode of a motor of the vehicle when the comparison result shows that the current state of the vehicle meets the preset condition; the first working mode is used for representing that the motor of the vehicle does not output torque at this time.
Optionally, the first obtaining module is configured to obtain at least one of a vehicle gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle when the starting mode of the vehicle is that the vehicle is started; when the starting mode of the vehicle is that the vehicle is not started, at least one of the motor torque state of the last vehicle of the vehicle and the motion state of the vehicle is acquired.
Optionally, the system further comprises: the third determining module is used for determining a second working mode of the motor of the vehicle when the comparison result shows that the current state of the vehicle does not accord with the preset condition; wherein the second operating mode is used to characterize the motor output torque of the vehicle at that time.
Optionally, the preset conditions include: one or more of the P gear or the N gear of the vehicle, the static state of the vehicle, the zero torque of the motor of the vehicle and the non-output torque of the motor of the last vehicle; wherein the number of terms of the preset condition is not less than the number of terms of the current state of the vehicle, and each term of the current state of the vehicle corresponds to each term of the preset condition.
Optionally, the comparison module is configured to compare the gear state of the vehicle with a gear state of the vehicle in a P gear or an N gear in a preset condition when the vehicle is started in the starting mode of the vehicle; comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the gear state of the vehicle accords with the condition that the vehicle is in the P gear or the N gear; comparing the torque value state of the motor of the vehicle with the torque of the motor of the vehicle in a preset condition to be zero under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state; and under the condition that the torque value state of the motor of the vehicle meets the condition that the motor torque of the vehicle is zero, generating a comparison result that the current state of the vehicle meets the preset condition.
Optionally, the comparison module is configured to compare a torque state of a motor of a previous vehicle of the vehicle with a torque not output by the motor of the previous vehicle in a preset condition when the starting mode of the vehicle is that the vehicle is not started; under the condition that the torque state of the motor of the last vehicle of the vehicle is in accordance with the torque not output by the motor of the last vehicle, generating a comparison result that the current state of the vehicle is in accordance with a preset condition; comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the torque state of the motor of the last vehicle of the vehicle is not in accordance with the torque not output by the motor of the last vehicle; and under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state, generating a comparison result that the current state of the vehicle accords with a preset condition.
Optionally, the system further comprises: and the control module is used for controlling the motor of the vehicle to drive based on the first working mode or the second working mode.
According to a third aspect of the present application, there is provided an electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method for determining a motor drive mode as shown in the first aspect.
According to a fourth aspect of the present application, there is provided a readable storage medium on which a program or instructions are stored, which program or instructions, when executed by a processor, implement the steps of the method for determining a motor drive mode as shown in the first aspect.
The method includes the steps that a vehicle controller of a vehicle serves as an execution main body of the method, namely the vehicle controller determines a starting mode of the vehicle, wherein the starting mode of the vehicle is used for representing whether the vehicle is started or not, after the starting mode of the vehicle is determined, the current state of the vehicle is obtained, the current state is compared with a preset condition to generate a comparison result, and when the comparison result shows that the current state of the vehicle meets the preset condition, a first working mode of a motor of the vehicle is determined; the first working mode is used for representing that the motor of the vehicle does not output torque, namely, the current state of the vehicle is compared with the preset condition under the condition that the vehicle is started or not started, namely, whether the current state meets the preset condition or not is judged, and the motor of the vehicle is controlled not to output torque under the condition that the current state meets the preset condition. The technical problem of the prior art that if a motor of a vehicle breaks down, the motor of the vehicle is always in a torque output state, so that the motor outputs unnecessary torque, and danger is caused is solved.
Drawings
In order to more clearly illustrate the detailed description of the present application or the technical solutions in the prior art, the drawings used in the detailed description or the prior art description will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for determining a motor driving mode according to an embodiment of the present application;
fig. 2 is a flowchart of a method for determining a motor driving mode according to an embodiment of the present application;
fig. 3 is a flowchart of a method for determining a motor driving mode according to an embodiment of the present application; and
fig. 4 is a schematic diagram of a system for determining a motor driving mode according to an embodiment of the present application.
Detailed Description
In order to make the above and other features and advantages of the present application more apparent, the present application is further described below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are for purposes of illustration only and are not intended to be limiting.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, it will be apparent to one of ordinary skill in the art that the specific details need not be employed to practice the present application. In other instances, well-known steps or services have not been described in detail so as not to obscure the present application.
Based on the content of the background art, in the prior art, if the motor of the vehicle fails, the motor of the vehicle is always in a state of outputting torque, so that the motor outputs unnecessary torque, and further a danger occurs.
In order to solve the above technical problem, the present application provides a method, a system, an electronic device, and a computer-readable storage medium for determining a motor driving mode. The following describes the method for determining a motor driving mode in detail according to a specific embodiment and an application scenario thereof with reference to the accompanying drawings.
As shown in fig. 1, the present application provides a method of determining a motor driving mode, which may include:
step S11: determining a starting mode of the vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not.
Specifically, in the present application, a vehicle control unit of a vehicle may be used as an execution subject of the present application, and the vehicle may acquire a starting mode of the vehicle, where the starting mode of the vehicle is used to represent whether the vehicle starts. Such as: when the vehicle is in the ready mode of the vehicle, the vehicle can be indicated to be ready for all preparation, start successfully and can be started at any time.
In an alternative embodiment, normally, after the new energy automobile is started, no sound is generated from the engine, and the driver cannot judge whether the vehicle is started successfully. Therefore, under the condition that the vehicle is in the ready mode, the vehicle control unit can control the ready lamp of the vehicle to display, namely, the vehicle control unit can judge the starting mode according to whether the ready lamp displays brightness. Such as: when the ready lamp displays brightness, the vehicle can be indicated to be in a ready mode, namely, the vehicle can be started at any time.
Step S13: based on the starting mode of the vehicle, the current state of the vehicle is acquired.
Specifically, in the application, the vehicle control unit may establish a communication relationship with other control units of the vehicle, and after the start mode of the vehicle is determined, the vehicle control unit may acquire the vehicle state corresponding to each control unit, which is sent by the other control units of the vehicle. Such as: the gear control unit can acquire gear information of the vehicle and then send the gear information to the vehicle control unit, and the vehicle control unit can receive the gear information.
Step S15: and comparing the current state of the vehicle with a preset condition to generate a comparison result.
Specifically, in the application, when the vehicle control unit obtains the current state of the vehicle, the current state is compared with the preset condition to generate a comparison result, and the working mode of the motor of the vehicle is determined according to the comparison result. It should be noted that the comparison result may be that the current state meets the preset condition or that the current state does not meet the preset condition.
Step S17: when the comparison result shows that the current state of the vehicle meets the preset condition, determining a first working mode of a motor of the vehicle; the first working mode is used for representing that the motor of the vehicle does not output torque at this time.
Specifically, in the present application, when the comparison result indicates that the current state of the vehicle meets the preset condition, a first operating mode of the motor of the vehicle is determined, it should be noted that the first operating mode is used to represent that the motor of the vehicle does not output torque at this time, that is, the motor of the vehicle does not operate under the condition that the current state of the vehicle meets the preset condition. Such as: during the normal running process of the vehicle, the starting mode of the vehicle may be that the vehicle is starting, the vehicle controller determines the current state of the vehicle (for example, the gear condition of the vehicle, the motor torque condition of the vehicle, etc.) in real time, and when the current state meets the preset condition, the motor of the vehicle may be switched to the condition that the torque is not output, that is, the vehicle tends to be in a stopped state.
As shown in fig. 2, in order to make the determination of the operating state of the motor of the vehicle more accurate, in an alternative embodiment, step S13 includes:
step S1301: in the case where the start mode of the vehicle is that the vehicle is started, at least one of a vehicle gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle is acquired.
Step S1302: when the starting mode of the vehicle is that the vehicle is not started, at least one of the motor torque state of the last vehicle of the vehicle and the motion state of the vehicle is acquired.
Specifically, in the present application, the vehicle control unit may establish a communication relationship with a gear controller of the vehicle, a motion state controller of the vehicle, and a motor controller of the vehicle. When the vehicle is started in the vehicle starting mode, the vehicle controller may acquire at least one of a gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle, that is, the vehicle controller transmits a receiving signal to at least one of the gear controller of the vehicle, the motion state controller of the vehicle, and the motor controller of the vehicle, and each of the controllers transmits the gear state of the vehicle, the motion state of the vehicle, and the torque value state of the motor of the vehicle to the vehicle controller according to the receiving signal. Such as: when the vehicle is started, only the gear state or the gear state and the motion state are received.
It should be noted that the gear state of the vehicle may be which gear (for example, P gear, N gear, etc.) the vehicle is currently in; the running state of the vehicle can be whether the current vehicle is at rest or in motion; the torque value state of the motor of the vehicle can be the value of the current torque of the vehicle (such as 1000N/m, 0N/m, etc.).
In addition, the vehicle control unit may acquire at least one of a motor torque state of the vehicle and a motion state of the vehicle at the last time of the vehicle when the vehicle is not started. Such as: when the vehicle is not started, only one of the last motor torque state or the vehicle motion state of the vehicle is acquired, and the last motor torque state and the vehicle motion state of the vehicle can also be acquired. According to the method and the device, the current states of different vehicles are judged under the condition of different starting states of the vehicles, and whether the motor outputs torque or not can be judged according to the condition of the vehicles more effectively.
In an optional embodiment, the method further comprises: when the comparison result shows that the current state of the vehicle does not accord with the preset condition, determining a second working mode of a motor of the vehicle; wherein the second operating mode is used to characterize the motor output torque of the vehicle at that time.
Specifically, in the present application, when the current state of the vehicle does not meet the preset condition, a second operation mode of the motor of the vehicle is determined, and it should be noted that the second operation mode is used for representing the output torque of the motor of the vehicle at this time.
In an alternative embodiment, the preset conditions include: one or more of the vehicle is in a P gear or an N gear, the vehicle is in a static state, the torque of the motor of the vehicle is zero, and the motor of the last vehicle does not output torque; wherein the number of terms of the preset condition is not less than the number of terms of the current state of the vehicle, and each term of the current state of the vehicle corresponds to each term of the preset condition.
Specifically, in the application, after the vehicle controller acquires the current state of the vehicle, the vehicle needs to compare the current state of the vehicle with the preset condition, and therefore the preset condition needs to correspond to the current state of the vehicle. Such as: the current state of the vehicle acquired by the vehicle control unit is a gear state of the vehicle, and then the preset condition must include that the vehicle is in a P gear or an N gear, and other contents of the preset condition may or may not include the current state, that is, the preset condition must include that the vehicle is in the P gear or the N gear, and may also include that the vehicle is in a stationary state, the motor torque of the vehicle is zero, and the like. In this way, whether the current vehicle state meets the preset condition can be determined more accurately, and whether the torque of the motor of the vehicle is output can be determined more accurately.
In an alternative embodiment, step S15 comprises: and comparing the gear state of the vehicle with the P gear or the N gear of the vehicle in the preset condition under the condition that the starting mode of the vehicle is that the vehicle is started.
And comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the gear state of the vehicle accords with the condition that the vehicle is in the P gear or the N gear.
And comparing the torque value state of the motor of the vehicle with the torque of the motor of the vehicle in the preset condition to be zero under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state.
And under the condition that the torque value state of the motor of the vehicle meets the condition that the motor torque of the vehicle is zero, generating a comparison result that the current state of the vehicle meets the preset condition.
Specifically, in the present application, a specific scheme is provided for a motor driving mode of a vehicle, and the specific scheme content is as follows: when the vehicle is started in the starting mode, the vehicle controller needs to acquire a gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle. The preset conditions must include: the method comprises the steps that a vehicle is in a P gear or an N gear, the vehicle is in a static state, the torque of a motor of the vehicle is zero, the gear state of the vehicle is compared with the gear state of the vehicle in a preset condition, the motion state of the vehicle is compared with the gear state of the vehicle in the preset condition after the gear state of the vehicle is met, the torque value state of the motor of the vehicle is compared with the torque of the motor of the vehicle in the static state after the motion state of the vehicle is met, and a comparison result is generated under the condition that the torque value state of the motor of the vehicle is met, namely all the conditions are met with the preset condition.
In an optional embodiment, in the case that the vehicle is started in the starting mode of the vehicle, the vehicle controller needs to acquire a gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle, and determines the current vehicle output torque if any one or more of the gear state of the vehicle, the motion state of the vehicle, and the torque value state of the motor of the vehicle does not meet a preset condition.
In an alternative embodiment, step S15 comprises: and comparing the torque state of the motor of the last vehicle of the vehicle with the torque not output by the motor of the last vehicle under the preset condition under the condition that the vehicle is not started in the starting mode of the vehicle.
And under the condition that the torque state of the motor of the last vehicle of the vehicle is in accordance with the torque not output by the motor of the last vehicle, generating a comparison result that the current state of the vehicle is in accordance with the preset condition.
And comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the torque state of the motor of the last vehicle of the vehicle does not accord with the torque not output by the motor of the last vehicle of the vehicle.
And under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state, generating a comparison result that the current state of the vehicle accords with a preset condition.
Specifically, in the present application, another specific scheme is proposed for a motor driving mode of a vehicle, and the specific scheme content is as follows: in the case that the vehicle is not started in the starting mode of the vehicle, the vehicle control unit needs to acquire the last motor torque state of the vehicle and the motion state of the vehicle, and then the preset conditions must include: the last time the motor of the vehicle was not outputting torque and the vehicle was at rest. Firstly, the vehicle control unit needs to compare the last motor torque state of the vehicle with the motion state of the vehicle in the preset condition, and under the condition that the last motor torque state of the vehicle meets the condition, the generated comparison result is that the current state of the vehicle meets the preset condition; and under the condition that the last motor torque state of the vehicle does not meet the condition, comparing the motion state of the vehicle with the static state of the vehicle in the preset condition, and under the condition that the motion state of the vehicle meets the preset condition, generating a comparison result that the current state of the vehicle meets the preset condition and controlling the motor not to output torque. And controlling the motor to output torque under the condition that the motion state of the vehicle does not accord with the preset condition.
In an optional embodiment, the method further comprises: controlling a motor of the vehicle to drive based on the first operating mode or the second operating mode.
Specifically, in the application, the vehicle control unit needs to determine in real time that the current motor of the vehicle is in the first working mode or the second working mode, and then uses the first working mode or the second working mode as the working mode of the last motor of the vehicle, that is, the basis for determining whether the current state meets the preset condition. Such as: when the vehicle is started, the motor driving mode is the first working mode, and then after the vehicle is started, the motor driving mode is judged to be in the first working mode or the second working mode according to the current state of the vehicle, and when the motor driving mode is the second working mode, the second working mode is used as the basis for judging the motor torque state of the vehicle next time.
It should be noted that the electric machine of the vehicle always includes an output torque mode during normal running of the vehicle. Therefore, during the normal running of the vehicle, the front wheel or the rear wheel of the vehicle rotates no matter whether the motor provides torque, so that the effect of rotating the front wheel or the rear wheel can be achieved only when the motor is required to maintain the output torque.
In an alternative embodiment, shown in fig. 3, the present application provides a flow chart of a method for determining a motor driving mode.
The present application provides two motor drive modes: standby Mode, no torque output; and the Torque Mode outputs the current Torque.
The default Mode of the motor driving Mode is Standby Mode
The motor Mode selection firstly judges whether the whole vehicle is in a Ready state, if the whole vehicle is not in the Ready state, the motor Mode selection judges whether the current motor driving Mode is a Torque Mode (Torque Mode), if not, the motor driving Mode is output, if the current motor driving Mode is in the Torque driving Mode, the motor Mode selection judges whether the current vehicle is in a static state, if the vehicle is static, the motor driving Mode is output, otherwise, the motor driving Mode is output.
And if the current finished automobile is in the Ready state, judging whether the current gear is in the P/N gear, and if not, outputting the Torque driving mode.
And if the current finished vehicle is in the Ready state and the gear is in the P/N gear, judging whether the current vehicle is in the static state, and if not, outputting the Torque driving mode.
If the whole vehicle is in a Ready state, the gear is in a P/N gear, and the vehicle is in a static state, judging whether the actual Torque of the current motor is 0N/m, if so, outputting a Standby driving mode, and otherwise, outputting a Torque driving mode.
Compared with the prior art, the vehicle control device receives various states of the vehicle through the vehicle control unit, and then compares the various states with preset conditions to judge whether the motor of the vehicle is in output torque or not. The current vehicle state can be judged more accurately, and the reliability is higher; the optimal current driving mode is provided for the vehicle, the accidental acceleration and the accidental deceleration of the vehicle can be effectively prevented, and the occurrence of safety problems is reduced. The technical problem of the prior art that if a motor of a vehicle breaks down, the motor of the vehicle is always in a torque output state, so that the motor outputs unnecessary torque, and danger is caused is solved.
In an alternative embodiment, as shown in fig. 4, the present application further provides a motor drive mode determination system comprising:
a first determination module 41 for determining a start mode of the vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not; a first obtaining module 42, configured to obtain a current state of the vehicle based on a starting mode of the vehicle; a comparison module 43, configured to compare the current state of the vehicle with a preset condition, and generate a comparison result; the second determining module 44 is configured to determine a first working mode of a motor of the vehicle when the comparison result indicates that the current state of the vehicle meets the preset condition; the first working mode is used for representing that the motor of the vehicle does not output torque at this time.
Specifically, a vehicle control unit of a vehicle may be used as an execution subject of the present application, and the vehicle may acquire a starting mode of the vehicle, where the starting mode of the vehicle is used to represent whether the vehicle starts. Such as: when the vehicle is in ready mode, it can indicate that the vehicle is ready, the starting is successful, and the vehicle can be started at any time. The vehicle controller may establish a communication relationship with other control units of the vehicle, and after the start mode of the vehicle is determined, the vehicle controller may acquire the vehicle state corresponding to each control unit, which is sent by the other control units of the vehicle. Such as: the gear control unit can acquire gear information of the vehicle and then send the gear information to the vehicle control unit, and the vehicle control unit can receive the gear information. When the vehicle control unit obtains the current state of the vehicle, the current state is compared with a preset condition to generate a comparison result, and the working mode of the motor of the vehicle is determined according to the comparison result. It should be noted that the comparison result may be that the current state meets the preset condition or that the current state does not meet the preset condition. When the comparison result indicates that the current state of the vehicle meets the preset condition, a first working mode of the motor of the vehicle is determined, and it should be noted that the first working mode is used for representing that the motor of the vehicle does not output torque at this time, that is, the motor of the vehicle does not work under the condition that the current state of the vehicle meets the preset condition. Such as: during the normal running process of the vehicle, the starting mode of the vehicle may be that the vehicle is starting, the vehicle controller determines the current state of the vehicle (for example, the gear condition of the vehicle, the motor torque condition of the vehicle, etc.) in real time, and when the current state meets the preset condition, the motor of the vehicle may be switched to the condition that the torque is not output, that is, the vehicle tends to be in a stopped state.
Optionally, the first obtaining module 42 is configured to obtain at least one of a vehicle gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle when the starting mode of the vehicle is that the vehicle is started; when the starting mode of the vehicle is that the vehicle is not started, at least one of the motor torque state of the last vehicle of the vehicle and the motion state of the vehicle is acquired.
Specifically, the vehicle control unit may establish a communication relationship with a gear controller of the vehicle, a motion state controller of the vehicle, and a motor controller of the vehicle. When the vehicle is started in the vehicle starting mode, the vehicle controller may acquire at least one of a gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle, that is, the vehicle controller transmits a receiving signal to at least one of the gear controller of the vehicle, the motion state controller of the vehicle, and the motor controller of the vehicle, and each of the controllers transmits the gear state of the vehicle, the motion state of the vehicle, and the torque value state of the motor of the vehicle to the vehicle controller according to the receiving signal. Such as: when the vehicle is started, only the gear state or the gear state and the motion state are received. In addition, the vehicle control unit may acquire at least one of a motor torque state of the vehicle and a motion state of the vehicle at the last time of the vehicle when the vehicle is not started. Such as: when the vehicle is not started, only one of the last motor torque state or the vehicle motion state of the vehicle is acquired, and the last motor torque state and the vehicle motion state of the vehicle can also be acquired. According to the method and the device, the current states of different vehicles are judged under the condition of different starting states of the vehicles, and whether the motor outputs torque or not can be judged according to the condition of the vehicles more effectively.
Optionally, the system further comprises: the third determining module is used for determining a second working mode of the motor of the vehicle when the comparison result shows that the current state of the vehicle does not accord with the preset condition; wherein the second operating mode is used to characterize the motor output torque of the vehicle at that time.
Specifically, when the current state of the vehicle does not meet the preset condition, a second operating mode of the motor of the vehicle is determined, and it should be noted that the second operating mode is used for representing the output torque of the motor of the vehicle at this time.
Optionally, the preset conditions include: one or more of the P gear or the N gear of the vehicle, the static state of the vehicle, the zero torque of the motor of the vehicle and the non-output torque of the motor of the last vehicle; wherein the number of terms of the preset condition is not less than the number of terms of the current state of the vehicle, and each term of the current state of the vehicle corresponds to each term of the preset condition.
Specifically, after the vehicle controller obtains the current state of the vehicle, the vehicle needs to compare the current state of the vehicle with a preset condition, and therefore the preset condition needs to correspond to the current state of the vehicle. Such as: the current state of the vehicle acquired by the vehicle control unit is a gear state of the vehicle, and then the preset condition must include that the vehicle is in a P gear or an N gear, and other contents of the preset condition may or may not include the current state, that is, the preset condition must include that the vehicle is in the P gear or the N gear, and may also include that the vehicle is in a stationary state, the motor torque of the vehicle is zero, and the like. In this way, whether the current vehicle state meets the preset condition can be determined more accurately, and whether the torque of the motor of the vehicle is output can be determined more accurately.
Optionally, the comparison module 43 is configured to compare the gear state of the vehicle with the gear state of the vehicle in the P gear or the N gear in the preset condition when the starting mode of the vehicle is that the vehicle is started; comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the gear state of the vehicle accords with the condition that the vehicle is in the P gear or the N gear; comparing the torque value state of the motor of the vehicle with the motor torque of the vehicle in the preset condition to be zero under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state; and under the condition that the torque value state of the motor of the vehicle accords with the condition that the motor torque of the vehicle is zero, generating a comparison result that the current state of the vehicle accords with a preset condition.
Specifically, a specific scheme is provided for a motor driving mode of a vehicle, and the specific scheme comprises the following contents: when the vehicle is started in the starting mode, the vehicle controller needs to acquire a gear state of the vehicle, a motion state of the vehicle, and a torque value state of a motor of the vehicle. The preset conditions must include: the method comprises the steps that a vehicle is in a P gear or an N gear, the vehicle is in a static state, the torque of a motor of the vehicle is zero, the gear state of the vehicle is compared with the gear state of the vehicle in a preset condition, the motion state of the vehicle is compared with the gear state of the vehicle in the preset condition after the gear state of the vehicle is met, the torque value state of the motor of the vehicle is compared with the torque of the motor of the vehicle in the static state after the motion state of the vehicle is met, and a comparison result is generated under the condition that the torque value state of the motor of the vehicle is met, namely all the conditions are met with the preset condition.
Specifically, in the present application, another specific scheme is proposed for a motor driving mode of a vehicle, and the specific scheme content is as follows: in the case that the vehicle is not started in the starting mode of the vehicle, the vehicle control unit needs to acquire the last motor torque state of the vehicle and the motion state of the vehicle, and then the preset conditions must include: the last time the motor of the vehicle was not outputting torque and the vehicle was at rest. Firstly, the vehicle control unit needs to compare the last motor torque state of the vehicle with the motion state of the vehicle in a preset condition, and under the condition that the last motor torque state of the vehicle meets the condition, a generated comparison result is that the current state of the vehicle meets the preset condition; and under the condition that the last motor torque state of the vehicle does not meet the condition, comparing the motion state of the vehicle with the static state of the vehicle in the preset condition, and under the condition that the motion state of the vehicle meets the preset condition, generating a comparison result that the current state of the vehicle meets the preset condition and controlling the motor not to output torque. And controlling the motor to output torque under the condition that the motion state of the vehicle does not accord with the preset condition.
Optionally, the comparing module 43 is configured to compare the torque state of the motor of the vehicle at the previous time with the torque not output by the motor of the vehicle at the previous time under the preset condition, when the starting mode of the vehicle is that the vehicle is not started; under the condition that the torque state of the motor of the last vehicle of the vehicle is in accordance with the torque not output by the motor of the last vehicle, generating a comparison result that the current state of the vehicle is in accordance with a preset condition; comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the torque state of the motor of the last vehicle of the vehicle does not accord with the torque not output by the motor of the last vehicle; and under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state, generating a comparison result that the current state of the vehicle accords with a preset condition.
Optionally, the system further comprises: and the control module is used for controlling the motor of the vehicle to drive based on the first working mode or the second working mode.
Specifically, the vehicle control unit needs to determine in real time whether the current motor of the vehicle is in the first working mode or the second working mode, and then uses the first working mode or the second working mode as the last working mode of the motor of the vehicle, that is, whether the current state meets the preset condition is determined according to the above. Such as: when the vehicle is started, the motor driving mode is the first working mode, and then after the vehicle is started, the motor driving mode is judged to be in the first working mode or the second working mode according to the current state of the vehicle, and when the motor driving mode is the second working mode, the second working mode is used as the basis for judging the motor torque state of the vehicle next time.
Compared with the prior art, the vehicle control device receives various states of the vehicle through the vehicle control unit, and then compares the various states with preset conditions to judge whether the motor of the vehicle is in output torque or not. The current vehicle state can be judged more accurately, and the reliability is higher; the optimal current driving mode is provided for the vehicle, the accidental acceleration and the accidental deceleration of the vehicle can be effectively prevented, and the occurrence of safety problems is reduced. The technical problem of the prior art that if a motor of a vehicle breaks down, the motor of the vehicle is always in a torque output state, so that the motor outputs unnecessary torque, and danger is caused is solved.
It should be understood that the various modules/units of the apparatus of the present application may be implemented in whole or in part by software, hardware, firmware, or a combination thereof. Each module/unit may be embedded in a processor of the computer device in a hardware or firmware form or independent from the processor, or may be stored in a memory of the computer device in a software form to be called by the processor to execute the service of each module/unit. Each module/unit may be implemented as a separate component or module, or two or more modules/units may be implemented as a single component or module.
In one embodiment, a computer device is provided that includes a memory having stored thereon computer instructions executable by a processor, the computer instructions, when executed by the processor, instruct the processor to perform the steps of the method of the present application. The computer device may broadly be a server, a terminal, or any other electronic device having the necessary computing and/or processing capabilities. In one embodiment, the computer device may include a processor, memory, a network interface, a communication interface, etc., connected by a system bus. The processor of the computer device may be used to provide the necessary computing, processing and/or control capabilities. The memory of the computer device may include a non-volatile storage medium and an internal memory. The non-volatile storage medium may have stored therein or thereon a service system, a computer program, and the like. The internal memory may provide an environment for the service system and the operation of the computer program in the nonvolatile storage medium. The network interface and the communication interface of the computer device may be used to connect and communicate with an external device through a network.
The present application may be realized as a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, causes the steps of the method of the present application to be performed. In one embodiment, the computer program is distributed across a plurality of computer devices or processors coupled by a network such that the computer program is stored, accessed, and executed by one or more computer devices or processors in a distributed fashion. A single method step/service, or two or more method steps/services, may be performed by a single computer device or processor or by two or more computer devices or processors. One or more method steps/services may be performed by one or more computer devices or processors, and one or more other method steps/services may be performed by one or more other computer devices or processors. One or more computer devices or processors may perform a single method step/service, or perform two or more method steps/services.
It will be understood by those of ordinary skill in the art that the steps of the methods of the present application may be directed to associated hardware, such as a computer device or a processor, by a computer program that may be stored in a non-transitory computer readable storage medium and that when executed cause the steps of the methods of the present application to be performed. Any reference herein to memory, storage, databases, or other media may include non-volatile and/or volatile memory, as appropriate. 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, hard disk, solid state disk, and the like. Examples of volatile memory include Random Access Memory (RAM), external cache memory, and the like.
The respective technical features described above may be arbitrarily combined. Although not all possible combinations of features are described, any combination of features should be considered to be covered by the present specification as long as there is no contradiction between such combinations.
While the present application has been described in connection with embodiments, it will be understood by those skilled in the art that the foregoing description and drawings are by way of example only, and not limitation, and the present application is not limited to the disclosed embodiments. Various modifications and variations are possible without departing from the spirit of the application.

Claims (10)

1. A method of determining a motor drive mode, the method comprising:
determining a starting mode of the vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not;
acquiring the current state of the vehicle based on the starting mode of the vehicle;
comparing the current state of the vehicle with a preset condition to generate a comparison result;
when the comparison result is that the current state of the vehicle meets the preset condition, determining a first working mode of a motor of the vehicle; wherein the first operating mode is used for representing that the motor of the vehicle does not output torque at this time.
2. The method of determining a motor drive mode according to claim 1, wherein the obtaining a current state of the vehicle based on the start mode includes:
acquiring at least one of a vehicle gear state of the vehicle, a motion state of the vehicle and a torque value state of a motor of the vehicle when a starting mode of the vehicle is that the vehicle is started;
and acquiring at least one of the motor torque state of the vehicle and the motion state of the vehicle at the last time of the vehicle when the starting mode of the vehicle is that the vehicle is not started.
3. The method of determining a motor drive mode according to claim 2, further comprising:
when the comparison result is that the current state of the vehicle does not accord with the preset condition, determining a second working mode of a motor of the vehicle; wherein the second operating mode is used to characterize the motor output torque of the vehicle at that time.
4. The motor drive mode determining method according to claim 3, wherein the preset condition includes:
one or more of the P gear or the N gear of the vehicle, the static state of the vehicle, the zero torque of the motor of the vehicle and the non-output torque of the motor of the last vehicle; wherein the number of terms of the preset condition is not less than the number of terms of the current state of the vehicle, and each term of the current state of the vehicle corresponds to each term of the preset condition.
5. The method for determining a motor driving mode according to claim 4, wherein the comparing the current state of the vehicle with a preset condition to generate a comparison result comprises:
comparing the gear state of the vehicle with the gear state of the vehicle in P gear or N gear in the preset condition under the condition that the starting mode of the vehicle is that the vehicle is started;
comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the gear state of the vehicle accords with the condition that the vehicle is in the P gear or the N gear;
comparing the torque value state of the motor of the vehicle with the motor torque of the vehicle in the preset condition as zero under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state;
and under the condition that the torque value state of the motor of the vehicle accords with that the motor torque of the vehicle is zero, generating a comparison result that the current state of the vehicle accords with the preset condition.
6. The method for determining a motor driving mode according to claim 4, wherein comparing the current state of the vehicle with a preset condition to generate a comparison result comprises:
comparing the motor torque state of the vehicle at the last time with the motor non-output torque of the vehicle at the last time in the preset condition under the condition that the starting mode of the vehicle is that the vehicle is not started;
under the condition that the last motor torque state of the vehicle accords with the last condition that the motor of the vehicle does not output torque, generating a comparison result that the current state of the vehicle accords with the preset condition;
comparing the motion state of the vehicle with the static state of the vehicle in the preset condition under the condition that the last motor torque state of the vehicle does not accord with the last motor torque output of the vehicle;
and under the condition that the motion state of the vehicle accords with the condition that the vehicle is in a static state, generating a comparison result that the current state of the vehicle accords with the preset condition.
7. The method of determining a motor drive mode according to claim 6, further comprising:
controlling a motor of the vehicle to drive based on the first operating mode or the second operating mode.
8. A system for determining a motor drive mode, the system comprising:
the device comprises a first determination module, a second determination module and a control module, wherein the first determination module is used for determining a starting mode of a vehicle; the starting mode of the vehicle is used for representing whether the vehicle is started or not;
the first obtaining module is used for obtaining the current state of the vehicle based on the starting mode of the vehicle;
the comparison module is used for comparing the current state of the vehicle with a preset condition to generate a comparison result;
the second determining module is used for determining a first working mode of a motor of the vehicle when the comparison result shows that the current state of the vehicle meets the preset condition; wherein the first operating mode is used for representing that the motor of the vehicle does not output torque at this time.
9. An electronic device, characterized in that the electronic device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a method of determining a motor drive mode according to any of claims 1-7.
10. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, implement the method of determining a motor drive mode according to any one of claims 1 to 7.
CN202211390895.5A 2022-11-07 2022-11-07 Method and system for determining motor driving mode, electronic device and storage medium Pending CN115675116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211390895.5A CN115675116A (en) 2022-11-07 2022-11-07 Method and system for determining motor driving mode, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211390895.5A CN115675116A (en) 2022-11-07 2022-11-07 Method and system for determining motor driving mode, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115675116A true CN115675116A (en) 2023-02-03

Family

ID=85050151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211390895.5A Pending CN115675116A (en) 2022-11-07 2022-11-07 Method and system for determining motor driving mode, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115675116A (en)

Similar Documents

Publication Publication Date Title
CN102265261B (en) Electronic control system, electronic control units and method of synchronization control, for vehicles
US8655541B2 (en) Vehicle upgrade system and method thereof
US10316811B2 (en) Method for guaranteeing driving performance of engine and hybrid electric vehicle thereof
CN111267802B (en) Vehicle control method, vehicle control system and automobile
US10877474B2 (en) Autonomous driving control apparatus, vehicle having the apparatus, and method of controlling the apparatus
CN107487321B (en) Clutch control method and device of hybrid electric vehicle
CN115675116A (en) Method and system for determining motor driving mode, electronic device and storage medium
CN109094536B (en) Vehicle control method and device and vehicle
KR20200067702A (en) Engine start control for idle stop-and-go vehicle
CN113147632B (en) Vehicle control method and device, vehicle and storage medium
CN113619383B (en) Power takeoff mode selection method, device, equipment and readable storage medium
EP4122775A1 (en) Software update device, software update method, and software update processing program
CN114919411A (en) Method and device for driving double batteries of vehicle steering system, vehicle and storage medium
CN110861576B (en) Control method and device of brake lamp
CN113602250A (en) Automatic parking method and device for electric automobile, vehicle and storage medium
JP2000265915A (en) First filling method for fuel system
CN112727655B (en) Automobile start-stop control method, storage medium and electronic equipment
US20240103999A1 (en) Control device, control method, and storage medium
CN114248769B (en) Vehicle starting method, device, storage medium, system and diesel vehicle
CN113232519B (en) Vehicle control method, device and system, vehicle and readable storage medium
CN115648967A (en) Control method, device and equipment for eliminating jitter of vehicle motor and storage medium
CN107089232A (en) Vehicle pump condition responsive method and assembly
CN118205553A (en) Control method and device, equipment and computer readable storage medium
CN117307333A (en) Method, device, vehicle and storage medium for starting engine
CN114407917A (en) Driving mode switching method and device, vehicle and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination