Method for controlling brushless permanent magnet motor
By comparing the relationship between the motor operation target and the predetermined excitation time parameters, adjusting the excitation time parameters and applying calibration factors, the problem of unstable closed-loop control of the brushless permanent magnet motor is solved and the stability and efficiency of the motor are improved.
Patent Information
- Application Number
- CN201980076817.8
- 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
Existing closed-loop control methods for brushless permanent magnet motors can result in control instability and inefficiency, especially due to the need for large calibration factors to compensate for errors between the motor operating response and the target.
Determine and adjust the excitation time parameters to provide a response close to the motor operation target by comparing the motor operation target to the predetermined excitation time parameter relationship, and apply a calibration factor when the measured response does not match the target to ensure that the motor operation response matches the target , using open-loop or closed-loop control to improve stability and response time.
This method improves the stability and performance of the motor, reduces the response time, avoids control instability caused by large-scale calibration factors, and ensures that the motor reaches operating targets under higher efficiency and more stable conditions.
Smart Images

Figure CN113169685B_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 includes phase windings that are energized by a power source so that a magnetic field induced in the windings drives rotation of a rotor of the motor.
[0003] It has previously been proposed to vary the excitation timing parameters of the phase windings of an electric machine, such as the start / end time of the excitation, the length of the excitation or the duty cycle of the excitation, to provide desired operating characteristics of the electric machine. 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 determining a motor operation target; comparing the motor operation target with a set of predetermined excitation time parameter relationships; operating the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target; measuring the measured motor operation response; comparing the measured motor operation response with the motor operation target; when the measured motor operation response does not match the motor operation target, applying a calibration factor to the excitation time parameters of the motor so that the measured motor operation response moves toward the motor operation target.
[0005] The method according to the first aspect of the present invention can in principle be beneficial because the method includes comparing a motor operation target with a set of predetermined excitation time parameter relationships; operating the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target; measuring the measured motor operation response; comparing the measured motor operation response with the motor operation target; and when the measured motor operation response does not match the motor operation target, applying a calibration factor to the excitation time parameters of the motor.
[0006] In particular, by measuring a measured motor operation response, comparing the measured motor operation response to a motor operation target, and applying a calibration factor to the motor excitation timing parameters when the measured motor operation response does not match the motor operation target, the motor operation response can be closely controlled to match the motor operation target, such as in a closed-loop feedback manner. However, simply controlling a brushless permanent magnet motor in such a closed-loop manner may result in unstable or inefficient control, such as due to the need for a large calibration factor to compensate for the error between the measured motor operation response and the motor operation target.
[0007] By comparing the motor operation target with a set of predetermined excitation time parameter relationships, and operating the motor according to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target, the closed-loop control can be set with a starting point close enough to the motor operation target so that the excitation time parameters do not require a large calibration factor. Therefore, the method according to the first aspect of the present invention can provide greater stability and improved motor performance, for example relative to a method that simply uses closed-loop control.
[0008] Furthermore, the method according to the first aspect of the invention may provide improved response time, which may result in a reduction in the time taken for a measured motor operation response to reach a motor operation target.
[0009] Determining a motor operation target, comparing the motor operation target to a set of predetermined excitation time parameter relationships, and operating the motor according to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target may include open loop control.
[0010] A measured motor operation response is measured, the measured motor operation response is compared with a motor operation target, and when the measured motor operation response does not match the motor operation target, a calibration factor is applied to the excitation time parameters of the motor so that the measured motor operation response moves toward the motor operation target, which may include closed-loop control.
[0011] The excitation time parameters may include parameters defining when to commutate the motor (e.g., phase windings of the motor), and / or when excitation of the motor (e.g., phase windings of the motor) begins and / or ends, and / or how long to excite the motor (e.g., phase windings of the motor). Excitation of the motor may include driving a phase current through a phase winding of the motor. The excitation time parameters may be determined by a number of factors, including, for example, the speed of the brushless permanent magnet motor and / or the input voltage of a system including the brushless permanent magnet motor.
[0012] 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.
[0013] The present method may include a method for controlling a multi-phase brushless permanent magnet motor. In a multi-phase brushless permanent magnet motor, the stator windings are arranged so that the electromotive forces of different motor phases can be used in combination on the motor terminals. The most common connection modes between the motor windings and the terminals are star (also known as Y-shaped) connection and triangle connection. In the case of a multi-phase machine, the advance angle can be measured relative to the rotation point at which the electromotive force between the two motor terminals is equal to and then exceeds the electromotive force of any other combination of the terminal connections. Although referred to as an advance angle, this may mean that the phase shift of the applied driving DC voltage waveform occurs before this point, but the advance angle may include positive, negative or zero values. Therefore, the applied voltage waveform can be shifted before, after or synchronously with the rotation point at which the maximum electromotive force phase combination changes. In the case where the advance angle is a negative value, the advance angle may be alternatively referred to as a delay angle because the commutation of the phase winding may be delayed relative to the change of the maximum electromotive force phase combination.
[0014] The excitation time parameters may include an on-period, such as a time period during which motor excitation occurs. The excitation time parameters may include a duty cycle, such as a ratio defining a percentage of a period during which excitation occurs. 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. The excitation time parameters may include a de-excitation angle and / or a period, such as the time at which de-excitation of a phase winding of the motor begins and / or the period during which de-excitation of the phase winding occurs.
[0015] The motor operating objectives may include any or any combination of motor input power, motor speed, air flow through the motor, phase voltage, DC link voltage, phase current, supply current, motor pressure, motor temperature, and an error function combining any of the foregoing parameters.
[0016] The excitation time parameter relationship may include a relationship between a motor operation target or response and a motor excitation time parameter, such as which motor excitation time parameter achieves which motor operation target or response. The excitation time parameter relationship may include multiple excitation time parameters that determine the motor operation target or response, such as the motor operation target or response may be determined by multiple excitation time parameters.
[0017] The excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships may substantially correspond to an excitation time parameter relationship selected from a set of predetermined excitation time parameter relationships. For example, the excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships may be an excitation time parameter relationship selected from a set of predetermined excitation time parameter relationships.
[0018] The excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships may be derived, e.g. extrapolated, from an excitation time parameter relationship in the set of predetermined excitation time parameter relationships. The excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships may be derived, e.g. interpolated, from at least two excitation time parameter relationships in the set of predetermined excitation time parameter relationships.
[0019] The set of predetermined excitation time parameter relationships may be determined by experimentation and / or simulation and / or monitoring and may be stored, for example, in a memory of a controller of the brushless permanent magnet motor. The relationships within a set of predetermined excitation time parameter relationships may be sufficiently close to each other that, in use, a user of the brushless permanent magnet motor may not substantially hear transitions between the relationships. For example, the relationships within a set of predetermined excitation time parameter relationships may have sufficient resolution that, in use, a user of the brushless permanent magnet motor may not substantially hear transitions between the relationships.
[0020] The method may include determining an operating mode of a brushless permanent magnet motor corresponding to a motor operating target. For example, different operating modes may be required to achieve different motor operating targets. The operating mode may include a drive mode for driving a phase current into a phase winding of a brushless permanent magnet motor, and different operating modes may include different drive modes. The drive mode may include a single excitation period, a single de-excitation period, a first and second excitation period and a first and second de-excitation period, a variable length excitation and de-excitation period, a repetitive pattern of an excitation period and a subsequent de-excitation period, different de-excitation methods, an early commutation of a phase winding relative to a back electromotive force induced in the phase winding, a delayed commutation of a phase winding relative to a back electromotive force induced in the phase winding, or any combination of synchronous commutation of a phase winding relative to a back electromotive force induced in the phase winding.
[0021] The operating modes of the brushless permanent magnet motor can correspond to different motor operating target thresholds. For example, a motor operating target above a certain operating target threshold may require operation in a different mode than a motor operating target below the operating target threshold. High power and / or high speed may require a different operating mode than low power and / or low speed.
[0022] The operating modes of the BLPM motor may overlap, for example so that certain motor operating targets are within more than one operating mode of the BLPM motor. Hysteresis may be applied between operating modes, for example so that applying a calibration factor does not cause the motor to change its operating mode.
[0023] A set of predetermined excitation time parameter relationships may depend on an operating mode of the brushless permanent magnet motor. Different operating modes may correspond to different subsets of the predetermined excitation time parameter relationships. The predetermined excitation time parameter relationships may overlap with two or more operating modes. The method may include selecting a most appropriate operating mode depending on the excitation time parameter relationships that give a motor operating response that is closest to a desired motor operating target.
[0024] The method may include setting at least one limit for the excitation time parameter, for example, such that when the calibration factor is applied, the excitation time parameter cannot exceed the at least one limit. This may be beneficial because it may limit any variation in the excitation time parameter, thereby achieving greater control stability and / or improved motor performance. This may also ensure that the motor operates within a desired efficiency range while achieving motor operating targets. The at least one limit may also prevent undesirable operation, such as overheating, demagnetization, excessive phase current, or a state where the control response is unstable or highly nonlinear.
[0025] The at least one limit may comprise an upper boundary and / or a lower boundary of the excitation time parameter.
[0026] The at least one limit may substantially correspond to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships. The method may comprise applying a calibration factor such that the excitation time parameter deviates from the value of the excitation time parameter in the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships, for example such that the excitation time parameter deviates in a single direction from the value of the excitation time parameter in the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships.
[0027] The method may include applying a calibration factor to the excitation timing parameter until the measured motor operation response substantially corresponds to the motor operation target.
[0028] The method may comprise applying the calibration factor to the excitation time parameter until the excitation time parameter reaches the at least one limit. The method may comprise applying another calibration factor to another excitation time parameter, such as another excitation time parameter within the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships, once the excitation time parameter reaches the at least one limit.
[0029] The method may include operating the brushless permanent magnet motor using an initial excitation time parameter relationship. When the initial excitation time parameter relationship is far from the excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships, for example, when the value of the excitation time parameter within the initial excitation time parameter relationship differs by more than 25% from the value of the corresponding excitation time parameter of the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships, the method may include entering a transition mode between the initial excitation time parameter relationship and the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships. Entering a transition mode between excitation time parameter relationships may, for example, include accelerating and / or decelerating the brushless permanent magnet motor.
[0030] Determining the motor operation target may include selecting the motor operation target based on user input. For example, the user may input the motor operation target using an appropriate user interface, or the user may select a setting configured to provide a motor operation target, such as a high power mode or a low power mode. Determining the motor operation target may include selecting the motor operation target based on a transmitter input, such as from a sensor internal or external to the brushless permanent magnet motor.
[0031] Operating a motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response close to a motor operation target may include: operating the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response that is within approximately 25%, or approximately 10%, or approximately 5%, or approximately 1% of the value of the motor operation target.
[0032] Applying the calibration factor to the excitation time parameter may include applying a positive and / or negative calibration factor to the excitation time parameter.The calibration factor may include an adjustment to the operating speed of the brushless permanent magnet motor.
[0033] Measuring the measured motor operation response may include measuring a motor operation response corresponding to a motor operation target.
[0034] According to another aspect of the present invention, a data carrier is provided, which includes machine-readable instructions for operation of a controller of a brushless permanent magnet motor to determine a motor operation target; compare the motor operation target with a set of predetermined excitation time parameter relationships; operate the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target; measure the measured motor operation response; compare the measured motor operation response with the motor operation target; when the measured motor operation response does not match the motor operation target, apply a calibration factor to the excitation time parameters of the motor so that the measured motor operation response moves toward the motor operation target.
[0035] According to another aspect of the present invention, a brushless permanent magnet motor is provided, including a controller, which is configured to determine a motor operation target, compare the motor operation target with a set of predetermined excitation time parameter relationships; operate the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target; measure the measured motor operation response; compare the measured motor operation response with the motor operation target; when the measured motor operation response does not match the motor operation target, apply a calibration factor to the excitation time parameter of the motor so that the measured motor operation response moves toward the motor operation target.
[0036] According to another aspect of the present invention, a method for controlling a brushless permanent magnet motor is provided, the method comprising determining a desired motor input power; comparing the desired motor input power with a set of predetermined excitation time parameter relationships; operating the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor input power close to the desired motor input power; measuring the measured motor input power; comparing the measured motor input power with the desired motor input power; and when the measured motor input power does not match the desired motor input power, applying a calibration factor to the excitation time parameters of the motor so that the measured motor input power moves toward the desired motor input power.
[0037] According to another aspect of the present invention, a method for controlling a device including a brushless permanent magnet motor is provided, the method comprising determining a device output target; determining a motor operation target to achieve the device output target; comparing the motor operation target with a set of predetermined excitation time parameter relationships; operating the motor according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target; measuring the measured motor operation response; comparing the measured motor operation response with the motor operation target; and when the measured motor operation response does not match the motor operation target, applying a calibration factor to the excitation time parameters of the motor so that the motor operation response moves toward the motor operation target.
[0038] The device output target may include any one or any combination of output air flow and output air temperature.The device output target may be determined by a sensor, which may, for example, comprise a part of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to better understand the present invention and to more clearly show how the present invention may be carried out, the present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0040] Figure 1 is a block diagram of a motor system according to the present invention;
[0041] Figure 2 yes Figure 1 Schematic diagram of the motor system;
[0042] 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;
[0043] Figure 4 is a diagram showing the control according to the present invention Figure 1 and Figure 2 A schematic flow chart of a method for an electric motor system;
[0044] Figure 5 is shown with Figure 4 A schematic block diagram of a control structure for use with the method;
[0045] Figure 6 is a schematic motor power envelope according to the present invention;
[0046] Figure 7 is a schematic diagram illustrating the variation of motor input power and efficiency with respect to the conduction period; and
[0047] Figure 8 is a schematic flow chart illustrating another method according to the present invention. DETAILED DESCRIPTION
[0048] exist Figure 1 and 2 1 shows a motor system according to the present invention, generally designated by reference numeral 10. The motor system 10 is powered by a DC power source 12, such as a battery, and includes a brushless permanent magnet motor 14 and a control circuit 16. Those skilled in the art will recognize that the method of the present invention is equally applicable to a motor system powered by an AC power source with appropriate circuit modifications, such as the inclusion of a rectifier.
[0049] The motor 14 includes a four-pole permanent magnet rotor 18 that rotates relative to a four-pole stator 20. Although shown here as a four-pole permanent magnet rotor, it should be understood that the present invention can be applied to motors having different pole numbers, such as eight poles. The wires wound around the stator 20 are connected together to form a single-phase winding 22. Although described here 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.
[0050] 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 .
[0051] The filter 24 includes a link capacitor C1 which smoothes relatively high frequency fluctuations due to switching of the inverter 26 .
[0052] 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.
[0053] 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 .
[0054] 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 supply 12. The voltage across the current sensor 30 is output to the controller 36 as a signal I_SENSE. It will be appreciated that in this embodiment, it is not possible to measure the current in the phase winding 22 during freewheeling, but possible alternative embodiments are also contemplated, such as by using multiple shunt resistors.
[0055] 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 .
[0056] The position sensor 34 comprises a Hall effect sensor located in a slot opening of the stator 20, however, it will be appreciated that alternative arrangements are also contemplated, such as an arrangement in which the Hall effect sensor is positioned adjacent to a locating magnet on the shaft. The sensor 34 outputs a digital signal HALL, which is either logically high or low depending on the direction of the magnetic flux passing through the sensor 34. The HALL signal thereby provides a measurement of the angular position of the rotor 18. An embodiment is also contemplated in which the position sensor 34 is omitted and a sensorless control scheme is implemented. Such a sensorless control scheme is known and will not be described herein for the sake of brevity. In such a sensorless scheme, the HALL signal may be replaced by a back EMF signal representing a period of the back EMF.
[0057] 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.
[0058] Figure 3The 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).
[0059] In the event that the speed of the rotor 18 is above a predetermined threshold, for example above 40 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.
[0060] 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 energizing the winding from right to left.
[0061] 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 advance angle or the on period to obtain the desired operating characteristics.
[0062] Now refer to Figure 4 A method according to the invention is described.
[0063] The method 100 includes determining a motor operation target at 102. The motor operation target is determined by a user inputting their motor operation target, or, for example, according to a mode selected by the user. The motor operation target is compared to a set of predetermined excitation time parameter relationships at 104, which are stored in a memory of the controller 36. Each predetermined excitation time parameter relationship is established by experimentation or computational simulation. In the present case, the excitation time parameter relationship is a relationship between a motor operation target or response and an excitation time parameter value that needs to be implemented in order to achieve the motor operation target or response. Those skilled in the art will recognize that each excitation time parameter itself can be determined by another characteristic relationship, which can be determined by other operating characteristics of the motor 14.
[0064] In response to the comparison at 104 , the controller 30 operates the motor 14 at 106 according to an activation time parameter relationship determined from a set of predetermined activation time parameter relationships to provide a motor operation response close to the motor operation target, such as within a 25% error range of the motor operation target.
[0065] The actual motor operation response is measured at 108 and compared to the motor operation target at 110. If the measured motor operation response does not match the motor operation target, a calibration factor is applied to the motor's activation timing parameters at 112 such that the measured motor operation response moves toward the motor operation target.
[0066] In this way, the measured motor operation response can be closely controlled to match the motor operation target in a closed feedback loop manner. However, simply controlling the brushless permanent magnet motor 14 in such a closed loop manner may result in control instability and / or inefficiency, for example due to the need for large calibration factors to compensate for errors between the measured motor operation response and the desired motor operation target.
[0067] By comparing the motor operation target to a set of predetermined excitation time parameter relationships at 104, and operating the motor 14 according to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target at 106, the closed-loop control can be set with a starting point close enough to the motor operation target so that the excitation time parameters do not require a large calibration factor. Therefore, the method 100 according to the present invention can provide greater stability and improved motor performance relative to methods that simply use closed-loop control.
[0068] Those skilled in the art will recognize that method 100 can be used to control many motor operation responses, including, for example, motor input power, motor speed, air flow through the motor, phase voltage, DC link voltage, phase current, supply current, motor pressure, motor temperature, or an error function combining any of the above parameters. Where the motor operation objective includes minimization of an error function, the error function may take the form of the following equation:
[0069] Error = K1*(target input power - measured input power) + K2*(target speed - measured speed)
[0070] Where K1 and K2 are the relative weight factors for each objective. In the above, the target speed can be set to the maximum value that the motor can achieve, and the target input power is set to the minimum value, so the control system will try to reduce the target input power at maximum speed in a manner defined by the weight factors. For a given set of system constraints, this will provide peak efficiency.
[0071] Those skilled in the art will further recognize that the excitation time parameters may include parameters that define when the motor 14 is commutated, and / or when the excitation of the motor 14 begins and / or ends, and / or how long the motor 14 is excited. For example, the excitation time parameters may be any one or any combination of an advance angle, an on-time period, a de-excitation (or freewheeling) angle, a de-excitation (or freewheeling) period, or a duty cycle.
[0072] Will refer to Figure 5 A practical embodiment of method 100 is described and relates to the case where the motor operation target is the motor input power.
[0073] The desired motor input power is determined by a user inputting the desired motor input power, or is determined based on a mode selected by a user at 102. The desired motor input power determines the control mode of the brushless permanent magnet motor 14.
[0074] For example, from Figure 6 It can be seen that the control mode of the motor 14 depends on the motor input power. In the case of high motor input power, the motor 14 is controlled so that commutation occurs before the zero crossing of the back EMF, and a single excitation period occurs in each electrical half cycle, followed by a dual FET freewheeling period. This Figure 6 In the case of medium motor input power, the motor 14 is controlled so that commutation occurs before the zero crossing of the back EMF, two excitation periods occur in each electrical half cycle, and each excitation period is followed by a dual FET freewheeling period. Figure 6In the case of medium to low motor input power, the motor 14 is controlled so that commutation is delayed relative to the zero crossing of the back EMF, a single energizing period occurs in each electrical half cycle, followed by closing the bridge of switches Q1-Q4. Figure 6 In the case of low motor input power, such as near the minimum input power, pulse width modulation (PWM) of the input voltage occurs, and the commutation of the motor 14 is synchronized with the zero crossing of the back EMF induced in the motor 14. Figure 6 It is called Mode 4.
[0075] It can therefore be seen that the desired motor input power determined by the user at 102 affects the control mode of the brushless permanent magnet motor 14. Some desired motor input powers may span more than one control mode, and in such cases, the controller 30 will select the most appropriate control mode as appropriate. The controller 30 also employs hysteresis control to ensure that the motor 14 does not oscillate between different control modes.
[0076] from Figure 6 It can be seen that the control mode of the motor 14 also has an impact on the excitation time parameter relationship that determines the desired motor input power, and different relationships exist for different modes. In particular, when the motor input power is at a high level and the motor is controlled in mode 1, the excitation time parameter relationship can use the advance angle as the primary excitation time parameter and the on period as the secondary excitation time parameter. When the motor input power is at a medium level and the motor is controlled in mode 2, the excitation time parameter relationship can use the freewheeling period as the primary excitation time parameter and the on period as the secondary excitation time parameter, or the excitation time parameter relationship can use the advance angle as the primary excitation time parameter and the freewheeling period as the secondary excitation time parameter. When the motor input power is at a medium to low level and the motor is controlled in mode 3, the excitation time parameter relationship can use the on period as the primary excitation time parameter and the advance angle as the secondary excitation time parameter. When the motor input power is at a low level and the motor is controlled in mode 4, the excitation time parameters can use the duty cycle as the primary excitation time parameter.
[0077] Thus, it can be seen that the desired motor input power determined by the user at 102 is also linked to an excitation time parameter relationship. In this regard, the method 100 includes comparing the desired motor input power to a set of predetermined excitation time parameter relationships, such as stored in a memory of the controller 30. Each of the set of predetermined excitation time parameter relationships links the motor input power to a set of excitation time parameters that can be implemented to achieve the motor input power.
[0078] The method 100 includes operating the motor 14 according to an excitation time parameter relationship determined from a set of predetermined excitation time parameter relationships to provide a motor input power that is close to a desired motor input power, for example, a motor input power that is within 25% of the value of the desired motor input power, at 106. If the desired motor input power is within a single control mode, then the two closest excitation time parameter relationships may be interpolated to obtain an operational excitation time parameter relationship. However, if the desired motor input power overlaps with multiple control modes, then a single excitation time parameter relationship that provides a motor input power that is closest to the desired motor input power is selected as the operational excitation time parameter relationship.
[0079] In practice, to ensure a practical control scheme, the operational excitation time parameter relationship is set as an upper or lower limit on the excitation time parameter value so that the excitation time parameter value can only be changed in one direction, such as increasing or decreasing, to achieve the desired motor input power. This can allow the relationship to change in a well-defined manner and can make the endpoint values more repeatable.
[0080] If the operational activation time parameter relationship is significantly removed from the previous operational activation time parameter relationship, the controller 30 implements a transition mode whereby the motor 14 is accelerated or decelerated appropriately to provide a gradual transition to the operational activation time parameter.
[0081] Once the operational activation time parameters are selected and implemented, the actual motor input power is measured at 108 and the measured motor operational input power is compared to the desired motor input power at 110. If the measured motor input power does not match the desired motor input power, a calibration factor is applied to the activation time parameters of the motor at 112 to move the measured input power toward the desired motor input power.
[0082] In this regard, and as described above, each excitation time parameter relationship may include multiple excitation time parameters, and different priorities may be provided to the excitation time parameters within the excitation time parameter relationship. For example, in a situation where the expected motor input power is relatively high, the advance angle may be considered a primary excitation time parameter, while the conduction period may be considered a secondary excitation time parameter. Applying the calibration factor at 112 may involve applying a first calibration factor to the primary excitation time parameter and / or applying a second calibration factor to the secondary excitation time parameter. Alternatively, applying the calibration factor may involve, for example, a ratio between the primary and secondary excitation time parameters, for example, one secondary excitation time parameter increment for every two primary excitation time parameter increments. As will be appreciated by those skilled in the art, the type of calibration factor applied will depend on the excitation time parameter relationship implemented.
[0083] Each excitation timing parameter can be defined by other motor operating characteristics. For example, the advance angle and the on-time period can be defined by the relationship listed below:
[0084] Advance time:
[0085] AP00+AP10×V+AP01×S+AP20×V 2 +AP02×S 2 +AP11×V×S+AP30×V 3 ±correction
[0086] On time:
[0087] CP00+CP10×V+CP01×S±correction
[0088] Where APXX and CPXX are coefficients determined from simulation and measurement, S is the motor rotor speed, and V is the motor input voltage. The result of the above equation is altered by applying a calibration factor at 112.
[0089] When the calibration factor is applied to the excitation time parameter at 112, a predetermined limit is imposed on the excitation time parameter to ensure optimal operating conditions for the motor 14. For example, Figure 7 It can be seen that the motor efficiency can vary with the motor input power in a non-linear manner in response to changes in the conduction period. Although there may be multiple points with the same value (e.g., the desired motor input power value) along the motor input power curve, each of these points may result in a different motor operating efficiency. By setting a predetermined limit on the excitation time parameter, the motor can be prevented from operating at a low motor operating efficiency at the desired motor input power.
[0090] If the primary excitation time parameter reaches the predetermined limit before the measured motor input power reaches the desired motor input power, the second calibration factor is applied to the secondary excitation time parameter until the measured motor input power reaches the desired motor input power. Of course, the measured motor input power may also reach the desired motor input power before the primary excitation time parameter reaches its predetermined limit, in which case it may not be necessary to apply the calibration factor to the secondary excitation time parameter.
[0091] The desired motor input power is measured at 108 , compared to the desired motor input power at 110 , and then a calibration factor is applied in a closed loop fashion at 112 to continuously seek the desired motor input power.
[0092] Those skilled in the art will recognize that method 100 will be applicable to other desired motor operating objectives with minimal modification of the method steps described above.
[0093] Those skilled in the art will further appreciate that method 100 may be slightly modified, such as Figure 8 As shown, a method 200 of controlling an apparatus including a brushless permanent magnet motor 14 is provided.
[0094] The method 200 is substantially similar to the previously described method 100 and differs in that an additional step 202 of determining a device output target and an additional step 204 of determining a motor operation target to achieve the device output target are included. The other steps of the method 200 are also present in the previously described method 100 and are therefore described in detail for consistency. Figure 8 The same reference numerals are used throughout.
Claims
1. A method of controlling a brushless permanent magnet motor, the method comprising determining a motor operation target; comparing the motor operation target with a set of predetermined excitation time parameter relationships; operating the motor according to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response that is close to the motor operation target; measuring a measured motor operation response; comparing the measured motor operation response to the motor operation target; When the measured motor operation response does not match the motor operation target, a calibration factor is applied to the excitation time parameter of the motor so that the measured motor operation response moves toward the motor operation target, wherein the excitation time parameter relationship is the relationship between the motor operation target and the excitation time parameter value that needs to be implemented in order to achieve the motor operation target.
2. The method according to claim 1, wherein: The energization time parameters include parameters defining when the motor is commutated, and / or when energization of the motor starts and / or ends, and / or how long the motor is energized.
3. The method according to claim 1, wherein: The motor operation target includes any one or any combination of motor input power, motor speed, air flow through the motor, phase voltage, DC link voltage, phase current, supply current, motor pressure, motor temperature, and error functions of the aforementioned parameters.
4. A method according to any one of the preceding claims, wherein: The method includes determining an operating mode of a brushless permanent magnet motor corresponding to the motor operating target.
5. The method according to any one of claims 1 to 3, wherein: The method includes setting at least one limit for the activation time parameter.
6. The method according to claim 5, wherein: The method includes applying the calibration factor to the excitation time parameter until the excitation time parameter reaches the at least one limit.
7. The method according to claim 6, wherein: The method comprises applying a further calibration factor to another excitation time parameter once the excitation time parameter reaches the at least one limit.
8. The method according to any one of claims 1 to 3, wherein: The method includes: using an initial excitation time parameter relationship to operate the brushless permanent magnet motor, and wherein the initial excitation time parameter relationship is far away from the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships, and the method includes entering a transition mode between the initial excitation time parameter relationship and the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships.
9. The method according to any one of claims 1 to 3, wherein: Operating the motor according to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response close to the motor operation target, including: operating the motor according to an excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response within 25%, or within 10%, or within 5%, or within 1% of the value of the motor operation target.
10. A computer readable storage medium comprising machine readable instructions for operating a controller of a brushless permanent magnet motor to determine a motor operation target; compare the motor operation target to a set of predetermined excitation time parameter relationships; operate the motor according to the excitation time parameter relationship determined from the set of predetermined excitation time parameter relationships to provide a motor operation response that is close to the motor operation target; measuring a measured motor operation response; comparing the measured motor operation response to the motor operation target; When the measured motor operation response does not match the motor operation target, a calibration factor is applied to the excitation time parameter of the motor so that the measured motor operation response moves toward the motor operation target, wherein the excitation time parameter relationship is the relationship between the motor operation target and the excitation time parameter value that needs to be implemented in order to achieve the motor operation target.
11. A brushless permanent magnet motor, comprising a controller, the controller being configured to determine a motor operation target; compare the motor operation target to a set of predetermined excitation time parameter relationships; operating the motor according to an activation time parameter relationship determined from the set of predetermined activation time parameter relationships to provide a motor operation response that approximates the motor operation target; measuring a measured motor operation response; comparing the measured motor operation response to the motor operation target; When the measured motor operation response does not match the motor operation target, a calibration factor is applied to the excitation time parameter of the motor so that the measured motor operation response moves toward the motor operation target, wherein the excitation time parameter relationship is the relationship between the motor operation target and the excitation time parameter value that needs to be implemented in order to achieve the motor operation target.
12. A method of controlling a device including a brushless permanent magnet motor, the method comprising determining a device output target; determining a motor operation target to achieve the device output target; comparing the motor operation target to a set of predetermined excitation time parameter relationships; operating the motor according to an activation time parameter relationship determined from the set of predetermined activation time parameter relationships to provide a motor operation response that approximates the motor operation target; measuring a measured motor operation response; comparing the measured motor operation response to the motor operation target; When the measured motor operation response does not match the motor operation target, a calibration factor is applied to the excitation time parameter of the motor so that the measured motor operation response moves toward the motor operation target, wherein the excitation time parameter relationship is the relationship between the motor operation target and the excitation time parameter value that needs to be implemented in order to achieve the motor operation target.
13. The method according to claim 12, wherein: The device output target includes any one or any combination of output air flow and output air temperature.
