This application claims the priority of United Kingdom Application No. 1016687.4, filed Oct. 4, 2010, the entire contents of which are incorporated herein by reference.
The present invention relates to control of an electrical machine.
An electrical machine is typically driven by a control system that controls the excitation of phase windings. The control system may adjust the turn-on and turn-off angles of excitation in response to changes in the speed of the electrical machine so as to maximize output power or minimize torque ripple. However, little attention is generally given to the efficiency of the electrical machine.
In a first aspect, the present invention provides a method of controlling an electrical machine, the method comprising exciting a phase winding of the electrical machine with a supply voltage, sensing current in the phase winding, freewheeling the phase winding when current in the phase winding exceeds a threshold, and adjusting the threshold in response to changes in at least one of the supply voltage and the speed of the electrical machine.
By employing an overcurrent threshold that varies with the supply voltage and/or speed of the electrical machine, the efficiency of the electrical machine may be improved. In particular, the overcurrent threshold may be adjusted such that harmonics within the phase-current waveform are reduced. Additionally, by employing an overcurrent threshold that varies with supply voltage and/or speed, the starting torque of the electrical machine may be reduced. This then reduces the stresses placed on mechanical components of the electrical machine and thus the lifespan of the electrical machine may be prolonged.
The method may comprise increasing the threshold in response to at least one of a decrease in the supply voltage and an increase the speed of the electrical machine. The rate at which current rises in the phase winding depends on, among other things, the supply voltage. By increasing the overcurrent threshold in response to a decrease in the supply voltage, a particular acceleration profile and/or power profile may be maintained irrespective of changes in the supply voltage. By increasing the overcurrent threshold in response to an increase in speed, the torque of the electrical machine can be gradually increased during start-up. Additionally, for a permanent-magnet electrical machine, the back EMF induced in the phase winding increases with speed. By increasing the overcurrent threshold in response to an increase in speed, a particular power profile may be achieved over a range of different rotor speeds.
The phase winding may be freewheeled for a freewheel period, after which the phase winding is again excited. The freewheel period may be fixed over each electrical half-cycle. This then simplifies the control of the electrical machine. If required, the freewheel period may be adjusted at the end of each electrical half-cycle, e.g. in response to changes in supply voltage or speed. Alternatively, in order to further simplify the control, the freewheel period may be fixed over a particular speed range, e.g. during initial acceleration.
The method may comprise sequentially exciting and freewheeling the phase winding over a period defined between a turn-on angle and a turn-off angle for each electrical half-cycle. The method then comprises adjusting at least one of the turn-on angle and the turn-off angle in response to changes in the supply voltage and/or the speed of the electrical machine. By adjusting the overcurrent threshold, the turn-on angle and/or turn-off angle, a particular power profile may be achieved over a range of different voltages and/or speeds. In particular, constant input or output power may be achieved over the range of voltages and/or speeds. Moreover, the overcurrent threshold, the turn-on angle and/or turn-off angle may be adjusted such that the efficiency of the electrical machine is optimized over the power profile.
The method may comprise sequentially exciting and freewheeling the phase winding over a conduction period for each electrical half-cycle, and adjusting the length of the conduction period in response to changes in the supply voltage and/or the speed of the electrical machine. By adjusting both the overcurrent threshold and the length of the conduction period in response to changes in supply voltage and/or speed, improvements in the efficiency of the electrical machine are achievable over a range of voltages and/or speeds. Further improvements in the efficiency may be possible by additionally adjusting the point at which the phase winding is commutated. Accordingly, the method may further comprise commutating the phase winding relative to edges of a rotor-position signal, and adjusting the period between each commutation and each edge of the rotor-position signal in response to changes in the supply voltage and/or the speed of the electrical machine.
The method may comprise freewheeling the phase winding for a freewheel period, and adjusting the freewheel period in response to changes in the supply voltage and/or speed of the electrical machine. Accordingly, further improvements in the efficiency of the electrical machine may be realized.
The method may comprise generating a pulsed signal having a duty cycle, smoothing the pulsed signal to generate a threshold voltage, sensing the voltage across a component of the electrical machine, comparing the sensed voltage with the threshold voltage, freewheeling the phase winding when the sensed voltage exceeds the threshold voltage, and adjusting the duty cycle in response to changes in the supply voltage and/or the speed of the electrical machine. This then represents a relatively simple way in which to generate an overcurrent threshold that can be adjusted in response to changes in supply voltage and/or speed. In particular, the overcurrent threshold may be generated without the need for a digital-to-analog converter. Accordingly, a relatively simple and thus cheap circuit and/or or microcontroller may be used to implement the method.
The method may comprise storing a lookup table comprising a duty cycle for each of a plurality of voltages and/or speeds. The method then comprises selecting from the look-up table a duty cycle corresponding to the supply voltage and/or the speed of the electrical machine, and using the selected duty cycle to generate the pulsed signal. The use of a lookup table simplifies the control of the electrical machine. As a result, a relatively simple and thus cheap microcontroller may be used.
In a second aspect, the present invention provides a method of controlling an electrical machine, the method comprising sequentially exciting and freewheeling a phase winding of the electrical machine over each electrical half-cycle, the phase winding being excited with a supply voltage, the phase winding being freewheeled for a freewheel period when current in the phase winding exceeds a threshold, and the freewheel period being constant over each electrical half-cycle, and adjusting the threshold in response to changes in at least one of the supply voltage and the speed of the electrical machine.
In a third aspect, the present invention provides a method of controlling an electrical machine, the method comprising exciting a phase winding of the electrical machine with a supply voltage, generating a pulsed signal having a duty cycle, smoothing the pulsed signal to generate a threshold voltage, sensing the voltage across a component of the electrical machine, comparing the sensed voltage with the threshold voltage, freewheeling the phase winding when the sensed voltage exceeds the threshold voltage, and adjusting the duty cycle in response to changes in at least one of the supply voltage and the speed of the electrical machine.
In a fourth aspect, the present invention provides a control system for an electrical machine, the control system performing the method described in any one of the preceding paragraphs.
The control system preferably comprises an inverter coupled to the phase winding, a current sensor for sensing current in the phase winding, and a controller for generating one or more control signals for controlling the inverter. The inverter excites the phase winding with the supply voltage in response to first control signals from the controller, and freewheels the winding in response to second control signals from the controller. The controller then generates the first control signals and subsequently generates the second control signals when current in the phase winding exceeds the threshold.
The current sensor preferably outputs a signal having a voltage that is sensitive to current in the phase winding, and the control system comprises a threshold generator that generates a signal having a voltage that depends on at least one of the supply voltage and the speed of the electrical machine. The controller then generates the second control signals when the voltage of the signal output by the current sensor exceeds the voltage of the signal output by the threshold generator. More preferably, the threshold generator comprises a PWM module and a smoothing filter, and the duty cycle of the PWM module depends on at least one of the supply voltage and the speed of the electrical machine. The PWM module provides a cost-effective means for generating a signal having a voltage that can be adjusted (e.g., by means of the duty cycle) in response to changes in supply voltage and/or speed.
In a fifth aspect, the present invention provides a motor system comprising a permanent-magnet motor and a control system according to any one of the preceding paragraphs.
In order that the present invention may be more readily understood, an embodiment of the invention will now be described, by way of example, with reference to the accompanying drawings, in which:
The motor system 1 of
The motor 3 comprises a four-pole permanent-magnet rotor 5 that rotates relative to a stator 6. The stator 6 comprises a pair of c-shaped cores that define four stator poles. Conductive wires are wound about the cores and are coupled together to form a single phase winding 7.
The control system 4 comprises a rectifier 8, a DC link filter 9, an inverter 10, a gate driver module 11, a current sensor 12, a rotor-position sensor 13, and a controller 14.
The rectifier 8 comprises a full-wave bridge of four diodes D1-D4 that rectify the output of the AC power supply 2 to provide a DC voltage.
The DC link filter 9 comprises a capacitor C1 that smoothes the relatively high-frequency ripple that arises from switching of the inverter 10. If required, the DC link filter 9 may additionally smooth the rectified DC voltage at the fundamental frequency.
The inverter 10 comprises a full bridge of four power switches Q1-Q4 that couple the DC link voltage to the phase winding 7. Each of the switches Q1-Q4 includes a freewheel diode, which protects the switch against voltage spikes that arise during inverter switching.
The gate driver module 11 drives the opening and closing of the switches Q1-Q4 in response to control signals received from the controller 14.
The current sensor 12 comprises a pair of shunt resistors R1,R2, each resistor located on a lower arm of the inverter 10. The voltage across each resistor R1,R2 is output to the controller 14 as a current sense signal, I_SENSE_1 and I_SENSE_2. The first current sense signal, I_SENSE_1, provides a measure of the current in the phase winding 7 when the inverter 10 is driven from right to left (as is described below in more detail). The second current sense signal, I_SENSE_2, provides a measure of the current in the phase winding 7 when the inverter 10 is driven from left to right. In locating the resistors R1,R2 on the lower arms of the inverter 10, current in the phase winding 7 continues to be sensed during freewheeling (again, as is described below in more detail).
The rotor-position sensor 13 comprises a Hall-effect sensor that outputs a digital signal, HALL, that is logically high or low depending on the direction of magnetic flux through the sensor 13. By locating the sensor 13 adjacent the rotor 5, the HALL signal provides a measure of the angular position of the rotor 5. More particularly, each edge of the HALL signal indicates a change in the polarity of the rotor 5. When rotating, the permanent-magnet rotor 5 induces a back EMF in the phase winding 7. Consequently, each edge of the HALL signal additionally represents a change in the polarity of the back EMF in the phase winding 7.
The controller 14 comprises a microcontroller having a processor 15, a memory device 16, a plurality of peripherals 17 (e.g. comparators, timers etc.), and a plurality of input/output pins 18. A suitable candidate is the PIC16F690 microcontroller by Microchip Technology Inc. The memory device 16 stores software instructions for execution by the processor 15. The memory device 16 also stores a plurality of lookup tables, which are indexed by the processor 15 during operation of the motor system 1.
The controller 14 is responsible for controlling the operation of the motor system 1. In response to four input signals: I_SENSE_1, I_SENSE_2, HALL, and DC_SMOOTH, the controller 14 generates and outputs three control signals: DIR1, DIR2, and FW#. The control signals are output to the gate driver module 11, which in response drives the opening and closing of the switches Q1-Q4 of the inverter 10.
I_SENSE_1 and I_SENSE_2 are the signals output by the current sensor 12, and HALL is the signal output by the rotor-position sensor 13. DC_SMOOTH is a smoothed measure of the DC link voltage, obtained by a potential divider R3,R4 and smoothing capacitor C2.
DIR1 and DIR2 control the direction of current through the inverter 10 and thus through the phase winding 7. When DIR1 is pulled logically high and DIR2 is pulled logically low, the gate driver module 11 closes switches Q1 and Q4, and opens switches Q2 and Q3, thus causing current to be driven through the phase winding 7 from left to right. Conversely, when DIR2 is pulled logically high and DIR1 is pulled logically low, the gate driver module 11 closes switches Q2 and Q3, and opens switches Q1 and Q4, thus causing current to be driven through the phase winding 7 from right to left. Current in the phase winding 7 is therefore commutated by reversing DIR1 and DIR2. If both DIR1 and DIR2 are pulled logically low, the gate drive module 11 opens all switches Q1-Q4.
FW# is used to disconnect the phase winding 7 from the DC link voltage and allow current in the phase winding 7 to freewheel around the low-side loop of the inverter 10. Accordingly, in response to a FW# signal that is pulled logically low, the gate driver module 11 causes both high-side switches Q1,Q2 to open. Current then freewheels around the low-side loop of the inverter 10 in a direction defined by DIR1 and DIR2.
The controller 14 includes a number of peripherals 17 that are configured as a current limiter 20. The current limiter 20 is responsible for monitoring current in the phase winding 7 and generating an overcurrent signal in the event that the current exceeds a threshold.
As illustrated in
The PWM module 21 and the smoothing filter 22 may collectively be regarded as a threshold generator 25, which generates a threshold signal having a particular voltage. The PWM module 21 generates a pulsed voltage signal, which is output by the controller 14. The smoothing filter 22 smoothes the pulsed voltage signal to generate the threshold signal, which is then input to the controller 14. The PWM module 21 employs a constant period and a variable duty cycle that is set by the processor 15.
Accordingly, the voltage of the threshold signal depends on the duty cycle set by the processor 15.
The multiplexer 23 has two inputs for selecting one of the two current-sense signals, I_SENSE_1 and I_SENSE_2. The selection made by the multiplexer 23 is controlled by the processor 15 in response to the direction of current through the phase winding 7. Consequently, when DIR1 is set, the multiplexer 23 selects I_SENSE_1, and when DIR2 is set, the multiplexer 23 selects I_SENSE_2. The output of the multiplexer 23 is delivered to the comparator 24.
The comparator 24 compares the voltage of the current-sense signal, I_SENSE_1 or I_SENSE_2, with the voltage of the threshold signal. When the voltage of the current-sense signal exceeds that of the threshold signal, the comparator 24 outputs an overcurrent signal that is pulled logically low. Otherwise, the comparator 24 outputs an overcurrent signal that is pulled logically high.
The current limiter 20 therefore toggles the overcurrent signal when the voltage of the current-sense signal exceeds that of the threshold signal. Since the voltage of the current-sense signal is directly proportional to the current in the phase winding 7, the current limiter 20 toggles the overcurrent signal when current in the phase winding 7 exceeds an overcurrent threshold. The overcurrent threshold is defined by the duty cycle of the PWM module 21, which is set by the processor 15 of the controller 14. As explained below, the controller 14 is therefore able to employ different overcurrent thresholds according to the voltage of the power supply 2 and/or the speed of the motor 3.
The controller 14 operates in one of two modes depending on the speed of the rotor 5. At speeds below a predetermined speed threshold, the controller 14 operates in acceleration mode. At speeds at or above the speed threshold, the controller 14 operates in steady-state mode. The speed of the rotor 5 is determined from the period, T_HALL, between two successive edges of the HALL signal. This interval will hereafter be referred to as the Hall period.
Acceleration Mode
At speeds below the speed threshold, the controller 14 commutates the phase winding 7 in synchrony with the edges of the HALL signal. Each HALL edge represents a change in the polarity of back EMF in the phase winding 7. Consequently, the controller 14 commutates the phase winding 7 in synchrony with the zero-crossings of back EMF.
Commutation involves reversing DIR1 and DIR2 (i.e. clearing DIR1 and setting DIR2, or clearing DIR2 and setting DIR1) so as to reverse the direction of current through the phase winding 7. The phase winding 7 may be freewheeling at the point of commutation. Accordingly, in addition to reversing DIR1 and DIR2, the controller 14 sets FW# so as to ensure that the inverter 10 is returned to a drive condition.
When current in the phase winding 7 reaches an overcurrent threshold, the current limiter 20 clears the overcurrent signal. In response to the change in overcurrent signal, the controller 14 freewheels the phase winding 7 by clearing FW#. Freewheeling continues for a freewheel period, T_FW, during which time current in the phase winding 7 is expected to decay to a level below the overcurrent threshold. If current in the phase winding 7 continues to exceed the overcurrent threshold (i.e. if the overcurrent signal continues to be clear), the controller 14 again freewheels the phase winding 7 for the freewheel period, T_FW. If, on the other hand, current in the phase winding 7 has dropped below the overcurrent threshold (i.e. the overcurrent signal is set), the controller 14 excites the phase winding 7 by setting FW#. Consequently, the controller 14 sequentially excites and freewheels the phase winding 7.
The controller 14 may employ a fixed freewheel period, T_FW. However, for a fixed freewheel period, the corresponding electrical angle increases with rotor speed. Consequently, the remaining electrical angle over which current and thus power is driven into the phase winding 7 decreases. Additionally, as the rotor speed increases, the back EMF induced in the phase winding 7 increases. As a result, phase current decays at a faster rate during freewheeling. Accordingly, rather than employing a fixed freewheel period, the controller 14 instead employs a freewheel period that varies with rotor speed. More particularly, the controller 14 employs a freewheel period that decreases with increasing rotor speed. Additionally, for reasons that are set out below, the controller 14 employs a freewheel period that varies with the voltage of the power supply 2. The controller 14 therefore comprises a freewheel lookup table that stores a freewheel period, T_FW, for each of a plurality of supply voltages and rotor speeds. The controller 14 then periodically updates the freewheel period by indexing the freewheel lookup table using the present voltage of the power supply 2 (as determined from DC_SMOOTH) and the present speed of the rotor 5 (as determined from T_HALL).
The overcurrent threshold employed by the current limiter 20 is not fixed but instead varies with changes in the voltage of the power supply 2 and the speed of the rotor 5. This is achieved by varying the duty cycle of the PWM module 21 in response to changes in DC_SMOOTH and T_HALL. The controller 14 therefore comprises a duty-cycle lookup table that stores a duty cycle for each of a plurality of supply voltages and rotor speeds. The controller 14 then periodically updates the duty cycle of the PWM module 21 by indexing the duty-cycle lookup table using the present voltage of the power supply 2 (as determined from DC_SMOOTH) and the present rotor speed (as determined from T_HALL).
The starting torque of a motor during initial start-up and acceleration may be many orders of magnitude greater than the torque demanded by the load. As a result, the net acceleration torque places considerable stresses on the mechanical components of the motor. The controller 14 therefore employs an overcurrent threshold that increases with rotor speed. As a result, the starting torque and thus the net acceleration torque are reduced. This then reduces the stresses placed on the mechanical components of the motor 3 and thus the lifespan of the motor 3 may be prolonged.
The rate at which current rises in the phase winding 7 depends on, among other things, the voltage of the power supply 2. Consequently, if the same overcurrent threshold is used irrespective of the supply voltage then the input and output power of the motor system 1 may differ with supply voltage. This in turn may adversely affect the acceleration of the motor system 1. Accordingly, the controller 14 employs an overcurrent threshold that increases with decreasing supply voltage. As a result, the same or similar acceleration profile may be achieved irrespective of the voltage of the power supply 2.
Owing to the magnitude of the currents that the power switches Q1-Q4 must carry, as well as the relatively high switching frequency, the power switches Q1-Q4 can become very hot during operation. In order to prevent thermal damage, the motor 2 may include a fan or impeller mounted to the rotor 5 for drawing cooling air through the motor system 1 so as to cool the power switches Q1-Q4. This then enables the power switches Q1-Q4 to carry higher currents than might otherwise be possible. During initial start-up and acceleration, the rotor speed is relatively low and thus very little cooling air is drawn through the motor system 1. By employing an overcurrent threshold that increases with rotor speed, the currents carried by the power switches Q1-Q4 can be kept relatively low at low rotor speeds. This then prevents the power switches Q1-Q4 from overheating at a time where there is little cooling air.
Steady-State Mode
At speeds at or above the speed threshold, the controller 14 commutates the phase winding 7 in advance of each HALL edge, and thus in advance of zero-crossings of back EMF. Again, commutation involves reversing DIR1 and DIR2 and setting FW#.
The controller 14 commutates the phase winding 7 in advance of each HALL edge by an advance period, T_ADV. In order to commutate the phase winding 7 in advance of a particular HALL edge, the controller 14 acts in response to the preceding HALL edge. In response to the preceding HALL edge, the controller 14 subtracts the advance period, T_ADV, from the Hall period, T_HALL, in order to obtain a commutation period, T_COM:
T_COM=T_HALL−T_ADV
The controller 14 then commutates the phase winding 7 at a time, T_COM, after the preceding HALL edge. As a result, the controller 14 commutates the phase winding 7 in advance of the subsequent HALL edge.
As in acceleration mode, the controller 14 freewheels the phase winding 7 whenever current in the phase winding 7 exceeds an overcurrent threshold. Freewheeling continues for a freewheel period, T_FW, during which time current in the phase winding 7 is expected to decay to a level below the overcurrent threshold. If current in the phase winding 7 continues to exceed the overcurrent threshold, the controller 14 again freewheels the phase winding 7. Otherwise, the controller 14 excites the phase winding 7. Consequently, as in acceleration mode, the controller 14 sequentially excites and freewheels the phase winding 7.
When operating in acceleration mode, the controller 14 sequentially excites and freewheels the phase winding 7 over the full length of each electrical half-cycle. In contrast, when operating in steady-state mode, the controller 14 sequentially excites and freewheels the phase winding 7 over a conduction period, T_CD, that typically spans only part of each electrical half-cycle. At the end of the conduction period, the controller 14 freewheels the winding by clearing FW#. Freewheeling then continues indefinitely until such time as the controller 14 commutates the motor 3.
The controller 14 adjusts the advance period, T_ADV, the conduction period, T_CD, the freewheel period, T_FW, and the overcurrent threshold (i.e. the duty cycle of the PWM module 21) in response to changes in the voltage of the power supply 2 and the speed of the rotor 5. The controller 14 therefore stores an advance lookup table and a conduction lookup table in addition to the freewheel and duty-cycle lookup tables. The advance lookup table stores an advance period, T_ADV, for each of a plurality of supply voltages and rotor speeds. Likewise, the conduction lookup table stores a conduction period, T_CD, for each of a plurality of supply voltage and rotor speeds.
The controller 14 periodically updates the advance period, the conduction period, the freewheel period and the duty cycle in response to changes in the voltage of the power supply 2 (as determined from DC_SMOOTH) and the rotor speed (as determined from T_HALL). For example, the controller 14 may update the various control parameters in response to each or every nth HALL edge. Alternatively, the controller 14 may update the control parameters after a fixed period of time or in response to zero-crossings in the voltage of the power supply 2.
The lookup tables store values that achieve a particular input or output power at each voltage and speed point. Moreover, the values are chosen such that the efficiency of the motor system 1 at each voltage and speed point is optimized for the particular input or output power. That is to say that various sets of values for the advance period, the conduction period, the freewheel period and the duty cycle may result in the same desired input or output power. However, from these various sets of values, a single set is selected that provides the optimal efficiency.
The efficiency of a motor system is at a maximum when the waveform of the phase current has the same shape and phase as the waveform of the back EMF. This is because harmonics in the phase-current waveform generate power losses for comparatively little useful output power. By employing an overcurrent threshold that varies with supply voltage and rotor speed, a phase-current waveform having reduced harmonics is achievable, as will now be demonstrated.
Let us assume that the motor system 1 employs a fixed overcurrent threshold. Moreover, let us assume that the overcurrent threshold is set relatively high and is intended only to prevent excessive currents from damaging electrical components of the control system 4. When operating at a relatively low speed, the back EMF induced in the phase winding 7 is relatively small. As a result, current rises relatively quickly in the phase winding 7 upon excitation. Since current rises relatively quickly and the overcurrent threshold is relatively high, the controller 14 need only employ a short conduction period in order to achieve a particular input or output power.
Now let us assume that the motor system 1 employs a lower overcurrent threshold. The motor system 1 is operating at the same relatively low speed and thus the current again rises relatively quickly. However, since the overcurrent threshold is now lower, the controller 14 must employ a longer conduction period in order to achieve the same input or output power.
The overcurrent threshold, the conduction period, the advance period and the freewheel period all influence the shape of the phase-current waveform. The particular values that result in minimal harmonics within the phase-current waveform will depend on, among other things, the rate at which phase current rises during excitation and decays during freewheeling. The rate at which phase current rises depends on, primarily, the inductance of the phase winding 7, the voltage of the power supply 2 and the back EMF in the phase winding 7, which in turn depends on the speed of the rotor 5. It is for this reason that the controller 14 adjusts the overcurrent threshold, the conduction period and the advance period in response to changes in both the supply voltage and the rotor speed. The rate at which current in the phase winding 7 decays during freewheeling depends on, primarily, the inductance and the back EMF. Consequently, the rate of decay depends on the rotor speed but not on the supply voltage. Nevertheless, the voltage of the power supply 2 may influence the freewheel period that results in optimal efficiency. For example, if the voltage of the power supply 2 decreases, phase current will rise at a slower rate during excitation. To compensate for this, a shorter freewheel period may be employed so that phase-current decay during freewheeling is reduced. Conversely, if the voltage of the power supply 2 increases, a longer freewheel period may be employed so as to reduce the frequency of inverter switching over the conduction period. As a result, switching losses may be reduced. Accordingly, the controller 14 also adjusts the freewheel period in response to changes in the supply voltage and the rotor speed.
By employing an overcurrent threshold that varies with supply voltage and/or rotor speed, improvements in efficiency of between 5% and 10% have been observed in comparison to a motor system that employs a fixed overcurrent threshold.
Although the controller 14 adjusts the overcurrent threshold in response to changes in supply voltage and/or rotor speed when operating in both acceleration mode and steady-state mode, the reasons for doing so are very different for the two operating modes. In acceleration mode, the controller 14 adjusts the overcurrent threshold so as to reduce starting torque and/or to prevent overheating of the power switches Q1-Q4. In steady-state mode, the controller 14 adjusts the overcurrent threshold so as to improve the efficiency of the motor system 1.
In the embodiment described above, the controller 14 commutates the phase winding 7 in advance of each HALL edge when operating in steady-state mode. The reason for this is that, as the rotor speed increases, the Hall period decreases and thus the time constant (L/R) associated with the phase winding inductance becomes increasingly important. By commutating the phase winding 7 in advance of each HALL edge, the supply voltage is boosted by the back EMF. As a result, the direction of current through the phase winding 7 may be more quickly reversed. Additionally, as the rotor speed increases, so too does the back EMF induced in the phase winding 7, which in turn influences the rate at which phase current rises. By commutating the phase winding 7 in advance of each HALL edge, the phase current may be caused to lead the back EMF, which then helps to compensate for the slower rise. Although this then generates a short period of negative torque, this is normally more than compensated by the subsequent gain in positive torque. Moreover, although having a phase-current waveform that leads the back EMF is not ideal in terms of efficiency, it may be necessary in order to achieve a particular input or output power. The controller 14 therefore advances commutation when operating in steady-state mode owing to the relatively high rotor speeds that are involved. However, if the motor system 1 were to operate at lower speeds within steady-state mode, it may not be necessary to advance commutation. Moreover, optimum efficiency for the motor system 1 may be achieved by delaying commutation until after the next HALL edge. Accordingly, when operating in steady-state mode, the controller 14 may advance, synchronize or delay commutation relative to the HALL edges. Therefore, in a more general sense, the controller 14 may be said to adjust the commutation period in response to changes in the supply voltage and the rotor speed.
Rather than storing a lookup table of advance periods, the controller 14 might alternatively store a lookup table of commutation periods. This then enables commutation to occur before (i.e. advanced), at (synchronous), or after (delayed) a HALL edge. For example, the Hall period at 40 krpm is 375 μs. The controller 14 might then store a commutation period of 350 μs in order to commutate the phase winding 7 in advance of the next HALL edge, 375 μs in order to commutate the phase winding 7 in synchrony with the next HALL edge, or 390 μs in order to delay commutation until after the next HALL edge. Additionally, by storing commutation periods rather than advance periods, the controller 14 no longer needs to subtract the advance period, T_ADV, from the Hall period, T_HALL, in order to obtain the commutation period, T_COM. As a result, a simpler and potentially cheaper microcontroller might be used.
The advance/commutation period and the conduction period define the electrical angles at which phase excitation begins and ends. Accordingly, in a more general sense, the controller 14 may be said to sequentially excite and freewheel the phase winding over a period defined between a turn-on angle and a turn-off angle. The controller 14 then adjusts the overcurrent threshold, the turn-on angle and/or the turn-off angle in response to changes in the supply voltage and the rotor speed.
Each lookup table stores values that can be directly loaded into timers of the controller 14. This then simplifies the instructions executed by the controller 14 and thus a relatively simple and cheap microcontroller may be used. However, the controller 14 might store alternative values for controlling the excitation and freewheeling of the phase winding 7. For example, the lookup tables might store electrical angles (e.g. turn-on, turn-off and freewheel angles). Alternatively, the behaviour of each control parameter with supply voltage and rotor speed may be represented by an equation. The controller 14 then solves the equation using the present supply voltage and rotor speed in order to obtain the value of the control parameter.
In the embodiment described above, the controller 14 adjusts the various control parameters (i.e. advance period, conduction period, freewheel period, and duty cycle) in response to changes in both supply voltage and rotor speed. However, if the voltage of the power supply 2 is relatively regular, or if variances in the supply voltage are not deemed important, then the various control parameters may be adjusted for rotor speed only. This then reduces the memory requirements of the controller 14. Accordingly, a potentially cheaper controller might be used. Alternatively, the additional memory that is made available may be used to employ a finer speed resolution for the lookup tables.
In the embodiment described above, the motor system 1 is driven by an AC power supply 2. The various control parameters are then updated in response to changes in the RMS voltage of the power supply (as determined from DC_SMOOTH). However, one or more of the control parameters might alternatively be updated in response to changes in the DC link voltage, i.e. without any smoothing. The control parameters are then updated as the DC link voltage varies across the cycle of the AC power supply 2. Rather than an AC power supply, the motor system 1 might also be driven by a DC power supply, such as a battery. By adjusting the control parameters in response to changes in the supply voltage, a particular power profile may then be maintained as the battery discharges. Moreover, the efficiency of the motor system 1 may be optimized at each voltage point, such that battery life is increased.
Although the controller 14 adjusts the freewheel period in response to changes in supply voltage and rotor speed, it is quite possible that a fixed freewheel period may be used, particularly when operating in steady-state mode. For a fixed freewheel period, the corresponding electrical angle increases with rotor speed. The practicalities of using a fixed freewheel period will therefore depend on the speed range of the motor system 1 and the inductance of the phase winding 7. For example, if the speed range is relatively small then the freewheel angle for a fixed freewheel period will be roughly the same at each end of the speed range. Alternatively, if the inductance of the phase winding 7 is relatively high then the phase current will decay at a relatively slow rate during freewheeling. Consequently, even if a fixed freewheel period results in very different freewheel angles at opposite ends of the speed range, the resulting decay in phase current during freewheeling may not be a problem. By employing a fixed freewheel period, additional memory is then made available for the other control parameters, which are generally more critical in shaping the phase-current waveform.
In response to a FW# signal that is pulled logically low, the gate driver module 11 opens both high-side switches Q1,Q2. Current in the phase winding 7 then freewheels around the low-side loop of the inverter 10 in a direction defined by DIR1 and DIR2. Certain types of power switch are able to conduct in both directions. Accordingly, in addition to opening both high-side switches Q1,Q2, the gate driver module 11 may close both low-side switches Q3,Q4. This then enables current in the phase winding 7 to freewheel through both low-side switches Q3,Q4, rather than through a less efficient freewheel diode. Furthermore, rather than freewheeling around the low-side loop of the inverter 10, the gate driver module 11 may instead control the switches Q1-Q4 such that phase-current freewheels around the high-side loop.
By having a pair of shunt resistors R1,R2, each located on a lower arm of the inverter 10, the current sensor 12 is able to sense current in the phase winding 7 during excitation and freewheeling. However, since the controller 14 freewheels the phase winding 7 for a predetermined period of time, it is not essential to monitor the phase current during freewheeling. Accordingly, the current sensor 12 might comprise a single shunt resistor. Although current cannot then be sensed during freewheeling, the use of a single shunt resistor reduces the component cost and the power dissipation of the current sensor 12. Although the reduction in power dissipation may be small, this may nevertheless prove critical for certain applications, e.g. a low power, low voltage motor system.
In the embodiment described above, the current limiter 20 is formed primarily from the peripherals 17 of controller 14. This then reduces the overall cost of the motor system 1 by making use of the available peripherals 17 of the controller 14, where possible. However, the current limiter 20 might equally be provided as separate circuit that then outputs the overcurrent signal to controller 14.
In the embodiment described above, the threshold generator 25 responsible for generating the threshold signal comprises a PWM module 21 and a smoothing filter 22. This then makes use of existing peripherals 17 of the controller 14. However, alternative arrangements for generating the threshold signal might equally be used. By way of example, the peripherals 17 of the controller 14 might comprise a digital-to-analog converter (DAC). However, a microcontroller having a PWM module is generally cheaper than a microcontroller having a DAC. Accordingly, the use of a PWM module offers a cost-effective solution for generating a threshold signal that can be adjusted in response to changes in supply voltage and/or rotor speed.
Although reference has thus far been made to a motor system 1 having a permanent-magnet motor 3, the use of an overcurrent threshold that varies with rotor speed might equally be used to limit the current in the phase windings of other types of electrical machines, including both motors and generators. The electrical machine may comprise more than one phase winding. Additionally, for certain types of electrical machines, the direction of current through a phase winding may be unidirectional. Consequently, commutation does not necessarily involve reversing the direction of current through a phase winding.
Number | Date | Country | Kind |
---|---|---|---|
1016687.4 | Oct 2010 | GB | national |
Number | Name | Date | Kind |
---|---|---|---|
3737748 | Teders | Jun 1973 | A |
3781620 | Toth | Dec 1973 | A |
3809984 | Hoge | May 1974 | A |
3908158 | Studtmann | Sep 1975 | A |
4039913 | Clegg | Aug 1977 | A |
4250435 | Alley et al. | Feb 1981 | A |
4266177 | Nola | May 1981 | A |
4323835 | Lee | Apr 1982 | A |
4413217 | Green et al. | Nov 1983 | A |
4465957 | Crockett | Aug 1984 | A |
4486700 | Kawate et al. | Dec 1984 | A |
4556827 | Erdman | Dec 1985 | A |
4558264 | Weischedel | Dec 1985 | A |
4746844 | MacKelvie et al. | May 1988 | A |
4791341 | Brown et al. | Dec 1988 | A |
4875148 | Roe et al. | Oct 1989 | A |
5008608 | Unsworth et al. | Apr 1991 | A |
5055751 | MacKelvie | Oct 1991 | A |
5156005 | Redlich | Oct 1992 | A |
5187419 | DeLange | Feb 1993 | A |
5334922 | Manini | Aug 1994 | A |
5420492 | Sood et al. | May 1995 | A |
5448141 | Kelley et al. | Sep 1995 | A |
5457375 | Marcinkiewicz et al. | Oct 1995 | A |
5552683 | Dargent | Sep 1996 | A |
5577235 | Mitra | Nov 1996 | A |
5581169 | Kerkman et al. | Dec 1996 | A |
5652493 | Hendershot, Jr. | Jul 1997 | A |
5652494 | Sugden | Jul 1997 | A |
5675231 | Becerra et al. | Oct 1997 | A |
5739652 | Sriram | Apr 1998 | A |
5783917 | Takekawa | Jul 1998 | A |
5831809 | Schmitz et al. | Nov 1998 | A |
5929577 | Neidorff et al. | Jul 1999 | A |
5986417 | Nicolai et al. | Nov 1999 | A |
6087654 | Durham, III | Jul 2000 | A |
6181583 | Okui et al. | Jan 2001 | B1 |
6194852 | Lovatt et al. | Feb 2001 | B1 |
6198238 | Edelson | Mar 2001 | B1 |
6208113 | Lelkes et al. | Mar 2001 | B1 |
6221291 | Van Ert et al. | Apr 2001 | B1 |
6236179 | Lawler et al. | May 2001 | B1 |
6263450 | Predko | Jul 2001 | B1 |
6320275 | Okamoto et al. | Nov 2001 | B1 |
6323609 | Lopez | Nov 2001 | B1 |
6621291 | Lee et al. | Sep 2003 | B2 |
6803741 | Messersmith | Oct 2004 | B2 |
6847186 | Kerlin | Jan 2005 | B1 |
6885161 | de Nanclares et al. | Apr 2005 | B2 |
6901212 | Masino | May 2005 | B2 |
6906503 | Lopez-Santillana et al. | Jun 2005 | B2 |
7030582 | Masino | Apr 2006 | B2 |
7034498 | Kerlin | Apr 2006 | B2 |
7042183 | Fitzgibbon et al. | May 2006 | B2 |
7049774 | Chin et al. | May 2006 | B2 |
7079758 | Sunaga et al. | Jul 2006 | B2 |
7102303 | Brotto | Sep 2006 | B2 |
7141949 | Harwood | Nov 2006 | B2 |
7239098 | Masino | Jul 2007 | B2 |
7436145 | Gauthier et al. | Oct 2008 | B2 |
7459878 | Wang et al. | Dec 2008 | B2 |
7477034 | MacKay | Jan 2009 | B2 |
7489094 | Steiner et al. | Feb 2009 | B2 |
7567047 | Rozman | Jul 2009 | B2 |
7589486 | Yamada et al. | Sep 2009 | B2 |
7646155 | Woods et al. | Jan 2010 | B2 |
7671549 | Steiner et al. | Mar 2010 | B2 |
7688018 | Goto et al. | Mar 2010 | B2 |
7692395 | Brown | Apr 2010 | B2 |
7714529 | Chen et al. | May 2010 | B2 |
7750595 | Yamada et al. | Jul 2010 | B2 |
7834566 | Woods et al. | Nov 2010 | B2 |
7894216 | Melanson | Feb 2011 | B2 |
7928673 | Woods et al. | Apr 2011 | B2 |
8018184 | Takeuchi | Sep 2011 | B2 |
8044623 | Takeuchi et al. | Oct 2011 | B2 |
8093858 | Kadah et al. | Jan 2012 | B1 |
8094472 | Chang et al. | Jan 2012 | B2 |
8098035 | Sekimoto et al. | Jan 2012 | B2 |
8476852 | Hawker et al. | Jul 2013 | B2 |
20010011879 | Erdman | Aug 2001 | A1 |
20020171388 | Seki | Nov 2002 | A1 |
20020185986 | Seki | Dec 2002 | A1 |
20030034793 | Lee et al. | Feb 2003 | A1 |
20030052632 | Wissmach et al. | Mar 2003 | A1 |
20030053323 | Kimura et al. | Mar 2003 | A1 |
20030201739 | Horng et al. | Oct 2003 | A1 |
20030230999 | de Nanclares et al. | Dec 2003 | A1 |
20030231875 | Masino | Dec 2003 | A1 |
20040027085 | Berroth et al. | Feb 2004 | A1 |
20040047166 | Lopez-Santillana et al. | Mar 2004 | A1 |
20040051494 | Messersmith | Mar 2004 | A1 |
20040070356 | Masino | Apr 2004 | A1 |
20040131342 | Masino | Jul 2004 | A1 |
20040217721 | Brotto | Nov 2004 | A1 |
20040227486 | Kerlin | Nov 2004 | A1 |
20050099148 | DuLaney | May 2005 | A1 |
20050189891 | Kurosawa et al. | Sep 2005 | A1 |
20050225275 | Eskritt et al. | Oct 2005 | A1 |
20050237011 | Woods et al. | Oct 2005 | A1 |
20050248306 | Chen et al. | Nov 2005 | A1 |
20060273751 | DeJonge et al. | Dec 2006 | A1 |
20070103840 | Asada et al. | May 2007 | A1 |
20070114963 | Steiner et al. | May 2007 | A1 |
20070126380 | Beifus | Jun 2007 | A1 |
20070241703 | Yamada et al. | Oct 2007 | A1 |
20080030182 | Sutardja et al. | Feb 2008 | A1 |
20080034532 | Yang | Feb 2008 | A1 |
20080150460 | Rosskamp | Jun 2008 | A1 |
20080180049 | Yang | Jul 2008 | A1 |
20080200702 | Gurumurthy et al. | Aug 2008 | A1 |
20080211450 | Yamada et al. | Sep 2008 | A1 |
20080272721 | Mayes et al. | Nov 2008 | A1 |
20080273360 | Goto | Nov 2008 | A1 |
20080290761 | Eckert et al. | Nov 2008 | A1 |
20090072775 | Steiner et al. | Mar 2009 | A1 |
20090174350 | Kuroda et al. | Jul 2009 | A1 |
20090251086 | Sekimoto et al. | Oct 2009 | A1 |
20090302682 | Hammond et al. | Dec 2009 | A1 |
20100065293 | Lohr | Mar 2010 | A1 |
20100079097 | Woods et al. | Apr 2010 | A1 |
20100079098 | Woods et al. | Apr 2010 | A1 |
20100109597 | Steiner et al. | May 2010 | A1 |
20100237813 | Seki et al. | Sep 2010 | A1 |
20100244757 | Tsai et al. | Sep 2010 | A1 |
20100249757 | Chen | Sep 2010 | A1 |
20100251509 | Clothier | Oct 2010 | A1 |
20100251511 | Clothier et al. | Oct 2010 | A1 |
20100251512 | Clothier et al. | Oct 2010 | A1 |
20100253250 | Marvelly et al. | Oct 2010 | A1 |
20100253257 | Clothier et al. | Oct 2010 | A1 |
20100253258 | Fabis et al. | Oct 2010 | A1 |
20100253261 | Dawe et al. | Oct 2010 | A1 |
20100253262 | Celik | Oct 2010 | A1 |
20100253263 | Clothier et al. | Oct 2010 | A1 |
20100253264 | Clothier et al. | Oct 2010 | A1 |
20100253265 | Clothier et al. | Oct 2010 | A1 |
20100253274 | Clothier et al. | Oct 2010 | A1 |
20100254685 | Dai | Oct 2010 | A1 |
20100256782 | Dai | Oct 2010 | A1 |
20100259206 | Joachimsmeyer | Oct 2010 | A1 |
20100295490 | Kuroshima et al. | Nov 2010 | A1 |
20100295516 | Matt et al. | Nov 2010 | A1 |
20100320956 | Lumsden et al. | Dec 2010 | A1 |
20110057601 | Hiltbold | Mar 2011 | A1 |
20110058288 | Vanko et al. | Mar 2011 | A1 |
20110080130 | Venkataraman | Apr 2011 | A1 |
20110234134 | Ramu | Sep 2011 | A1 |
20110254476 | Clothier et al. | Oct 2011 | A1 |
20110254480 | Chen et al. | Oct 2011 | A1 |
20110254481 | Chen et al. | Oct 2011 | A1 |
20110254482 | Dai | Oct 2011 | A1 |
20110254483 | Chen et al. | Oct 2011 | A1 |
20110254484 | Dai | Oct 2011 | A1 |
20110254485 | Clothier et al. | Oct 2011 | A1 |
20110254486 | Celik | Oct 2011 | A1 |
20110254487 | Clothier et al. | Oct 2011 | A1 |
20110254488 | Clothier et al. | Oct 2011 | A1 |
20110254489 | Greetham | Oct 2011 | A1 |
20110257791 | Hawker et al. | Oct 2011 | A1 |
20130038360 | Takahashi | Feb 2013 | A1 |
Number | Date | Country |
---|---|---|
0 613 234 | Aug 1994 | EP |
1 209 805 | May 2002 | EP |
1 473 823 | Nov 2004 | EP |
1 786 093 | May 2007 | EP |
1 816 739 | Aug 2007 | EP |
1 837 986 | Sep 2007 | EP |
2 151 917 | Feb 2010 | EP |
2 305 033 | Mar 1997 | GB |
2 380 873 | Apr 2003 | GB |
2 410 847 | Aug 2005 | GB |
2469132 | Oct 2010 | GB |
59-63983 | Apr 1984 | JP |
62-18986 | Jan 1987 | JP |
7-284289 | Oct 1995 | JP |
8-172789 | Jul 1996 | JP |
8-214585 | Aug 1996 | JP |
9-93977 | Apr 1997 | JP |
9-117183 | May 1997 | JP |
9-140185 | May 1997 | JP |
9-294389 | Nov 1997 | JP |
10-155299 | Jun 1998 | JP |
10-191679 | Jul 1998 | JP |
11-223558 | Aug 1999 | JP |
11-285285 | Oct 1999 | JP |
2000-308385 | Nov 2000 | JP |
2001-231287 | Aug 2001 | JP |
2002-51589 | Feb 2002 | JP |
2007-110779 | Apr 2007 | JP |
2007-520988 | Jul 2007 | JP |
2008-161048 | Jul 2008 | JP |
2008-188264 | Aug 2008 | JP |
2008-189225 | Aug 2008 | JP |
2009-219282 | Sep 2009 | JP |
2010-246387 | Oct 2010 | JP |
WO-9601521 | Jan 1996 | WO |
WO-9708818 | Mar 1997 | WO |
WO-0180414 | Oct 2001 | WO |
WO-2005008878 | Jan 2005 | WO |
Entry |
---|
Clothier et al., U.S. Office Action mailed Feb. 3, 2012, directed to U.S. Appl. No. 13/081,290; 8 pages. |
International Search Report and Written Opinion mailed Feb. 8, 2013, directed to International Application No. PCT/GB2011/051781; 8 pages. |
Clothier et al., U.S. Office Action mailed Mar. 12, 2013, directed to U.S. Appl. No. 13/081,290; 16 pages. |
Celik, T., U.S. Office Action mailed Apr. 23, 2013 , directed to U.S. Appl. No. 13/082,166; 11 pages. |
Clothier et al., U.S. Office Action mailed Apr. 25, 2013 , directed to U.S. Appl. No. 13/087,109; 9 pages. |
GB Search Report dated Feb. 16, 2011, directed to counterpart GB Application No. 1016687.4; 2 pages. |
Atmel Corporation, (2005) “AVR440: Sensorless Control of Two-Phase Brushless DC Motor,” 8-bit AVR® Microcontrollers, AVR440 Application Note; 16 pages. |
Atmel Corporation, (2006) “AVR443: Sensor-based Control of Three Phase Brushless DC Motor,” 8-bit AVR® Microcontrollers, AVR443 Application Note; 7 pages. |
Atmel Corporation, (2011) “8-bit AVR® with 8KBytes In-System Programmable Flash,” ATmega8L Datasheet: pp. 69-120. |
Clothier et al., U.S. Office Action mailed Aug. 23, 2012, directed to U.S. Appl. No. 13/081,290; 11 pages. |
Clothier et al., U.S. Office Action mailed Jan. 8, 2014, directed to U.S. Appl. No. 13/085,155; 15 pages. |
Clothier et al., U.S. Office Action mailed Nov. 7, 2013, directed to U.S. Appl. No. 13/087,109; 8 pages. |
Chen et al., U.S. Office Action mailed Aug. 29, 2013, directed to U.S. Appl. No. 13/083,251; 14 pages. |
Chen et al., U.S. Office Action mailed Aug. 19, 2013, directed to U.S. Appl. No. 13/086,175; 11 pages. |
Dai, U.S. Office Action mailed Jan. 30, 2014, directed to U.S. Appl. No. 13/086;174; 18 pages. |
Chen et al., U.S. Office Action mailed Mar. 28, 2014, directed to U.S. Appl. No. 13/083,251; 14 pages. |
Number | Date | Country | |
---|---|---|---|
20120081064 A1 | Apr 2012 | US |