The present disclosure generally relates to a motor control, and more particularly relates to systems and methods for controlling brushless motors.
Brushless motor designs have numerous advantages over brushed motor designs. For example, brushless motor designs typically have a higher torque to weight ratio, more torque per watt (increased efficiency), increased reliability, reduced noise, longer lifetime (no brush and commutator erosion), eliminate ionizing sparks from the commutator, and overall have reduction of electromagnetic interference (EMI) when compared to brushed motor designs. Furthermore, with no windings on the rotor, brushless motors are not subjected to centrifugal forces, brushless motor designs can be cooled by conduction and brushless motor designs require no airflow inside the motor for cooling.
Fine motor control of a brushless motor, however, can be more complicated than brushed motor designs. Some brushless motor designs will use a resolver for fine motor control. However, resolvers can be costly in both weight and price.
In one embodiment, for example, a system for controlling a permanent magnet brushless motor is provided. The system may include, but is not limited to, at least one Hall effect sensor mounted proximate to the permanent magnet brushless motor and configured to generate data at each Hall effect event, the Hall effect event comprising a pole of the permanent magnet brushless motor passing one of the at least one Hall effect sensors, and a processor communicatively coupled to the at least one Hall effect sensor, the processor configured to determine, aperiodically upon detection of each Hall effect event, a sampled angular rate of the permanent magnet brushless motor, determine, aperiodically upon detection of each Hall effect event, a sampled electrical position of the permanent magnet brushless motor, determine, aperiodically upon detection of each Hall effect event, a previous estimated electrical position of the permanent magnet brushless motor, determine, aperiodically upon detection of each Hall effect event, an electrical position error comprising a difference between the sampled electrical position of the permanent magnet brushless motor and the previous estimated electrical position of the permanent magnet brushless motor, determine, aperiodically upon detection of each Hall effect event, an angular rate correction factor comprising the determined electrical position error multiplied by a predetermined gain, determine, periodically at a predetermined frequency, a new estimated electrical position of the permanent magnet brushless motor based upon the sampled angular rate of the permanent magnet brushless motor and the determined angular rate correction factor, and generate, periodically at the predetermined frequency, a field oriented control signal for the permanent magnet brushless motor based upon the new estimated electrical position of the permanent magnet brushless motor.
In another embodiment, for example, a method for controlling a permanent magnet brushless motor is provided. The method includes, but is not limited to, determining, by a processor, an angular rate of the permanent magnet brushless motor aperiodically at each Hall effect event detected by a Hall effect sensor based upon data from the Hall effect sensor, determining, by the processor, an angular rate correction factor aperiodically at each Hall effect event detected by the Hall effect sensor based upon the data from the Hall effect sensor, determining, by the processor, a new estimated electrical position of the permanent magnet brushless motor periodically at a predetermined frequency based upon the determined angular rate of the permanent magnet brushless motor and the determined angular rate correction factor, and generating, by the processor, a field oriented control signal for the permanent magnet brushless motor based upon the new estimated electrical position of the permanent magnet brushless motor periodically at the predetermined frequency.
In another embodiment, for example, a system for controlling a permanent magnet brushless motor is provided. The system may include, but is not limited to, at least one Hall effect sensor mounted proximate to the permanent magnet brushless motor and configured to generate data at each Hall effect event, and a processor communicatively coupled to the at least one Hall effect sensor, the processor configured to determine, aperiodically at each Hall effect event, an angular rate of the permanent magnet brushless motor and a determined angular rate correction factor based upon the generated data, determine, periodically at a predetermined frequency, a new estimated electrical position of the permanent magnet brushless motor based upon the determined angular rate of the permanent magnet brushless motor and the determined angular rate correction factor, and generate, periodically at the predetermined frequency, a field oriented control signal for the permanent magnet brushless motor based upon the new estimated electrical position of the permanent magnet brushless motor.
The detailed description will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and wherein:
The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. As used herein, the word “exemplary” means “serving as an example, instance, or illustration.” Thus, any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments. All of the embodiments described herein are exemplary embodiments provided to enable persons skilled in the art to make or use the invention and not to limit the scope of the invention which is defined by the claims. Furthermore, there is no intention to be bound by any expressed or implied theory presented in the preceding technical field, background, brief summary, or the following detailed description.
In accordance with an embodiment, a system and method for controlling a brushless motor is provided. The system and method provide fine (i.e., accurate) control of the brushless motor at a lower cost and less weight than designs that utilize resolvers. As discussed in further detail below, data from Hall effect sensors are utilized by the system and method to accurately control the brushless motor.
The stator 130 includes at least one stator coil 135. While
The control system 100 includes at least one Hall effect sensor 140 and a controller 150. As seen in
While
Furthermore, the number of permanent magnets 125 and the number of Hall effect sensors 140 can affect the electrical spacing of the Hall effect sensors 140, and, thus, the granularity of the system. For example, if the rotor 120 in
In the example illustrated in
The controller 150 includes at least one processor. The processor(s) may be, for example, a central processing unit (CPU), a physics processing unit (PPU), a graphics processing unit (GPU), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a microcontroller, or any other logic unit or combination thereof.
The controller 150 may include a memory 160 or be communicatively coupled to a separate memory 160 via a communication bus. The memory 160 may be any combination of volatile and non-volatile memory. The memory 160 may store non-transitory computer readable instructions for operating the control system 100, as discussed in further detail below.
The aperiodic control 210 includes processes performed by the controller 150 after each Hall effect event, that is, after hall signal transition is detected at each Hall effect sensor 140. As discussed above, a Hall effect event occurs when a Hall effect sensor 140 detects a magnetic pole transition. In the embodiment illustrated in
The periodic control 220, in contrast, may be performed at fixed intervals. In one embodiment, for example, the periodic processes 220 may be performed at frequency of twenty kilohertz. However, the frequency of the periodic processes 220 can vary depending upon the expected rotational speed of the rotor 120, a desired granularity of control of the rotor 120, and based on the desired bandwidth of the motor current loop. The current loop bandwidth affects the required current loop sample period. The periodic control 220 occurs at a higher frequency than the aperiodic control 210. As discussed in further detail below, the periodic control 220 generates field oriented control commands for the brushless motor 110. As the periodic control commands are generated periodically at a frequency greater than a frequency of the aperiodic control 210 which are performed at each Hall effect event, the control commands are generated multiple times between each Hall effect event, thereby providing fine motor control for the brushless motor 110. Furthermore, the position feedback used for commanding the motor electric field is also updated for every motor control update.
In one embodiment, for example, the periodically generated field oriented control signals may only be sent when a rotational speed of the rotor 120 is above a predetermined threshold. When the rotational speed of the rotor 120 is very low, there may not be enough data points (i.e., Hall events) to effectively determine rotor a fine rotor position between hall sensors. Accordingly, the controller 150 may only use fine rotor position signals for motor control when a frequency of the Hall events is above a threshold. Below the threshold, the controller may use the coarse sixty electrical degree resolution. The threshold will vary depending upon the number of permanent magnets 125 and Hall effect sensors 140 in the system.
The aperiodic processes include determining, by the controller 150, an angular rate of the rotor 120 of the brushless motor 110 at each Hall event. (Step 230). In one embodiment, for example, the controller 150 may determine the angular rate (i.e., speed) of the rotor 120 based upon the time between consecutive Hall events and an angular distance between the one or more Hall effect sensors 140. The controller 150 may store the determined angular rate in the memory 160 for later reference, as discussed in further detail below. One system and method for determining the angular rate of the rotor is described in U.S. application Ser. No. 15/622,915, where is incorporated by reference herein.
The controller 150, aperiodically upon each Hall event, also determines an electrical position of the rotor 120 of the brushless motor 110. (Step 240). In the example illustrated in
The controller 150, aperiodically upon each Hall event, determines a previous estimated electrical position of the rotor 120 of the brushless motor 110. (Step 250). As discussed in further detail below, the controller 150 periodically determines an estimated electrical position of the rotor 120 of the brushless motor 110 as part of the periodic control 220 cycle. The estimated position may be stored, for example, in the memory 160 and may be retrieved by the controller 150.
The controller 150, aperiodically upon each Hall event, then determines a electrical position error of the previously estimated electrical position of the rotor 120 determined in Step 250. (Step 260). The electrical position error may be calculated, for example, by determining the difference between the electrical position of the rotor 120 determined in Step 240 and the previously estimated electrical position of the rotor 120 determined in Step 250. (Step 260). In one embodiment, for example, the controller 150 may subtract the previously estimated electrical position of the rotor 120 determined in Step 250 from the electrical position of the rotor 120 determined in Step 240.
The controller 150, aperiodically upon each Hall event, then determines an angular rate correction factor based upon the determined position error. (Step 270). As discussed in further detail below, the controller 150 uses the determined angular rate correction factor when determining an estimated electrical position of the rotor 120 in the periodic control 220. In one embodiment, for example, the controller 150 may determine the angular rate correction factor by multiplying the determined position error from Step 260 with by a predetermined gain. The predetermined gain controls how fast the controller 150 attempts to correct the position error determined in Step 260. The larger the gain, the quicker the controller 150 attempts to correct the determined position error. The controller 150 may store the angular rate correction factor in the memory 160 for later reference, as discussed in further detail below. In one embodiment, for example, the controller 150 may account for field oriented control signals when determining the gain. For example, if the field oriented control signals are speeding up the rotor 120, the controller may increase the gain, either linearly or non-linearly, based upon the rate at which the speed of the rotor is increasing. Likewise, when the field oriented controls are slowing the rotor 120, the controller may reduce the gain, either linearly or non-linearly, based upon the rate at which the speed of the rotor is decreasing.
The periodic control processes 220 include determining, by the controller 150, a new estimated electrical position of the rotor 120 based upon the previously estimated position, the determined angular rate of the motor from Step 230 and the determined angular rate correction factor from Step 270. (Step 280). In one embodiment, for example, the new estimated position is calculated by determining an integral of an angular distance, the angular distance being the distance the rotor 120 would travel over a period of time between Hall effect events, divided by the period of time between Hall effect events (i.e, ∫Δd/Δt dt). This result is added with the angular rate correction factor from Step 270 to the previously determined estimated electrical position to determine the new estimated electrical position of the rotor 120.
As illustrated in
The controller 150, or another processor communicatively coupled to the controller 150, then uses this new estimated electrical position to generate a field oriented control signal for controlling the rotor 120. (Step 290). The field oriented control includes instructions for generating a magnetic field based upon the new estimated position calculated from Step 280. The magnetic field, when generated, controls the speed and direction of the rotor 120. In one embodiment, the magnetic field is generated, using the stator coils 135, at a position ninety degrees ahead of the electrical position of the rotor 120. Accordingly, by accurately estimating the position of the rotor 120 between Hall events, the field oriented controls can more accurately generate the electric field as close to ninety degrees ahead of the electrical position of the rotor 120 as possible.
One benefit of determining the rotor position in this manner is that fine motor control can be achieved using relatively few Hall effect sensors. Furthermore, because the angular rate correction factor determined in Step 270 is used as input to the new electrical position estimation calculation rather than the actual electrical position of the rotor 120 determined in Step 240, the position estimator catches up to the correct electrical position gradually though each flow of the periodic processes 220. This allows for a smooth correction of the field oriented control to the correct electrical position rather than a sudden change, which eliminates torque ripple in the control of the brushless motor 110 often found in traditional brushless motor designs.
While at least one exemplary embodiment has been presented in the foregoing detailed description of the invention, it should be appreciated that a vast number of variations exist. It should also be appreciated that the exemplary embodiment or exemplary embodiments are only examples, and are not intended to limit the scope, applicability, or configuration of the invention in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing an exemplary embodiment of the invention. It being understood that various changes may be made in the function and arrangement of elements described in an exemplary embodiment without departing from the scope of the invention as set forth in the appended claims.
| Number | Date | Country | |
|---|---|---|---|
| 62443138 | Jan 2017 | US |