Motor controller open-phase detection method, device, equipment and medium

Through static and dynamic detection methods, three-phase transistors and current value judgments are used to solve the problem of phase failure not being detected before the motor is running, the detection accuracy and reliability of the motor control system are improved, and the safety of the vehicle is ensured.

CN119125880APending Publication Date: 2024-12-13SUOTE TRANSMISSION EQUIP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411350399.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The prior art cannot accurately detect the phase-lost fault of the motor controller before the motor is running, resulting in insufficient detection reliability, which may cause the vehicle to suddenly lose power during driving, affecting safety.

Method used

Using the two-stage method of static phase loss detection and dynamic phase loss detection, by inputting the current value that will not cause the motor to rotate in the motor control circuit, a three-phase transistor is used to form a path, collect the current value, and judge whether there is a phase loss fault based on the extreme value. , and further test during motor operation.

Benefits of technology

It significantly improves the accuracy of phase-deficiency fault detection, enhances the reliability of the motor control system, and avoids vehicle safety risks caused by phase-deficiency faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119125880A_ABST
    Figure CN119125880A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle control, and discloses a motor controller open-phase detection method, device and equipment and a medium, and the method comprises the steps: inputting a current value which cannot enable a motor to rotate at an input end of a motor control circuit; an upper transistor and two lower transistors in the motor control circuit are conducted through the motor controller, and the current state of the motor control circuit is kept; acquiring a three-phase current value of the motor, and judging whether an open-phase fault exists or not according to an extreme value in the three-phase current value; and if the open-phase fault does not exist, starting the motor, and detecting whether the open-phase fault exists in the operation process of the motor. According to the technical scheme provided by the invention, the problem that motor open-phase detection cannot be accurately carried out before the motor runs is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a method, device, equipment and medium for detecting phase loss in a motor controller. Background Art

[0002] During the operation of the car, the normal operation of the motor controller is crucial to the performance, safety and reliability of the vehicle. However, due to various reasons, such as electrical connection failure, component damage, etc., the motor controller may be out of phase. Phase loss means that one phase is missing in the three-phase power supply of the motor, which will cause unbalanced operation of the motor, resulting in problems such as torque fluctuation, reduced efficiency, increased heat, and will cause the motor to fail to work properly, and even cause damage to the motor, affecting the normal driving of the vehicle. Once a phase loss fault occurs in the motor controller, if it cannot be detected and handled in time, it may cause the vehicle to suddenly lose power while driving, causing a traffic accident; effective phase loss detection technology can not only improve the reliability and safety of the vehicle, enhance the user experience, and enhance the competitiveness of electric vehicles in the market. At present, most of the related technologies for detecting phase loss faults are detected during the operation of the motor, and cannot be detected before the motor is running, so the reliability of the detection is not high enough. Summary of the invention

[0003] In view of this, the present invention provides a motor controller phase loss detection method, device, equipment and medium to solve the problem that the motor phase loss detection cannot be accurately performed before the motor runs.

[0004] In a first aspect, the present invention provides a method for detecting phase loss in a motor controller, the method comprising: inputting a current value that will not cause the motor to rotate at the input end of the motor control circuit; turning on a three-phase transistor that can form a path in the motor control circuit through the motor controller, and maintaining the current state of the motor control circuit; collecting the three-phase current values ​​of the motor, and judging whether there is a phase loss fault based on the extreme values ​​of the three-phase current values; if there is no phase loss fault, starting the motor, and detecting whether there is a phase loss fault during the operation of the motor.

[0005] In some optional implementations, inputting a current value at the input end of the motor control circuit that does not cause the motor to rotate includes: the input current is less than 6% of the maximum allowable current of the motor and greater than 2% of the maximum allowable current of the motor.

[0006] In some optional embodiments, the method of turning on the three-phase transistors that can form a path in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit includes: turning on one phase upper transistor and the other two phase lower transistors of the motor control circuit in turn through the motor controller, and sequentially maintaining the three states of the motor control circuit for a preset detection time.

[0007] In some optional implementations, the three-phase current values ​​of the motor are collected, and whether a phase loss fault exists is determined based on the extreme values ​​of the three-phase current values, including: within each preset detection time, the three-phase current values ​​of the motor are collected for each of the three states of the motor control circuit, and whether a phase loss fault exists is determined based on the extreme values ​​of the three-phase current values.

[0008] In some optional embodiments, judging whether there is a phase loss fault based on the extreme values ​​in the three-phase current values ​​includes: dynamically counting the maximum value corresponding to each phase current in the three-phase current values ​​within a preset time length; determining the current maximum value and the current minimum value from the maximum values ​​corresponding to the statistical three-phase currents; judging whether the current maximum value is less than a first preset threshold value; judging whether the current minimum value is less than a second preset threshold value; when the current maximum value is less than the first preset threshold value, or the current minimum value is less than the second preset threshold value, it is determined that there is a phase loss fault.

[0009] In some optional embodiments, the detection of whether there is a phase loss fault during the operation of the motor includes: during the operation of the motor, determining whether the motor speed is greater than a preset speed threshold; when the motor speed is greater than the preset speed threshold, determining whether there is a target phase whose maximum effective current value exceeds a preset multiple of the minimum effective current value of other phases, and the maximum effective current value of the target phase is greater than a third preset threshold; if the maximum effective current value of the target phase exceeds the preset multiple of the minimum effective current value of other phases, and the maximum effective current value of the target phase is greater than the third preset threshold, it is determined that there is a phase loss fault.

[0010] In some optional embodiments, before turning on the three-phase transistors that can form a path in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit, the method also includes: checking whether there is a fault in the current sensor, the current sensor being used to collect the three-phase current value; when the current sensor is not faulty, judging whether a phase loss permission flag is allowed to be detected, the phase loss permission flag being used to indicate whether phase loss fault detection is allowed without the motor starting, wherein the phase loss permission flag is set to allow detection when the motor controller is powered on, and is set to not allow detection when the phase loss detection passes without the motor starting; when the phase loss permission flag indicates that detection is allowed, detecting whether the current value that will not cause the motor to rotate is reasonable; when the current value rationality detection passes, executing the steps of turning on an upper transistor and two lower transistors in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit.

[0011] In a second aspect, the present invention provides a phase-loss detection device for a motor controller, the device comprising: an input current control module, used to input a current value that will not cause the motor to rotate at the input end of the motor control circuit; a static detection circuit control module, used to turn on the three-phase transistors that can form a path in the motor control circuit through the motor controller, and maintain the current state of the motor control circuit; a static detection module, used to collect the three-phase current values ​​of the motor, and determine whether there is a phase-loss fault based on the extreme values ​​of the three-phase current values; a dynamic detection module, used to start the motor if there is no phase-loss fault, and detect whether there is a phase-loss fault during the operation of the motor.

[0012] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the method of the first aspect or any corresponding embodiment thereof.

[0014] The technical solution provided by the present invention has the following advantages:

[0015] The present invention is divided into two stages when performing phase loss detection on the motor controller: static phase loss detection and dynamic phase loss detection. Among them, the current value input to the motor control circuit by the static phase loss detection ensures that the motor will not rotate; and, through the motor controller, one upper transistor and two lower transistors in the motor control circuit are turned on, and this state is kept stable and unchanged. At this time, the three-phase current value of the motor is collected. According to Kirchhoff's law, the sum of the current flowing into the phase and the current flowing out of the phase is zero, so that the maximum and minimum values ​​of each phase current should not tend to zero, so as to judge whether the motor controller has a phase loss fault according to the extreme value of the three-phase current value, and realize the phase loss fault detection scheme under the condition that the motor does not rotate. If the static phase loss detection finds that there is no phase loss fault, the motor is started and the dynamic phase loss detection stage is entered. According to the detection means in the motor operation process, whether there is a phase loss fault in the motor operation process is detected. When a phase loss fault is found in any stage of the static phase loss detection and the dynamic phase loss detection, the motor is stopped and the maintenance personnel are notified for maintenance, which significantly improves the accuracy of the phase loss fault detection of the motor controller and improves the reliability of the motor control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 is a flow chart of a method for detecting phase loss in a motor controller according to an embodiment of the present invention;

[0018] Figure 2 is a schematic structural diagram of a motor control circuit according to an embodiment of the present invention;

[0019] Figure 3 is another flow chart of a method for detecting phase loss in a motor controller according to an embodiment of the present invention;

[0020] Figure 4 is a structural schematic diagram of a phase loss detection device for a motor controller according to an embodiment of the present invention;

[0021] Figure 5 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0023] According to an embodiment of the present invention, an embodiment of a method for detecting phase loss in a motor controller is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0024] In this embodiment, a motor controller phase loss detection method is provided, which is applied to a processor of a computer device. Figure 1 is a flow chart of a method for detecting phase loss in a motor controller according to an embodiment of the present invention, the flow chart comprising the following steps:

[0025] Step S101, inputting a current value that will not cause the motor to rotate into the input terminal of the motor control circuit;

[0026] Step S102, turning on the three-phase transistors that can form a path in the motor control circuit through the motor controller, and maintaining the current state of the motor control circuit;

[0027] Step S103, collecting the three-phase current values ​​of the motor, and judging whether there is a phase loss fault according to the extreme values ​​of the three-phase current values;

[0028] Step S104: If there is no phase loss fault, the motor is started, and whether there is a phase loss fault during the operation of the motor is detected.

[0029] Specifically, a structure of a motor control circuit is as follows: Figure 2 As shown, the input end of the motor control circuit is input to the inverter DC. There are 6 transistors deployed in the inverter, of which Tr1~Tr3 are upper transistors, Tr4~Tr6 are lower transistors, and the 6 transistors are controlled by the motor controller respectively. The motor controller frequently controls the opening and closing of the upper and lower tubes of the 6 transistors, and the current flows into one phase and flows out of the other two phases, thereby generating alternating current to the U, V, and W phases of the motor stator. The motor rotor is a magnet, and the magnetic field generated by the motor stator causes the motor rotor to rotate. The basic principle of the motor control circuit is the existing technology, and only a general description is made here, and the specific control details are not repeated. For the phase loss detection of the above-mentioned motor controller, the phase loss detection scheme of the motor controller provided by the relevant technology is often carried out for the motor startup stage, and the motor speed and other parameters are required to make a judgment, and accurate detection cannot be performed for the motor not started stage.

[0030] The embodiment of the present invention is divided into two stages when performing phase loss detection on the motor controller: static phase loss detection and dynamic phase loss detection. The static phase loss detection refers to the detection performed before the motor is started, and the dynamic phase loss detection refers to the detection performed after the motor is running.

[0031] In the static phase loss detection stage, the embodiment of the present invention turns on an upper transistor and two lower transistors in the motor control circuit through the motor controller, and keeps this state stable and unchanged, forming a static three-phase motor control circuit path. In order to ensure that the motor does not rotate, the embodiment of the present invention uses the motor not rotating as the standard, inputs a current lower than the preset current threshold, and changes the input current value to a smaller value to ensure that the motor does not rotate. In addition, the motor speed control signal and the motor angle control signal given by the motor controller are both 0. For example Figure 2 As shown in the figure, it is assumed that the motor controller turns on an upper transistor Tr1 and two lower transistors Tr5 and Tr6, thereby forming a three-phase circuit, and keeps this state unchanged, while inputting a current value that does not cause the motor to rotate between the positive and negative poles of the circuit. At this time, the three-phase current values ​​of the motor are collected (for example, the three-phase current values ​​of the motor are collected). Figure 2(the three-point positions U, V, and W in the diagram), according to Kirchhoff's law, the sum of the current flowing into the phase and the current flowing out of the phase is zero, that is, I(U) = -I(V) -I(W). Therefore, the maximum and minimum values ​​of each phase current should not tend to zero, and the current value should be greater than a certain value. Therefore, according to the extreme value of the three-phase current value, it is possible to determine whether the motor controller has a phase loss fault, thereby realizing a phase loss fault detection scheme when the motor is not rotating. If the static phase loss detection finds that there is no phase loss fault, the motor is started and the dynamic phase loss detection stage is entered. It is possible to detect whether there is a phase loss fault during the operation of the motor according to the commonly used detection means in the relevant technology during the operation of the motor. When a phase loss fault is found at any stage of the static phase loss detection and the dynamic phase loss detection, a signal of the highest fault level is output, the motor is shut down, and the maintenance personnel are notified for maintenance. The technical solution provided by the embodiment of the present invention significantly improves the accuracy of detecting the phase loss fault of the motor controller, and improves the reliability of the motor control system.

[0032] In some optional implementations, based on the current-frequency ratio control method, the input current of the motor control circuit is required to be less than 6% of the maximum allowable current of the motor (also the maximum allowable current of the motor controller) and greater than 2% of the maximum allowable current of the motor.

[0033] Specifically, in order to ensure that the motor cannot rotate during the static detection phase, the embodiment of the present invention does not allow the input current to be too large, and it is best to be less than 6% of the maximum current allowed by the motor. However, if the input current is too small, it will not meet the detection capability of the current sensor, which will lead to the problem of current failure to detect. Therefore, this embodiment defines that the input current of the motor control circuit must be greater than 2% of the maximum current allowed by the motor as the best, which significantly improves the reliability of static detection.

[0034] In some optional implementations, the above step S102 includes:

[0035] In step a1, the motor controller turns on one phase upper transistor and the other two phase lower transistors of the motor control circuit in turn, and sequentially maintains the three states of the motor control circuit for a preset detection time.

[0036] Accordingly, the above step S103 includes:

[0037] Step a2, within each preset detection time, respectively collect the three-phase current value of the motor for each of the three states of the motor control circuit, and determine whether there is a phase loss fault based on the extreme values ​​of the three-phase current values.

[0038] Specifically, the causes of the motor controller phase failure usually include power phase failure, control circuit phase failure, loose terminals or loose connectors. Figure 2As shown, damage to any one transistor may also cause a phase loss fault in the motor controller. Therefore, the embodiment of the present invention performs static phase loss detection for three static working conditions respectively, including: turning on the upper transistor of the U phase and turning on the lower transistors of the V phase and the W phase, and turning off other transistors; turning on the upper transistor of the V phase and turning on the lower transistors of the U phase and the W phase, and turning off other transistors; turning on the upper transistor of the W phase and turning on the lower transistors of the U phase and the V phase, and turning off other transistors. Thus, the three-phase current values ​​of the motor are collected for the three working conditions, and it is judged whether there is a phase loss fault based on the extreme values ​​of the three-phase current values. It more comprehensively covers the detection of various reasons that lead to phase loss in the motor controller, and improves the accuracy of phase loss fault detection in the motor controller.

[0039] In some optional implementations, the above step S103 includes:

[0040] Step b1, dynamically counting the maximum value corresponding to each phase current among the three-phase current values ​​within a preset time length;

[0041] Step b2, determining the current maximum value and the current minimum value from the maximum values ​​corresponding to the statistical three-phase currents;

[0042] Step b3, determining whether the current maximum value is less than a first preset threshold;

[0043] Step b4, determining whether the minimum current value is less than a second preset threshold;

[0044] Step b5: When the maximum current value is smaller than the first preset threshold, or the minimum current value is smaller than the second preset threshold, it is determined that a phase failure occurs.

[0045] Specifically, in the static phase loss detection stage, considering the unstable changes in each phase current, the embodiment of the present invention takes the maximum value of each phase current, and then takes the current maximum value and current minimum value among the maximum values ​​of each phase current for analysis. Combined with Kirchhoff's law, the sum of the current flowing into the phase and the current flowing out of the phase is zero, and it is deduced that the maximum and minimum values ​​of each phase current should not tend to zero, and the current value should be greater than a certain value. Therefore, the embodiment of the present invention determines whether the maximum current value taken is less than the first preset threshold, and determines whether the minimum current value taken is less than the second preset threshold. Once one of the two judgment conditions is met, the characteristics of Kirchhoff's law are not satisfied, so the conclusion that the motor controller has a phase loss fault can be output, reminding the user to repair it in time.

[0046] For example, assuming that the reference current given by the current-frequency ratio control method is 3A, take the condition where the upper transistor of phase U is turned on, the lower transistors of phases V and W are turned on, and the other transistors are turned off as an example. In theory, when the system is normal, the current of phase U should be 3A, and its absolute value is also Iu_abs=3A. According to Kirchhoff's law, the currents of phases V and W are -1.5A respectively, and their absolute values ​​are Iv_abs=Iw_abs=1.5A. Therefore, the three-phase currents should be greater than a certain current value, and will not approach zero, nor be too small.

[0047] Based on this, the embodiment of the present invention takes into account the unstable changes in the three-phase current values, and thus dynamically calculates the current maximum value Imax and the current minimum value Imin in the maximum value according to the three-phase current values ​​(Iu_abs, Iv_abs, Iw_abs), that is, Imax = max(max(Iu_abs), max(Iv_abs), max(Iw_abs)), Imin = min(max(Iu_abs), max(Iv_abs), max(Iw_abs)). If Imax is too small, less than a calibrated first preset threshold, such as 1A, that is, Imax<1A, or, Imin is too small, less than a calibrated second preset threshold, such as 0.5A, that is, Imin<0.5A. It can be explained that the collected three-phase current does not conform to the characteristics of Kirchhoff's law, and there is a problem with the phase with a current value that is too small, and a static phase loss fault can be reported. If no phase loss fault is found during the detection of the U-phase upper tube and the V- and W-phase lower tubes, the V-phase upper tube and the U- and W-phase lower tubes are detected, and the detection process is consistent with the above process. If no phase loss fault is found, the W-phase upper tube and the U- and V-phase lower tubes are detected, and the detection process is consistent with the above process. Finally, when no phase loss fault is detected under the three working conditions, the motor controller is allowed to run, the motor is started, and the dynamic phase loss fault detection stage is subsequently entered. Through the embodiments of the present invention, a reliable solution is provided that can perform phase loss detection on the motor controller before the motor runs.

[0048] In some optional implementations, the above step S104 includes:

[0049] Step c1, during the operation of the motor, determining whether the motor speed is greater than a preset speed threshold;

[0050] Step c2, when the motor speed is greater than the preset speed threshold, determine whether there is a current effective value maximum value of a certain target phase that exceeds the current effective value minimum value of other phases by a preset multiple, and whether the current effective value maximum value of the target phase is greater than a third preset threshold;

[0051] Step c3: if the maximum effective value of the current of the target phase exceeds the preset multiple of the minimum effective value of the current of other phases, and the maximum effective value of the current of the target phase is greater than the third preset threshold, it is determined that there is a phase failure.

[0052] Specifically, in the dynamic phase loss detection stage, the present invention first checks whether the state of the motor controller is in the running state, that is, the normal rotation state. If it is in the running state, it secondly checks whether the speed of the motor is greater than the preset speed threshold, such as 300rpm. When the speed of the motor is greater than the preset speed threshold and the fault level of the system is not the highest fault level, it means that the motor is truly in the running state and no phase loss fault is detected in the previous steps. After the above conditions are met, dynamic phase loss detection can be performed to ensure the accuracy of subsequent detection.

[0053] The method for checking dynamic phase loss is that the maximum effective value of the current of any phase in the three phases during operation is greater than the preset multiple of the minimum effective value of its phase current (for example, 10 times, this is only an example and not dangerous), and the maximum effective value of the phase current is greater than the calibrated third preset threshold. The principle is that in the normal operation of the motor, by opening and closing 6 transistors, the three-phase current changes continuously with a phase difference of 120°, and the maximum and minimum effective values ​​of the three-phase current should be roughly equivalent, and ideally completely the same, without a 10-fold difference, so when it is detected that a phase current is too large and has a 10-fold difference compared with other phases, a dynamic phase loss fault is immediately output. For the dynamic fault detection stage, not only can the fault be accurately identified, the detection means are easy to implement, but also the efficiency of phase loss detection is significantly improved, and the risk of sudden faults during vehicle driving is reduced. Compared with the relevant technology, the embodiment of the present invention can directly use the three-phase current to realize phase loss detection during the operation of the motor, and does not require additional rotary signal to calculate the DQ axis current and then perform phase loss judgment, which reduces the complexity of dynamic phase loss detection.

[0054] In some optional implementation manners, before the above step S102, the method further includes:

[0055] Step d1, checking whether the current sensor is faulty, the current sensor is used to collect three-phase current values;

[0056] Step d2, when there is no fault in the current sensor, determine whether the phase loss permission flag allows detection, the phase loss permission flag is used to indicate whether phase loss fault detection is allowed under the condition that the motor is not started, wherein the phase loss permission flag is set to allow detection when the motor controller is powered on, and is set to not allow detection when the phase loss detection passes under the condition that the motor is not started;

[0057] Step d3, when the phase loss permission flag indicates that detection is allowed, detect whether the current value that will not cause the motor to rotate is reasonable;

[0058] Step d4, when the current value rationality detection is passed, a step of turning on one upper transistor and two lower transistors in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit is executed.

[0059] Specifically, Figure 3 As shown, in an embodiment of the present invention, after the processor of the computer device is powered on, the system is first initialized (some parameters necessary for system startup are set). When the system is successfully initialized, the operating system is started, the operating system starts scheduling various tasks, and the operating system starts the system check task to perform various checks on the overall system of the processor; before formally detecting the phase loss fault, the system check task calls the current sensor check function to first detect the current sensor. The specific detection process is the prior art, and the present invention will not repeat it, which is used to determine whether the current sensor has a fault. Phase loss detection is allowed only when and only when the current sensor check passes. In addition, before starting the static phase loss detection, it is also necessary to determine whether the phase loss permission flag is allowed to be detected. In an embodiment of the present invention, the phase loss permission flag is used to indicate whether phase loss fault detection is allowed under the condition that the motor is not started, wherein the phase loss permission flag is set to allow detection when the motor controller is powered on, for example, it is set to 1, and is set to not allow detection when the phase loss detection passes under the condition that the motor is not started, for example, it is set to 0. The purpose of setting the phase loss permission flag is that the static phase loss detection is only detected once each time the processor is powered on. If the detection passes, no second detection is performed in this operation cycle, thereby ensuring the motor operation efficiency. If the detection fails, the fault level is set to the highest level, indicating a serious fault in the current sensor or a serious over-temperature fault, etc. Subsequent static phase loss detection may not be necessary, and the user is notified in time for maintenance to improve the accuracy of fault identification.

[0060] Afterwards, in the static phase loss detection stage, the embodiment of the present invention also detects whether the current value input in step S101 that will not cause the motor to rotate is reasonable, for example, it detects whether the input current of the motor control circuit is less than 6% of the maximum allowable current of the motor and greater than 2% of the maximum allowable current of the motor. When the above checks are passed, step S102 is executed normally, thereby further ensuring the reliability of the static phase loss detection.

[0061] In this embodiment, a motor controller phase loss detection device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0062] This embodiment provides a motor controller phase loss detection device, such as Figure 4 As shown, the device comprises:

[0063] An input current control module 401, used to input a current value that will not cause the motor to rotate at the input end of the motor control circuit;

[0064] The static detection circuit control module 402 is used to turn on the three-phase transistors that can form a path in the motor control circuit through the motor controller and maintain the current state of the motor control circuit;

[0065] The static detection module 403 is used to collect the three-phase current values ​​of the motor and determine whether there is a phase loss fault according to the extreme values ​​of the three-phase current values;

[0066] The dynamic detection module 404 is used to start the motor if there is no phase loss fault, and detect whether there is a phase loss fault during the operation of the motor.

[0067] In some optional real-time modes, the static detection module 403 includes:

[0068] A first statistical module dynamically counts the maximum value corresponding to each phase current among the three-phase current values ​​within a preset time length;

[0069] A second statistical module is used to determine a current maximum value and a current minimum value from the maximum values ​​corresponding to the statistical three-phase currents;

[0070] A first judgment module, used to judge whether the current maximum value is less than a first preset threshold;

[0071] A second judgment module, used to judge whether the minimum current value is less than a second preset threshold;

[0072] The static detection result module is used to determine the presence of a phase failure when the current maximum value is less than a first preset threshold value, or the current minimum value is less than a second preset threshold value.

[0073] In some optional real-time modes, the dynamic detection module 404 includes:

[0074] The speed analysis module is used to determine whether the motor speed is greater than a preset speed threshold during the operation of the motor;

[0075] A dynamic analysis module, when the motor speed is greater than a preset speed threshold, determines whether there is a current effective value maximum value of a certain target phase that exceeds the current effective value minimum value of other phases by a preset multiple, and the current effective value maximum value of the target phase is greater than a third preset threshold;

[0076] The dynamic detection result module is used to determine that a phase loss fault exists if the maximum effective value of the current of the target phase exceeds the preset multiple of the minimum effective value of the current of other phases, and the maximum effective value of the current of the target phase is greater than a third preset threshold.

[0077] Before the static detection circuit control module 402, it also includes:

[0078] A current sensor check module is used to check whether the current sensor is faulty. The current sensor is used to collect three-phase current values.

[0079] A flag bit checking module is used to determine whether the phase loss permission flag bit allows detection when there is no fault in the current sensor, and the phase loss permission flag bit is used to indicate whether phase loss fault detection is allowed under the condition that the motor is not started, wherein the phase loss permission flag bit is set to allow detection when the motor controller is powered on, and is set to not allow detection when the phase loss detection passes under the condition that the motor is not started;

[0080] The current rationality detection module is used to detect whether the current value that will not cause the motor to rotate is reasonable when the phase loss permission flag indicates that the detection is allowed;

[0081] The flow transfer module is used to execute the steps of turning on an upper transistor and two lower transistors in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit when the current value rationality detection passes.

[0082] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0083] In this embodiment, a motor controller phase loss detection device is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0084] The embodiment of the present invention also provides a computer device having the above Figure 4 A motor controller phase loss detection device is shown.

[0085] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 5As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0086] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0087] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.

[0088] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0089] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0090] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0091] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0092] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0093] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for detecting phase loss in a motor controller, It is characterized in that The method comprises: Input a current value that will not cause the motor to rotate to the input terminal of the motor control circuit; Turning on the three-phase transistors capable of forming a path in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit; Collect the three-phase current values ​​of the motor, and determine whether there is a phase loss fault based on the extreme values ​​of the three-phase current values; If there is no phase loss fault, the motor is started and whether there is a phase loss fault is detected during the operation of the motor.

2. The method according to claim 1, It is characterized in that Input current values ​​to the input of the motor control circuit that will not cause the motor to rotate, including: The input current is less than 6% and greater than 2% of the maximum allowable current of the motor.

3. The method according to claim 1, It is characterized in that The method of turning on the three-phase transistors capable of forming a path in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit includes: The motor controller turns on one phase upper transistor and the other two phase lower transistors of the motor control circuit in turn, and sequentially maintains the three states of the motor control circuit for a preset detection time.

4. The method according to claim 3, It is characterized in that Collect the three-phase current values ​​of the motor and determine whether there is a phase loss fault based on the extreme values ​​of the three-phase current values, including: In each preset detection time, the three-phase current value of the motor is collected for each of the three states of the motor control circuit, and it is determined whether there is a phase loss fault based on the extreme values ​​of the three-phase current values.

5. The method according to claim 1 or 4, It is characterized in that The determining whether there is a phase loss fault according to the extreme values ​​of the three-phase current values ​​includes: Dynamically count the maximum value of each phase current in the three-phase current value within a preset time length; Determine the current maximum value and the current minimum value from the maximum values ​​corresponding to the statistical three-phase currents; Determining whether the current maximum value is less than a first preset threshold; Determining whether the current minimum value is less than a second preset threshold; When the current maximum value is smaller than the first preset threshold, or the current minimum value is smaller than the second preset threshold, it is determined that a phase failure occurs.

6. The method according to claim 1, It is characterized in that The detecting whether there is a phase failure during the operation of the motor includes: During the operation of the motor, determine whether the motor speed is greater than a preset speed threshold; When the motor speed is greater than the preset speed threshold, determine whether there is a current effective value maximum value of a certain target phase that exceeds the current effective value minimum value of other phases by a preset multiple, and whether the current effective value maximum value of the target phase is greater than a third preset threshold; If the maximum effective value of the current of the target phase exceeds the preset multiple of the minimum effective value of the current of other phases, and the maximum effective value of the current of the target phase is greater than the third preset threshold, it is determined that a phase loss fault exists.

7. The method according to claim 1, It is characterized in that Before turning on the three-phase transistors capable of forming a path in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit, the method further includes: Check whether a current sensor is faulty, wherein the current sensor is used to collect the three-phase current values; When there is no fault in the current sensor, determine whether the phase loss permission flag allows detection, the phase loss permission flag is used to indicate whether phase loss fault detection is allowed under the condition that the motor is not started, wherein the phase loss permission flag is set to allow detection when the motor controller is powered on, and is set to not allow detection when the phase loss detection passes under the condition that the motor is not started; When the phase-loss permission flag indicates that detection is allowed, detecting whether the current value that will not cause the motor to rotate is reasonable; When the current value rationality detection is passed, the step of turning on one upper transistor and two lower transistors in the motor control circuit through the motor controller and maintaining the current state of the motor control circuit is performed.

8. A motor controller phase loss detection device, It is characterized in that The device comprises: An input current control module, used for inputting a current value that will not cause the motor to rotate at the input end of the motor control circuit; A static detection circuit control module, used to turn on the three-phase transistors that can form a path in the motor control circuit through the motor controller, and maintain the current state of the motor control circuit; The static detection module is used to collect the three-phase current values ​​of the motor and determine whether there is a phase loss fault according to the extreme values ​​of the three-phase current values; The dynamic detection module is used to start the motor if there is no phase loss fault, and detect whether there is a phase loss fault during the operation of the motor.

9. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Phase loss detection method for three-phase motor and detection circuit

    CN103376409A

  • Default-phase detection method for driving motor of new-energy vehicle

    CN109490646A