Method and device for disconnecting motor control, computer equipment, readable storage medium and program product
By judging the motor status data and selecting the appropriate disconnection control mode, the problem of inaccurate disconnection control mode caused by a single speed threshold in the existing technology is solved, and the safety and driving comfort of the electric drive system are improved.
Patent Information
- Application Number
- CN202410788239.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology only relies on a single speed threshold in disconnecting the motor control, resulting in inaccurate selection of the disconnecting control mode and affecting the safety and driving comfort of the electric drive system.
By obtaining the status data of the motor, it is determined whether there is a resolver fault, and the appropriate disconnection control mode is selected based on the motor parameters, vehicle speed, communication status of the battery management module or battery parameters, including safe torque off mode and active short-circuit mode. .
The selection accuracy of the disconnection control mode is improved, ensuring that the electric drive system enters a safe working state in case of failure, avoiding motor overheating and braking force impact, and improving vehicle safety and comfort.
Smart Images

Figure CN118722232A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a disconnect motor control method, device, computer equipment, computer-readable storage medium and computer program product. Background Art
[0002] As the power source of electric vehicles, the drive system needs to be actively protected in the event of a motor failure. When a system function fails, its hazards and risks are analyzed to ensure that the electric drive system enters a safe working state.
[0003] At present, different disconnection control modes are often selected from preset disconnection control modes by judging whether the motor speed exceeds a speed threshold, and the vehicle controller's control over the motor is disconnected based on the selected disconnection control mode. This method only considers the influence of a single speed threshold on the selection of the disconnection control mode, and the selected disconnection control mode is not accurate. Summary of the invention
[0004] Based on this, it is necessary to provide a method, apparatus, computer device, computer-readable storage medium and computer program product for disconnecting motor control that can improve the accuracy of disconnecting control mode selection in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a method for disconnecting motor control, comprising:
[0006] Get status data of the motor in the vehicle;
[0007] Determining whether the motor has a resolver fault based on the status data;
[0008] Based on the judgment result, collecting mode selection data, the mode selection data including at least one of motor parameters, vehicle speed, communication status of a battery management module in the vehicle, or electrical parameters of a battery;
[0009] A target mode is selected from preset disconnection control modes based on the mode selection data, and control of the motor by a vehicle controller is disconnected based on the target mode.
[0010] In one embodiment, the collecting mode selection data based on the judgment result includes:
[0011] When the judgment result is that the motor has a resolver fault, the motor parameters and the vehicle speed are collected and used as the mode selection data; the motor parameters include the motor temperature;
[0012] Accordingly, the selecting a target mode from a preset disconnection control mode based on the mode selection data includes:
[0013] When the motor temperature is greater than a preset temperature threshold, selecting a safe torque off mode from a preset disconnection control mode;
[0014] When the motor temperature is not greater than the preset temperature threshold, determine whether the vehicle speed meets the preset vehicle speed condition; when the vehicle speed meets the preset vehicle speed condition, select the active short-circuit mode from the preset disconnection control mode; when the vehicle speed does not meet the preset vehicle speed condition, select the safe torque off mode from the preset disconnection control mode.
[0015] In one of the embodiments, the preset vehicle speed condition includes: the vehicle speed is greater than a vehicle speed threshold;
[0016] The vehicle speed threshold value includes a threshold value calculated from a real-time electrical parameter in the electrical parameter, or a threshold value calculated from a preset lower limit of an electrical parameter in the electrical parameter.
[0017] In one embodiment, the collecting mode selection data based on the judgment result includes:
[0018] When the judgment result is that the motor does not have a resolver fault, the motor parameters, the communication status and the electrical parameters of the battery are collected, and the motor parameters, the communication status and the electrical parameters of the battery are used as the mode selection data; the motor parameters include motor temperature and motor speed;
[0019] Accordingly, the selecting a target mode from a preset disconnection control mode based on the mode selection data includes:
[0020] When the motor temperature is greater than a preset temperature threshold, selecting a safe torque off mode from a preset disconnection control mode;
[0021] When the motor temperature is not greater than a preset temperature threshold, a safe torque off mode or an active short circuit mode is selected from preset disconnection control modes based on the motor speed, the communication status and the electrical parameters of the battery.
[0022] In one embodiment, selecting the safe torque off mode or the active short circuit mode from a preset disconnection control mode based on the motor speed, the communication state and the electrical parameters of the battery includes:
[0023] Determining whether the communication status is abnormal;
[0024] If abnormal, obtain the preset lower limit of the electrical parameter of the battery from the electrical parameter, and determine the lower limit of the motor speed based on the lower limit of the electrical parameter; judge whether the motor speed is greater than the lower limit of the motor speed; if greater than the lower limit of the motor speed, select the active short-circuit mode from the preset disconnection control mode; if not greater than the lower limit of the motor speed, select the safe torque off mode from the preset disconnection control mode;
[0025] If there is no abnormality, the real-time electrical parameters of the battery are obtained from the electrical parameters, and the motor speed threshold is determined based on the real-time electrical parameters; it is determined whether the motor speed is greater than the motor speed threshold; if it is greater than the motor speed threshold, the active short-circuit mode is selected from the preset disconnection control mode; if it is not greater than the motor speed threshold, the safe torque off mode is selected from the preset disconnection control mode.
[0026] In one embodiment, after disconnecting the control of the motor by the vehicle controller based on the target mode, the method further includes:
[0027] When the target mode is the active short-circuit mode and the data collection cycle arrives, collecting the mode selection data at the current moment;
[0028] Determining whether a data difference between the mode selection data at the current moment and the mode selection data satisfies a preset difference condition;
[0029] When a preset difference condition is met, the active short-circuit mode is switched to the safe torque off mode, and the control of the motor by the vehicle controller is disconnected based on the safe torque off mode.
[0030] In a second aspect, the present application further provides a device for disconnecting motor control, the device comprising:
[0031] An acquisition module, used for acquiring status data of a motor in a vehicle;
[0032] A judgment module, used for judging whether the motor has a resolver fault based on the state data;
[0033] A collection module, used for collecting mode selection data based on the judgment result, wherein the mode selection data includes at least one of motor parameters, vehicle speed, communication status of a battery management module in the vehicle, or electrical parameters of a battery;
[0034] The selection module is used to select a target mode from preset disconnection control modes based on the mode selection data, and disconnect the control of the motor by the vehicle controller based on the target mode.
[0035] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of each embodiment when executing the computer program.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the method of each embodiment when executed by a processor.
[0037] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the methods of each embodiment when executed by a processor.
[0038] The above-mentioned disconnection motor control method, device, computer equipment, computer-readable storage medium and computer program product, after obtaining the status data of the motor in the vehicle, determine whether the motor has a resolver fault based on the status data, and then collect mode selection data based on the judgment result, thereby selecting a target mode from the preset disconnection control mode based on the mode selection data, and disconnecting the control of the motor by the vehicle controller based on the target mode. It can be seen that the present application can collect mode selection data based on the judgment result of whether the motor has a resolver fault, thereby ultimately affecting the selection of the disconnection control mode, that is, the selection of the disconnection control mode is related to the judgment result of whether the motor has a resolver fault. At the same time, the mode selection data includes at least one of the motor parameters, vehicle speed, communication status of the battery management module in the vehicle, or electrical parameters of the battery, that is, at least one of the motor parameters, vehicle speed, communication status of the battery management module in the vehicle, or electrical parameters of the battery will also affect the selection of the disconnection control mode, and the disconnection control mode is not selected based on a single speed threshold, so that the disconnection control mode selected by the present application is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A schematic flow chart of a method for disconnecting motor control in one embodiment;
[0041] Figure 2 is the correspondence between motor speed and back EMF;
[0042] Figure 3 A schematic flow chart of a method for disconnecting motor control in another embodiment;
[0043] Figure 4 is a structural block diagram of a device for disconnecting motor control in one embodiment;
[0044] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] In the existing scheme of selecting different disconnection control modes from preset disconnection control modes by judging whether the motor speed exceeds the speed threshold, when the motor speed does not exceed the speed threshold, the SPO mode is adopted to avoid the ASC mode, which generates a large braking force and causes a large impact on the vehicle operation, thus affecting the driving comfort; when the motor speed exceeds the speed threshold, the ASC mode is adopted to avoid the SPO mode from generating a large back electromotive force and causing impact damage to the busbar devices. However, ASC may cause the motor to overheat, resulting in the risk of rotor magnet demagnetization, and even damage. The existing scheme only considers the impact of a single speed threshold on the selection of the disconnection control mode, and the selected disconnection control mode is not accurate.
[0047] In one embodiment, Figure 1 As shown, a disconnect motor control method is provided. This embodiment uses the method applied to a vehicle for illustration. In this embodiment, the method includes the following steps:
[0048] Step 102, obtaining status data of a motor in the vehicle;
[0049] The motor status data can indicate whether the motor is faulty;
[0050] Step 104: determine whether the motor has a resolver fault based on the status data;
[0051] In this embodiment, the resolver fault refers to the relative position between the rotor and the stator inside the motor being offset, resulting in a series of abnormal phenomena in the motor;
[0052] If it is determined based on the status data that the motor has a fault, it can be further determined whether the fault is a resolver fault.
[0053] Step 106: Based on the judgment result, collect mode selection data, where the mode selection data includes at least one of motor parameters, vehicle speed, communication status of a battery management module in the vehicle, or electrical parameters of the battery;
[0054] In this embodiment, when the motor has a resolver fault and when the motor does not have a resolver fault, the collected mode selection data is different.
[0055] The motor parameters include motor temperature and / or motor speed;
[0056] The battery management module in the vehicle is a module for managing the battery in the vehicle. The battery management module may be a battery management system (BMS).
[0057] The communication status of the battery management module is used to indicate whether the battery management module can communicate normally with other modules or devices in the vehicle. The communication status includes normal communication and abnormal communication.
[0058] The electrical parameter of the battery may be the battery voltage.
[0059] Step 108 : Select a target mode from preset disconnection control modes based on the mode selection data, and disconnect the control of the motor by the vehicle controller based on the target mode.
[0060] In this embodiment, the preset disconnection control mode includes at least one mode. The two most common active protection measures for active protection of the electric drive system are active short circuit (ASC) mode and safe torque off (SPO) mode. Therefore, the preset disconnection control mode of this application includes ASC mode and SPO mode.
[0061] The target mode selected from the preset disconnection control modes may be an ASC mode or an SPO mode. The SPO mode is implemented by disconnecting all the switch tubes to disconnect the motor from the vehicle controller, thereby disconnecting the vehicle controller from controlling the motor; the ASC mode is implemented by short-circuiting the upper bridge or the lower bridge to separate the motor from the vehicle controller, thereby disconnecting the vehicle controller from controlling the motor. The vehicle controller may be a vehicle control unit (VCU) in the vehicle.
[0062] In this embodiment, after obtaining the status data of the motor in the vehicle, it is determined whether there is a resolver fault based on the status data, and then based on the determination result, the mode selection data is collected. Thus, based on the mode selection data, the target mode is selected from the preset disconnection control modes, and the vehicle controller disconnects the control of the motor based on the target mode. It can be seen that this application can collect the mode selection data based on the determination result of whether there is a resolver fault in the motor, thereby ultimately affecting the selection of the disconnection control mode, that is, the selection of the disconnection control mode is related to the determination result of whether there is a resolver fault in the motor. At the same time, the mode selection data includes at least one of the motor parameters, vehicle speed, communication status of the battery management module in the vehicle, or electrical parameters of the battery, that is, at least one of the motor parameters, vehicle speed, communication status of the battery management module in the vehicle, or electrical parameters of the battery will also affect the selection of the disconnection control mode, rather than simply selecting the disconnection control mode based on a single rotational speed threshold. Therefore, the selected disconnection control mode in this application is more accurate.
[0063] In one of the embodiments, based on the determination result, collecting the mode selection data includes: when the determination result is that there is no resolver fault in the motor, collecting the motor parameters, communication status, and electrical parameters of the battery, and using the motor parameters, communication status, and electrical parameters of the battery as the mode selection data; the motor parameters include the motor temperature and the motor speed.
[0064] Correspondingly, based on the mode selection data, selecting the target mode from the preset disconnection control modes includes: when the motor temperature is greater than the preset temperature threshold, selecting the safe torque off mode from the preset disconnection control modes; when the motor temperature is not greater than the preset temperature threshold, based on the motor speed, communication status, and electrical parameters of the battery, selecting the safe torque off mode or the active short circuit mode from the preset disconnection control modes.
[0065] In this embodiment, the motor temperature is the temperature collected in real time when the determination result is that there is no resolver fault in the motor.
[0066] When the determination result is that there is no resolver fault in the motor, obtain the current motor temperature T, and set Tmax as the threshold for motor overtemperature, that is, the preset temperature threshold. Implement the detection of the current motor temperature. Once it is detected that T > Tmax, directly enter the SPO mode, and disconnect the control of the vehicle controller on the motor according to the shutdown method indicated by the SPO mode to protect the motor from demagnetization or even damage caused by overheating. If T < Tmax or T = Tmax, then further determine whether the communication status of the BMS is normal, and based on the determination result, motor speed, and electrical parameters of the battery, select the safe torque off mode or the active short circuit mode from the preset disconnection control modes.
[0067] In one of the embodiments, based on the motor speed, communication status and electrical parameters of the battery, a safe torque off mode or an active short-circuit mode is selected from a preset disconnection control mode, including: determining whether the communication status is abnormal; if abnormal, obtaining a preset lower limit of the battery's electrical parameters from the electrical parameters, and determining the lower limit of the motor speed based on the lower limit of the electrical parameters; determining whether the motor speed is greater than the lower limit of the motor speed; if greater than the lower limit of the motor speed, selecting the active short-circuit mode from the preset disconnection control mode; if not greater than the lower limit of the motor speed, selecting the safe torque off mode from the preset disconnection control mode; if not abnormal, obtaining the real-time electrical parameters of the battery from the electrical parameters, and determining the motor speed threshold based on the real-time electrical parameters; determining whether the motor speed is greater than the motor speed threshold; if greater than the motor speed threshold, selecting the active short-circuit mode from the preset disconnection control mode; if not greater than the motor speed threshold, selecting the safe torque off mode from the preset disconnection control mode.
[0068] There is a certain linear relationship between the motor speed n and the corresponding back electromotive force U. The relationship between them is: , is the back EMF coefficient. The back EMF U1 of the lowest working speed n1 is measured by calibration. By analogy, the back EMF corresponding to the working speed n2 is U2, the back EMF corresponding to the working speed n3 is U3, the back EMF corresponding to the working speed n4 is U4, until the highest working speed nm corresponding to the working speed nm, as shown in Figure 2 Based on the linear relationship in the figure, the average values of the back-electromotive force coefficients corresponding to n1 to nm are calculated to obtain the final back-electromotive force coefficient.
[0069] Considering that the relay of an electric vehicle is disconnected, the bus voltage of the motor will increase, so this application proposes to calculate the speed threshold based on the battery voltage. When the motor speed is greater than the speed threshold, the ASC mode is entered, and when the motor speed is not greater than the speed threshold, the SPO mode is entered. Specifically:
[0070] When the BMS communication is normal, obtain the real-time voltage of the battery from the battery voltage , the motor speed threshold is calculated based on the real-time voltage and back EMF coefficient. For example, the motor speed threshold is , determine whether the motor speed is greater than the motor speed threshold. If the motor speed is greater than the motor speed threshold, enter the ASC mode and disconnect the vehicle controller from controlling the motor in accordance with the shutdown method indicated by the ASC until the motor speed meets the ASC exit condition. Then exit the ASC mode and switch to the SPO mode. Otherwise, it remains in the ASC mode. If the motor speed is not greater than the motor speed threshold, enter the SPO mode and disconnect the vehicle controller from controlling the motor in accordance with the shutdown method indicated by the SPO.
[0071] The minimum battery operating voltage in the battery voltage range is and the maximum operating voltage is In the case of abnormal communication, the actual battery voltage cannot be obtained, so the minimum battery voltage is obtained from the battery voltage. , based on the minimum voltage and back EMF coefficient, determine the lower limit of the motor speed .
[0072] For example, the lower limit of motor speed is , determine whether the motor speed is greater than the lower limit of the motor speed. If the motor speed is greater than the lower limit of the motor speed, enter the ASC mode and disconnect the vehicle controller from controlling the motor in accordance with the shutdown method indicated by the ASC until the motor speed meets the ASC exit condition. Then exit the ASC mode and switch to the SPO mode. Otherwise, it remains in the ASC mode. If the motor speed is not greater than the lower limit of the motor speed, enter the SPO mode and disconnect the vehicle controller from controlling the motor in accordance with the shutdown method indicated by the SPO.
[0073] In this embodiment, the method of disconnecting the motor control when there is no rotational transformer fault in the motor is described in detail. The safe torque shut-off mode or the active short-circuit mode can be selected from the preset disconnection control modes based on the motor temperature, motor speed, communication status of the battery management module and battery voltage to disconnect the vehicle controller from controlling the motor. The disconnection control mode is not selected based on a single speed threshold, so that the disconnection control mode selected in this application is more accurate.
[0074] The motor speed is obtained by analyzing the data after the rotary transformer collects the position. The resolver failure makes it impossible to obtain the real speed of the motor. Once the resolver failure occurs, it is proposed to use the vehicle speed instead of the motor speed. Therefore, in the case of a resolver failure in the motor, the application plan is:
[0075] In one of the embodiments, based on the judgment result, mode selection data is collected, including: when the judgment result is that the motor has a rotary transformer fault, motor parameters and vehicle speed are collected, and the motor parameters and vehicle speed are used as mode selection data; the motor parameters include motor temperature; accordingly, based on the mode selection data, a target mode is selected from a preset disconnection control mode, including: when the motor temperature is greater than a preset temperature threshold, a safe torque shut-off mode is selected from a preset disconnection control mode; when the motor temperature is not greater than a preset temperature threshold, determining whether the vehicle speed meets a preset speed condition; when the vehicle speed meets the preset speed condition, an active short-circuit mode is selected from a preset disconnection control mode; when the vehicle speed does not meet the preset speed condition, a safe torque shut-off mode is selected from a preset disconnection control mode.
[0076] In this embodiment, the motor temperature is the temperature collected in real time when the judgment result is that there is a resolver fault in the motor.
[0077] When the result of the judgment is that there is a resolver fault in the motor, it is judged whether the motor temperature is greater than the preset temperature threshold. When the motor temperature is greater than the preset temperature threshold, the SPO mode is selected from the preset disconnection control mode, the SPO mode is entered, and the vehicle controller's control over the motor is disconnected in accordance with the shutdown method indicated by the SPO.
[0078] When the motor temperature is not greater than the preset temperature threshold, determine whether the vehicle speed meets the preset speed condition. When the vehicle speed meets the preset speed condition, select the ASC mode from the preset disconnection control modes, enter the ASC mode, and disconnect the vehicle controller from controlling the motor in the shutdown manner indicated by the ASC. When the vehicle speed does not meet the preset speed condition, select the SPO mode from the preset disconnection control modes, enter the SPO mode, and disconnect the vehicle controller from controlling the motor in the shutdown manner indicated by the SPO.
[0079] At the same time, the present application considers the calibration method used to calculate the back electromotive force coefficient, and uses the battery voltage and the back electromotive force value for comparison and judgment.
[0080] In one embodiment, the preset vehicle speed condition includes: the vehicle speed is greater than a vehicle speed threshold; wherein the vehicle speed threshold includes a threshold calculated from real-time electrical parameters in the electrical parameters, or a threshold calculated from a preset lower limit of the electrical parameters in the electrical parameters.
[0081] The relationship between vehicle speed and motor speed is: ; Where v is the speed of the car, n is the motor speed, r is the wheel radius, and i0 is the speed ratio;
[0082] Combined with the above calculation method of the speed threshold, the threshold calculated by the real-time electrical parameters in the electrical parameters is: , where n= ;
[0083] When the vehicle speed satisfies a threshold value calculated from the real-time voltage in the voltage, the ASC mode is selected from the preset disconnection control modes, the vehicle controller enters the ASC mode, and the vehicle controller's control over the motor is disconnected in a shutdown manner indicated by the ASC mode. When the vehicle speed does not satisfy a threshold value calculated from the real-time voltage in the voltage, the SPO mode is selected from the preset disconnection control modes, the vehicle controller enters the SPO mode, and the vehicle controller's control over the motor is disconnected in a shutdown manner indicated by the SPO mode.
[0084] The threshold value is calculated from the lower limit of the electrical parameter preset in the electrical parameter, specifically: ,in, ;
[0085] When the vehicle speed satisfies the threshold value calculated by the lower voltage limit in the voltage, the ASC mode is selected from the preset disconnection control modes, the mode is entered into the ASC mode, and the control of the motor by the vehicle controller is disconnected in accordance with the shutdown method indicated by the ASC. When the vehicle speed does not satisfy the threshold value calculated by the lower voltage limit in the voltage lower limit, the SPO mode is selected from the preset disconnection control modes, the mode is entered into the SPO mode, and the control of the motor by the vehicle controller is disconnected in accordance with the shutdown method indicated by the SPO mode.
[0086] In this embodiment, the method of disconnecting the motor control when the motor has a rotary transformer fault is described in detail. The safe torque shutdown mode or the active short-circuit mode can be selected from the preset disconnection control modes based on the motor temperature and vehicle speed to disconnect the vehicle controller from controlling the motor. The disconnection control mode is not selected based on a single speed threshold, so that the disconnection control mode selected in this application is more accurate.
[0087] At the same time, in the special case of a motor resolver failure, the present application uses the vehicle speed instead of the motor speed as a judgment condition, so that in the special case of a motor resolver failure, the disconnection control mode can also be accurately selected.
[0088] In one of the embodiments, after disconnecting the vehicle controller's control over the motor based on the target mode, the method further includes: when the target mode is an active short-circuit mode and the data collection cycle has arrived, collecting the mode selection data at the current moment; determining whether the data difference between the mode selection data at the current moment and the mode selection data satisfies a preset difference condition; if the preset difference condition is met, switching from the active short-circuit mode to the safe torque off mode, and disconnecting the vehicle controller's control over the motor based on the safe torque off mode.
[0089] When the data collection cycle arrives, the mode selection data at the current moment is sampled in real time, and the mode selection data at the current moment includes the current vehicle speed or the current motor speed;
[0090] One implementation of this embodiment is: for the scenario where there is no resolver fault in the motor, determine the speed difference between the current motor speed and the motor speed when the vehicle enters the ASC mode. Once the ASC mode is entered, a certain fixed speed threshold needs to be reserved for switching from the ASC mode to the SPO mode. , if the speed difference is greater than the fixed speed threshold , it switches from ASC mode to SPO mode, and disconnects the vehicle controller from controlling the motor based on the SPO mode.
[0091] For example, when the speed When the SPO mode is entered, is the speed when entering ASC mode, is the real-time collected rotation speed.
[0092] Another implementation method of this embodiment is, for the scenario where there is no resolver failure in the motor, the speed difference between the current vehicle speed and the speed when the vehicle enters the ASC mode is determined; once the ASC mode is entered, a certain fixed speed threshold needs to be reserved for switching from the ASC mode to the SPO mode; if the speed difference is greater than the fixed speed threshold, the ASC mode is switched to the SPO mode, and the vehicle controller's control over the motor is disconnected based on the SPO mode.
[0093] Fixed speed threshold is based on fixed speed threshold Calculated, specifically: fixed speed threshold .
[0094] For example, when the speed , it enters SPO mode, where is the vehicle speed when entering ASC mode, is the real-time collected rotation speed.
[0095] In this embodiment, when the ASC mode is entered, when the temperature exceeds the temperature threshold, the SPO mode may be directly entered without considering the fixed vehicle speed threshold and the fixed rotation speed threshold.
[0096] It can be seen that when the present application is in the ASC mode, it can still determine whether the real-time vehicle speed or the real-time rotational speed meets the conditions for exiting the ASC mode. When the ASC mode exit conditions are met, the ASC mode is exited and the SPO mode is entered. The selected mode can be adjusted based on the mode selection data, thereby disconnecting the vehicle controller's control over the motor based on the selected mode, thereby improving the accuracy and flexibility of the motor control mode selection.
[0097] In summary, refer to Figure 3 , the overall solution of this application is:
[0098] Obtain the fault status data of the motor in the vehicle to determine whether the motor has a resolver fault;
[0099] If there is a resolver fault, obtain the current feedback vehicle speed and the current real-time temperature of the motor; determine whether the current motor temperature exceeds the temperature threshold. When the current motor temperature exceeds the temperature threshold, enter the SPO state; when the current motor temperature does not exceed the temperature threshold, determine whether the vehicle speed meets the conditions for entering the ASC state, that is, determine whether the vehicle speed is greater than the speed threshold. When the vehicle speed is greater than the speed threshold, enter the ASC state; determine whether the vehicle speed meets the ASC state exit condition. If the exit condition is not met, keep the ASC state. If the exit condition is met, switch from the ASC state to the SPO state. When the vehicle speed is not greater than the speed threshold, enter the SPO state;
[0100] If there is a resolver fault, obtain the current actual motor speed and current actual motor temperature; determine whether the current motor temperature exceeds the temperature threshold, and enter the SPO state when the current motor temperature exceeds the temperature threshold; when the current motor temperature does not exceed the temperature threshold, obtain the current BMS communication state and determine whether the BMS communication is abnormal; in the case of BMS communication abnormality, determine whether the speed meets the ASC minimum speed, if the speed meets the ASC minimum speed, enter the ASC state, and after entering the ASC state, determine whether the speed meets the exit condition, if it exits the ASC state and enters the SPO state, if the speed does not meet the ASC minimum speed, enter the SPO state. In the case of normal BMS communication, determine whether the speed meets the real-time speed limit, if the speed meets the real-time speed limit, enter the ASC state, and after entering the ASC state, determine whether the speed meets the exit condition, if it exits the ASC state and enters the SPO state, if the speed does not meet the real-time speed limit, enter the SPO state.
[0101] In this application, the motor temperature is added as a priority judgment condition. If the motor temperature is overheated, the system directly enters the SPO mode to protect the motor.
[0102] The design of this application can be switched between SPO mode and ASC mode by switching the enable signal. When the enable signal is set to 1, it means that the software determines that the conditions for entering ASC are currently met. Once a fault occurs, ASC can be entered immediately until the conditions are met and the enable signal is set to 0, exiting ASC and entering SPO. When the enable signal is set to 0, it means that the software determines that the conditions for entering ASC are not currently met. Once a fault occurs, only SPO can be entered, which can fully protect the motor and controller.
[0103] Compared with the existing solutions, this application adds at least one of the motor temperature, motor speed, vehicle speed, communication status of the battery management module in the vehicle, or battery voltage to the target mode selection, which can diagnose the safe working state entered after a fault occurs during motor operation at any time, and actively protect the electric drive system to avoid the electric vehicle entering an active short-circuit state due to excessive temperature after a high-speed operation fault, avoid erroneous entry into the safety mode causing motor overheating, and use software control to comprehensively judge and execute entry into relevant safety modes. Effectively avoid improper safety modes from generating large braking torques that cause serious shaking of the entire vehicle, and improve vehicle comfort.
[0104] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0105] Based on the same inventive concept, the embodiment of the present application also provides a device for disconnecting the motor control in the method for disconnecting the motor control involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more devices for disconnecting the motor control provided below can refer to the limitations of the method for disconnecting the motor control above, and will not be repeated here.
[0106] In an exemplary embodiment, Figure 4 As shown, a device 400 for disconnecting motor control is provided, comprising:
[0107] An acquisition module 401 is used to acquire status data of a motor in a vehicle;
[0108] A judgment module 402 is used to judge whether the motor has a resolver fault based on the state data;
[0109] A collection module 403, used for collecting mode selection data based on the judgment result, wherein the mode selection data includes at least one of motor parameters, vehicle speed, communication status of a battery management module in the vehicle, or electrical parameters of a battery;
[0110] The selection module 404 is configured to select a target mode from preset disconnection control modes based on the mode selection data, and disconnect the control of the motor by the vehicle controller based on the target mode.
[0111] In one embodiment, when the acquisition module 403 acquires mode selection data based on the judgment result, it is specifically used to:
[0112] When the judgment result is that the motor has a resolver fault, the motor parameters and the vehicle speed are collected and used as the mode selection data; the motor parameters include the motor temperature;
[0113] Accordingly, when the selection module 404 selects the target mode from the preset disconnection control modes based on the mode selection data, it is specifically used to:
[0114] When the motor temperature is greater than a preset temperature threshold, selecting a safe torque off mode from a preset disconnection control mode;
[0115] When the motor temperature is not greater than the preset temperature threshold, determine whether the vehicle speed meets the preset vehicle speed condition; when the vehicle speed meets the preset vehicle speed condition, select the active short-circuit mode from the preset disconnection control mode; when the vehicle speed does not meet the preset vehicle speed condition, select the safe torque off mode from the preset disconnection control mode.
[0116] In one of the embodiments, the preset vehicle speed condition includes: the vehicle speed is greater than a vehicle speed threshold;
[0117] The vehicle speed threshold value includes a threshold value calculated from a real-time electrical parameter in the electrical parameter, or a threshold value calculated from a preset lower limit of an electrical parameter in the electrical parameter.
[0118] In one embodiment, the acquisition module 403 acquires mode selection data based on the judgment result, including:
[0119] When the judgment result is that the motor does not have a resolver fault, the motor parameters, the communication status and the electrical parameters of the battery are collected, and the motor parameters, the communication status and the electrical parameters of the battery are used as the mode selection data; the motor parameters include motor temperature and motor speed;
[0120] Accordingly, when the selection module 404 selects the target mode from the preset disconnection control modes based on the mode selection data, it is specifically used to:
[0121] When the motor temperature is greater than a preset temperature threshold, selecting a safe torque off mode from a preset disconnection control mode;
[0122] When the motor temperature is not greater than a preset temperature threshold, a safe torque off mode or an active short circuit mode is selected from preset disconnection control modes based on the motor speed, the communication status and the electrical parameters of the battery.
[0123] In one embodiment, when the selection module 404 selects the safe torque off mode or the active short circuit mode from the preset disconnection control mode based on the motor speed, the communication state and the electrical parameters of the battery, it is specifically used to:
[0124] Determining whether the communication status is abnormal;
[0125] If abnormal, obtain the preset lower limit of the electrical parameter of the battery from the electrical parameter, and determine the lower limit of the motor speed based on the lower limit of the electrical parameter; judge whether the motor speed is greater than the lower limit of the motor speed; if greater than the lower limit of the motor speed, select the active short-circuit mode from the preset disconnection control mode; if not greater than the lower limit of the motor speed, select the safe torque off mode from the preset disconnection control mode;
[0126] If there is no abnormality, the real-time electrical parameters of the battery are obtained from the electrical parameters, and the motor speed threshold is determined based on the real-time electrical parameters; it is determined whether the motor speed is greater than the motor speed threshold; if it is greater than the motor speed threshold, the active short-circuit mode is selected from the preset disconnection control mode; if it is not greater than the motor speed threshold, the safe torque off mode is selected from the preset disconnection control mode.
[0127] In one embodiment, the device further comprises a determination module; after the selection module 404 disconnects the control of the motor by the vehicle controller based on the target mode;
[0128] The acquisition module 403 is further used to acquire the mode selection data at the current moment when the target mode is the active short-circuit mode and the data acquisition cycle arrives;
[0129] A determination module, used to determine whether a data difference between the mode selection data at the current moment and the mode selection data satisfies a preset difference condition;
[0130] The selection module 404 is configured to switch from the active short-circuit mode to the safe torque off mode when a preset difference condition is met, and disconnect the vehicle controller from controlling the motor based on the safe torque off mode.
[0131] Each module in the above-mentioned device for disconnecting motor control can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0132] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for disconnecting motor control is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0133] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0134] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps of the method of each embodiment when executing the computer program.
[0135] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method of each embodiment are implemented.
[0136] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the methods of various embodiments when executed by a processor.
[0137] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0138] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0139] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0140] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for disconnecting motor control, characterized in that: The method comprises: Get status data of the motor in the vehicle; Determining whether the motor has a resolver fault based on the status data; Based on the judgment result, collecting mode selection data, the mode selection data including at least one of motor parameters, vehicle speed, communication status of a battery management module in the vehicle, or electrical parameters of a battery; A target mode is selected from preset disconnection control modes based on the mode selection data, and control of the motor by a vehicle controller is disconnected based on the target mode.
2. The method according to claim 1, characterized in that: The collecting mode selection data based on the judgment result includes: When the judgment result is that the motor has a resolver fault, the motor parameters and the vehicle speed are collected and the motor parameters and the vehicle speed are used as the mode selection data; the motor parameters include the motor temperature; Accordingly, the selecting a target mode from a preset disconnection control mode based on the mode selection data includes: When the motor temperature is greater than a preset temperature threshold, selecting a safe torque off mode from a preset disconnection control mode; When the motor temperature is not greater than the preset temperature threshold, determine whether the vehicle speed meets the preset vehicle speed condition; when the vehicle speed meets the preset vehicle speed condition, select the active short-circuit mode from the preset disconnection control mode; when the vehicle speed does not meet the preset vehicle speed condition, select the safe torque off mode from the preset disconnection control mode.
3. The method according to claim 2, characterized in that The preset vehicle speed condition includes: the vehicle speed is greater than a vehicle speed threshold; The vehicle speed threshold value includes a threshold value calculated from a real-time electrical parameter in the electrical parameter, or a threshold value calculated from a preset lower limit of an electrical parameter in the electrical parameter.
4. The method according to claim 1, characterized in that The collecting mode selection data based on the judgment result includes: When the judgment result is that the motor does not have a resolver fault, the motor parameters, the communication status and the electrical parameters of the battery are collected, and the motor parameters, the communication status and the electrical parameters of the battery are used as the mode selection data; the motor parameters include motor temperature and motor speed; Accordingly, the selecting a target mode from a preset disconnection control mode based on the mode selection data includes: When the motor temperature is greater than a preset temperature threshold, selecting a safe torque off mode from a preset disconnection control mode; When the motor temperature is not greater than a preset temperature threshold, a safe torque off mode or an active short circuit mode is selected from preset disconnection control modes based on the motor speed, the communication status and the electrical parameters of the battery.
5. The method according to claim 4, characterized in that The selecting of a safe torque off mode or an active short circuit mode from a preset disconnection control mode based on the motor speed, the communication state and the electrical parameters of the battery comprises: Determining whether the communication status is abnormal; If abnormal, obtain the preset lower limit of the electrical parameter of the battery from the electrical parameter, and determine the lower limit of the motor speed based on the lower limit of the electrical parameter; judge whether the motor speed is greater than the lower limit of the motor speed; if greater than the lower limit of the motor speed, select the active short-circuit mode from the preset disconnection control mode; if not greater than the lower limit of the motor speed, select the safe torque off mode from the preset disconnection control mode; If there is no abnormality, the real-time electrical parameters of the battery are obtained from the electrical parameters, and the motor speed threshold is determined based on the real-time electrical parameters; it is determined whether the motor speed is greater than the motor speed threshold; if it is greater than the motor speed threshold, the active short-circuit mode is selected from the preset disconnection control mode; if it is not greater than the motor speed threshold, the safe torque off mode is selected from the preset disconnection control mode.
6. The method according to any one of claims 1 to 5, characterized in that After disconnecting the control of the motor by the vehicle controller based on the target mode, the method further includes: When the target mode is the active short-circuit mode and the data collection cycle arrives, collecting the mode selection data at the current moment; Determining whether a data difference between the mode selection data at the current moment and the mode selection data satisfies a preset difference condition; When a preset difference condition is met, the active short-circuit mode is switched to the safe torque off mode, and the control of the motor by the vehicle controller is disconnected based on the safe torque off mode.
7. A device for disconnecting motor control, characterized in that: The device comprises: An acquisition module, used for acquiring status data of a motor in a vehicle; A judgment module, used for judging whether the motor has a resolver fault based on the state data; A collection module, used for collecting mode selection data based on the judgment result, wherein the mode selection data includes at least one of motor parameters, vehicle speed, communication status of a battery management module in the vehicle, or electrical parameters of a battery; The selection module is used to select a target mode from preset disconnection control modes based on the mode selection data, and disconnect the control of the motor by the vehicle controller based on the target mode.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Vehicle control method and device, electronic equipment and vehicle
CN119567859A
Vehicle control method and device, electronic equipment and vehicle
CN119567859B
