Method for determining corresponding relation between stator winding and position sensor of motor
By automatically determining the corresponding relationship between Hall effect sensor and stator winding in a brushless DC motor, the problem of not being able to identify the corresponding relationship in the prior art is solved, and the problem of not being able to identify the corresponding relationship in the prior art is improved Safety and controllability of motor control.
Patent Information
- Application Number
- CN202411465511.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2024-11-26
AI Technical Summary
In the prior art, it is impossible to effectively identify the correspondence between the Hall effect sensor and the stator winding in brushless DC motors, resulting in common trial and error operation methods, including motor jumping, uncontrollable acceleration, blockage and large current burning. Safety situation.
During startup, according to the specified locking method of the rotor pole, multiple stator windings are connected to a specified direction current to form a synthetic magnetic potential, and rotate to a specified position under the action of the synthetic magnetic potential, obtain the status information of the position sensor, and perform repeatedly Until the correspondence between the multiple stator windings and the position sensor is determined.
Automatically determine the correspondence between the Hall effect sensor and the stator winding, avoid trial and error operation, improve the safety and controllability of motor control, and avoid the occurrence of unsafe situations.
Smart Images

Figure CN119030376A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of motor control technology, and in particular to a method for determining a corresponding relationship between a stator winding of a motor and a position sensor. Background Art
[0002] The brushless DC motor is provided with a rotor, a plurality of Hall effect sensors and a plurality of stator windings. The control device controls the rotation of the rotor according to the correspondence between the plurality of Hall effect sensors and the plurality of stator windings to control the operation of the brushless DC motor.
[0003] In actual applications, the physical positions of the Hall effect sensors and stator windings in the motor are fixed, but the control device cannot identify the mapping relationship between the Hall effect sensors and the stator windings in the motor (the mapping relationship is the corresponding relationship). When the corresponding relationship cannot be confirmed, the trial and error operation method is often used, that is, replacing the connection method between multiple stator windings, or the connection method between multiple Hall effect sensors and the control device. After each replacement, the control device is started to control the brushless DC motor to work until the brushless DC motor works normally, and the corresponding relationship between multiple Hall effect sensors and multiple stator windings is obtained to complete the trial and error operation. However, the trial and error operation method has unsafe conditions such as motor jumping, accelerating at an uncontrollable speed, motor stalling, large current generated due to motor stalling, and large current burning the motor and / or control equipment.
[0004] In view of this, there is an urgent need for a method to determine the corresponding relationship between the Hall effect sensor and multiple stator windings to avoid using a trial and error operation method and causing various unsafe situations. Summary of the invention
[0005] The present application provides a method for determining the correspondence between the stator winding of a motor and a position sensor, so as to avoid using a trial and error operation method and avoid various unsafe situations.
[0006] In a first aspect, the present application provides a method for determining a correspondence between a stator winding of a motor and a position sensor, which is applied to a control device. The motor includes a rotor pole, a plurality of stator windings, and a plurality of position sensors. The method includes, in response to a start instruction, a. According to the designated locking mode of the rotor magnetic poles, a current in a designated direction is passed through the multiple stator windings, and the multiple stator windings form a synthetic magnetic potential, wherein the designated locking mode is any one of a plurality of preset locking modes, and any one of the preset locking modes includes information on the current in a designated direction of the multiple stator windings; b. When the rotor magnetic pole rotates to a specified position of a specified locking mode under the action of the synthetic magnetic potential, multiple state information of multiple position sensors is obtained; Repeat steps a to b until all the preset locking modes of the rotor magnetic poles are executed, and determine the corresponding relationship between the multiple stator windings and the multiple position sensors according to the multiple state information of the multiple groups of multiple position sensors corresponding to the multiple preset locking modes and the information of the specified direction current of the corresponding multiple stator windings. In some embodiments of the first aspect, the correspondence between multiple stator windings and multiple position sensors is determined based on multiple state information of multiple groups of multiple position sensors corresponding to multiple preset locking modes, and information of current in a specified direction of the corresponding multiple stator windings, including: determining whether the multiple state information of multiple groups of multiple position sensors corresponding to the multiple preset locking modes all conform to the preset state combination, wherein the preset state combination is that the state information of a target sensor among the multiple position sensors is different from the state information of other position sensors, and the target sensor is any one of the multiple position sensors; if not conforming, determining that the multiple position sensors are abnormal; if conforming, determining whether the position sensor on the magnetic potential normal line formed by a specified stator winding among the multiple stator windings is the target position sensor, wherein the information of the specified stator winding being the stator winding of the specified direction of the preset target current conforms to the preset target; if it is determined that the position sensor on the magnetic potential normal line formed by the specified stator winding among the multiple stator windings corresponding to each preset locking mode in the multiple preset locking modes is the target position sensor, then determining that the multiple position sensors are normal, and there is a correspondence between the specified stator winding and the target position sensor.
[0007] In some embodiments of the first aspect, the method also includes, if multiple status information of multiple groups of multiple position sensors corresponding to multiple preset locking modes all meet the requirement that the status information of the target position sensor is invalid, and the status information of other position sensors is valid, determining that the multiple position sensors are all arranged at the starting ends of the magnetic potential normals of multiple stator windings; if multiple status information of multiple groups of multiple position sensors corresponding to multiple preset locking modes all meet the requirement that the status information of the target position sensor is valid, and the status information of other position sensors is invalid, determining that the multiple position sensors are all arranged at the corresponding ends of the starting end.
[0008] In some embodiments of the first aspect, the multiple stator windings include a designated stator winding and other stator windings, the designated stator winding and other stator windings both include a neutral end and a power end connected to a power supply, and according to the designated locking mode of the rotor poles, a current in a designated direction is passed through the multiple stator windings, including: according to the information of the designated direction current of the designated stator winding in the designated locking mode of the rotor poles, connecting the power end of the designated stator winding with the positive end of the power supply; according to the information of the designated direction current of other stator windings in the designated locking mode of the rotor poles, connecting the power end of other stator windings with the negative end of the power supply.
[0009] In some embodiments of the first aspect, turning on the connection between the power supply end of a specified stator winding and the positive terminal of a power supply includes closing the positive power switch connected between the power supply end of the specified stator winding and the positive terminal of the power supply, and disconnecting the negative power switch connected between the power supply end of the specified stator winding and the positive terminal of the power supply; turning on the connection between the power supply end of other stator windings and the negative terminal of the power supply includes closing the negative power switch connected between the power supply end of other stator windings and the positive terminal of the power supply, and disconnecting the positive power switch connected between the power supply end of other stator windings and the positive terminal of the power supply.
[0010] In some embodiments of the first aspect, after determining the correspondence between multiple stator windings and multiple position sensors, the method also includes: controlling the operation of the motor based on the correspondence between the multiple stator windings and the multiple position sensors and a preset motor commutation table.
[0011] In some embodiments of the first aspect, the method further includes that the multiple preset locking modes are three preset locking modes.
[0012] A second aspect of the present application provides a control device, wherein the motor comprises a rotor pole, a plurality of stator windings and a plurality of position sensors, and the control device comprises a control unit, wherein the control unit is configured to respond to a start instruction, a. According to the designated locking mode of the rotor magnetic poles, a current in a designated direction is passed through the multiple stator windings, and the multiple stator windings form a synthetic magnetic potential, wherein the designated locking mode is any one of a plurality of preset locking modes, and any one of the preset locking modes includes information on the current in a designated direction of the multiple stator windings; b. When the rotor magnetic pole rotates to a specified position of a specified locking mode under the action of the synthetic magnetic potential, multiple state information of multiple position sensors is obtained; Repeat steps a to b until multiple preset locking methods of the rotor poles are executed, and determine the correspondence between multiple stator windings and multiple position sensors based on multiple status information of multiple groups of multiple position sensors corresponding to the multiple preset locking methods, and the information of the specified direction current of the corresponding multiple stator windings.
[0013] In some embodiments of the second aspect, the control device further includes a current loop operation control unit and a current sampling unit. The current sampling unit is used to sense the current signal of the specified direction current of multiple stator windings and convert the current signal into a digital signal, which indicates the size of the specified direction current of multiple stator windings and is sent to the current loop operation control unit; the current loop operation control unit is used to generate an adjustment trigger signal if the size of the specified direction current of multiple stator windings is inconsistent with the preset reference current; the control unit is also used to adjust the size of the specified direction current to be consistent with the preset reference current according to the adjustment trigger signal.
[0014] A third aspect of the present application provides a motor control system, the control system comprising a motor and a control device as in the second aspect.
[0015] The present application provides a method for determining the correspondence between the stator windings and position sensors of a motor, a control device, and a motor control system. In response to a start instruction, a. according to a specified locking mode of a rotor magnetic pole, a specified direction current is passed through a plurality of stator windings, and a plurality of stator windings form a synthetic magnetic potential, wherein the specified locking mode is any one of a plurality of preset locking modes, and any one of the preset locking modes includes information of the specified direction current of a plurality of stator windings; b. when the rotor magnetic pole rotates to a specified position of the specified locking mode under the action of the synthetic magnetic potential, a plurality of state information of a plurality of position sensors is obtained, and then, steps a to b are repeatedly executed until the plurality of preset locking modes of the rotor magnetic poles are all executed, and the plurality of state information of a plurality of groups of position sensors corresponding to the plurality of preset locking modes and the corresponding information of the specified direction current of a plurality of stator windings are obtained. The correspondence between the plurality of stator windings and the plurality of position sensors can be determined, and the method for determining the correspondence is simple and convenient, avoiding the use of a trial and error operation method, and avoiding the occurrence of unsafe situations. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] 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.
[0017] Figure 1 A schematic diagram of the structure of a motor control system provided in an embodiment of the present application.
[0018] Figure 2 A schematic diagram of the structure of another motor control system provided in an embodiment of the present application.
[0019] Figure 3 A schematic flow chart of a method for determining a correspondence between a stator winding of a motor and a position sensor provided in an embodiment of the present application.
[0020] Figure 4 A schematic diagram of an application scenario of a method for determining a correspondence between a stator winding of a motor and a position sensor provided in an embodiment of the present application.
[0021] Figure 5 A schematic diagram of another application scenario of the method for determining the correspondence between the stator winding of a motor and the position sensor provided in an embodiment of the present application.
[0022] Figure 6 A schematic diagram of the structure of a control device provided in an embodiment of the present application.
[0023] Figure 7 A structural schematic diagram of a stator winding port unit of a control device provided in an embodiment of the present application.
[0024] Figure 8 A block diagram of the principles of adjusting the magnitude of current in a specified direction by a control unit provided in an embodiment of the present application.
[0025] Main component symbols
[0026] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0028] The terms "first", "second", etc. used in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following embodiments, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0029] In the related art, a brushless DC motor is provided with a rotor, a plurality of Hall effect sensors and a plurality of stator windings. The control device controls the rotation of the rotor according to the correspondence between the plurality of Hall effect sensors and the plurality of stator windings to control the operation of the brushless DC motor.
[0030] In actual applications, the physical positions of the Hall effect sensors and stator windings in the motor are fixed, but the control device cannot identify the mapping relationship between the Hall effect sensors and the stator windings in the motor (the mapping relationship is the corresponding relationship). When the corresponding relationship cannot be confirmed, the trial and error operation method is often used, that is, replacing the connection method between multiple stator windings, or the connection method between multiple Hall effect sensors and the control device. After each replacement, the control device is started to control the brushless DC motor to work until the brushless DC motor works normally, and the corresponding relationship between multiple Hall effect sensors and multiple stator windings is obtained to complete the trial and error operation. However, the trial and error operation method has unsafe conditions such as motor jumping, accelerating at an uncontrollable speed, motor stalling, large current generated due to motor stalling, and large current burning the motor and / or control equipment.
[0031] In view of this, the present application provides a method for determining the corresponding relationship between a position sensor and a plurality of stator windings, so as to avoid using a trial and error operation method and avoid various unsafe situations.
[0032] Furthermore, currently, in the related art, a brushless DC motor Hall phase sequence detection method is proposed, the brushless DC motor includes a Hall sensor for detecting the motor rotor position and a motor drive module of a three-phase inverter bridge structure, the method includes the following steps: Step A. Manually rotate the motor for one circle, during which the Hall signal output by the Hall sensor is obtained; Step B. Determine whether the Hall signal obtained in step A is normal. If so, calculate the number of pole pairs according to the number of Hall signal cycles when the motor rotates one circle; if not, output an error message; Step C. Control the motor drive module to make the driver work in the "three-three conduction" mode, and cyclically output the switch combinations "A+BC-", "AB+C-", "B+AC-", "CB+A-", "C+AB-", "AC+B-" in sequence. The number of cycles is the number of motor poles. The corresponding relationship between the Hall sensor value and the switch combination in the "two-two conduction" mode is recorded at this time, and the commutation table of the brushless DC motor is obtained.
[0033] The brushless DC motor Hall phase sequence detection method, first, needs to manually judge whether the Hall signal is normal or not, which is time-consuming and laborious. Second, it is necessary to lock the rotor six times, make a self-made commutation table according to the acquired Hall signal, and drive the motor according to the self-made commutation table, that is, this method does not determine the corresponding relationship between the stator winding and the Hall effect sensor. And it is necessary to use a self-made commutation table.
[0034] In view of this, the present application provides a method for determining the correspondence between the position sensor and the stator winding, which can automatically determine whether the Hall sensor or the Hall signal is normal or not, and, as long as the rotor poles are locked three times, the correspondence between the stator winding and the Hall effect sensor can be determined, and according to the correspondence (mapping relationship), the commutation table in the control unit can be directly used to drive the motor to work.
[0035] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of the structure of the motor control system provided in this application, Figure 2 1 is another structural schematic diagram of a motor control system. The motor control system 100 includes a control device 10 and a motor 20. The control device 10 includes a control unit 11, and the motor 20 includes a rotor (not shown), a plurality of stators 21, and a plurality of position sensors 22. The rotor is provided with a rotor pole 23, and the rotor pole 23 includes a north pole 231 and a south pole 232. The plurality of stators 21 are arranged around the rotor, and each stator 21 is provided with a stator winding 24. The plurality of position sensors 22 are respectively arranged around the plurality of stator windings 24.
[0036] The control unit 11 of the control device 10 determines the correspondence between the stator winding 24 and the position sensor 22 according to the method for determining the correspondence between the stator winding of the motor and the position sensor of the present application, and controls the rotation of the rotor of the motor 20 based on the correspondence between the stator winding 24 and the position sensor 22, that is, controls the operation of the motor 20.
[0037] It can be understood that in actual applications, the physical positions of the position sensor 22 and the stator winding 24 in the motor 20 are fixed, but the control device 10 cannot identify the mapping relationship between the position sensor 22 and the stator winding 24 in the motor 20 (the mapping relationship is the corresponding relationship). Through the method for determining the corresponding relationship between the stator winding 24 and the position sensor 22 of the motor 20 of the present application, the control device 10 can identify the mapping relationship between the position sensor 22 and the stator winding 24 in the motor 20.
[0038] In some embodiments, the control device 10 may be a frequency converter or a drive.
[0039] In some embodiments, the motor 20 is a brushless DC motor and the position sensor 22 is a Hall effect sensor.
[0040] It should be noted that Figure 1 and Figure 2 This is only a schematic diagram of a structure provided in the embodiment of the present application. Figure 1 and Figure 2 The actual form of the various devices included in the Figure 1 and Figure 2 The interaction mode between devices is limited, and in the specific application of the solution, it can be set according to actual needs.
[0041] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0042] Please combine Figure 2 and Figure 3 , Figure 3 The present invention provides a flow chart of an embodiment of a method for determining the correspondence between the stator winding of a motor and the position sensor of the present invention. The execution subject of the present invention can be a control device 10, specifically, a control unit 11. Figure 3 As shown, the corresponding relationship determination method may include the following steps: Step S110: responding to the start instruction.
[0043] Step S120: according to the designated locking mode of the rotor magnetic poles, currents in designated directions are passed through the plurality of stator windings.
[0044] In one embodiment, the plurality of preset locking modes are three preset locking modes. Figure 4 or Figure 5 As shown, there are three preset locking modes. The first preset locking mode is to lock the rotor pole 23 to a first position, where the north pole 231 of the rotor pole 23 faces a first direction (the first direction is the -X direction). The second preset locking mode is to lock the rotor pole 23 to a second position, where the second position is a position rotated 120° clockwise from the first direction. The third locking mode is to lock the rotor pole 23 to a third position, where the third position is a position rotated 120° clockwise from the second position.
[0045] The designated locking mode is any one of a plurality of preset locking modes, and the designated locking mode is the preset locking mode currently executed by the control device 10. For example, the currently executed preset locking mode can be the first preset locking mode, the second preset locking mode or the third preset locking mode.
[0046] It can be understood that the control device 10 stores multiple preset locking modes. In response to the start instruction, the control device 10 executes the multiple preset locking modes in sequence according to a preset order, and the currently executed preset locking mode is the designated locking mode.
[0047] Any of the preset locking modes includes information on currents in a specified direction of multiple stator windings, for example, see Figure 2 , 4 and 5, such as Figure 2 As shown, the multiple stator windings 24 of the motor 20 include a first-phase stator winding U, a second-phase stator winding V, and a third-phase stator winding W. One end of the first-phase stator winding U, the second-phase stator winding V, or the third-phase stator winding W connected to the control device 10 is a power supply terminal 241, and one end of the first-phase stator winding U, the second-phase stator winding V, and the third-phase stator winding W connected is a neutral terminal 242. The information of the specified direction current of each preset locking mode includes the information of the specified direction current of the first-phase stator winding U, the second-phase stator winding V, and the third-phase stator winding 24.
[0048] like Figure 4 As shown, in the information of the specified direction current of the first preset locking mode, the information of the specified direction current of the first-phase stator winding U is that the specified direction current flows into the power supply terminal 241 of the first-phase stator winding U and flows out from the neutral terminal 242. The information of the specified direction current of the second-phase stator winding V and the third-phase stator winding 24 is that the specified direction current flows into the neutral terminal 242 of the second-phase stator winding V and the third-phase stator winding W and flows out from the power supply terminal 241.
[0049] In the information of the designated direction current of the second preset locking mode, the information of the designated direction current of the third-phase stator winding W is that the designated direction current flows in from the power supply terminal 241 of the third-phase stator winding W and flows out from the neutral terminal 242. The information of the designated direction current of the first-phase stator winding U and the second stator winding 24 is that the designated direction current flows in from the second-phase stator winding V and the neutral terminal 242 of the first-phase stator winding U and flows out from the power supply terminal 241.
[0050] In the information of the specified direction current of the third preset locking mode, the information of the specified direction current of the second-phase stator winding V is that the specified direction current flows into the power supply terminal 241 of the second-phase stator winding V and flows out from the neutral terminal 242. The information of the specified direction current of the first-phase stator winding U and the third-phase stator winding 24 is that the specified direction current flows into the neutral terminal 242 of the first-phase stator winding U and the third-phase stator winding W and flows out from the power supply terminal 241.
[0051] Figure 5 The information of the specified direction current of the three preset locking modes shown is Figure 4 The same, no further elaboration here.
[0052] The control device 10 passes the current in the specified direction through the multiple stator windings 24 according to the information of the current in the specified direction, so that each stator winding 24 generates a different magnetic potential, and the different magnetic potentials are synthesized into a synthetic magnetic potential, that is, the multiple stator windings 24 form a synthetic magnetic potential. Under the action of the synthetic magnetic potential, the rotor pole 23 can rotate to a specified position of a preset locking mode. Exemplarily, the specified position can be the first position, the second position, or the third position.
[0053] Step S130: When the rotor magnetic pole rotates to a specified position of a specified locking mode under the action of the synthetic magnetic potential, multiple state information of multiple position sensors is obtained.
[0054] In one embodiment, after a preset time period after the multiple stator windings 24 are supplied with current in a specified direction of a specified locking mode, it is determined that the rotor pole 23 rotates to a specified position of the specified locking mode under the action of the synthetic magnetic potential.
[0055] The position sensor 22 is used to sense the magnetic field strength of the north pole 231. When the magnetic field strength of the north pole 231 is greater than a preset value (the preset value may be zero), the control device 10 determines that the state information of the position sensor 22 is valid (i.e., the state information of the position sensor 22 is 1); when the magnetic field strength of the north pole 231 is less than or equal to the preset value, the control device 10 determines that the state information of the position sensor 22 is invalid (i.e., the state information of the position sensor 22 is 0), thereby obtaining multiple state information of multiple position sensors 22.
[0056] For example, Figure 4 As shown, the plurality of position sensors 22 include a first position sensor HW, a second position sensor HU and a third position sensor HV. The first position sensor HW, the second position sensor HU and the third position sensor HV are respectively arranged on the magnetic potential normal lines of the first phase stator winding U, the second phase stator winding V and the third phase stator winding W. Specifically, they can be outside the motor shaft or on the stator 21 intersecting with the magnetic potential normal line.
[0057] After executing the first preset locking mode, the rotor magnetic pole 23 is located at the first position, the magnetic field strength of the north pole 231 sensed by the first position sensor HW is less than or equal to the preset value, and the control device 10 determines that the state information of the first position sensor HW is valid (i.e., the state information of the first position sensor HW is 1), and the magnetic field strength of the north pole 231 sensed by the second position sensor HU and the third position sensor HV is greater than the preset value, and the control device 10 determines that the state information of the second position sensor HU and the third position sensor HV is invalid (i.e., the state information of the second position sensor HU and the third position sensor HV is 0). In this way, the control device 10 can obtain a set of state information, i.e., the state information of the first position sensor HW is 1, the state information of the second position sensor HU is 0, and the state information of the third position sensor HV is 0.
[0058] Similarly, after executing the second preset locking mode, the control device 10 can obtain a set of status information, that is, the status information of the first position sensor HW is 0, the status information of the second position sensor HU is 0, and the status information of the third position sensor HV is 1. After executing the third preset locking mode, the control device 10 can obtain a set of status information, that is, the status information of the first position sensor HW is 0, the status information of the second position sensor HU is 1, and the status information of the third position sensor HV is 0.
[0059] For example, Figure 5 As shown, the first position sensor HW, the second position sensor HU and the third position sensor HV are respectively arranged on the magnetic potential normal lines of the first phase stator winding U, the second phase stator winding V and the third phase stator winding W, and specifically can be outside the shaft of the motor 20 or on the stator 21 intersecting with the magnetic potential normal lines. Figure 5 according to Figure 4 According to the principle, after executing the first preset locking method, the control device 10 can obtain a set of status information, that is, the status information of the first position sensor HW is 0, the status information of the second position sensor HU is 1, and the status information of the third position sensor HV is 1.
[0060] After executing the second preset locking mode, the control device 10 can obtain a set of status information, that is, the status information of the first position sensor HW is 1, the status information of the second position sensor HU is 1, and the status information of the third position sensor HV is 0.
[0061] After executing the third preset locking mode, the control device 10 can obtain a set of status information, that is, the status information of the first position sensor HW is 1, the status information of the second position sensor HU is 0, and the status information of the third position sensor HV is 1.
[0062] Step S140: Repeat steps S120 (i.e., step a) to S130 (i.e., step b) until all the preset locking modes of the rotor magnetic poles are executed, and determine the correspondence between the multiple stator windings and the multiple position sensors according to the multiple state information of the multiple groups of multiple position sensors corresponding to the multiple preset locking modes and the information of the specified direction current of the corresponding multiple stator windings. After the control device 10 executes the multiple preset locking modes in sequence according to the preset order (i.e., Figure 4 Or 5, after the first preset locking method, the second preset locking method and the third preset locking method are executed in sequence), a set of relevant information corresponding to each preset locking method can be obtained, and a set of relevant information includes multiple status information of multiple position sensors 22, and information on specified direction currents of multiple stator windings 24.
[0063] Through the multiple status information of the multiple position sensors 22 in each group and the information of the specified direction current of the multiple stator windings 24, it is possible to determine a target position sensor having a corresponding relationship with a specified stator winding among the multiple stator windings 24 (the specified stator winding refers to a stator winding 24 in which the specified direction current flows into its power supply terminal 241 and flows out from the neutral terminal 242), that is, the target position sensor has a mapping relationship with the specified stator winding.
[0064] According to this principle, the corresponding relationship between all stator windings 24 and position sensors 22 can be determined through multiple sets of related information corresponding to multiple preset locking modes.
[0065] In the above technical solution, the control device 10 responds to the start instruction, a. according to the specified locking mode of the rotor pole 23, a specified direction current is passed through the multiple stator windings 24, and the multiple stator windings 24 form a synthetic magnetic potential, wherein the specified locking mode is any one of the multiple preset locking modes, and any one of the preset locking modes includes the information of the specified direction current of the multiple stator windings; b. when the rotor pole 23 rotates to the specified position of the specified locking mode under the action of the synthetic magnetic potential, multiple state information of the multiple position sensors 22 is obtained, and then, steps a to b are repeated until the multiple preset locking modes of the rotor pole 23 are all executed. According to the multiple state information of the multiple groups of multiple position sensors 22 corresponding to the multiple preset locking modes, and the corresponding information of the specified direction current of the multiple stator windings 24, the corresponding relationship (i.e., mapping relationship) between the multiple stator windings 24 and the multiple position sensors 22 can be determined, and the method for determining the corresponding relationship is simple and convenient, avoiding the use of trial and error operation method, and avoiding the occurrence of unsafe situations.
[0066] In some embodiments, in step S140, determining the correspondence between the plurality of stator windings and the plurality of position sensors according to the plurality of state information of the plurality of groups of position sensors 22 corresponding to the plurality of preset locking modes and the information of the specified direction current of the corresponding plurality of stator windings includes the following steps: Step S141: determining whether the plurality of status information of the plurality of groups of the plurality of position sensors corresponding to the plurality of preset locking modes all conform to the preset status combination.
[0067] The preset state combination is that the state information of the target position sensor is different from the state information of other position sensors, and the target position sensor is any one position sensor 22 among the multiple position sensors 22 .
[0068] The preset state combination may be that the state information of the target position sensor is 1, and the state information of the other position sensors is 0. The preset state combination may also be that the state information of the target position sensor is 0, and the state information of the other position sensors is 1.
[0069] Step S142: If not, determine that multiple position sensors are abnormal.
[0070] Exemplarily, if in the three preset locking modes, a group of multiple position sensors 22 have multiple status information of 111 (the status information of the three position sensors 22 are all 1) or 000 (the status information of the three position sensors 22 are all 0), it is determined that the preset status combination is not met, and one of the multiple position sensors 22 is abnormal.
[0071] Step S143: If it is true, determine whether the position sensor on the magnetic potential normal line formed by the designated stator winding among the plurality of stator windings 24 is the target position sensor.
[0072] For example, Figure 4 As shown, in the first preset locking mode, the state information of the first position sensor HW to the third position sensor HV is 100, the state information of the multiple position sensors 22 in the second preset locking mode is 001, and the state information of the multiple position sensors 22 in the third preset locking mode is 010. The three preset locking modes all meet the preset state combination that the state information of the target position sensor (any one of the three position sensors 22) is 1, and the state information of the other position sensors is 0, that is, it is determined that the multiple state information of the multiple groups of multiple position sensors 22 corresponding to the three preset locking modes all meet the preset state combination.
[0073] For example, Figure 5As shown, in the first preset locking mode, the state information of the first position sensor HW to the third position sensor HV is 011, the state information of the multiple position sensors 22 in the second preset locking mode is 110, and the state information of the multiple position sensors 22 in the third preset locking mode is 101. The three preset locking modes all meet the preset state combination that the state information of the target position sensor (any one of the three position sensors 22) is 0, and the state information of the other position sensors is 1, that is, it is determined that the multiple state information of the multiple groups of multiple position sensors 22 corresponding to the three preset locking modes all meet the preset state combination.
[0074] The designated stator winding refers to the stator winding 24 whose information of the current in the designated direction meets the preset target designated direction. The preset target designated direction means that the current in the designated direction flows into the power terminal 241 and flows out of the neutral terminal 242. The preset target designated direction is determined according to the preset locking mode. For example, Figure 4 or Figure 5 As shown, in the first preset locking mode, the first phase stator winding U is the designated stator winding. In the second preset locking mode, the third phase stator winding W is the designated stator winding. In the third preset locking mode, the second phase stator winding V is the designated stator winding.
[0075] After determining that the multiple state information of the multiple groups of multiple position sensors 22 corresponding to the three preset locking modes all meet the preset state combination, determine whether the position sensor 22 on the magnetic potential normal line formed by the specified stator windings among the multiple stator windings 24 is the target position sensor.
[0076] Step S144: If it is determined that the position sensor on the magnetic potential normal line formed by the designated stator winding among the multiple stator windings is the target position sensor, it is determined that the multiple position sensors are normal and there is a corresponding relationship between the designated stator winding and the target position sensor.
[0077] For example, Figure 4 As shown, the state information of the target position sensor is 1. In the first preset locking mode, the first-phase stator winding U is the designated stator winding, and if the state information of the first position sensor HW on the magnetic potential normal line formed by the first-phase stator winding U is 1, the first position sensor HW is determined to be the target position sensor, and there is a corresponding relationship between the first-phase stator winding U and the first position sensor HW.
[0078] In the second preset locking method, the third-phase stator winding W is the designated stator winding. If the state information of the third position sensor HV on the magnetic potential normal formed by the third-phase stator winding W is 1, the third position sensor HV is determined to be the target position sensor, and there is a corresponding relationship between the third-phase stator winding W and the third position sensor HV.
[0079] In the third preset locking method, the second-phase stator winding V is the designated stator winding. If the status information of the second position sensor HU on the magnetic potential normal line formed by the second-phase stator winding V is 1, the second position sensor HU is determined to be the target position sensor, and there is a corresponding relationship between the second-phase stator winding V and the second position sensor HU.
[0080] Figure 5 The example shown, according to Figure 4 According to the principle, it can also be determined that there is a corresponding relationship between the first-phase stator winding U and the first position sensor HW, there is a corresponding relationship between the second-phase stator winding V and the second position sensor HU, and there is a corresponding relationship between the third-phase stator winding W and the third position sensor HV. Figure 5 The examples shown are similar to Figure 4 The difference is that Figure 5 The status information of the target position sensor is 0.
[0081] It can be understood that by determining whether multiple status information of multiple groups of multiple position sensors 22 corresponding to multiple preset locking modes all meet the preset state combination, if they meet the preset state combination, analyzing multiple position sensors 22 and multiple stator windings 24, based on the analysis results, the corresponding relationship between the stator windings 24 and the position sensors 22 can be determined.
[0082] It can be understood that, compared with the brushless DC motor Hall phase sequence detection method, the embodiment of the present application can automatically determine whether the position sensor 22 is normal or not, and, as Figure 4 or Figure 5 In the example, after the first preset locking method, the second preset locking method and the third preset locking method are executed in sequence, the corresponding relationship between the stator winding 24 and the position sensor 22 can be determined as long as the rotor pole 23 is locked three times.
[0083] In some embodiments, the corresponding relationship determination method can also determine whether the multiple position sensors 22 are all arranged at the starting ends of the magnetic potential normal lines of the multiple stator windings 24, or at the corresponding ends of the starting ends, that is, the corresponding relationship determination method further includes the following steps: Step S210: If the multiple status information of the multiple groups of multiple position sensors corresponding to the multiple preset locking modes all meet the state information of the target position sensor is invalid, and the state information of other position sensors is valid, it is determined that the multiple position sensors are all set at the starting ends of the magnetic potential normals of the multiple stator windings.
[0084] For example, Figure 5As shown, in the first preset locking mode, the state information of the first position sensor HW to the third position sensor HV is 011, the state information of the plurality of position sensors 22 in the second preset locking mode is 110, and the state information of the plurality of position sensors 22 in the third preset locking mode is 001. The three preset locking modes all meet the condition that the state information of the target position sensor is 1, and the state information of the other position sensors is 0, then it is determined that the first position sensor HW to the third position sensor HV are respectively arranged at the starting end of the magnetic potential normal line of the first phase stator winding U to the third phase stator winding W.
[0085] Step S220: If the multiple status information of the multiple groups of multiple position sensors corresponding to the multiple preset locking modes all meet the state information of the target position sensor and is valid, and the state information of other position sensors is invalid, determine that the multiple position sensors are all set at the corresponding ends of the starting ends of the magnetic potential normals of the multiple stator windings.
[0086] For example, Figure 4 As shown, in the first preset locking mode, the state information of the first position sensor HW to the third position sensor HV is 100, the state information of the plurality of position sensors 22 in the second preset locking mode is 001, and the state information of the plurality of position sensors 22 in the third preset locking mode is 010. The state information of the target position sensors of the three preset locking modes is all 1, and the state information of the other position sensors is all 0, then it is determined that the first position sensor HW to the third position sensor HV are respectively arranged at the corresponding ends of the starting ends of the magnetic potential normal lines of the first phase stator winding U to the third phase stator winding W.
[0087] In some embodiments, in step S110, currents in specified directions are applied to multiple stator windings according to a specified locking mode of the rotor magnetic poles, including: Step S111: according to the designated locking mode of the rotor poles and the information of the designated direction current of the designated stator winding in the designated locking mode, the power supply end of the designated stator winding is connected with the positive terminal of the power supply.
[0088] Step S112: according to the designated locking mode of the rotor poles and the information of the designated direction current of other stator windings in the designated locking mode, the power supply end of other stator windings is connected with the negative end of the power supply.
[0089] Specifically, see Figure 6The control device 10 further includes a port unit 12, which includes a sensor port unit 121 and a stator winding port unit 122. The sensor port unit 121 is used to send the magnetic field strength of multiple position sensors 22 inside the motor 20 to the control unit 11. Among them, the sensor port unit 121 includes a first port hw, a second port hu and a third port hv. The first port hw is connected to the first position sensor HW, the second port hu is connected to the first position sensor hu and the third port hv is connected to the third position sensor hw.
[0090] The stator winding port unit 122 is used to connect or disconnect the multiple stator windings 24 inside the motor 20 and the external power supply 40 of the motor 20 according to the control instruction of the control unit 11. Figure 7 As shown, the stator winding port unit 122 includes a rectifier circuit 31, a filter circuit 32 and an inverter circuit 33. The rectifier circuit 31 is connected to the power supply 40 and is used to convert the AC current of the power supply 40 into a DC current. The filter circuit 32 is used to smooth the DC current. The inverter circuit 33 is used to convert the smoothed DC current into a current in a specified direction according to the control instruction of the control unit 11. The inverter circuit 33 includes a first insulated gate bipolar transistor IGBT1, a third insulated gate bipolar transistor IGBT3 and a fifth insulated gate bipolar transistor IGBT5 respectively connected to the power supply terminal 241 of the stator winding 24 and the positive terminal 41 of the power supply 40, and a second insulated gate bipolar transistor IGBT2, a fourth insulated gate bipolar transistor IGBT4 and a sixth insulated gate bipolar transistor IGBT6 respectively connected to the power supply terminal 241 of the stator winding 24 and the negative terminal 42 of the power supply 40. The gates of the first insulated gate bipolar transistor IGBT1, the third insulated gate bipolar transistor IGBT3, the fifth insulated gate bipolar transistor IGBT5, the second insulated gate bipolar transistor IGBT2, the fourth insulated gate bipolar transistor IGBT4 and the sixth insulated gate bipolar transistor IGBT6 are connected to the control unit 11.
[0091] In one embodiment, the connection between the power supply terminal 241 of the designated stator winding and the positive terminal 41 of the power supply 40 is turned on. Specifically, the positive power switch connected between the power supply terminal 241 of the designated stator winding and the positive terminal 41 of the power supply 40 is closed, and the negative power switch connected between the power supply terminal 241 of the designated stator winding and the positive terminal 41 of the power supply 40 is disconnected. At the same time, the connection between the power supply terminal 241 of other stator windings and the negative terminal 42 of the power supply 40 is turned on. Specifically, the negative power switch connected between the power supply terminal 241 of other stator windings and the positive terminal 41 of the power supply 40 is closed, and the positive power switch connected between the power supply terminal 241 of other stator windings and the positive terminal 41 of the power supply 40 is disconnected.
[0092] Among them, the positive power switch is the first insulated gate bipolar transistor IGBT1, the third insulated gate bipolar transistor IGBT3 or the fifth insulated gate bipolar transistor IGBT5, and the negative power switch is the second insulated gate bipolar transistor IGBT2, the fourth insulated gate bipolar transistor IGBT4 or the sixth insulated gate bipolar transistor IGBT6.
[0093] For example, in combination Figure 4 and Figure 7 In order to execute the first preset locking mode, in which, in the first preset locking mode, the designated stator winding 24 is the first phase stator winding U, and the other stator windings are the second phase stator winding V and the third phase winding, the control unit 11 closes the first insulated gate bipolar transistor IGBT1, the fourth insulated gate bipolar transistor IGBT4 and the sixth insulated gate bipolar transistor IGBT6, and disconnects the second insulated gate bipolar transistor IGBT2, the third insulated gate bipolar transistor IGBT3 and the fifth insulated gate bipolar transistor IGBT5 according to the information of the designated direction current of the first phase stator winding U (the designated stator winding) (the current flows into the power supply terminal 241 of the first phase stator winding U and flows out from the neutral terminal 242), and the information of the designated direction current of the second phase stator winding V and the third phase stator winding W (the current flows into the neutral terminal 242 of the second phase stator winding V and the third phase stator winding W and flows out from the power supply terminal 241). Similarly, in order to execute the second preset locking mode, the second insulated gate bipolar transistor IGBT2, the fourth insulated gate bipolar transistor IGBT4 and the fifth insulated gate bipolar transistor IGBT5 are closed, and the first insulated gate bipolar transistor IGBT1, the third insulated gate bipolar transistor IGBT3 and the sixth insulated gate bipolar transistor IGBT6 are disconnected. In order to execute the third preset locking mode, the second insulated gate bipolar transistor IGBT2, the third insulated gate bipolar transistor IGBT3 and the sixth insulated gate bipolar transistor IGBT6 are closed, and the first insulated gate bipolar transistor IGBT1, the fourth insulated gate bipolar transistor IGBT4 and the fifth insulated gate bipolar transistor IGBT5 are disconnected.
[0094] Figure 5 The three preset lock modes shown are controlled in the same way as Figure 4 The same, no further elaboration here.
[0095] In some embodiments, the corresponding relationship determination method further includes: generating a start instruction in response to an input operation of an operator. The input operation may be inputting the magnitude of a current in a specified direction. Figure 6As shown, the control device 10 further includes an input unit 13, which is used to generate a start instruction in response to an input operation of an operator, and send the start instruction to the control unit 11. The control device 10 is also used to send the status information of the position sensor 22 and the information of the current in the specified direction of the stator winding 24 to the input unit 13 for the operator to view.
[0096] In some embodiments, the corresponding relationship determination method further includes: if the magnitude of the current in the specified direction is inconsistent with the magnitude of the preset reference current, adjusting the magnitude of the current in the specified direction to be consistent with the preset reference current. Figure 6 As shown, the control device 10 also includes a current loop operation control unit 14 and a current sampling unit 15. The current sampling unit 15 is used to sense the current signal of the specified direction current of the multiple stator windings 24, convert the current signal into a digital signal, the digital signal indicates the size of the specified direction current, and send it to the current loop operation control unit 14. The current loop operation control unit 14 is also used to generate an adjustment trigger signal if the specified direction current is inconsistent with the preset reference current size. The control unit 11 is also used to adjust the size of the specified direction current to be consistent with the preset reference current according to the adjustment trigger signal. Specifically, the principle block diagram of the current loop operation control unit 14 and the control unit 11 adjusting the size of the specified direction current is shown as follows. Figure 8 As shown, the current loop operation control unit 14 receives the magnitudes of the specified direction currents of the first phase stator winding U, the second phase stator winding V and the third phase stator winding W (i.e., IU, IV and IW) of the three stator windings 24, and obtains the average value I of the specified direction currents of the three stator windings 24. fbd , that is, the average I fbd =(abs(IU)+abs(IV)+abs(IW)). In which, since the current of one phase in the three stator windings 24 at any time is the sum of the currents of the other two phases, the current in the specified direction is the current of this phase, so it is divided by 2. ( Figure 8 The average value obtaining step of the current loop operation control unit 14 is represented by an operational amplifier. Then, the preset reference current I ref The average value of the current in the specified direction I fbd ( Figure 8 The comparison step of the current loop operation control unit 14 is represented by a comparator). If the specified direction current is inconsistent with the preset reference current, an adjustment trigger signal is generated. The control unit 11 generates an adjustment signal Vout according to the adjustment trigger signal. The adjustment signal Vout indicates that the specified direction current of the corresponding magnitude is passed to the three stator windings 24 ( Figure 8 The control unit 11 generates the adjustment signal Vout according to the trigger signal using a PI controller. Then, a PWM signal is generated according to the adjustment signal ( Figure 8The PWM module represents the step of generating a PWM signal according to the adjustment signal of the control unit 11), and sends the PWM signal to the positive power switch and the negative power switch to control the closing and opening of the positive power switch and the negative power switch.
[0097] It can be understood that by adjusting the magnitude of the current in the specified direction to be consistent with the preset reference current, the rotor pole 23 can be rotated to the specified position more accurately.
[0098] In summary, after determining the corresponding relationship between the multiple stator windings 24 and the multiple position sensors 22 , the following Table 1 can be obtained. Table 1 reflects the circuit control method corresponding to the state information of the multiple position sensors 22 .
[0099] Table 1
[0100] In Table 1, Upositive is used as an example, where Upositive represents the connection between the power supply terminal 241 of the first-phase stator winding U and the positive terminal 41 of the power supply 40, and the connection between the power supply terminal 241 of the second-phase stator winding V and the third-phase stator winding W and the negative terminal 42 of the power supply 40.
[0101] In some embodiments, after determining the correspondence between the multiple stator windings and the multiple position sensors, the method further includes: controlling the operation of the motor based on the correspondence between the multiple stator windings and the multiple position sensors and a preset motor commutation table.
[0102] It is understandable that after determining the correspondence between the multiple stator windings 24 and the multiple position sensors 22, the motor 20 can be directly controlled to work according to the preset motor commutation table of the control unit 11, without having to make a motor commutation table. Specifically, the motor commutation table is shown in Table 2 below.
[0103] Table 2
[0104] Specifically, the control device 10 determines the position of the rotor pole 23 according to the current state information of the multiple position sensors 22. Then, according to the forward or reverse control instruction and Table 2, the negative power switch or positive power switch corresponding to the current state information of the multiple position sensors 22 is controlled to close.
[0105] See also Figure 2 , 4 and 7. The following is an application scenario diagram of a control system to further explain the working principle of the control system.
[0106] First, multiple position sensors 22 and multiple stator windings 24 are connected to the port unit 12 of the control device 10, and the connection order is not limited.
[0107] Secondly, the input unit 13 of the control device 10 generates a start instruction in response to the input operation of the operator inputting the magnitude of the current in the specified direction. In response to the start instruction, the control unit 11 of the control device 10 controls the first insulated gate bipolar transistor IGBT1, the fourth insulated gate bipolar transistor IGBT4 and the sixth insulated gate bipolar transistor IGBT6 in the port unit 12 to close, and disconnect the second insulated gate bipolar transistor IGBT2, the third insulated gate bipolar transistor IGBT3 and the fifth insulated gate bipolar transistor IGBT5 according to the information of the current in the specified direction of the first phase stator winding U (specified stator winding), the second phase stator winding V and the third phase three stator winding W (other stator windings) in the first preset locking mode. When the rotor pole 23 rotates to the first position, the state information of the first position sensor HW to the third position sensor HV is obtained (100).
[0108] Next, the control unit 11 controls the second insulated gate bipolar transistor IGBT2, the fourth insulated gate bipolar transistor IGBT4 and the fifth insulated gate bipolar transistor IGBT5 in the port unit 12 to close, and disconnects the first insulated gate bipolar transistor IGBT1, the third insulated gate bipolar transistor IGBT3 and the sixth insulated gate bipolar transistor IGBT6 according to the information of the current in the specified direction of the first phase stator winding U, the second phase stator winding V and the third phase stator winding 24 in the second preset locking mode. When the rotor pole 23 rotates to the second position, the state information of the first position sensor HW to the third position sensor HV is obtained (001).
[0109] The control unit 11 controls the second insulated gate bipolar transistor IGBT2, the third insulated gate bipolar transistor IGBT3 and the sixth insulated gate bipolar transistor IGBT6 in the port unit 12 to close, and disconnects the first insulated gate bipolar transistor IGBT1, the fourth insulated gate bipolar transistor IGBT4 and the sixth insulated gate bipolar transistor IGBT6 according to the information of the current in the specified direction of the first phase stator winding U, the second phase stator winding V (specified stator winding) and the third phase stator winding 24 in the third preset locking mode. When the rotor pole 23 rotates to the third position, the state information of the first position sensor HW to the third position sensor HV is obtained (010).
[0110] Next, the control unit 11 determines that the three preset locking modes all meet the preset state combination in which the state information of the target position sensor (any one of the three position sensors 22) is 1, and the state information of the other position sensors is 0. That is, it is determined that the multiple state information of the multiple groups of multiple position sensors 22 corresponding to the three preset locking modes all meet the preset state combination.
[0111] After determining that the preset state is met, according to the first preset locking method, the state information of the first position sensor HW on the magnetic potential normal line formed by the first phase stator winding U is 1, and the first position sensor HW is determined to be the target position sensor, and there is a corresponding relationship between the first phase stator winding U and the first position sensor HW.
[0112] And, according to the second preset locking method, the third-phase stator winding W is the designated stator winding, the state information of the third position sensor HV on the magnetic potential normal formed by the third-phase stator winding W is 1, the third position sensor HV is determined to be the target position sensor, and there is a corresponding relationship between the third-phase stator winding W and the third position sensor HV.
[0113] And, according to the third preset locking method, the second-phase stator winding V is the designated stator winding, the state information of the second position sensor HU on the magnetic potential normal line formed by the second-phase stator winding V is 1, the second position sensor HU is determined to be the target position sensor, and there is a corresponding relationship between the second-phase stator winding V and the second position sensor HU.
[0114] The present application also provides a control device, such as Figure 6 and Figure 7 As shown, the control device 10 includes a control unit 11. The control unit 11 is used to respond to the start instruction, a. According to the designated locking mode of the rotor magnetic pole 23, a current in a designated direction is passed through the multiple stator windings 24, and the multiple stator windings 24 form a synthetic magnetic potential, wherein the designated locking mode is any one of a plurality of preset locking modes, and any one of the preset locking modes includes information on the current in the designated direction of the multiple stator windings 24; b. When the rotor pole 23 rotates to a specified position of a specified locking mode under the action of the synthetic magnetic potential, multiple state information of multiple position sensors 22 is obtained; Repeat steps a to b until multiple preset locking methods of the rotor pole 23 are executed, and determine the correspondence between the multiple stator windings 24 and the multiple position sensors 22 based on the multiple status information of the multiple groups of multiple position sensors 22 corresponding to the multiple preset locking methods, and the corresponding information of the specified direction current of the multiple stator windings 24.
[0115] In some embodiments, the control unit 11 is further used to determine whether multiple state information of multiple groups of multiple position sensors 22 corresponding to multiple preset locking modes all conform to a preset state combination. The preset state combination is that the state information of the target sensor in the multiple position sensors 22 is different from the state information of the target position sensor, and the target sensor is any one of the multiple position sensors 22; If not, it is determined that the plurality of position sensors 22 are abnormal; If yes, determine whether the position sensor 22 on the magnetic potential normal line formed by the specified stator winding among the multiple stator windings 24 is the target position sensor, wherein the specified stator winding refers to the stator winding 24 whose information of the current in the specified direction meets the preset target specified direction; If it is determined that the position sensor 22 on the magnetic potential normal line formed by the designated stator winding among the multiple stator windings 24 is the target position sensor, it is determined that the multiple position sensors 22 are normal, and there is a corresponding relationship between the designated stator winding and the target position sensor.
[0116] In some embodiments, the control unit 11 is further used to determine that the multiple position sensors 22 are all arranged at the starting ends of the magnetic potential normal lines of the multiple stator windings 24 if the multiple state information of the multiple groups of multiple position sensors 22 corresponding to the multiple preset locking modes all meet the state information of the target position sensor as valid, and the state information of the target position sensor is invalid; If the multiple status information of the multiple groups of multiple position sensors 22 corresponding to the multiple preset locking modes all meet the state information of the target position sensor being invalid and the state information of the target position sensor being valid, it is determined that the multiple position sensors 22 are all set at the corresponding ends of the starting end.
[0117] In some embodiments, the control unit 11 is also used to connect the power supply terminal 241 of the specified stator winding with the positive terminal 41 of the power supply 40 according to the information of the specified direction current of the specified stator winding in the specified locking mode; and to connect the power supply terminal 241 of other stator windings with the negative terminal 42 of the power supply 40 according to the information of the specified direction current of other stator windings in the specified locking mode.
[0118] In some embodiments, the control unit 11 is further configured to close the positive power switch connected between the power supply terminal 241 of the designated stator winding and the positive terminal 41 of the power supply 40, and to open the negative power switch connected between the power supply terminal 241 of the designated stator winding and the positive terminal 41 of the power supply 40; and The negative power switch connected between the power supply end 241 of the other stator winding and the positive terminal 41 of the power supply 40 is closed, and the positive power switch connected between the power supply end 241 of the other stator winding and the positive terminal 41 of the power supply 40 is opened.
[0119] In some embodiments, the control unit 11 is further used to control the operation of the motor 20 based on the correspondence between the multiple stator windings 24 and the multiple position sensors 22, and a preset commutation table of the motor 20.
[0120] In some embodiments, the control unit 11 is also used to determine that the rotor pole 23 rotates to a specified position of a specified locking mode under the action of a synthetic magnetic potential after a preset time period after a plurality of stator windings 24 are supplied with a current of a specified direction of a specified locking mode.
[0121] In some embodiments, the control device 10 further includes an input unit 13, which is used to generate a start instruction in response to an input operation of an operator, and send the start instruction to the control unit 11. The control device 10 is also used to send the status information of the position sensor 22 and the information of the current in the specified direction of the stator winding 24 to the input unit 13 for the operator to view. In some embodiments, the control device 10 further includes a port unit 12, which includes a sensor port unit 121 and a stator winding port unit 122. The sensor port unit 121 is used to send the magnetic field strength of multiple position sensors 22 inside the motor 20 to the control unit 11, wherein the sensor port unit 121 includes a first port hu, a first port hv and a third port hw, and the first port hu, the first port hv and the third port are respectively connected to the first position sensor HU, the second position sensor HV and the third position sensor HW. The stator winding port unit 122 is used to connect or disconnect the multiple stator windings 24 inside the motor 20 and the external power supply 40 of the motor 20 according to the control instruction of the control unit 11. The stator winding port unit 122 includes a first interface u, a second interface v and a third interface w. The first interface u, the second interface v and the third interface w are respectively connected to the first stator winding U, the second stator winding V and the third stator winding W.
[0122] like Figure 7As shown, the stator winding port unit 122 includes a rectifier circuit 31, a filter circuit 32 and an inverter circuit 33. The rectifier circuit 31 is connected to the power supply 40 and is used to convert the AC current of the power supply 40 into a DC current. The filter circuit 32 is used to smooth the DC current. The inverter circuit 33 is used to convert the smoothed DC current into a current in a specified direction according to the control instruction of the control unit 11. The inverter circuit 33 includes a first insulated gate bipolar transistor IGBT1, a third insulated gate bipolar transistor IGBT3 and a fifth insulated gate bipolar transistor IGBT5 respectively connected to the power supply terminal 241 of the stator winding 24 and the positive terminal 41 of the power supply 40, and a second insulated gate bipolar transistor IGBT2, a fourth insulated gate bipolar transistor IGBT4 and a sixth insulated gate bipolar transistor IGBT6 respectively connected to the power supply terminal 241 of the stator winding 24 and the negative terminal 42 of the power supply 40. The gates of the first insulated gate bipolar transistor IGBT1, the third insulated gate bipolar transistor IGBT3, the fifth insulated gate bipolar transistor IGBT5, the second insulated gate bipolar transistor IGBT2, the fourth insulated gate bipolar transistor IGBT4 and the sixth insulated gate bipolar transistor IGBT6 are connected to the control unit 11. Figure 7 For components not mentioned, please refer to the explanation of related technologies.
[0123] The control device 10 also includes a current loop operation control unit 14 and a current sampling unit 15. The current sampling unit 15 is used to sense the current signal of the specified direction current of multiple stator windings 24 and convert the current signal into a digital signal. The digital signal indicates the size of the specified direction current of the multiple stator windings 24 and sends it to the current loop operation control unit 14; the current loop operation control unit 14 is used to generate an adjustment trigger signal if the size of the specified direction current of the multiple stator windings 24 is inconsistent with the preset reference current; the control unit 11 is also used to adjust the size of the specified direction current to be consistent with the preset reference current according to the adjustment trigger signal.
[0124] The control device provided in this embodiment is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principle and technical effects are similar and will not be repeated here.
[0125] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0126] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for determining the correspondence between a stator winding of a motor and a position sensor, applied to a control device, characterized in that: The electric machine includes rotor poles, a plurality of stator windings and a plurality of position sensors, and the method includes, In response to the start command, a. According to the designated locking mode of the rotor magnetic poles, the plurality of stator windings are supplied with current in a designated direction, so that the plurality of stator windings form a synthetic magnetic potential, wherein the designated locking mode is any one of a plurality of preset locking modes, and the any one of the preset locking modes includes information of the current in a designated direction of the plurality of stator windings; b. When the rotor magnetic pole rotates to the specified position of the specified locking mode under the action of the synthetic magnetic potential, obtaining multiple state information of the multiple position sensors; Repeat steps a to b until the multiple preset locking methods of the rotor poles are all executed, and determine the correspondence between the multiple stator windings and the multiple position sensors based on the multiple status information of the multiple groups of the multiple position sensors corresponding to the multiple preset locking methods, and the corresponding information of the specified direction current of the multiple stator windings.
2. The method according to claim 1, characterized in that: Determining the correspondence between the plurality of stator windings and the plurality of position sensors according to the plurality of status information of the plurality of groups of the plurality of position sensors corresponding to the plurality of preset locking modes and the corresponding information of the specified direction current of the plurality of stator windings includes: Determine whether the multiple state information of the multiple groups of the multiple position sensors corresponding to the multiple preset locking modes all conform to a preset state combination, wherein the preset state combination is that the state information of a target sensor among the multiple position sensors is different from the state information of other position sensors, and the target sensor is any one position sensor among the multiple position sensors; If not, determining that the plurality of position sensors are abnormal; If yes, determining whether a position sensor on a magnetic potential normal line formed by a specified stator winding among the multiple stator windings is the target position sensor, wherein information that the specified stator winding is a stator winding with a current in a specified direction that meets a preset target specified direction; If it is determined that the position sensor on the magnetic potential normal line formed by a specified stator winding among the multiple stator windings corresponding to each of the multiple preset locking modes is the target position sensor, it is determined that the multiple position sensors are normal, and there is a corresponding relationship between the specified stator winding and the target position sensor.
3. The method according to claim 2, characterized in that The method further comprises, If the multiple status information of the multiple groups of the multiple position sensors corresponding to the multiple preset locking modes all meet the condition that the status information of the target position sensor is invalid, and the status information of other position sensors is valid, it is determined that the multiple position sensors are all arranged at the starting ends of the magnetic potential normal lines of the multiple stator windings; If the multiple status information of the multiple groups of the multiple position sensors corresponding to the multiple preset locking methods all meet the status information of the target position sensor and are valid, and the status information of the other position sensors is invalid, it is determined that the multiple position sensors are all set at the corresponding ends of the starting end.
4. The method according to claim 1, characterized in that: The multiple stator windings include a designated stator winding and other stator windings, the designated stator winding and the other stator windings both include a neutral end and a power supply end connected to a power supply, and the current in a designated direction is applied to the multiple stator windings according to the designated locking mode of the rotor magnetic poles, including: According to the information of the current in the specified direction of the specified stator winding in the specified locking mode of the rotor magnetic pole, connecting the power supply end of the specified stator winding with the positive terminal of the power supply; According to the information of the current in the designated direction of the other stator windings in the designated locking mode of the rotor poles, the power supply end of the other stator windings is connected to the negative terminal of the power supply.
5. The method according to claim 4, characterized in that: The connection between the power supply terminal of the designated stator winding and the positive terminal of the power supply includes: Closing the positive power switch connected between the power supply end of the designated stator winding and the positive terminal of the power supply, and disconnecting the negative power switch connected between the power supply end of the designated stator winding and the positive terminal of the power supply; The connection between the power supply terminal for conducting the other stator windings and the negative terminal of the power supply includes: The negative power switch connected between the power supply end of the other stator winding and the positive terminal of the power supply is closed, and the positive power switch connected between the power supply end of the other stator winding and the positive terminal of the power supply is opened.
6. The method according to claim 1, characterized in that After determining the correspondence between the plurality of stator windings and the plurality of position sensors, the method further comprises: The operation of the motor is controlled based on the correspondence between the multiple stator windings and the multiple position sensors, and a preset motor commutation table.
7. The method according to claim 1, characterized in that The method also includes that the multiple preset locking modes are three preset locking modes.
8. A control device, characterized in that: The motor comprises a rotor pole, a plurality of stator windings and a plurality of position sensors, the control device comprises a control unit, the control unit is used to respond to a start instruction, a. According to the designated locking mode of the rotor magnetic poles, the plurality of stator windings are supplied with current in a designated direction, so that the plurality of stator windings form a synthetic magnetic potential, wherein the designated locking mode is any one of a plurality of preset locking modes, and the any one of the preset locking modes includes information of the current in a designated direction of the plurality of stator windings; b. When the rotor magnetic pole rotates to the specified position of the specified locking mode under the action of the synthetic magnetic potential, obtaining multiple state information of the multiple position sensors; Repeat steps a to b until the multiple preset locking methods of the rotor poles are all executed, and determine the correspondence between the multiple stator windings and the multiple position sensors based on the multiple status information of the multiple groups of the multiple position sensors corresponding to the multiple preset locking methods, and the corresponding information of the specified direction current of the multiple stator windings.
9. The control device according to claim 8, characterized in that The control device also includes a current loop operation control unit and a current sampling unit. The current sampling unit is used to sense the current signal of the current in the specified direction of the multiple stator windings, and convert the current signal into a digital signal, the digital signal indicates the magnitude of the current in the specified direction of the multiple stator windings, and sends it to the current loop operation control unit; The current loop operation control unit is used to generate an adjustment trigger signal if the magnitude of the current in the specified direction of the multiple stator windings is inconsistent with the preset reference current; The control unit is further configured to adjust the magnitude of the current in the specified direction to be consistent with a preset reference current according to the adjustment trigger signal.
10. A motor control system, characterized in that: The control system comprises a motor and a control device as described in any one of claims 8 to 9.
