Method for controlling brushless permanent magnet motor
By measuring and adjusting the input power and excitation time parameters of the brushless permanent magnet motor to ensure that it reaches peak operating efficiency and speed at a given input power, it solves the problem of difficulty in achieving efficiency and speed in the existing technology and simplifies the control process. device needs.
Patent Information
- Application Number
- CN201980076821.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-11-22
- Filing Date
- 2019-10-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2039-10-16
AI Technical Summary
It is difficult for existing brushless permanent magnet motors to achieve peak operating efficiency and speed at a given input power, and relying on lookup tables or equations to determine excitation time parameters is complex, increasing the burden on the control processor.
By measuring the input power of the motor, applying a first calibration factor to match the target input power, and using a second calibration factor to adjust the excitation time parameter to vary the motor speed, ensuring the motor is operating at or near peak speed, reducing the need for lookup tables or The dependence of Eq.
Maximum efficiency operation of the motor at a given target input power is achieved, simplifying control processor requirements, reducing end-of-line calibration requirements during manufacturing, and optimizing the motor's control parameters.
Smart Images

Figure CN113169686B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for controlling a brushless permanent magnet motor. Background Art
[0002] A brushless permanent magnet motor comprises a phase winding which is excited by a power supply so that a magnetic field induced in the winding drives the rotation of the rotor of the motor. Commutation of the phase winding occurs relative to the zero crossing of the back electromotive force induced in the winding, and it is known to advance the commutation of the winding by a so-called advance angle so that commutation of the winding occurs before the zero crossing of the back electromotive force induced in the winding. The phase current is driven into the phase winding for a period of time generally referred to as the on-period, or for a predetermined period ratio referred to as the duty cycle.
[0003] It has been previously proposed to utilize a lookup table to determine the desired advance angle, on-period, and duty cycle. Summary of the invention
[0004] According to a first aspect of the present invention, a method for controlling a brushless permanent magnet motor is provided, the method comprising: measuring the input power of the motor; comparing the measured input power with a target input power; applying a first calibration factor to an excitation time parameter of the motor so that the measured input power substantially matches the target input power; applying a second calibration factor to the excitation time parameter to change the speed of the motor; and exciting the motor according to the excitation time parameter.
[0005] The method according to the invention may in principle be advantageous because the method comprises applying a first calibration factor to an excitation time parameter of the motor so that a measured input power substantially matches a target input power; applying a second calibration factor to the excitation time parameter to change the speed of the motor and exciting the motor according to the excitation time parameter.
[0006] In particular, for a brushless permanent magnet motor operating, for example, as a fan or compressor, peak operating efficiency may occur when the motor is operated at its peak speed at a given input power. Applying a first calibration factor to the excitation time parameter can ensure that the motor is operated at a target input power, while applying a second calibration factor can enable the speed to be varied so that the motor is operated at or near its peak operating speed at a given target input power, thereby ensuring that the motor is operated at or near its most efficient operating point for a given target input power.
[0007] Using the first calibration factor and the second calibration factor in response to the measured input power can eliminate or reduce the need to use a lookup table or equation to determine the desired excitation time parameters so that the motor is operated at the desired input power at the maximum efficiency for the input power. The lack of or reduced need for lookup tables or equations can simplify the processing requirements and / or memory requirements of a processor used to control the motor, which can result in the use of a physically smaller and / or cheaper processor, i.e., a less expensive processing method than devices known in the art.
[0008] The method according to the first aspect of the invention may also enable the motor to optimise its own control parameters in use, and may therefore minimise or eliminate the need for end-of-line calibration of the motor during manufacture.
[0009] The method may include measuring input power to a phase winding of the motor; and exciting the phase winding of the motor according to an excitation time parameter.
[0010] The method may include applying a first calibration factor until the measured input power substantially matches the target input power. The method may include applying a second calibration factor to the excitation time parameter once the measured input power substantially matches the target input power.
[0011] The method may include applying a first calibration factor in response to the measured input power.The method may include applying the first calibration factor before applying the second calibration factor.
[0012] The method may include applying a second calibration factor to the excitation timing parameter to cause the motor to operate substantially at peak speed for the measured input power.
[0013] Operating substantially at peak speed means that the motor is operated at or near its peak operating speed for a target input power. The method can control the motor to operate at a speed within 10%, within 5%, within 4%, within 3%, within 2%, or within 1%, or within 0.5% or within 0.1% of the peak operating speed for a measured input power.
[0014] The method may comprise measuring the speed of the motor before and / or after applying the second calibration factor.
[0015] Measuring the input power to the motor, such as the input power to a phase winding of the motor, may include measuring the supply voltage and / or the phase current through the motor. Measuring the input power to the motor may include measuring the supply voltage and / or the supply current. Measuring the supply current may be beneficial compared to measuring the phase current (such as the current through the phase winding of the motor) because it may provide a more accurate measurement of the current driven into the motor because switching losses may not need to be taken into account.
[0016] The excitation time parameters may include parameters defining when to commutate the phase windings of the motor, and / or when excitation of the motor (e.g., the phase windings of the motor) begins, and / or how long to excite the motor (e.g., the phase windings of the motor). Excitation of the motor may include driving a phase current through the phase windings of the motor.
[0017] The excitation time parameters may include an advance angle, for example, the phase angle at which commutation of a phase winding of the motor occurs, and therefore the phase angle at which excitation of the phase winding begins. The advance angle may be measured relative to a zero crossing of the back electromotive force induced in the phase winding. Although referred to as an advance angle, this may mean that commutation of the phase winding occurs before the zero crossing of the back electromotive force induced in the phase winding, but the advance angle may include a positive value, a negative value, or a zero value. Therefore, commutation of the phase winding may occur before, after, or synchronously with the zero crossing of the back electromotive force induced in the phase winding. In the case where the advance angle is a negative value, the advance angle may alternatively be referred to as a delay angle, because the commutation of the phase winding may be delayed relative to the zero crossing of the back electromotive force induced in the phase winding.
[0018] The excitation time parameters may include an on-period, e.g., a period of time during which excitation of the motor occurs. The excitation time parameters may include a duty cycle, e.g., a ratio defining how often excitation occurs within a period. The excitation time parameters may include an advance angle and an on-period, or may include an advance angle and a duty cycle. The excitation time parameters may include a sine wave amplitude or other waveform amplitude.
[0019] The first calibration factor may include a first advance angle calibration factor and / or a first conduction period calibration factor and / or a first duty cycle calibration factor. The second calibration factor may include a second advance angle calibration factor and / or a second conduction period calibration factor and / or a second duty cycle calibration factor. The method may include applying the first advance angle calibration factor to the advance angle and / or applying the first conduction period calibration factor to the conduction period and / or applying the first duty cycle calibration factor to the duty cycle. The method may include applying the second advance angle calibration factor to the advance angle and / or applying the second conduction period calibration factor to the conduction period and / or applying the second duty cycle calibration factor to the duty cycle. The first advance angle calibration factor may be proportional to the first conduction period calibration factor and / or the first duty cycle calibration factor. The second advance angle calibration factor may be proportional to the second conduction period calibration factor and / or the second duty cycle calibration factor.
[0020] The first calibration factor may increase the advance angle and / or increase the conduction angle and / or increase the duty cycle. By increasing the advance angle, the measured power may be increased because the current may be driven into the phase winding at an earlier point in time. By increasing the conduction angle, the measured power may be increased because the current may be driven into the phase winding for a longer period of time. By increasing the duty cycle, the measured power may be increased because the current may be driven into the phase winding for a greater percentage of the cycle. The first calibration factor may decrease the advance angle and / or decrease the conduction angle and / or decrease the duty cycle. By decreasing the advance angle, the measured power may be reduced because the current may be driven into the phase winding at a later point in time. By decreasing the conduction angle, the measured power may be reduced because the current may be driven into the phase winding for a shorter period of time. By decreasing the duty cycle, the measured power may be reduced because the current may be driven into the phase winding for a smaller percentage of the cycle.
[0021] The second calibration factor may increase and / or decrease the advance angle and / or the conduction angle and / or the duty cycle.
[0022] The target input power may include a power set by a user. For example, the target input power may include a power set by a user switching a switch.
[0023] The method may include, for example, operating the brushless permanent magnet motor using an initial excitation time parameter relationship in response to a comparison of the measured input power to the target input power before applying the first calibration factor. This may be beneficial because it may move the measured input power closer to the target input power before applying the first calibration factor, thereby avoiding the need for a large calibration factor, which may result in unstable and / or inefficient operation. Applying the first calibration factor to the excitation time parameters of the motor may include applying the first calibration factor to the excitation time parameters of the initial excitation time parameter relationship. The initial excitation time parameter relationship may include a relationship between at least one excitation time parameter and input power, such as which excitation time parameter or combination of excitation time parameters achieves which input power.
[0024] The method may include a first closed control loop for applying a first calibration factor, and a second closed control loop for applying a second calibration factor. The method may include a first closed control loop for ensuring that a measured input power substantially matches a target input power. The method may include a second closed control loop for changing the speed of the motor. The method may include: a first closed control loop for changing a measured input power through the motor, and a second closed control loop for changing the speed of the motor. The first closed control loop may include an outer control loop, and the second closed control loop may include an inner control loop. The first closed control loop may operate on a faster time scale than the second closed control loop. This may be beneficial because the first closed control loop may react quickly to ensure that the measured input power substantially matches the target input power, while the second closed control loop may be calibrated to achieve the most efficient operating point for a given measured input power.
[0025] The method may include controlling a brushless permanent magnet motor operating in a steady state. The method may include controlling a brushless permanent magnet motor operating at a speed in excess of 20 krpm. The method may include controlling a single phase brushless permanent magnet motor.
[0026] Applying the second calibration factor may include taking a first measurement of a speed of the motor, applying a first polarity calibration factor to an excitation timing parameter of the motor, taking a second measurement of the speed of the motor; and:
[0027] i) if the second measurement is greater than the first measurement, continue to apply the first polarity calibration factor and then measure the speed of the motor until the speed of the motor decreases;
[0028] ii) If the second measurement is less than the first measurement, applying a second polarity calibration factor having a polarity opposite to the first polarity calibration factor, continuing to apply the second polarity calibration factor, and then measuring the speed of the motor until the speed of the motor decreases.
[0029] This can be advantageous because applying the first calibration factor to the excitation timing parameter can ensure that the motor operates at a target input power, while applying the first or second polarity calibration factor can ensure that the motor operates at or near its peak operating speed at a given measured input power, thereby ensuring that the motor operates at or near its most efficient operating point for a given measured input power.
[0030] In the event that the second measurement is greater than the first measurement, this may indicate that the motor has moved closer to its most efficient operating point for a given power. Continuing to apply the first polarity calibration factor and subsequently measuring the speed of the motor until the speed of the motor decreases may indicate that the motor is operating at or near its peak speed for a given power. In the event that the second measurement is less than the first measurement, applying a second polarity calibration factor having a polarity opposite to the first polarity calibration factor may ensure that the speed of operating the motor has increased and that the motor has moved closer to its most efficient operating point for a given power. Continuing to apply the second polarity calibration factor and subsequently measuring the speed of the motor until the speed of the motor decreases may indicate that the motor is operating at or near its peak speed for a given power.
[0031] Applying the second calibration factor may include applying a positive polarity calibration factor to the excitation time parameter, taking a first measurement of the speed of the motor, applying a negative polarity calibration factor to the excitation time parameter, taking a second measurement of the speed of the motor; and
[0032] i) if the second measurement is greater than the first measurement, continuing to apply the negative polarity calibration factor and subsequently measuring the speed of the motor until the speed of the motor decreases;
[0033] ii) If the second measurement is less than the first measurement, reapply the positive polarity calibration factor, continue to apply the positive polarity calibration factor, and then measure the speed of the motor until the speed of the motor decreases.
[0034] This can be advantageous because applying a first calibration factor to the excitation timing parameter can ensure that the motor operates at a target input power, while applying a positive polarity calibration factor or a negative polarity calibration factor can ensure that the motor operates at or near its peak operating speed at a given measured input power, thereby ensuring that the motor operates at or near its most efficient operating point for a given measured input power.
[0035] Measuring the speed of the electric machine may include measuring the speed of a rotor of the electric machine, for example by utilizing a position sensor of the electric machine or an estimated position of the rotor.
[0036] The value of the second calibration factor may be selected to be sufficiently small to prevent a significant overshoot beyond the peak operating speed of the motor for a given measured input power. For a given measured input power at the operating point, the motor may be ensured to operate at or near its most efficient operating point. In a closed loop system, the method may include substantially continuously varying the speed of the motor, such as causing the speed of the motor to oscillate around the peak operating speed. In this manner, for a given input power, the controller of the motor may substantially continuously search for the peak operating speed of the motor.
[0037] According to another aspect of the present invention, a data carrier is provided, which includes machine-readable instructions for operating one or more processors of a controller of a brushless permanent magnet motor to measure the input power of the motor, compare the measured input power with a target input power, apply a first calibration factor to an excitation time parameter of the motor so that the measured input power substantially matches the target input power, apply a second calibration factor to the excitation time parameter to change the speed of the motor, and excite the motor according to the excitation time parameter.
[0038] According to another aspect of the present invention, a brushless permanent magnet motor is provided, which includes a controller, which is configured to measure the input power of the motor, compare the measured input power with the target input power, apply a first calibration factor to the excitation time parameter of the motor so that the measured input power substantially matches the target input power, apply a second calibration factor to the excitation time parameter to change the speed of the motor, and excite the motor according to the excitation time parameter.
[0039] The motor may include a current sensor for measuring the supply current. When the motor is connected to a power supply, the current sensor may be located between the motor's inverter and the power supply. This may be beneficial because it may provide a more accurate measurement of the input current than, for example, a current sensor located between the inverter and the zero voltage rail. The current sensor may be located on the high side rail.
[0040] Where appropriate, preferred features of various aspects of the invention may be equally applied to other aspects of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to better understand the present invention and to more clearly show how the present invention is carried out, the present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0042] Figure 1 is a block diagram of a motor system according to the present invention;
[0043] Figure 2 yes Figure 1 Schematic diagram of the motor system;
[0044] Figure 3 Shown in detail Figure 1 an enabling state of an inverter of the motor system in response to a control signal issued by a controller of the motor system;
[0045] Figure 4 is a first schematic block diagram illustrating a method according to the present invention;
[0046] Figure 5 It is shown Figure 4 a second schematic block diagram of an internal control loop of the method;
[0047] Figure 6 is a schematic diagram showing the change in speed in response to an applied calibration factor according to the present invention;
[0048] Figure 7 is a schematic diagram of an alternative embodiment of a motor system according to the present invention;
[0049] Figure 8 is a schematic block diagram illustrating another method according to the present invention. DETAILED DESCRIPTION
[0050] Figure 1 and 2 The motor system 10 is powered by a DC power source 12 and includes a brushless motor 14 and a control circuit 16 .
[0051] The motor 14 includes a four-pole permanent magnet rotor 18 that rotates relative to a four-pole stator 20. Although described herein as a four-pole embodiment, those skilled in the art will recognize that the teachings of the present application can be applied to other embodiments of brushless permanent magnet motors, such as eight-pole embodiments. The wires wound around the stator 20 are coupled together to form a single-phase winding 22. Although described herein as a single-phase motor, those skilled in the art will recognize that the teachings of the present application can also be applied to multi-phase motors, such as three-phase motors.
[0052] The control circuit 16 includes a filter 24 , an inverter 26 , a gate driver module 28 , a current sensor 30 , a voltage sensor 32 , a position sensor 34 , and a controller 36 .
[0053] The filter 24 includes a link capacitor C1 which smoothes relatively high frequency fluctuations due to switching of the inverter 26 .
[0054] The inverter 26 includes a full bridge of four power switches Q1-Q4 that couple the phase winding 22 to a voltage rail. Each of the switches Q1-Q4 includes a freewheeling diode.
[0055] The gate driver module 28 drives the opening and closing of the switches Q1 - Q4 in response to control signals received from the controller 36 .
[0056] The current sensor 30 includes a shunt resistor R1 positioned between the inverter and the zero voltage rail. The voltage across the current sensor 30 provides a measure of the current in the phase winding 22 when connected to the power source 12. The voltage across the current sensor 30 is output to the controller 36 as a signal I_SENSE.
[0057] The voltage sensor 32 includes a voltage divider R2 , R3 positioned between a DC voltage rail and a zero voltage rail. The voltage sensor outputs a signal V_DC to the controller 36 , which represents a scaled-down measurement of the supply voltage provided by the power supply 12 .
[0058] The position sensor 34 includes a Hall effect sensor located in a slot opening of the stator 20. The sensor 34 outputs a digital signal HALL, which is a logic high or low depending on the direction of the magnetic flux passing through the sensor 34. The HALL signal thus provides a measurement of the angular position of the rotor 18. It is also contemplated that an embodiment omitting the position sensor 34 and implementing a sensorless control scheme is implemented. Such sensorless control schemes are known and will not be described here for the sake of brevity. In such a sensorless scheme, the HALL signal can be replaced by a back EMF signal representing the period of the back EMF.
[0059] The controller 36 includes a microcontroller having a processor, a storage device, and a plurality of peripherals (e.g., ADC, comparator, timer, etc.). In an alternative embodiment, the controller 36 may include a state machine. The storage device stores instructions for execution by the processor, as well as control parameters used by the processor during operation. The controller 36 is responsible for controlling the operation of the motor 14 and generating control signals S1-S4 for controlling each of the four power switches Q1-Q4. The control signals are output to the gate driver module 28, which in response drives the opening and closing of the switches Q1-Q4.
[0060] Figure 3 The enabled states of switches Q1-Q4 in response to control signals S1-S4 output by controller 36 are summarized. Hereinafter, the terms "set" and "clear" will be used to indicate that a signal is logically pulled high and low, respectively. Figure 3 As shown, the controller 36 sets S1 and S4 and clears S2 and S3 to excite the phase winding 22 from left to right. Conversely, the controller 36 sets S2 and S3 and clears S1 and S4 to excite the phase winding 22 from right to left. The controller 36 clears S1 and S3 and sets S2 and S4 to freewheel the phase winding 22. Freewheeling causes the current in the phase winding 22 to recirculate around the low-side loop of the inverter 26. In the present embodiment, the power switches Q1-Q4 can be turned on in two directions. Therefore, the controller 36 closes both low-side switches Q2 and Q4 during freewheeling, so that current flows through switches Q2 and Q4, rather than less efficient diodes. It is conceivable that the inverter 26 may include a power switch that is only turned on in a single direction. In this case, the controller 36 will clear S1, S2 and S3 and set S4 to freewheel the phase winding 22 from left to right. The controller 36 will then clear S1, S3 and S4 and set S2 to freewheel the phase winding 22 from right to left. The current in the low-side loop of the inverter 26 then flows downward through the closed low-side switch (e.g., Q4) and upward through the diode of the open low-side switch (e.g., Q2).
[0061] In the event that the speed of the rotor 18 is above a predetermined threshold, for example above 60 krpm, the controller 36 operates in a steady state mode. The speed of the rotor 18 is determined by the interval between successive edges of the HALL signal, which is hereinafter referred to as the HALL period.
[0062] The controller 36 commutates the phase winding 22 in response to the edges of the HALL signal. Each Hall edge corresponds to a change in the polarity of the rotor 18, and thereby to a change in the polarity of the back EMF induced in the phase winding 22. More specifically, each HALL edge corresponds to a zero crossing in the back EMF. Commutation involves reversing the direction of current through the phase winding 22. Thus, if current flows through the phase winding 22 in a direction from left to right, commutation involves exiting the winding from right to left.
[0063] The controller 36 can advance, synchronize, or retard the commutation relative to the HALL edge, and hereinafter, the phase angle at which the controller 36 commutates the phase winding 22 will be referred to as the advance angle, regardless of whether the commutation is advanced, synchronized, or delayed. The period during which current is driven into the phase winding 22 is hereinafter referred to as the on period, and the controller 36 can vary the on period to obtain the desired operating characteristics.
[0064] Now refer to Figures 4 to 6 A method according to the invention is described.
[0065] During operation of the motor system 10, it may be desirable to drive a target input power into the phase winding 22. To ensure that the target input power is driven into the phase winding 22, the controller 36 uses the signal I_SENSE received from the current sensor 30 and the signal V_DC received from the voltage sensor 32 to calculate a measured power P_SENSE at 102 according to the equation P_SENSE=V_DC.I_SENSE. The measured power P_SENSE is compared to the target input power, for example, by a comparator or the like at 104. If the measured power P_SENSE is not equal to the target input power, the controller 36 operates the motor 14 using the initial excitation time parameter relationship, i.e., the initial combination of the advance angle and the conduction angle, to bring the measured power P_SENSE closer to the target input power.
[0066] The controller 36 then changes the value of the advance angle used to commutate the phase winding 22, and the on-period for driving the phase current into the phase winding 22, at 106, in an attempt to calibrate any remaining error between the measured input power P_SENSE and the target input power, and communicates the new advance angle and on-period to the gate drive module 28 via signals S1-S4. The gate drive module 28 then operates 108 switches Q1-Q4 accordingly to commutate the phase winding 22 at the calibrated advance angle and provide the phase current to the phase winding 22 for the calibrated on-period. The signals I_SENSE and V_DC are again used to calculate the updated measured power P_SENSE and to calibrate the advance angle and on-period if necessary.
[0067] Therefore, calibrating the measured power P_SENSE to correspond to the target input power to be driven into the phase winding 22 forms a closed external feedback loop 110 that is used to ensure that the motor 14 is operated at the desired input power. The use of the closed external feedback loop 110 can ensure that the motor 14 is operated at a substantially constant input power. The closed external feedback loop 110 acts at a relatively fast rate to ensure that the desired input power is obtained.
[0068] For a motor operating at a particular input power, the most efficient operating point for the motor is when the motor is operating at its highest speed at that power. To ensure this happens, a closed internal feedback loop 112 is provided. Figure 5 The closed internal feedback loop 112 is schematically shown in . The closed internal feedback loop 112 varies the advance angle and the on-time period so that the maximum operating speed of the motor 14 is obtained at a desired constant input power, thereby ensuring peak operating efficiency at a given input power.
[0069] In the presently preferred embodiment, once it is determined by the closed outer feedback loop 110 that the motor 14 is operating at a constant input power, the closed inner feedback loop 112 first measures the speed of the rotor 18 at 114, and the measured speed is stored by the controller 36. Before the speed of the motor 14 is measured again at 114, a first polarity calibration factor, such as plus or minus a specified number of degrees, is applied to the advance angle and the conduction angle at 116.
[0070] If the speed of the motor 14 has increased between the initial measurement and the measurement after the first polarity calibration factor is applied at 116, the controller 36 continues to apply the first polarity calibration factor at 116 and subsequently measure the speed of the motor 14 at 114 until the speed of the motor 14 decreases. Once the speed of the motor 14 decreases, the controller 36 determines that the peak speed has been passed, and therefore the peak operating efficiency has been passed. The controller 36 then applies the opposite polarity calibration factor at 118, causing the speed of the motor 14 to increase, and applies the opposite polarity calibration factor until the speed of the motor 14 decreases again, thereby reapplying the first polarity calibration factor at 116. This process is repeated, causing the controller 36 to continuously search for the peak speed, and therefore the peak operating efficiency, and the motor 14 effectively oscillates around its peak operating efficiency.
[0071] If the speed of the motor 14 has decreased between the initial measurement and the measurement after the first polarity calibration factor is applied at 116, a second polarity calibration factor having a polarity opposite to that of the first polarity calibration factor is applied to the advance angle and the conduction angle at 120, causing the speed of the motor 14 to increase. The controller 36 continues to apply the second polarity calibration factor at 120 and subsequently measures the speed of the motor 14 at 114 until the speed of the motor 14 decreases. Once the speed of the motor 14 decreases, the controller 36 reapplies the first polarity calibration factor at 122, causing the speed of the motor 14 to increase, and applies the first polarity calibration factor at 122 until the speed of the motor 14 decreases again. This process is repeated, causing the controller 36 to continuously search for the peak operating efficiency, and the motor 14 effectively oscillates around its peak operating efficiency.
[0072] This ensures that the electric machine 14 is operating at or near its peak speed for the measured input power, and therefore ensures that the electric machine 14 is operating at or near its most efficient operating point.
[0073] In particular, from Figure 6 It can be seen that the speed of the motor follows a curve that varies according to the calibration factor applied and that the curve has a peak. If the first polarity calibration factor causes the speed to increase relative to the initial speed measurement, it can be inferred that the speed is decreasing along Figure 6 The curve in FIG. 1 is moved toward the peak speed. By continuing to apply the first polarity calibration factor, the speed of the motor 14 will increase along the curve. Once a decrease in speed is measured, it can be inferred that the speed of the motor 14 has passed its peak, and a second opposite polarity calibration factor is applied, causing the speed of the motor 14 to increase along the curve. Once a decrease in speed is measured, it can be inferred that the speed of the motor 14 has passed its peak again, so the first polarity calibration factor is reapplied. In this way, the motor 14 operates to search for the peak speed.
[0074] If the first polarity calibration factor results in a decrease in velocity relative to the initial velocity measurement, it can be inferred that the velocity is moving along Figure 6 By applying a second polarity calibration factor having a polarity opposite to the polarity of the first polarity calibration factor, the speed of the motor 14 can be moved along Figure 6 The curve moves toward the peak. By continuing to apply the second polarity calibration factor, the speed of the motor 14 will increase along the curve. Once a decrease in speed is measured, it can be inferred that the speed of the motor 14 has passed its peak, so the application of the second polarity calibration factor at 120 is stopped and the first polarity calibration factor is reapplied to search for the peak, as described above.
[0075] Thus, the closed inner feedback loop 112 controls the operating speed of the motor 14 so that for a given measured input power, the motor 14 operates substantially at or near its peak operating speed and peak operating efficiency. The value of the calibration factor used in the closed inner feedback loop 112 is small enough that when the calibration factor ceases to be applied (i.e., the speed of the motor decreases after a steady increase), the speed of the motor is still close enough to the peak speed that it can be said to be at or near the peak speed.
[0076] The use of the closed outer control loop 110 and the closed inner control loop 112 can eliminate or reduce the need for the controller 36 to utilize lookup tables to obtain the advance angle and conduction angle required for the desired operating power at peak efficiency, and can allow real-time calibration of the operating characteristics of the motor 14. This can eliminate or reduce the need for offline calibration of the motor 14, thereby saving time and cost.
[0077] It will be appreciated that alternative peak search algorithms and methods may be employed for the closed inner control loop 112 to find the peak operating speed, and thus the peak operating efficiency. For example, a positive polarity calibration factor may be applied to the advance angle and conduction angle prior to making a first measurement of the speed of the motor. Then, a negative polarity calibration factor may be applied to the advance angle and conduction angle prior to making a second measurement of the speed of the motor. If the second measurement is greater than the first measurement, the negative polarity calibration factor will continue to be applied to subsequent motor speed measurements until the motor speed decreases. If the second measurement is less than the first measurement, the positive polarity calibration factor will be reapplied to subsequent motor speed measurements until the motor speed decreases.
[0078] In this manner, the closed internal feedback loop 112 may control the operating speed of the motor 14 so that the motor 14 operates substantially at or near its peak operating speed and peak operating efficiency.
[0079] Although the method described above applies calibration factors to the advance angle and conduction angle, it will be appreciated that this depends on the type of motor being controlled and that alternatively the method could, for example, include applying calibration factors to the advance angle and duty cycle.
[0080] exist Figure 7 In an alternative embodiment schematically shown in , the current sensor 30 includes a current sensing resistor located on the high side rail between the power supply 12 and the filter 24. When connected to the power supply 12, the voltage across the current sensor 30 provides a measure of the input current. According to the previous embodiment, the voltage across the current sensor 30 is output to the controller 36 as the signal I_SENSE.
[0081] Positioning the current sensor 30 on the high side rail between the power source 12 and the filter 24 prior to the inverter 26 may provide a more accurate measurement of the input current since switching losses need not be considered, and therefore, allow a more accurate calculation of the measured input power.
[0082] Although the current sensor 30 is Figure 7 1 and 2. Although shown as being located on the high side rail between the power supply 12 and the filter 24, it is also contemplated that the current sensor 30 may be located on the low side rail between the power supply 12 and the filter 24, with Figure 2 Still allows for more accurate power measurements compared to the position shown.
[0083] As described above, positioning the current sensor 30 between the power source 12 and the filter 24 may provide a more accurate power measurement. Figure 2 The removal of the position shown means that the current sensor 30 is no longer used to provide a measurement of the instantaneous current in the phase winding 22. The measurement of the instantaneous current in the phase winding 22 is essential to the operation of the motor 10 and can be used to prevent overcurrent events and therefore failure of the motor 10.
[0084] Therefore, the inventors of the present application have devised a method for measuring the instantaneous current in the phase winding 22 by providing a measurement of the instantaneous current through the low-side power switch Q4. Although described herein with reference to the low-side power switch Q4, it will be appreciated that the following method may be used to provide a measurement of the instantaneous current through any power switch Q1-Q4.
[0085] The low-side power switch Q4 is an n-channel MOSFET. When current flows through the power switch Q4, the power switch DS(ON) The inventors of the present application have determined that R can be estimated using the following equation: DS(ON) :
[0086]
[0087] Where Average Phase V is the average phase current supplied to winding 22 and Average DC Current is the average DC current measured at the power source, for example using a current sensor 30 located on the high side rail between power source 12 and filter 24. The above equation assumes that the average DC current is approximately equal to the average phase current in winding 22. By using the average phase V and average DC current values, R DS(ON) The value of will change in real time, so we can consider R DS(ON) As the temperature changes.
[0088] The average phase voltage across the power switch Q4 can be estimated using the following formula:
[0089]
[0090] Where V Limit is the V of the power switch Q4 used to set the current limit DS (drain-source voltage), and Duty is the proportion of time that current is supplied to the phase winding 22.
[0091] The controller 36 will know V Limit and Duty, so the controller 36 will know the average phase V. The current sensor 30 can be used to measure the average DC current, so R DS(ON) .
[0092] For example, you can use the existing V DS The sensing circuit measures the voltage across the power switch Q4, V DS Then, V can be used according to the following formula DS and R DS(ON) To calculate the instantaneous current through the power switch Q4:
[0093]
[0094] Then, during operation of the brushless motor 14, the controller 36 may use I Q4 (i.e., the instantaneous current through power switch Q4) determines whether the current flowing through power switch Q4 exceeds a predetermined threshold set by V Limit, and enables controller 36 to act accordingly, such as by disconnecting switch Q1 to allow current to continue to flow through the low-voltage side of the circuit.
[0095] exist Figure 8 The flowchart for calculating I Q4Method 200. Method 200 includes setting VLimit at 202, i.e., the maximum voltage allowed across power switch Q4 (corresponding to the maximum current allowed through power switch Q4), typically set by a control algorithm based on the operating mode of brushless motor 14. The duty cycle of the current provided to the motor is measured by controller 36 at 204, and the duty cycle and V Limit are used to calculate an average phase V at 206. The average DC current is measured at 208 by current sensor 30 before being fed to controller 36 as signal I_SENSE.
[0096] At 210 , the controller 36 estimates the R of the power switch Q4 using the average phase V and the average DC current. DS(ON) For example, at 212, use the existing V DS The sensing circuit measures the voltage drop VDS across the power switch Q4. The control algorithm then uses R DS(ON) and V DS Computation I Q4 .
[0097] Thus, the method 200 can be used to calculate the instantaneous current through the power switch Q4, which can then be used, for example, to prevent an overcurrent event. Additionally or alternatively, the instantaneous current can be used to determine the position of the rotor 18 without the position sensor 34, such as disclosed in WO2013 / 132249. The method 200 can further be used to estimate the instantaneous current flowing through any power switch Q1-Q4 during freewheeling, while only including a single shunt resistor in the circuit, thereby obtaining increased functionality at little or no additional cost.
Claims
1. A method for controlling a brushless permanent magnet motor, the method comprising: measuring the input power of the motor; comparing the measured input power with a target input power; applying a first calibration factor to an activation time parameter of the motor to match a measured input power to a target input power; applying a second calibration factor to an excitation time parameter to change the speed of the motor; and exciting the motor according to the excitation time parameter, wherein the method includes a first closed control loop for applying the first calibration factor and a second closed control loop for applying the second calibration factor, the first closed control loop including an outer control loop and the second closed control loop including an inner control loop.
2. The method according to claim 1, wherein: The excitation time parameters include an advance angle and / or a conduction period and / or a duty cycle.
3. The method according to claim 1, wherein: The brushless permanent magnet motor comprises a single-phase motor.
4. A method according to any one of the preceding claims, wherein: Applying the second calibration factor includes taking a first measurement of the speed of the motor; applying the calibration factor having a first polarity to an excitation time parameter of the motor; taking a second measurement of the speed of the motor; as well as: i) if the second measure of speed is greater than the first measure of speed, continuing to apply the calibration factor having the first polarity and then measuring the speed of the motor until the speed of the motor decreases; ii) if the second measurement of speed is less than the first measurement of speed, applying a second polarity calibration factor having a polarity opposite to the first polarity calibration factor, continuing to apply the second polarity calibration factor, and then measuring the speed of the motor until the speed of the motor decreases.
5. The method according to any one of claims 1 to 3, wherein: Applying the second calibration factor includes applying a positive polarity calibration factor to the excitation time parameter; taking a first measurement of the speed of the motor; applying a negative polarity calibration factor to the excitation time parameter; taking a second measurement of the speed of the motor; as well as i) if the second measurement of speed is greater than the first measurement of speed, continuing to apply the negative polarity calibration factor and subsequently measuring the speed of the motor until the speed of the motor decreases; ii) if the second measurement of speed is less than the first measurement of speed, reapplying the positive polarity calibration factor, continuing to apply the positive polarity calibration factor, and then measuring the speed of the motor until the speed of the motor decreases.
6. A computer readable storage medium comprising machine readable instructions for operating one or more processors of a controller of a brushless permanent magnet motor to measure an input power of the motor; compare the measured input power to a target input power; applying a first calibration factor to an activation time parameter of the motor to match the measured input power to the target input power; Applying a second calibration factor to an excitation time parameter to change the speed of the motor; and exciting the motor according to the excitation time parameter, wherein the machine-readable instructions operate one or more processors of a controller of the brushless permanent magnet motor to use a first closed control loop for applying the first calibration factor and a second closed control loop for applying the second calibration factor, the first closed control loop comprising an outer control loop and the second closed control loop comprising an inner control loop.
7. A brushless permanent magnet motor, comprising a controller, the controller being configured to measure an input power of the motor; compare the measured input power with a target input power; applying a first calibration factor to an activation time parameter of the motor to match a measured input power to the target input power; applying a second calibration factor to the excitation time parameter to change the speed of the motor; and exciting the motor according to the excitation time parameter, wherein the controller is configured to use a first closed control loop for applying a first calibration factor and a second closed control loop for applying a second calibration factor, the first closed control loop comprising an outer control loop and the second closed control loop comprising an inner control loop.
8. The brushless permanent magnet motor according to claim 7, wherein: The motor comprises a voltage sensor for measuring a power supply voltage and a current sensor for measuring a power supply current. When the motor is connected to the power supply, the current sensor is located between the power supply and an inverter of the motor.
Citation Information
Patent Citations
Method of determining the rotor position of a permanent-magnet motor
WO2013132249A1
Motor driver and electrical equipment equipped therewith
JP2008167525A
Power tuning an electric system
US20100253274A1
Power tool having a brushless motor and a control unit for controlling the brushless motor
US20140210379A1
Control apparatus for rotary electric machine
US20180013369A1
