Phase sequence detection method, device, equipment, storage medium and product of motor controller
By obtaining and comparing the initial voltage vector angle and three-phase voltage duty cycle of the permanent magnet synchronous motor controller, the target voltage vector angle is determined, which solves the problem of quickly and effectively judging the phase sequence, avoids IGBT damage, and ensures the normal operation of the motor.
Patent Information
- Application Number
- CN202410887031.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2044-07-03
AI Technical Summary
How to quickly and effectively determine whether the phase sequence of a permanent magnet synchronous motor controller is accurate to avoid IGBT damage caused by incorrect phase sequence.
By obtaining the initial voltage vector angle input to the permanent magnet synchronous motor controller and the output three-phase voltage duty cycle, a comparison is made to determine the target voltage vector angle, and when the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, the phase sequence is determined to be accurate.
It can quickly and accurately determine the phase sequence of the permanent magnet synchronous motor controller, avoid IGBT damage caused by phase sequence errors, and ensure the normal operation of the motor.
Smart Images

Figure CN118795239B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of permanent magnet synchronous motor controllers, and in particular to a phase sequence detection method, device, equipment, storage medium and product of a motor controller. Background Art
[0002] Due to increasingly severe energy and environmental challenges, traditional fuel-powered vehicles are being replaced by new energy vehicles. As the power source for these vehicles, permanent magnet synchronous motors (PMSMs) are widely used in electric vehicle powertrains due to their high power density, high efficiency, compact size, light weight, and ease of maintenance. Phase sequence detection in PMSM controllers is crucial for motor control. If the three-phase sequence within the controller is incorrectly connected, the motor will not function properly and, in severe cases, may cause the insulated gate bipolar transistor (IGBT) to explode. Therefore, how to quickly and effectively determine the phase sequence accuracy of a PMSM controller has become a pressing issue. Summary of the Invention
[0003] The main purpose of this application is to provide a phase sequence detection method, device, equipment, storage medium and product for a motor controller, aiming to solve the technical problem of how to quickly and effectively determine whether the phase sequence of a permanent magnet synchronous motor controller is accurate.
[0004] To achieve the above objectives, the present application provides a phase sequence detection method for a motor controller, the phase sequence detection method for the motor controller comprising the following steps:
[0005] Obtaining an initial voltage vector angle input to a permanent magnet synchronous motor controller, and obtaining a three-phase voltage duty cycle output by the permanent magnet synchronous motor controller;
[0006] comparing the three-phase voltage duty cycles and determining a target voltage vector angle based on the comparison result;
[0007] When the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, it is determined that the phase sequence of the permanent magnet synchronous motor controller is accurate.
[0008] Optionally, the step of comparing the three-phase voltage duty cycles and determining a target voltage vector angle according to the comparison result specifically includes:
[0009] When the duty cycles of the three-phase voltages are equal, determining the target voltage vector angle to be zero;
[0010] When any two of the three-phase voltage duty cycles are equal, sorting the three-phase voltage duty cycles, and determining a target voltage vector angle according to the sorting result;
[0011] When the duty cycles of the three-phase voltages are not equal, a working sector corresponding to the target voltage vector is determined according to the sorting result, and a target voltage vector angle is determined according to the working sector.
[0012] Optionally, when any two of the three-phase voltage duty cycles are equal, the step of sorting the three-phase voltage duty cycles and determining the target voltage vector angle according to the sorting result specifically includes:
[0013] When any two of the three-phase voltage duty cycles are equal, sorting the three-phase voltage duty cycles to obtain a sorting result;
[0014] Determine a voltage duty cycle combination corresponding to the three-phase voltage duty cycles according to the sorting result;
[0015] A target voltage vector angle is determined according to the voltage duty cycle combination.
[0016] Optionally, when the three-phase voltage duty cycles are not equal, the step of determining a working sector corresponding to the target voltage vector according to the sorting result, and determining a target voltage vector angle according to the working sector specifically includes:
[0017] When the three-phase voltage duty cycles are not equal, sorting the three-phase voltage duty cycles, and determining a working sector corresponding to the target voltage vector according to the sorting result;
[0018] Determining a switch switching sequence corresponding to the permanent magnet synchronous motor controller according to the working sector;
[0019] Determining a three-phase waveform diagram according to the switch switching sequence, and determining a voltage vector synthesis diagram according to the three-phase waveform diagram;
[0020] A target voltage vector angle is determined according to the voltage vector synthesis diagram.
[0021] Optionally, when the three-phase voltage duty cycles are not equal, the step of sorting the three-phase voltage duty cycles and determining the working sector corresponding to the target voltage vector according to the sorting result specifically includes:
[0022] When the duty cycles of the three-phase voltages are not equal, sorting the duty cycles of the three-phase voltages to obtain a sorting result;
[0023] Determine the maximum value, the middle value, and the minimum value of the three-phase voltage duty cycle according to the sorting result;
[0024] A working sector corresponding to a target voltage vector is determined according to the maximum value, the intermediate value, and the minimum value.
[0025] Optionally, the step of determining a target voltage vector angle according to the voltage vector synthesis diagram specifically includes:
[0026] determining a sector voltage vector angle corresponding to the working sector according to the voltage vector synthesis diagram;
[0027] A target voltage vector angle is determined according to the sector voltage vector angle and the maximum value, the intermediate value, and the minimum value corresponding to the working sector.
[0028] In addition, to achieve the above-mentioned purpose, the present application also provides a phase sequence detection device for a motor controller, the phase sequence detection device for the motor controller comprising:
[0029] A duty cycle acquisition module, configured to acquire an initial voltage vector angle input to a permanent magnet synchronous motor controller and acquire a three-phase voltage duty cycle output by the permanent magnet synchronous motor controller;
[0030] a vector angle determination module, configured to compare the three-phase voltage duty cycles and determine a target voltage vector angle according to the comparison result;
[0031] The phase sequence detection module is used to determine that the phase sequence of the permanent magnet synchronous motor controller is accurate when the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a phase sequence detection device for a motor controller, wherein the phase sequence detection device for the motor controller includes: a memory, a processor, and a computer program stored on the memory and runnable on the processor, wherein the computer program is configured to implement the steps of the phase sequence detection method for the motor controller as described above.
[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the phase sequence detection method of the motor controller as described above are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the steps of the phase sequence detection method of the motor controller as described above.
[0035] The present application obtains the initial voltage vector angle input to the permanent magnet synchronous motor controller and obtains the three-phase voltage duty cycle output by the permanent magnet synchronous motor controller, then compares the three-phase voltage duty cycles and determines the target voltage vector angle based on the comparison result. When the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, the phase sequence of the permanent magnet synchronous motor controller is determined to be accurate. The present application obtains the three-phase voltage duty cycle actually output by the permanent magnet synchronous motor controller and determines the target voltage vector angle. Then, based on the angle difference between the initial voltage vector angle and the target voltage vector angle, the phase sequence of the permanent magnet synchronous motor controller is determined to be accurate, thereby avoiding IGBT damage caused by phase sequence errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0038] Figure 1 This is a flow chart of a first embodiment of a phase sequence detection method for a motor controller of the present application;
[0039] Figure 2 This is a flow chart of a second embodiment of a phase sequence detection method for a motor controller of the present application;
[0040] Figure 3 A schematic diagram illustrating the relationship between the working sectors, switch switching sequence, and three-phase waveforms of an embodiment of a phase sequence detection method for a motor controller of the present application;
[0041] Figure 4 This is a voltage vector synthesis diagram of an embodiment of a phase sequence detection method for a motor controller of the present application;
[0042] Figure 5 This is a structural block diagram of the first embodiment of the phase sequence detection device of the motor controller of the present application;
[0043] Figure 6 It is a structural diagram of the phase sequence detection device of the motor controller in the hardware operating environment involved in the embodiment of the present application.
[0044] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are merely used to explain the technical solutions of the present application and are not intended to limit the present application.
[0046] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0047] The main solution of the embodiment of the present application is: obtaining the initial voltage vector angle input to the permanent magnet synchronous motor controller, and obtaining the three-phase voltage duty cycle output by the permanent magnet synchronous motor controller; comparing the three-phase voltage duty cycles, and determining the target voltage vector angle based on the comparison result; when the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, determining that the phase sequence of the permanent magnet synchronous motor controller is accurate.
[0048] Due to increasingly severe energy and environmental challenges, traditional fuel-powered vehicles are being replaced by new energy vehicles. As the power source for these vehicles, permanent magnet synchronous motors (PMSMs) are widely used in electric vehicle powertrains due to their high power density, high efficiency, compact size, light weight, and ease of maintenance. Phase sequence detection in PMSM controllers is crucial for motor control. If the three-phase sequence within the controller is incorrectly connected, the motor will malfunction and, in severe cases, cause the insulated gate bipolar transistor (IGBT) to explode.
[0049] The present application obtains the initial voltage vector angle input to the permanent magnet synchronous motor controller and obtains the three-phase voltage duty cycle output by the permanent magnet synchronous motor controller, then compares the three-phase voltage duty cycles and determines the target voltage vector angle based on the comparison result. When the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, the phase sequence of the permanent magnet synchronous motor controller is determined to be accurate. The present application obtains the three-phase voltage duty cycle actually output by the permanent magnet synchronous motor controller and determines the target voltage vector angle. Then, based on the angle difference between the initial voltage vector angle and the target voltage vector angle, the phase sequence of the permanent magnet synchronous motor controller is determined to be accurate, thereby avoiding IGBT damage caused by phase sequence errors.
[0050] It should be noted that the execution entity of this application may be a vehicle control unit (VCU), a microcontroller unit (MCU), etc.
[0051] Based on this, the embodiment of the present application provides a phase sequence detection method for a motor controller, referring to Figure 1 , Figure 1This is a flow chart of the first embodiment of the phase sequence detection method of the motor controller of the present application.
[0052] In this embodiment, the phase sequence detection method of the motor controller includes the following steps:
[0053] Step S10: obtaining an initial voltage vector angle input to a permanent magnet synchronous motor controller, and obtaining a three-phase voltage duty cycle output by the permanent magnet synchronous motor controller.
[0054] It's understood that the input zero point value of the permanent magnet synchronous motor controller is zero, the control mode is set to voltage mode, and the user can also input the initial voltage vector angle to the permanent magnet synchronous motor controller. An oscilloscope can also be used to read the actual three-phase voltage duty cycle output by the permanent magnet synchronous motor controller, which can be expressed as Ta, Tb, and Tc, respectively.
[0055] Step S20: comparing the three-phase voltage duty cycles and determining a target voltage vector angle according to the comparison result.
[0056] It should be understood that the three-phase voltage duty cycles can be compared, and the comparison results may include all three-phase voltage duty cycles being equal, two-phase voltage duty cycles being equal, or all three-phase voltage duty cycles being unequal. The target voltage vector angle is then determined based on the comparison results, with different methods for determining the target voltage vector angle corresponding to different comparison results.
[0057] Step S30: When the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, it is determined that the phase sequence of the permanent magnet synchronous motor controller is accurate.
[0058] In the specific implementation, when the angle difference between the initial voltage vector angle and the target voltage vector angle is within the preset range, it means that the phase sequence of the permanent magnet synchronous motor controller is accurate. Otherwise, if the phase sequence is wrong, forced operation may cause serious IGBT tube explosion, and the cause needs to be checked immediately.
[0059] This embodiment obtains an initial voltage vector angle input to a permanent magnet synchronous motor controller and obtains the three-phase voltage duty cycle output by the permanent magnet synchronous motor controller. The three-phase voltage duty cycles are then compared, and a target voltage vector angle is determined based on the comparison result. When the angular difference between the initial and target voltage vector angles falls within a preset range, the phase sequence of the permanent magnet synchronous motor controller is determined to be accurate. This embodiment obtains the actual three-phase voltage duty cycle output by the permanent magnet synchronous motor controller and determines the target voltage vector angle. The angular difference between the initial and target voltage vector angles is then used to determine whether the phase sequence of the permanent magnet synchronous motor controller is accurate, thereby preventing IGBT damage caused by an incorrect phase sequence.
[0060] refer to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the phase sequence detection method of the motor controller of the present application.
[0061] Based on the above first embodiment, in this embodiment, step S20 includes:
[0062] Step S201: When the duty cycles of the three-phase voltages are equal, determining that the target voltage vector angle is zero.
[0063] It can be understood that when the three-phase voltage duty cycles Ta, Tb, and Tc are all equal, the target voltage vector angle is zero.
[0064] Step S202: When any two of the three-phase voltage duty cycles are equal, sort the three-phase voltage duty cycles, and determine a target voltage vector angle according to the sorting result.
[0065] It should be understood that if any two of the three-phase voltage duty cycles are equal and the remaining phase voltage duty cycle is unequal, for example, Ta and Tb are equal, and Tb and Tc are equal, the three-phase voltage duty cycles can be sorted by magnitude, and the target voltage vector angle can be determined based on the sorting result.
[0066] Furthermore, in order to accurately determine the target voltage vector angle for any two-phase voltage duty cycles, in this embodiment, step S202 includes: when any two-phase voltage duty cycles are equal among the three-phase voltage duty cycles, sorting the three-phase voltage duty cycles to obtain a sorting result; determining a voltage duty cycle combination corresponding to the three-phase voltage duty cycles according to the sorting result; and determining the target voltage vector angle according to the voltage duty cycle combination.
[0067] It is understandable that when any two phase voltage duty cycles are equal among the three-phase voltage duty cycles, the three-phase voltage duty cycles can be sorted, for example, Ta>Tb=Tc, Ta=Tb>Tc.
[0068] It should be understood that the voltage duty cycle combination corresponding to the three-phase voltage duty cycle can be determined according to the sorting result, the larger value is recorded as 1, and the smaller value is recorded as 0. There are six groups of voltage duty cycle combinations, namely U(100), U(110), U(010), U(011), U(001), and U(101). Each voltage duty cycle combination corresponds to a target voltage vector angle, and the target voltage vector angles corresponding to the above voltage duty cycle combinations are 0°, 60°, 120°, 180°, 240°, and 300°.
[0069] Step S203: When the duty cycles of the three-phase voltages are not equal, determining the working sectors corresponding to the target voltage vectors according to the sorting results, and determining the target voltage vector angles according to the working sectors.
[0070] It is understandable that when the three-phase voltage duty cycles are not equal, that is, when Ta, Tb, and Tc are not equal, the working sector corresponding to the target voltage vector can be determined according to the sorting results of Ta, Tb, and Tc, and then the target voltage vector angle can be determined according to the working sector.
[0071] Furthermore, in order to accurately determine the target voltage vector angle when the three-phase voltage duty cycles are unequal, in this embodiment, step S203 includes: when the three-phase voltage duty cycles are unequal, sorting the three-phase voltage duty cycles, and determining the working sector corresponding to the target voltage vector according to the sorting result; determining the switch switching sequence corresponding to the permanent magnet synchronous motor controller according to the working sector; determining a three-phase waveform diagram according to the switch switching sequence, and determining a voltage vector synthesis diagram according to the three-phase waveform diagram; and determining the target voltage vector angle according to the voltage vector synthesis diagram.
[0072] It should be understood that when the duty cycles of the three-phase voltages are not equal, the sizes of the three-phase voltage duty cycles can be sorted, and the working sectors corresponding to the target voltage vectors can be determined according to the sorting results. The working sectors can include 6 sectors, namely, I, II, III, IV, V, and VI.
[0073] It is understandable that referring to Figure 3 , Figure 3 This is a schematic diagram of the relationship between the working sector, switch switching sequence, and three-phase waveform diagram of an embodiment of the phase sequence detection method of the motor controller of the present application. For example, when the working sector corresponding to the target voltage vector is sector I, the order of appearance of the target voltage vector is 0→4→6→7→7→6→4→0, and the three-phase waveform diagram generated by it is as follows during the time period T: Figure 3 shown.
[0074] In the specific implementation, refer to Figure 4 , Figure 4 This is a voltage vector synthesis diagram of an embodiment of a phase sequence detection method for a motor controller of the present application. A target voltage vector angle θ is determined according to the voltage vector synthesis diagram.
[0075] Furthermore, in order to accurately determine the working sector corresponding to the target voltage vector, in this embodiment, the steps of sorting the three-phase voltage duty cycles when the three-phase voltage duty cycles are unequal, and determining the working sector corresponding to the target voltage vector based on the sorting results, specifically include: sorting the three-phase voltage duty cycles when the three-phase voltage duty cycles are unequal to obtain a sorting result; determining the maximum value, the middle value, and the minimum value of the three-phase voltage duty cycles based on the sorting result; and determining the working sector corresponding to the target voltage vector based on the maximum value, the middle value, and the minimum value.
[0076] It can be understood that when the three-phase voltage duty cycles are not equal, the three-phase voltage duty cycles can be sorted according to size to obtain the sorting results. Tmax, Tmid, and Tmin can be used to represent the maximum value, middle value, and minimum value of Ta, Tb, and Tc, respectively, and the working sector corresponding to the target voltage vector can be obtained by looking up Table 1 according to the maximum value, middle value, and minimum value.
[0077] Table 1:
[0078] Ta Tb Tc Working sector Tmax Tmid Tmin Ⅰ Tmax Tmin Tmid Ⅵ Tmid Tmax min Ⅱ Tmid min Tmax Ⅴ Tmin Tmax Tmid Ⅲ Tmin Tmid Tmax Ⅳ
[0079] Furthermore, in order to accurately determine the target voltage vector angle, in this embodiment, the step of determining the target voltage vector angle based on the voltage vector synthesis diagram specifically includes: determining the sector voltage vector angle corresponding to the working sector based on the voltage vector synthesis diagram; and determining the target voltage vector angle based on the sector voltage vector angle and the maximum value, the intermediate value, and the minimum value corresponding to the working sector.
[0080] It should be understood that when the working sector corresponding to the target voltage vector is sector I, reference can be made to Figure 4 The voltage vector angle of the sector is calculated from the voltage vector synthesis diagram, that is:
[0081]
[0082] Similarly, when the working sector corresponding to the target voltage vector is sector II, the sector voltage vector angle is:
[0083]
[0084] When the working sector corresponding to the target voltage vector is sector III, the sector voltage vector angle is:
[0085]
[0086] When the working sector corresponding to the target voltage vector is sector IV, the sector voltage vector angle is:
[0087]
[0088] When the working sector corresponding to the target voltage vector is sector V, the sector voltage vector angle is:
[0089]
[0090] When the working sector corresponding to the target voltage vector is sector VI, the sector voltage vector angle is:
[0091]
[0092] In a specific implementation, the target voltage vector angle corresponding to each working sector can be determined based on the above sector voltage vector angle and the maximum value, intermediate value, and minimum value corresponding to the working sector, that is:
[0093]
[0094]
[0095]
[0096]
[0097]
[0098]
[0099]
[0100] In this embodiment, when the three-phase voltage duty cycles are not equal, the maximum value Tmax, the middle value Tmid, and the minimum value Tmin of the three-phase voltage duty cycles can be obtained, and the working sectors corresponding to the three-phase voltage duty cycles are obtained by looking up Table 1. Then, the target voltage vector angle corresponding to the working sector is calculated according to the above formula, and then the phase sequence of the permanent magnet synchronous motor controller is judged to be correct based on the angle difference between the initial voltage vector angle and the target voltage vector angle.
[0101] In this embodiment, when the three-phase voltage duty cycles are equal, the target voltage vector angle is determined to be zero. When any two of the three-phase voltage duty cycles are equal, the three-phase voltage duty cycles are sorted and the target voltage vector angle is determined based on the sorting result. When the three-phase voltage duty cycles are unequal, the operating sectors corresponding to the target voltage vectors are determined based on the sorting result, and the target voltage vector angle is determined based on the operating sectors. When the three-phase voltage duty cycles are unequal, this embodiment determines the operating sectors corresponding to the target voltage vectors based on the sorting result and determines the target voltage vector angle based on the operating sectors, thereby obtaining an accurate target voltage vector angle.
[0102] Reference Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the phase sequence detection device of the motor controller of the present application.
[0103] like Figure 5 As shown, the phase sequence detection device of the motor controller proposed in the embodiment of the present application includes:
[0104] A duty cycle acquisition module 10 is used to acquire an initial voltage vector angle input to a permanent magnet synchronous motor controller and to acquire a three-phase voltage duty cycle output by the permanent magnet synchronous motor controller;
[0105] a vector angle determination module 20 for comparing the three-phase voltage duty cycles and determining a target voltage vector angle according to the comparison result;
[0106] The phase sequence detection module 30 is configured to determine that the phase sequence of the permanent magnet synchronous motor controller is correct when the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range.
[0107] This embodiment obtains an initial voltage vector angle input to a permanent magnet synchronous motor controller and obtains the three-phase voltage duty cycle output by the permanent magnet synchronous motor controller. The three-phase voltage duty cycles are then compared, and a target voltage vector angle is determined based on the comparison result. When the angular difference between the initial and target voltage vector angles falls within a preset range, the phase sequence of the permanent magnet synchronous motor controller is determined to be accurate. This embodiment obtains the actual three-phase voltage duty cycle output by the permanent magnet synchronous motor controller and determines the target voltage vector angle. The angular difference between the initial and target voltage vector angles is then used to determine whether the phase sequence of the permanent magnet synchronous motor controller is accurate, thereby preventing IGBT damage caused by an incorrect phase sequence.
[0108] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this application. In actual applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of this embodiment scheme, and no restrictions are imposed here.
[0109] In addition, for technical details not fully described in this embodiment, please refer to the phase sequence detection method of the motor controller provided in any embodiment of the present application, and will not be repeated here.
[0110] Based on the first embodiment of the phase sequence detection device of the motor controller of the present application, a second embodiment of the phase sequence detection device of the motor controller of the present application is proposed.
[0111] In this embodiment, the vector angle determination module 20 is further configured to determine that the target voltage vector angle is zero when the three-phase voltage duty cycles are equal; to sort the three-phase voltage duty cycles when any two of the three-phase voltage duty cycles are equal, and to determine the target voltage vector angle based on the sorting result; and to determine the working sector corresponding to the target voltage vector based on the sorting result when the three-phase voltage duty cycles are unequal, and to determine the target voltage vector angle based on the working sector.
[0112] Furthermore, the vector angle determination module 20 is also used to sort the three-phase voltage duty cycles to obtain a sorting result when any two phase voltage duty cycles among the three-phase voltage duty cycles are equal; determine a voltage duty cycle combination corresponding to the three-phase voltage duty cycles according to the sorting result; and determine a target voltage vector angle according to the voltage duty cycle combination.
[0113] Furthermore, the vector angle determination module 20 is also used to sort the three-phase voltage duty cycles when the three-phase voltage duty cycles are not equal, and determine the working sector corresponding to the target voltage vector according to the sorting result; determine the switch switching sequence corresponding to the permanent magnet synchronous motor controller according to the working sector; determine the three-phase waveform diagram according to the switch switching sequence, and determine the voltage vector synthesis diagram according to the three-phase waveform diagram; and determine the target voltage vector angle according to the voltage vector synthesis diagram.
[0114] Furthermore, the vector angle determination module 20 is also used to sort the three-phase voltage duty cycles to obtain a sorting result when the three-phase voltage duty cycles are not equal; determine the maximum value, the middle value and the minimum value of the three-phase voltage duty cycles according to the sorting result; and determine the working sector corresponding to the target voltage vector according to the maximum value, the middle value and the minimum value.
[0115] Furthermore, the vector angle determination module 20 is also used to determine the sector voltage vector angle corresponding to the working sector based on the voltage vector synthesis diagram; and determine the target voltage vector angle based on the sector voltage vector angle and the maximum value, the intermediate value and the minimum value corresponding to the working sector.
[0116] Other embodiments or specific implementations of the phase sequence detection device of the motor controller of the present application can refer to the above-mentioned method embodiments and will not be repeated here.
[0117] The present application provides a phase sequence detection device for a motor controller, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the phase sequence detection method for the motor controller in the above-mentioned embodiment one.
[0118] Reference below Figure 6 , which shows a schematic structural diagram of a phase sequence detection device suitable for implementing a motor controller according to an embodiment of the present application. The phase sequence detection device for the motor controller according to the embodiment of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 6 The phase sequence detection device of the motor controller shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0119] like Figure 6As shown, the phase sequence detection device of the motor controller may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the operation of the phase sequence detection device of the motor controller are also stored in RAM 1004. Processing device 1001, ROM 1002, and RAM 1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the phase sequence detection device of the motor controller to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a phase sequence detection device of the motor controller with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems can be implemented or have instead.
[0120] In particular, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0121] The phase sequence detection device for a motor controller provided in this application, employing the phase sequence detection method for a motor controller in the aforementioned embodiment, can solve the technical problem of how to quickly and effectively determine whether the phase sequence of a permanent magnet synchronous motor controller is accurate. Compared to the prior art, the beneficial effects of the phase sequence detection device for a motor controller provided in this application are the same as those of the phase sequence detection method for a motor controller provided in the aforementioned embodiment. Other technical features of the phase sequence detection device for a motor controller are the same as those disclosed in the aforementioned embodiment and are not further elaborated here.
[0122] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0123] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0124] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, and the computer-readable program instructions are used to execute the phase sequence detection method of the motor controller in the above embodiment.
[0125] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may 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 or 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 thereof. In this embodiment, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0126] The computer-readable storage medium may be included in the phase sequence detection device of the motor controller; or may exist independently without being assembled into the phase sequence detection device of the motor controller.
[0127] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the phase sequence detection device of the motor controller, the phase sequence detection device of the motor controller: obtains the initial voltage vector angle input to the permanent magnet synchronous motor controller, and obtains the three-phase voltage duty cycle output by the permanent magnet synchronous motor controller; compares the three-phase voltage duty cycles, and determines the target voltage vector angle based on the comparison result; when the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, it is determined that the phase sequence of the permanent magnet synchronous motor controller is accurate.
[0128] Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0129] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0130] The modules described in the embodiments of the present application may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0131] The computer-readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described phase sequence detection method for a motor controller. This computer-readable storage medium can solve the technical problem of quickly and effectively determining whether the phase sequence of a permanent magnet synchronous motor controller is accurate. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the phase sequence detection method for a motor controller provided in the above-described embodiment, and are not further elaborated here.
[0132] The present application also provides a computer program product, comprising a computer program, which implements the steps of the phase sequence detection method of the motor controller as described above when the computer program is executed by a processor.
[0133] The computer program product provided in this application can solve the technical problem of how to quickly and effectively determine whether the phase sequence of a permanent magnet synchronous motor controller is accurate. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the phase sequence detection method for the motor controller provided in the above-mentioned embodiment, and will not be elaborated here.
[0134] The above description is only part of the embodiments of the present application and does not limit the patent scope of the present application. All equivalent structural transformations made by using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A phase sequence detection method for a motor controller, characterized in that: The phase sequence detection method of the motor controller comprises the following steps: Obtaining an initial voltage vector angle input to a permanent magnet synchronous motor controller, and obtaining a three-phase voltage duty cycle output by the permanent magnet synchronous motor controller; comparing the three-phase voltage duty cycles and determining a target voltage vector angle based on the comparison result; When the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range, determining that the phase sequence of the permanent magnet synchronous motor controller is accurate; The step of comparing the three-phase voltage duty cycles and determining the target voltage vector angle according to the comparison result specifically includes: When the duty cycles of the three-phase voltages are equal, determining the target voltage vector angle to be zero; When any two of the three-phase voltage duty cycles are equal, sorting the three-phase voltage duty cycles, and determining a target voltage vector angle according to the sorting result; When the duty cycles of the three-phase voltages are not equal, a working sector corresponding to the target voltage vector is determined according to the sorting result, and a target voltage vector angle is determined according to the working sector.
2. The phase sequence detection method of the motor controller according to claim 1, characterized in that: The step of sorting the three-phase voltage duty cycles when any two of the three-phase voltage duty cycles are equal, and determining the target voltage vector angle according to the sorting result, specifically includes: When any two of the three-phase voltage duty cycles are equal, sorting the three-phase voltage duty cycles to obtain a sorting result; Determine a voltage duty cycle combination corresponding to the three-phase voltage duty cycles according to the sorting result; A target voltage vector angle is determined according to the voltage duty cycle combination.
3. The phase sequence detection method of the motor controller according to claim 1, characterized in that: The step of determining the working sector corresponding to the target voltage vector according to the sorting result when the three-phase voltage duty cycles are not equal, and determining the target voltage vector angle according to the working sector, specifically includes: When the three-phase voltage duty cycles are not equal, sorting the three-phase voltage duty cycles, and determining a working sector corresponding to the target voltage vector according to the sorting result; Determining a switch switching sequence corresponding to the permanent magnet synchronous motor controller according to the working sector; Determining a three-phase waveform diagram according to the switch switching sequence, and determining a voltage vector synthesis diagram according to the three-phase waveform diagram; A target voltage vector angle is determined according to the voltage vector synthesis diagram.
4. The phase sequence detection method of the motor controller according to claim 3, characterized in that: When the three-phase voltage duty cycles are not equal, the step of sorting the three-phase voltage duty cycles and determining the working sector corresponding to the target voltage vector according to the sorting result specifically includes: When the duty cycles of the three-phase voltages are not equal, sorting the duty cycles of the three-phase voltages to obtain a sorting result; Determine the maximum value, the middle value, and the minimum value of the three-phase voltage duty cycle according to the sorting result; A working sector corresponding to a target voltage vector is determined according to the maximum value, the intermediate value, and the minimum value.
5. The phase sequence detection method of the motor controller according to claim 4, characterized in that: The step of determining the target voltage vector angle according to the voltage vector synthesis diagram specifically includes: determining a sector voltage vector angle corresponding to the working sector according to the voltage vector synthesis diagram; A target voltage vector angle is determined according to the sector voltage vector angle and the maximum value, the intermediate value, and the minimum value corresponding to the working sector.
6. A phase sequence detection device for a motor controller, characterized in that: The phase sequence detection device of the motor controller includes: A duty cycle acquisition module, configured to acquire an initial voltage vector angle input to a permanent magnet synchronous motor controller and acquire a three-phase voltage duty cycle output by the permanent magnet synchronous motor controller; a vector angle determination module, configured to compare the three-phase voltage duty cycles and determine a target voltage vector angle according to the comparison result; a phase sequence detection module, configured to determine that the phase sequence of the permanent magnet synchronous motor controller is accurate when the angle difference between the initial voltage vector angle and the target voltage vector angle is within a preset range; The vector angle determination module is further configured to determine, when the three-phase voltage duty cycles are equal, that the target voltage vector angle is zero; to sort the three-phase voltage duty cycles when any two of the three-phase voltage duty cycles are equal, and to determine the target voltage vector angle based on the sorting result; and to determine, when the three-phase voltage duty cycles are unequal, a working sector corresponding to the target voltage vector based on the sorting result, and to determine the target voltage vector angle based on the working sector.
7. A phase sequence detection device for a motor controller, characterized in that: The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the phase sequence detection method for a motor controller according to any one of claims 1 to 5.
8. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the phase sequence detection method of the motor controller according to any one of claims 1 to 5 are implemented.
9. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the phase sequence detection method of the motor controller according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Temperature controller with intelligent three-phase power phase sequence detection and judgment function
CN104227502A
Phase sequence self-adaption control method of three-phase PWM rectifier
CN107742987A