Control method and device of vehicle motor controller, electronic equipment and storage medium
By detecting the speed of the motor system and the fault of the bridge arm, and switching the ASC status of the IGBT module, the problem of insufficient short-circuit protection time for permanent magnet synchronous motors is solved, and the safety and reliability of the motor system are achieved.
Patent Information
- Application Number
- CN202510197448.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-05-23
AI Technical Summary
In the active short circuit state of the permanent magnet synchronous motor, if the corresponding bridge arm fails, it will lead to a short protection time and the motor system cannot be effectively protected.
By detecting the current rotation speed of the motor system and the bridge arm failure condition, the IGBT module is controlled to switch to different ASC states to ensure sufficient short circuit protection time. The specific steps include: if the current rotation speed is greater than the preset value, enter the first ASC state; if the bridge arm of the first ASC state fails, switch to the second ASC state.
It ensures that the ASC state lasts for sufficient time, achieves good short circuit protection, and avoids unsafe motor system state caused by faults.
Smart Images

Figure CN120034081A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle motor controllers, and in particular to a control method, device, electronic device and storage medium for a vehicle motor controller. Background Art
[0002] Permanent magnet synchronous motors are widely used as drive motors for electric vehicles due to their high operating efficiency and high torque density. When the electric drive system fails, a reasonable control strategy needs to be formulated to put the vehicle into a safe state to ensure the safety of the vehicle and its passengers. There are two safety states for the motor controller: active short circuit ASC (Activeshort circuit) and freewheeling FW (Freewheeling).
[0003] At present, when entering the active short-circuit state, there are upper bridge ASC state and lower bridge ASC state, which correspond to the short circuit of the upper bridge arm and the lower bridge arm of the motor controller respectively. In a specific ASC state, if the corresponding bridge arm fails, the ASC state will last for a short time and active short-circuit protection cannot be properly performed. Summary of the invention
[0004] In view of the above problems, the present application provides a control method, device, electronic device and storage medium for a vehicle motor controller, which can ensure that the ASC state lasts for a sufficient time to perform good short-circuit protection.
[0005] A first aspect of the present application provides a control method for a vehicle motor controller, comprising: when it is detected that the vehicle's motor system has a preset safety state fault, obtaining the current speed of the vehicle's drive motor; if the current speed is greater than the preset speed, controlling the IGBT module of the motor controller to enter a first ASC state; wherein the first ASC state is one of an upper bridge ASC state and a lower bridge ASC state; when it is detected that an execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, controlling the IGBT module to enter a second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state.
[0006] In some specific embodiments, if it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state includes: if it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, then detecting whether the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault; if the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault, then controlling the IGBT module to enter the second ASC state.
[0007] In some specific embodiments, after the step of detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, it also includes: detecting whether the driving chip corresponding to the execution bridge arm corresponding to the second ASC state has a preset chip fault; if the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault, then controlling the IGBT module to enter the second ASC state, including: if the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault and the driving chip does not have a preset chip fault, then controlling the IGBT module to enter the second ASC state.
[0008] In some specific embodiments, after detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state includes: detecting the working state of the execution bridge arm corresponding to the first ASC state, and the working state of the execution bridge arm corresponding to the second ASC state; if the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault, and the preset bridge arm fault of the execution bridge arm corresponding to the first ASC state is eliminated, controlling the IGBT module to enter the first ASC state.
[0009] In some specific embodiments, if the current speed is greater than the preset speed, the step of controlling the IGBT module of the motor controller to enter the first ASC state includes: if the current speed is greater than the preset speed, detecting whether the lower execution bridge arm corresponding to the lower bridge ASC state has a preset bridge arm fault; if it is detected that the lower execution bridge arm does not have a preset bridge arm fault, the lower bridge ASC state is used as the first ASC state, and the IGBT module of the motor controller is controlled to enter the lower bridge ASC state.
[0010] In some specific embodiments, if the current speed is greater than the preset speed, then after the step of controlling the IGBT module of the motor controller to enter the first ASC state, the method also includes: obtaining the bus voltage of the motor controller, and obtaining the back electromotive force generated by the drive motor according to the current speed; if the difference voltage between the back electromotive force and the bus voltage is less than the preset voltage, then controlling the IGBT module of the motor controller to exit the first ASC state, and controlling the IGBT module of the motor controller to enter a shutdown state.
[0011] In some specific embodiments, after obtaining the bus voltage of the motor controller and obtaining the back electromotive force generated by the drive motor according to the current speed, it includes: detecting the relationship between the bus voltage and a preset threshold voltage; wherein the preset threshold voltage is the minimum voltage for the motor controller to work; if it is detected that the bus voltage is less than the preset threshold voltage, the preset threshold voltage is used as the bus voltage to update the bus voltage.
[0012] A second aspect of the present application provides a control device for a vehicle motor controller, comprising: a detection module, for detecting that the vehicle's motor system has a preset safety state fault, and then acquiring the current speed of the vehicle's drive motor; a control module, for: if the current speed is greater than the preset speed, then controlling the IGBT module of the motor controller to enter a first ASC state; wherein the first ASC state is one of an upper bridge ASC state and a lower bridge ASC state; and when it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, controlling the IGBT module to enter a second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state.
[0013] A third aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, any of the above-mentioned control methods for a vehicle motor controller is implemented.
[0014] A fourth aspect of the present application provides a computer-readable storage medium, characterized in that a computer program is stored in the storage medium, and when the computer program is executed by a processor, a control method for a vehicle motor controller as described above is implemented.
[0015] The present application has at least the following beneficial technical effects: based on the control method, device, electronic device and storage medium of the vehicle motor controller provided by the present application, including: when it is detected that the motor system of the vehicle has a preset safety state fault, the current speed of the vehicle's drive motor is obtained; if the current speed is greater than the preset speed, the IGBT module of the motor controller is controlled to enter the first ASC state; wherein the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state; when it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the IGBT module is controlled to enter the second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state. Therefore, when it is detected that the execution bridge arm corresponding to the first ASC state has a fault, the first ASC state will be switched to the second ASC state, which can ensure that the ASC state lasts for a sufficient time to perform good short-circuit protection.
[0016] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0018] Figure 1 It is a flow chart of an embodiment of a control method of a vehicle motor controller provided by the present application;
[0019] Figure 2 It is a circuit diagram of the connection between the motor controller and the drive motor;
[0020] Figure 3 is a flow chart of another embodiment of a control method of a vehicle motor controller provided by the present application;
[0021] Figure 4 is a flow chart of another embodiment of a control method of a vehicle motor controller provided by the present application;
[0022] Figure 5 is a flow chart of another embodiment of a control method of a vehicle motor controller provided by the present application;
[0023] Figure 6 is a flow chart of another embodiment of a control method of a vehicle motor controller provided by the present application;
[0024] Figure 7 is a flow chart of another embodiment of a control method of a vehicle motor controller provided by the present application;
[0025] Figure 8 is a flow chart of another embodiment of a control method of a vehicle motor controller provided by the present application;
[0026] Fig. 9 is a structural block diagram of an embodiment of a control device of a vehicle motor controller provided by the present application;
[0027] Fig.10 It is a schematic diagram of the structural framework of an embodiment of the electronic device provided by the present application;
[0028] Fig.11 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium provided by the present application. DETAILED DESCRIPTION
[0029] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0030] If there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0031] The first aspect of the present application provides a control method for a vehicle motor controller. Figure 1 1 is a flow chart of an embodiment of a control method of a vehicle motor controller provided by the present application. Figure 1 , the method comprises the following steps:
[0032] S11: If it is detected that the motor system of the vehicle has a preset safety state fault, the current rotation speed of the driving motor of the vehicle is obtained.
[0033] It should be understood that the motor system of the vehicle includes a drive motor and a motor controller, and the preset safety state fault may include a fault of the drive motor and a fault of the motor controller. The type of the preset safety state fault is preset and may include multiple types of faults. When it is detected that the motor system currently has a fault, the current fault is compared with the preset safety state fault, so that it can be determined whether the motor system has a preset safety state fault.
[0034] When it is detected that the motor system has a preset safety state fault, the motor controller is prepared to be controlled to enter the ASC state, but this embodiment does not directly control the motor controller to enter the ASC state. Among them, when the motor controller enters the ASC state, the bridge arm corresponding to the IGBT module in the ASC state forms a closed loop with the stator winding of the motor, the drive motor generates a back electromotive force and releases it through the stator winding, and the motor output end generates a corresponding braking torque. When the vehicle is in a low-speed driving state, the braking torque generated by the motor is particularly significant and will significantly affect the vehicle's driving. Therefore, this step first detects the current speed of the drive motor, and then in the subsequent process, according to the current speed of the drive motor, further determines whether to enter the ASC state, so as to fully consider the influence of the braking torque.
[0035] S12: If the current rotation speed is greater than the preset rotation speed, the IGBT module of the motor controller is controlled to enter the first ASC state; wherein the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state.
[0036] The preset speed is set in advance, and the preset speed can be set according to the characteristics of the motor system. When the current speed is greater than the preset speed, it means that the speed of the drive motor is high and the generated braking torque is small. At this time, the IGBT module of the motor controller can be controlled to enter the ASC state.
[0037] Figure 2 It is a circuit diagram of the connection between the motor controller and the drive motor.
[0038] Combination Figure 2 , the dotted line frame 211 and the dotted line frame 212 are respectively the upper execution bridge arm and the lower execution bridge arm in the IGBT module, and three transistors are arranged in the upper execution bridge arm and the lower execution bridge arm. The right side of the IGBT module is provided with a drive motor 213, and the drive motor 213 is respectively connected to the transistors in the upper execution bridge arm and the lower execution bridge arm in the IGBT module.
[0039] The IGBT module can enter the ASC state in the following two ways:
[0040] The first method: by short-circuiting the upper bridge arm, the IGBT module enters the upper bridge ASC state.
[0041] The second method: by short-circuiting the lower execution bridge arm, the IGBT module enters the lower bridge ASC state.
[0042] In combination with the above content, the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state, that is, the IGBT module that controls the motor controller enters either the upper bridge ASC state or the lower bridge ASC state at this time, that is, this embodiment does not make specific restrictions on which ASC state to enter.
[0043] S13: If it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the IGBT module is controlled to enter the second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state.
[0044] Specifically, after entering the first ASC state, it will detect whether the execution bridge arm corresponding to the first ASC state has a preset bridge arm obstacle, and then determine whether the first ASC state is in a normal state. For example, if the first ASC state is the upper bridge ASC state, then it will detect whether the upper execution bridge arm corresponding to the upper bridge ASC state has a preset bridge arm fault.
[0045] The preset bridge arm fault can be preset, and the preset bridge arm fault of the execution bridge arm corresponding to the first ASC state and the second ASC state can be the same. In some application scenarios, the fault of the execution bridge arm that causes the ASC state to not proceed well can be used as the preset bridge arm fault. For example, the preset bridge arm fault can include an overtemperature fault in which the temperature of the execution bridge arm is greater than the preset temperature, and can also include a device fault in which a transistor or circuit in the execution bridge arm is damaged, which is not specifically limited here.
[0046] It should be understood that if the execution bridge arm corresponding to the first ASC state is detected to have a preset bridge arm fault, it means that if the first ASC state is maintained, the ASC state will not be good, and the motor controller cannot be well protected from short circuit. Based on this situation, this step will control the IGBT module to enter the second ASC state, that is, to enter the other of the upper bridge ASC state and the lower bridge ASC state, thereby realizing the switching of the execution bridge arm of the IGBT module. For example, if the first ASC state is the upper bridge ASC state, then when it is detected that the upper execution bridge arm has a preset bridge arm fault, the IGBT module will be controlled to enter the lower bridge ASC state.
[0047] In summary, based on the control method of the vehicle motor controller provided in the present application, when a fault is detected in the execution bridge arm corresponding to the first ASC state, the first ASC state will be switched to the second ASC state, which can ensure that the ASC state lasts for a sufficient time to provide good short-circuit protection.
[0048] Figure 3 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle motor controller provided by the present application. Figure 3 In some specific embodiments, if it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state, that is, the above-mentioned step S13, includes:
[0049] S21: If it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, then it is detected whether the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault.
[0050] In this embodiment, when it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the IGBT module is not directly controlled to enter the second ASC state, but the execution bridge arm corresponding to the second ASC state is detected for the preset bridge arm fault.
[0051] S22: If the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault, the IGBT module is controlled to enter the second ASC state.
[0052] It should be understood that if the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault, it means that even if the first ASC state is switched to the second ASC state, the motor controller still cannot be in a good ASC state, and the motor controller still cannot be well short-circuit protected.
[0053] Therefore, this embodiment controls the IGBT module to enter the second ASC state only when the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault, thereby ensuring the effectiveness of the ASC state switching.
[0054] In addition, when it is detected that the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault, it means that no matter whether entering the first ASC state or the second ASC state, good short-circuit protection cannot be achieved at this time, and the IGBT module is controlled to enter the open circuit protection state. Among them, the open circuit protection is not the core of this application. For the specific description of the open circuit protection state, reference can be made to the relevant content about open circuit protection of the motor controller in the prior art, and no further description will be given.
[0055] Based on this embodiment, detection before the ASC state switching is achieved, thereby improving the accuracy of the ASC state switching, thereby ensuring a good short-circuit protection state after switching.
[0056] Figure 4 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle motor controller provided by the present application. Figure 4 As well as the contents of the above embodiments, in some specific embodiments, after the step of detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the step further includes:
[0057] S31: Detect whether the driving chip corresponding to the execution bridge arm corresponding to the second ASC state has a preset chip fault.
[0058] In this embodiment, after detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the IGBT module will not be directly controlled to enter the second ASC state, but whether the driver chip corresponding to the execution bridge arm corresponding to the second ASC state has a preset chip fault will be detected. Among them, the preset chip fault can be set in multiple ways, and the fault that causes the chip to be unable to control the IGBT module to enter the ASC state when it occurs can all be used as the preset chip fault.
[0059] Specifically, in combination with the specific setting method of the above-mentioned IGBT module, the upper execution bridge arm and the lower execution bridge arm are both provided with a driving chip, so as to drive the upper execution bridge arm or the lower execution bridge arm to short-circuit through the driving chip and then enter the upper bridge ASC state or the lower bridge ASC state. When a preset chip failure occurs in the driving chip corresponding to the execution bridge arm, the driving chip cannot drive the execution bridge arm to enter the ASC state. Therefore, this step will detect whether the driving chip corresponding to the execution bridge arm corresponding to the second ASC state has a preset chip failure, and then ensure that after switching to the second ASC state, the second ASC state will have a good short-circuit protection effect on the motor controller to ensure the accuracy of the switching.
[0060] Based on the above content, if the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state, that is, the above step S21, includes:
[0061] S32: If the execution bridge arm corresponding to the second ASC state does not have a preset bridge arm fault and the driving chip does not have a preset chip fault, the IGBT module is controlled to enter the second ASC state.
[0062] In combination with the above content, it can be known that when it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, not only will it be detected whether the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault, but it will also be detected whether the driver chip corresponding to the execution bridge arm corresponding to the second ASC state has a preset chip fault. Based on the detection results of the two, this step will control the IGBT module to enter the execution bridge arm corresponding to the second ASC state without the preset bridge arm fault and the driver chip without the preset chip fault only when the execution bridge arm corresponding to the second ASC state does not have the preset bridge arm fault and the driver chip does not have the preset chip fault, thereby ensuring that a good short-circuit protection effect can be achieved when entering the second ASC state.
[0063] Figure 5 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle motor controller provided by the present application. Figure 5 In some specific embodiments, after detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state, that is, after the above step S13, includes:
[0064] S41: Detecting the working state of the execution bridge arm corresponding to the first ASC state and the working state of the execution bridge arm corresponding to the second ASC state.
[0065] In combination with the contents of the above embodiments, after controlling the IGBT module to enter the second ASC state, this embodiment further implements monitoring of the execution bridge arm corresponding to the second ASC state, and monitors the execution bridge arm corresponding to the first ASC state where the problem occurred before.
[0066] It should be understood that after the first ASC state is switched to the second ASC state, the execution bridge arm corresponding to the second ASC state may also have a preset bridge arm fault. For example, when the preset bridge arm fault includes an over-temperature fault, after switching to the second ASC state, the execution bridge arm corresponding to the second ASC state may have an over-temperature fault within a certain period of time. After the first ASC state is switched to the second ASC state, the execution bridge arm corresponding to the first ASC state recovers after a period of time, and the preset bridge arm fault that occurred previously may disappear. In particular, for an over-temperature fault, the temperature decreases after stopping working for a period of time, thereby causing the over-temperature fault to disappear.
[0067] Therefore, this embodiment further detects the working states of the execution bridge arms corresponding to the first ASC state and the second ASC state, thereby understanding the working states of the execution bridge arms in real time, and can adjust the control according to the working states of the two in the subsequent process.
[0068] S42: If the execution bridge arm corresponding to the second ASC state has a preset bridge arm fault, and the preset bridge arm fault of the execution bridge arm corresponding to the first ASC state is eliminated, the IGBT module is controlled to enter the first ASC state.
[0069] When the second ASC execution bridge arm has a preset bridge arm fault, it means that continuing to maintain the second ASC state can no longer provide a good short-circuit protection effect for the motor controller. At this time, you can consider switching the ASC state or directly entering the open circuit protection state.
[0070] At this time, if the preset bridge arm fault of the execution bridge arm corresponding to the first ASC state disappears, the execution bridge arm corresponding to the first ASC state has no preset bridge arm fault, and the first ASC state can be entered at this time, and the IGBT module is controlled to enter the first ASC state.
[0071] Based on this embodiment, after entering a specific ASC state, the working states of the execution bridge arms corresponding to the first ASC state and the second ASC state are still continuously detected, so that in the subsequent process, switching can be more flexibly achieved according to the states of the two, thereby ensuring a good short-circuit protection effect for the motor controller.
[0072] Figure 6 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle motor controller provided by the present application. Figure 6In some specific embodiments, if the current speed is greater than the preset speed, the step of controlling the IGBT module of the motor controller to enter the first ASC state, that is, the above-mentioned step S12, includes:
[0073] S51: If the current speed is greater than the preset speed, it is detected whether the lower execution bridge arm corresponding to the lower bridge ASC state has a preset bridge arm fault.
[0074] In the above embodiment, when the current speed is greater than the preset speed, the IBGT module is controlled to enter the first ASC state, and the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state, that is, the upper bridge ASC state or the lower bridge ASC state is randomly entered.
[0075] In most application scenarios, it is better for the IGBT module to enter the lower bridge ASC state than the upper bridge ASC state. Therefore, this embodiment gives priority to allowing the IGBT module to enter the lower bridge ASC state. This step first detects whether the lower execution bridge arm corresponding to the lower bridge ASC state has a preset bridge arm fault.
[0076] S52: If it is detected that the lower execution bridge arm does not have a preset bridge arm fault, the lower bridge ASC state is used as the first ASC state, and the IGBT module of the motor controller is controlled to enter the lower bridge ASC state.
[0077] When it is detected that there is no preset bridge arm fault in the lower execution bridge arm, it means that the IGBT module can be controlled to enter the lower bridge ASC state. In order to ensure better short-circuit protection effect, the lower bridge ASC state is used as the first ASC state at this time, and then the IGBT module of the motor controller is controlled to enter the lower bridge ASC state.
[0078] Based on this embodiment, it is achieved that the lower bridge ASC state is entered preferentially instead of randomly entering the upper bridge ASC state or the lower bridge ASC state, which can improve the short-circuit protection effect of the motor controller.
[0079] Figure 7 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle motor controller provided by the present application. Figure 7 In some specific embodiments, if the current speed is greater than the preset speed, after the step of controlling the IGBT module of the motor controller to enter the first ASC state, that is, after the above step S12, the method further includes:
[0080] S61: Obtain the bus voltage of the motor controller, and obtain the back electromotive force generated by the drive motor according to the current speed.
[0081] It should be understood that the bus voltage of the motor controller is generally the operating voltage when the motor controller is working normally, which is generally the same as the output voltage of the battery pack. Combined with the above, when the IGBT module is in the ASC state, the drive motor will generate back electromotive force. At this time, there is a specific relationship between the motor speed and the back electromotive force, that is, the magnitude of the back electromotive force generated by the drive motor is related to its own speed. Therefore, after obtaining the current speed of the drive motor, the back electromotive force generated by the drive motor can be obtained according to the current speed.
[0082] S62: If the difference voltage between the back electromotive force and the bus voltage is less than the preset voltage, the IGBT module of the motor controller is controlled to exit the first ASC state, and the IGBT module of the motor controller is controlled to enter the shutdown state.
[0083] The voltage difference between the back electromotive force and the bus voltage reflects the magnitude of the back electromotive force. When the voltage difference between the back electromotive force and the bus voltage is less than the preset voltage, that is, when the back electromotive force is less than a specific value, the IGBT module is controlled to exit the first ASC state and enter the shutdown state. The shutdown state described in this embodiment may be the open circuit protection state described in the above embodiment.
[0084] It should be understood that when a preset safety state failure occurs in the motor system, the speed of the drive motor will gradually decrease. Although the motor controller will enter the ASC state at this time, as the speed of the drive motor decreases, the back electromotive force generated by the drive motor will decrease, thereby causing the IGBT module to exit the ASC state. When the motor controller is in the ASC state, the motor controller will generate a large amount of heat. If the ASC state is maintained for too long, the motor controller may be damaged. Therefore, this embodiment can avoid the problem of damage to the motor controller caused by being in the ASC state for a long time by controlling the IGBT module of the motor controller to exit the first ASC state when the differential voltage is less than the preset voltage.
[0085] Among them, this embodiment only describes controlling the motor controller to exit the first ASC state when the difference voltage is less than the preset voltage. In other embodiments, whether the motor controller is in the first ASC state or the second ASC state, this step is applicable, that is, when the difference voltage is less than the preset voltage, the motor controller is controlled to exit the first ASC state.
[0086] Figure 8 FIG. 1 is a flow chart of another embodiment of the control method of the vehicle motor controller provided by the present application. Figure 8 In some specific embodiments, after the step of obtaining the bus voltage of the motor controller and obtaining the back electromotive force generated by the drive motor according to the current speed, the method includes:
[0087] S71: Detect the magnitude relationship between the bus voltage and a preset threshold voltage; wherein the preset threshold voltage is the minimum voltage at which the motor controller operates.
[0088] It should be understood that although the bus voltage is roughly the same as the voltage when the motor controller is working normally, in some application scenarios, due to detection errors or power supply abnormalities, the detected bus voltage may be too small and less than the preset threshold voltage. The preset threshold voltage is a relatively small voltage. When the bus voltage is less than the preset threshold voltage, it indicates that the bus voltage of the motor controller is abnormal. In some embodiments, the minimum voltage when the motor controller is working normally can be used as the preset threshold voltage.
[0089] S72: If it is detected that the bus voltage is less than a preset threshold voltage, the preset threshold voltage is used as the bus voltage to update the bus voltage.
[0090] Combined with the above content, when the bus voltage is less than the preset threshold voltage, it means that the bus voltage is abnormal and has no reference value. At this time, in order to ensure that the motor controller can exit the ASC state, we use the preset threshold voltage as the bus voltage to update the bus voltage, and then further calculate the difference voltage with the updated bus voltage, and then compare it with the preset voltage to determine whether to exit.
[0091] Based on this embodiment, when the detected bus voltage is abnormal, it can be ensured that the motor controller can exit the ASC state, thereby avoiding overheating and damage to the motor controller.
[0092] A second aspect of the present application provides a control device 20 for a vehicle motor controller, Fig. 9 It is a structural block diagram of an embodiment of the control device 20 of the vehicle motor controller provided in the present application.
[0093] Combination Fig. 9 The control device 20 of the vehicle motor controller includes a detection module 21 and a control module 22. The detection module 21 is used to detect that the motor system of the vehicle has a preset safety state fault, and then obtain the current speed of the vehicle's drive motor. The control module 22 is used to: if the current speed is greater than the preset speed, then control the IGBT module of the motor controller to enter the first ASC state; wherein the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state; if it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, then control the IGBT module to enter the second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state. Wherein, for the specific execution method of the detection module 21 and the control module 22 for the above steps, please refer to the relevant description of the above embodiment, and no further description will be given.
[0094] It should be understood that the control device 20 of the vehicle motor controller may be included in the vehicle motor controller, or may be independent of the vehicle motor controller, or may be partially set in the vehicle motor controller and the rest may be set independently of the vehicle motor controller, and no specific limitation is made here.
[0095] A third aspect of the present application provides an electronic device, comprising: a processor; and a memory for storing a computer program, wherein when the computer program is executed by the processor, the control method of the vehicle motor controller in any of the above embodiments is implemented.
[0096] Fig.10 It is a schematic diagram of the structural framework of an embodiment of the electronic device 500 provided in the present application.
[0097] In some specific embodiments, the electronic device 500 includes a central processing unit (CPU) 501 and a read-only memory (ROM) 502, wherein the CPU 501 is a processor and the ROM 502 is a memory. The CPU 501 can perform various appropriate actions and processes according to the program stored in the ROM 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503, such as executing the method in the above embodiment. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502 and the RAM 503 are connected to each other via a bus 504. The input / output (I / O) interface 505 is also connected to the bus 504.
[0098] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed so that a computer program read therefrom is installed into the storage section 508 as needed.
[0099] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, various functions defined in the system of the present application are executed.
[0100] A fourth aspect of the present application provides a computer-readable storage medium 40, Fig.11 It is a schematic diagram of the structural framework of an embodiment of the computer-readable storage medium 40 provided in the present application.
[0101] The computer readable storage medium 40 stores a computer program 41 , and when the computer program 41 is executed by a processor, the control method of the vehicle motor controller in any of the above-mentioned embodiments is implemented.
[0102] It should be noted that the computer-readable medium 40 shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0103] In summary, the control method, device, electronic device and storage medium of the vehicle motor controller provided by the present application include: if it is detected that the motor system of the vehicle has a preset safety state fault, the current speed of the vehicle's drive motor is obtained; if the current speed is greater than the preset speed, the IGBT module of the motor controller is controlled to enter the first ASC state; wherein the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state; if it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the IGBT module is controlled to enter the second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state. Therefore, when it is detected that the execution bridge arm corresponding to the first ASC state has a fault, the first ASC state will be switched to the second ASC state, which can ensure that the ASC state lasts for a sufficient time to perform good short-circuit protection.
[0104] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A control method for a vehicle motor controller, characterized in that: include: When it is detected that the motor system of the vehicle has a preset safety state fault, obtaining a current rotation speed of the driving motor of the vehicle; If the current speed is greater than the preset speed, the IGBT module of the motor controller is controlled to enter the first ASC state; wherein the first ASC state is one of the upper bridge ASC state and the lower bridge ASC state; If it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the IGBT module is controlled to enter a second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state.
2. The control method of the vehicle motor controller according to claim 1, characterized in that: The step of detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, then controlling the IGBT module to enter the second ASC state comprises: If it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, then it is detected whether the execution bridge arm corresponding to the second ASC state has the preset bridge arm fault; If the execution bridge arm corresponding to the second ASC state does not have the preset bridge arm fault, the IGBT module is controlled to enter the second ASC state.
3. The control method of the vehicle motor controller according to claim 2, characterized in that: After the step of detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the method further includes: Detecting whether a driver chip corresponding to the execution bridge arm corresponding to the second ASC state has a preset chip fault; If the execution bridge arm corresponding to the second ASC state does not have the preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state includes: If the execution bridge arm corresponding to the second ASC state does not have the preset bridge arm fault and the driving chip does not have the preset chip fault, the IGBT module is controlled to enter the second ASC state.
4. The control method of the vehicle motor controller according to claim 1, characterized in that: After detecting that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, the step of controlling the IGBT module to enter the second ASC state includes: Detecting a working state of an execution bridge arm corresponding to the first ASC state and a working state of an execution bridge arm corresponding to the second ASC state; If the execution bridge arm corresponding to the second ASC state has the preset bridge arm fault, and the preset bridge arm fault of the execution bridge arm corresponding to the first ASC state is eliminated, the IGBT module is controlled to enter the first ASC state.
5. The control method of the vehicle motor controller according to claim 1, characterized in that: If the current speed is greater than the preset speed, the step of controlling the IGBT module of the motor controller to enter the first ASC state includes: If the current speed is greater than the preset speed, then the lower execution bridge arm corresponding to the lower bridge ASC state is detected to see if there is a preset bridge arm fault; If it is detected that the lower execution bridge arm does not have the preset bridge arm fault, the lower bridge ASC state is used as the first ASC state, and the IGBT module of the motor controller is controlled to enter the lower bridge ASC state.
6. The control method of the vehicle motor controller according to claim 1, characterized in that: If the current speed is greater than the preset speed, after the step of controlling the IGBT module of the motor controller to enter the first ASC state, the method further includes: Acquire the bus voltage of the motor controller, and acquire the back electromotive force generated by the drive motor according to the current rotation speed; If the difference voltage between the back electromotive force and the bus voltage is less than a preset voltage, the IGBT module of the motor controller is controlled to exit the first ASC state, and the IGBT module of the motor controller is controlled to enter a shutdown state.
7. The control method of the vehicle motor controller according to claim 6, characterized in that: After the steps of obtaining the bus voltage of the motor controller and obtaining the back electromotive force generated by the drive motor according to the current rotation speed, the method further comprises: Detecting the magnitude relationship between the bus voltage and a preset threshold voltage; wherein the preset threshold voltage is the minimum voltage at which the motor controller operates; If it is detected that the bus voltage is less than a preset threshold voltage, the preset threshold voltage is used as the bus voltage to update the bus voltage.
8. A control device for a vehicle motor controller, characterized in that: include: A detection module, configured to obtain a current rotation speed of a driving motor of the vehicle upon detecting that the motor system of the vehicle has a preset safety state fault; A control module, used for: if the current rotational speed is greater than a preset rotational speed, controlling the IGBT module of the motor controller to enter a first ASC state; wherein the first ASC state is one of an upper bridge ASC state and a lower bridge ASC state; and if it is detected that the execution bridge arm corresponding to the first ASC state has a preset bridge arm fault, controlling the IGBT module to enter a second ASC state; wherein the second ASC state is the other of the upper bridge ASC state and the lower bridge ASC state.
9. An electronic device, characterized in that: include: processor; A memory for storing a computer program, wherein the computer program, when executed by the processor, implements the control method of the vehicle motor controller according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the control method of the vehicle motor controller according to any one of claims 1 to 7 is implemented.