Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
GATE DRIVER
Document Type and Number:
WIPO Patent Application WO/2022/117989
Kind Code:
A1
Abstract:
A gate driver is described for driving switches. The gate driver comprises an input for receiving a signal indicative of a polarity of a voltage or current, and outputs for outputting gate signals for driving the switches. In response to a fault condition, the gate driver generates gate signals at the outputs that depend on the polarity of the voltage or current.

Inventors:
GREETHAM STEPHEN (GB)
Application Number:
PCT/GB2021/052948
Publication Date:
June 09, 2022
Filing Date:
November 15, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
DYSON TECHNOLOGY LTD (GB)
International Classes:
H03K17/082; H02M1/08; H02M1/32; H02M1/36; H02M5/297
Foreign References:
EP1154552A12001-11-14
Attorney, Agent or Firm:
MITCHELL, Joshua et al. (GB)
Download PDF:
Claims:
38

CLAIMS

1. A gate driver for driving switches, the gate driver comprising an input for receiving a signal indicative of a polarity of a voltage or current, and outputs for outputting gate signals for driving the switches, wherein, in response to a fault condition, the gate driver generates gate signals at the outputs that depend on the polarity.

2. A gate driver as claimed in claim 1 , wherein, in response to the fault condition, the gate driver generates a sequence of gate signals that depends on the polarity.

3. A gate driver as claimed in claim 2, wherein the gate driver generates a first sequence of gate signals when the polarity is positive, and a second different sequence of gate signals when the polarity is negative.

4. A gate driver as claimed in any one of the preceding claims, wherein the signal is indicative of a polarity of a voltage, and the gate driver comprises a further input for receiving a further signal indicative of a polarity of a current, and the gate driver generates gate signals that depend on the polarities of the voltage and the current.

5. A gate driver as claimed in any one of the preceding claims, wherein each switch comprises four states corresponding to: (i) ON in which the switch is conductive in both a first direction and a second direction, (ii) D1 in which the switch is conductive in the first direction and non-conductive in the second direction, (iii) D2 in which the switch is non-conductive in the first direction and conductive in the second direction, and (iv) OFF in which the switch is non-conductive in both the first direction and the second direction, and the gate driver generates gate signals for driving each of the switches to one of the four states.

SUBSTITUTE SHEET (RULE 26) 39

6. A gate driver as claimed in claim 5, wherein the gate driver generates gate signals for driving a pair of switches to D1 when the polarity is positive and to D2 when the polarity is negative.

7. A gate driver as claimed in claim 5 or 6, wherein the gate driver generates gate signals for driving a first pair of switches to OFF and a second pair of switches to one of D1 and D2 when the polarity is positive, and for driving the second pair of switches to OFF and the first pair of switches to one of D1 and D2 when the polarity is negative.

8. A gate driver as claimed in claim 7, wherein the first pair of switches comprises a high-side switch of a first leg and a low-side switch of a second leg of a converter, and the second pair of switches comprises a low-side switch of the first leg and a high-side switch of the second leg.

9. A gate driver as claimed in any one of claims 5 to 8, wherein the signal is indicative of a polarity of a voltage, the gate driver comprises a further input for receiving a further signal indicative of a polarity of a current, and the gate driver generates gate signals for: (i) driving a first pair of switches to OFF and a second pair of switches to D1 when the polarity of the voltage is positive and the polarity of the current is positive, (ii) driving the first pair of switches to OFF and the second pair of switches to D2 when the polarity of the voltage is negative and the polarity of the current is positive, (iii) driving the second pair of switches to OFF and the first pair of switches to D1 when the polarity of the voltage is positive and the polarity of the current is negative, and (iv) driving the second pair of switches to OFF and the first pair of switches to D2 when the polarity of the voltage is negative and the polarity of the current is negative.

10. A gate driver as claimed in any one of claims 5 to 9, wherein the gate driver generates a sequence of gate signals comprising a first set of gate signals and a second set of gate signals, the first set of gate signals drives a selection of the switches to one of D1 and D2, and the second set of gate signals drives all switches

SUBSTITUTE SHEET (RULE 26) 40 to OFF, and the selection of switches or choice of D1 and D2 depends on the polarity.

11. A gate driver for driving a plurality of switches, the gate driver circuit comprising an input for receiving a control signal indicative of a polarity of a voltage or current, a plurality of outputs for outputting gate signals for driving the switches, and fault protection logic for generating a sequence of gate signals in response to a fault condition, wherein the fault protection logic generates a first sequence of gate signals when the polarity is positive and a second different sequence of gate signals when the polarity is negative.

12. A drive circuit for a brushless motor, the drive circuit comprising an converter for connection to a phase winding of the motor, and a control unit for controlling the converter, wherein: the converter comprises a plurality of switches; the control unit comprises a gate driver, a sensor, and a controller; the sensor generates a signal indicative of a polarity of a voltage or current of the converter; the controller generates one or more control signals for controlling the switches; the gate driver in response to the control signals generates gate signals for driving the switches; and the gate driver, in response to a fault condition, generates gate signals that depend on the polarity.

13. A drive circuit as claimed in claim 12, wherein, in response to the fault condition, the gate driver generates a first sequence of gate signals for driving the switches to OFF when the polarity is positive, and a second different sequence of gate signals for driving the switches to OFF when the polarity is negative.

14. A drive circuit as claimed in claim 12 or 13, wherein the fault condition comprises an absence of a control signal from the controller.

SUBSTITUTE SHEET (RULE 26)

Description:
GATE DRIVER

Field of the Invention

The present invention relates to a gate driver for driving switches, such as those of a converter.

Background of the Invention

A gate driver may generate gate signals for driving the switches of a converter in response to control signals. The gate driver may include protective logic which, in the event of a fault, drives all switches to OFF. Each switch typically includes a body or antiparallel diode such that, even after all switches are driven to OFF, a path is provided for inductive current in the converter.

Summary of the Invention

The present invention provides a gate driver for driving switches, the gate driver comprising an input for receiving a signal indicative of a polarity of a voltage or current, and outputs for outputting gate signals for driving the switches, wherein, in response to a fault condition, the gate driver generates gate signals at the outputs that depend on the polarity.

By generating gate signals that depend on the polarity of the voltage and/or current, the gate driver can be used to safely drive switches that do not necessarily have a body or antiparallel diode. In particular, the gate driver may monitor the signal and drive the switches in a particular configuration or sequence of configurations such that the switches are driven safely to OFF.

The voltage may be that across the switches, and the current may be that flowing through the switches. For example, where the switches form part of a converter, the voltage may be the voltage across the converter and the current may be the current flowing through the converter.

In response to the fault condition, the gate driver may generate a sequence of gate signals that depends on the polarity. More particularly, the gate driver may generate a first sequence of gate signals when the polarity is positive, and a second different sequence of gate signals when the polarity is negative. The gate driver therefore drives the switches in a sequence of configurations in the event of a fault. Where the switches are coupled to an inductive load, the sequence of configurations may ensure that a path is first provided for any inductive current before the switches are driven to OFF.

The signal may be indicative of a polarity of a voltage, and the gate driver may comprise a further input for receiving a further signal indicative of a polarity of a current. The gate driver then generates gate signals that depend on the polarities of the voltage and the current. Where the switches form part of a converter coupled to an inductive load, the voltage may be the voltage across the converter and the current may be the current flowing through the converter. By driving the switches in response to the polarities of the voltage and current, the switches may be configured such that a path is provided for any inductive current (e.g. returned to the power supply or smoothing capacitor) before the switches are driven to OFF.

Each switch may comprise four states corresponding to: (i) ON in which the switch is conductive in both a first direction and a second direction, (ii) D1 in which the switch is conductive in the first direction and non-conductive in the second direction, (iii) D2 in which the switch is non-conductive in the first direction and conductive in the second direction, and (iv) OFF in which the switch is non-conductive in both the first direction and the second direction, and the gate driver generates gate signals for driving each of the switches to one of the four states. The switches can therefore be controlled in both directions (i.e. can be made conductive in both directions and can be made non-conductive in both directions). This then has the advantage that the switches may form part of an AC-to-AC or an AC-to-DC converter without the need for a front-end rectifier or separate PFC stage. Having switches that are non- conductive in both directions does, however, present challenges when the converter is coupled to an inductive load. With the gate driver of the present invention, the gate driver monitors the polarity of a voltage and/or current. The voltage may be the voltage across the converter and the current may be the current flowing through the converter. By generating gate signals that depend on the polarity of the voltage and/or current, the gate driver can safely drive such switches to OFF.

The gate driver may generate gate signals for driving a pair of switches to D1 when the polarity is positive and to D2 when the polarity is negative. As a result, where the switches are coupled to an inductive load, a path may be provided for inductive current. For example, a pair of switches may be driven to D1 when current flows through the inductive load in a first direction, and a pair of switches may be driven to D2 when current flows through the inductive load in a second direction. Moreover, where the switches are couple to an alternating supply voltage, a pair of switches may be driven to D1 when the polarity of the voltage is positive and a pair of switches may be driven to D2 when the polarity of the voltage is negative. As a result, a return path for inductive current may be provided irrespective of the polarity of the supply voltage.

The gate driver may generate gate signals for driving a first pair of switches to OFF and a second pair of switches to one of D1 and D2 when the polarity is positive, and for driving the second pair of switches to OFF and the first pair of switches to one of D1 and D2 when the polarity is negative. Accordingly, where the switches are coupled to an inductive load, a path for inductive current may be provided through the second pair of switches when the polarity is positive, and a first pair of switches when the polarity is negative.

As already noted, the switches may form part of a converter. In this instance, the first pair of switches may comprise a high-side switch of a first leg and a low-side switch of a second leg of the converter, and the second pair of switches may comprises a low-side switch of the first leg and a high-side switch of the second leg.

The signal may be indicative of a polarity of a voltage, and the gate driver may comprise a further input for receiving a further signal indicative of a polarity of a current. The gate driver then generates gate signals for: (i) driving a first pair of switches to OFF and a second pair of switches to D1 when the polarity of the voltage is positive and the polarity of the current is positive, (ii) driving the first pair of switches to OFF and the second pair of switches to D2 when the polarity of the voltage is negative and the polarity of the current is positive, (iii) driving the second pair of switches to OFF and the first pair of switches to D1 when the polarity of the voltage is positive and the polarity of the current is negative, and (iv) driving the second pair of switches to OFF and the first pair of switches to D2 when the polarity of the voltage is negative and the polarity of the current is negative. The gate driver therefore drives the switches to one of four configurations according to the polarity of the voltage and the polarity of the current. Accordingly, when the switches are coupled to an inductive load powered by an alternating supply voltage, a path for inductive current may be provided irrespective of the polarity of the inductive current or the polarity of the supply voltage.

The gate driver may generate a sequence of gate signals comprising a first set of gate signals and a second set of gate signals. The first set of gate signals may drive a selection of the switches to one of D1 and D2, and the second set of gate signals may drives all switches to OFF. The selection of which switches to drive to D1 or D2, and/or the particular choice of D1 or D2 then depends on the polarity of the voltage and/or current. The first set of gate signals may be used to provide a path for inductive current. The second set of gate signal may then be used to subsequently drive all switches to OFF at a time when there is no inductive current (e.g. after a set period of time or by monitoring the current).

The present invention also provides a gate driver for driving a plurality of switches, the gate driver circuit comprising an input for receiving a control signal indicative of a polarity of a voltage or current, a plurality of outputs for outputting gate signals for driving the switches, and fault protection logic for generating a sequence of gate signals in response to a fault condition, wherein the fault protection logic generates a first sequence of gate signals when the polarity is positive and a second different sequence of gate signals when the polarity is negative.

The present invention further provides a drive circuit for a brushless motor, the drive circuit comprising an converter for connection to a phase winding of the motor, and a control unit for controlling the converter, wherein: the converter comprises a plurality of switches; the control unit comprises a gate driver, a sensor, and a controller; the sensor generates a signal indicative of a polarity of a voltage or current of the converter; the controller generates one or more control signals for controlling the switches; the gate driver in response to the control signals generates gate signals for driving the switches; and the gate driver, in response to a fault condition, generates gate signals that depend on the polarity.

By generating gate signals that depend on the polarity of the voltage and/or current, the gate driver can be used to safely drive the switches of the converter to OFF without the need for body or antiparallel diodes. In particular, the gate driver may monitor the signal and drive the switches in a particular configuration or sequence of configurations such that a return path is first provided for inductive current in the phase winding before the switches are driven to OFF. Indeed, the gate driver may, in response to the fault condition, generate a first sequence of gate signals for driving the switches to OFF when the polarity is positive, and a second different sequence of gate signals for driving the switches to OFF when the polarity is negative.

The fault condition may comprise an absence of a control signal from the controller. Whilst the controller is primarily responsible for controlling the switches, the gate driver may fail to receive one or more of the control signals. In this situation, the gate driver may drive the switches so as to avoid a potentially unsafe state.

Brief Description of the Drawings

Embodiments will now be described, by way of example, with reference to the accompanying drawings in which:

Figure 1 is a block diagram of a motor system;

Figure 2 is a schematic diagram of the motor system;

Figure 3 details different states of a switch of the motor system; Figure 4 is a first example of a configuration sequence of a converter of the motor system;

Figure 5 is a second example of a configuration sequence of the converter;

Figure 6 is a third example of a configuration sequence of the converter;

Figure 7 is a fourth example of a configuration sequence of the converter;

Figure 8 is a fifth example of a configuration sequence of the converter;

Figure 9 illustrates example waveforms for supply voltage, back EMF and phase current when employing the configuration sequence of Figure 8;

Figure 10 illustrates further example waveforms for supply voltage, back EMF and phase current when employing the configuration sequence of Figure 8;

Figure 11 is a sixth example of a configuration sequence of the converter;

Figure 12 illustrates example waveforms for supply voltage, back EMF and phase current when employing the configuration sequence of Figure 8 or Figure 11 ;

Figure 13 illustrates example waveforms for supply voltage, back EMF and phase current resulting from incorrect timing of phase excitation of the motor system;

Figure 14 details four permutations for a particular configuration of the converter, the permutations depending on the polarities of the supply voltage and phase current; and

Figure 15 is a seventh example of a configuration sequence of the converter.

Detailed of the Invention The motor system 10 of Figures 1 and 2 comprises a brushless motor 20 and a drive circuit 30. The motor system 10 is powered by an AC power supply 40, such as a domestic mains supply.

The brushless motor 20 is a permanent-magnet motor and comprises, among other things, a phase winding 21 and a position sensor 22. The position sensor 22 senses the angular position of a rotor of the motor 20 and outputs the signal POS. Suitable examples for the position sensor 22 include a Hall-effect sensor or optical encoder.

The drive circuit 30 comprises a pair of power lines 31 , an input filter 32, a converter 33, a voltage polarity detector 34, a current sensor 35, a current polarity detector 36, a gate driver 37 and a controller 38.

The power lines 31 are intended to be connected to the live and neutral terminals of the AC power supply 40. The power lines 31 thus carry an alternating voltage.

The input filter 32 comprises a capacitor C1 and an inductor L1. The capacitor C1 acts to smooth the relatively high switching effects of the converter. Additionally, the capacitor C1 provides a store for any energy generated by the motor 2; this is discussed in further detail below. The capacitor C1 is not required to smooth the AC voltage at the fundamental frequency. Consequently, a capacitor of relatively low capacitance may be used. The inductor L1 acts to smooth any residual current ripple. The inductor L1 is intended to reduce ripple at the motor frequency, and thus an inductor of relatively low inductance may be used, particularly when the motor 20 operates at relatively high speeds or has a relatively high number of poles.

The converter 33 is a single-phase full-bridge converter, sometimes referred to as an H-bridge converter. The converter 33 is connected to the phase winding 21 of the motor 20 and comprises two legs connected in parallel across the power lines 31. Each leg comprises a high-side switch SW1 ,SW3 and a low-side switch SW2,SW4. Each of the switches SW1-SW4 is bidirectional and comprises four states: ON, D1 , D2, and OFF. When the state of a switch is ON, the switch is conductive in both a first direction and a second direction. When the state of the switch is D1 , the switch is conductive in the first direction and non-conductive in the second direction. Conversely, when the state of the switch is D2, the switch is non-conductive in the first direction and conductive in the second direction. D1 and D2 may therefore be regarded as diode states. With the particular arrangement of switches shown in Figure 2, the first direction may be regarded as downward (i.e. D1 = downward conducting), and the second direction may be regarded as upward (i.e. D2 = upward conducting). Finally, when the state of the switch is OFF, the switch is non- conductive in both the first direction and the second direction.

Figure 3 illustrates the different states of each switch, along with the equivalent circuit.

In comparison to a MOFSET having a body diode or an IGBT having an equivalent antiparallel diode, the bidirectional switches have two additional switching states. For example, when a MOSFET is turned ON, the switch conducts in both directions. When the MOSFET is turned OFF, the switch continues to conduct in one direction owing to the inherent body diode. In contrast to the bidirectional switch described above, the MOSFET does not have an open-circuit state in which the switch is non- conductive in both directions. Additionally, whilst the MOSFET is capable of conducting in a first direction only when turned OFF (i.e. through the body diode), the switch is not capable of conducting in a second opposite direction only.

As described below in more detail, the provision of a converter 33 having bidirectional switches has the advantage that, irrespective of the polarity of the voltage on the power lines, the switches may be controlled such that a voltage of either polarity may be applied to the phase winding. As a result, the drive circuit may be used with an AC power supply without the need for a rectifier. However, the absence of antiparallel diodes presents challenges when managing the inductive energy stored in the motor as well as any energy that may be generated by the motor. Each switch may comprise a gallium nitride switch, which has a relatively high breakdown voltage and is thus well-suited for operation at mains voltages. Nevertheless, other types of bidirectional switch capable of being controlled in both directions may be used.

The voltage polarity detector 34 detects the polarity of the supply voltage and outputs the signal V_POL. V_POL may be a digital signal that is logically high when the polarity of the supply voltage is, for example, positive and logically low when the polarity is negative. Suitable examples for the voltage polarity detector 34 include a comparator referenced to ground or a commercially available integrated package, perhaps providing electrical isolation.

The current sensor 35 comprises a pair of sense resistors R1 ,R2, each resistor being located on a leg of the converter. The voltages across the sense resistors R1 ,R2 are output as current sense signals, l_SENSE1 and l_SENSE2. The signals provide a measure of the current in the converter and the phase winding. Whilst the current sensor comprises a pair of sense resistors, it will be appreciated that other means may be used to sense current in the converter and phase winding, such as a current transducer or current transformer.

The current polarity detector 36 detects the polarity of the current in the converter 33 and phase winding 21 and outputs the signal l_POL. I_POL may be a digital signal that is logically high when the polarity of the current is, for example, positive and logically low when the polarity is negative. In the schematic of Figure 2, the polarity of the current may be said to be positive when current flows through the phase winding 21 in a direction from left to right, and negative when current flows in a direction from right to left. The current polarity detector 36 may, in one example, comprise a comparator having l_SENSE1 and l_SENSE2 as inputs.

The gate driver 37 is responsible for driving the switches SW1 -SW4 of the converter 33. The gate driver 37 of the illustrated embodiment comprises a pair of half-bridge drivers 37a, 37b, each of which is responsible for driving the switches of a respective leg of the converter 33. However, the gate driver 37 could conceivably comprise a single, full-bridge driver. Each of the half-bridge drivers 37a, 37b comprises a plurality of inputs for receiving input signals, and a plurality of outputs for outputting gate signals. In response to the input signals, the half-bridge driver 37a, 37b generates gate signals for driving the switches of a leg of the converter. Each switch comprises two gates and therefore the half-bridge driver 37a, 37b generates a pair of gate signals for each switch.

The controller 38 is responsible for controlling the operation of the motor system 10. The controller 38 comprises a plurality of inputs for receiving input signals, and a plurality of outputs for outputting control signals. The input signals received by the controller 38 include the position signal, POS, the voltage polarity signal, V_POL, the current polarity signal, l_POL, and the current sense signals, l_SENSE1 and l_SENSE2. In response to the input signals, the controller 38 generates and outputs four control signals, S1-S4. Each control signal is used to control the state of a respective switch SW1-SW4 of the converter 33. Each switch has four states, namely ON, D1 , D2 and OFF. Accordingly, each control signal has four levels. The control signals are output to the gate driver 37, which in response drives the switches SW1 -SW4. As explained below, the controller 38 outputs the control signals so as to configure the converter 33 in one of a plurality of different configurations.

Operation of the motor system 1 will now be described.

In order to excite the phase winding 21 , the controller 38 configures the converter 33 in a configuration in which the high-side switch of a first leg and the low-side switch of a second leg of the converter are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. The particular choice of switches that are turned to ON depends on the required direction of excitation and the polarity of the supply voltage, as determined by the signal V_POL. For example, in order to excite the phase winding 21 from left to right, switches SW1 and SW4 are turned ON when the polarity of the supply voltage is positive, and switches SW2 and SW3 are turned ON when the polarity of the supply voltage is negative. Conversely, in order to excite the phase winding 21 from right to left, switches SW2 and SW3 are turned ON when the polarity of the supply voltage is positive, and switches SW1 and SW4 are turned ON when the polarity of the supply voltage is negative.

The controller 38 is therefore able to configure the converter 33 such that, irrespective of the polarity of the supply voltage, the phase winding 21 may be excited in either direction, i.e. a voltage of either polarity may be applied to the phase winding 21. The drive circuit 30 is therefore able to excite the phase winding 21 using an AC supply voltage without the need for a rectifier or PFC stage.

In order to freewheel the phase winding 21 , the controller 38 configures the converter 33 in a further configuration in which either (i) the high-side switches of the first leg and the second leg are ON, and the low-side switches of the first leg and the second leg are OFF, or (ii) the low-side switches of the first leg and the second leg are ON, and the high-side switches of the first leg and the second leg are OFF. In both scenarios, a path is provided for current in the phase winding 21 to freewheel or circulate around the converter 33. In the first scenario in which the high-side switches are ON, the current freewheels around the high-side loop of the converter 33. In the second scenario in which the low-side switches are ON, the current freewheels around the low-side loop of the converter 33. In the schematic illustrated in Figure 2, the sense resistors R1 ,R2 of the current sensor are located on the lower part of the legs of the converter 33. Accordingly, by freewheeling around the low-side loop of the converter 33, the controller 38 is able to sense the current during freewheeling, as well as excitation. Nevertheless, freewheeling around the high-side loop of the converter 33 is perfectly feasible, particularly if current sensing is not required during freewheeling or if the current is sensed by other means.

During normal operation, the controller 38 may control the converter 33 so as to repeatedly change between excitation and freewheeling. For example, the controller 38 may configure the converter 33 so as to excite the phase winding 21 for a set period of time or until current in the phase winding 21 exceeds an upper threshold, at which point the controller 38 may configure the converter 33 so as to freewheel the phase winding 21 . Freewheeling may then continue for a set period of time or until such time as the current in the phase winding 21 drops below a lower threshold, at which point the controller 38 may configure the converter 33 so as to excite the phase winding 21 . This process of sequentially exciting and freewheeling the phase winding 21 may then be repeated.

The switches SW1 -SW4 of the converter 33 do not have antiparallel diodes, which presents challenges when changing between excitation and freewheeling. For example, consider the situation in which switches SW1 and SW4 are ON. In order to freewheel around the low-side loop of the converter 33, one would typically turn OFF switch SW1 and then turn ON switch SW2. However, when SW1 is turned OFF, a path is no longer provided for the inductive energy stored in the motor 20. For switches that include a body or antiparallel diode, this problem does not arise because a path continues to be provided by the diode. However, the lack of a diode present challenges, not just for the inductive energy stored in the motor 20 but for any energy that may be generated by the motor 20. The controller 38 therefore configures the converter 33 in a sequence of configurations when moving between different operating states.

Excitation to Freewheeling

Let us first consider the sequence of configurations when moving from excitation to freewheeling.

The sequence begins with the converter 33 in a first configuration in which the high- side switch of a first leg and the low-side switch of a second leg of the converter are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. This first configuration causes the phase winding 21 to be excited by the supply voltage. As noted above, the direction of excitation (i.e. the polarity of the applied voltage) will depend on which of the switches are turned ON and the polarity of the supply voltage. Figure 4(a) illustrates a particular example of the converter in the first configuration. In this particular example, switches SW1 and SW4 are turned ON, and switches SW2 and SW3 are turned OFF. The polarity of the supply voltage is positive, and therefore the phase winding is excited in a direction from left to right.

The controller 38 then configures the converter 33 in a second configuration in which the high-side switch of the first leg and the low-side switch of the second leg are ON, one of the low-side switch of the first leg and the high-side switch of the second leg is OFF, and the other of the low-side switch of the first leg and the high-side switch of the second leg is D1 or D2. The only change that has occurred over the first configuration is that one of the switches that was previously OFF is now D1 or D2. The particular choice of switch will depend on whether freewheeling occurs around the high-side loop or the low-side loop of the converter. The particular choice of diode state (i.e. D1 or D2) depends on the polarity of the supply voltage and is chosen such that the switch is reverse biased by the supply voltage. Accordingly, if the polarity of the supply voltage is positive, the switch is turned from OFF to D2 (i.e. upward conducting). Conversely, if the polarity of the supply voltage is negative, the switch is turned from OFF to D1 (i.e. downward conducting). Two of the switches are still in an ON state and therefore the phase winding 21 continues to be excited in the second configuration.

Figure 4(b) illustrates a particular example of the converter in the second configuration. In this particular example, the polarity of the supply voltage is positive and freewheeling will occur around the low-side loop. Accordingly, the low-side switch SW2 is turned from OFF to D2.

The controller 38 then configures the converter 33 in a third configuration in which either (i) the low-side switches of the first leg and the second leg are OFF, the high- side switch of the first leg is ON, and the high-side switch of the second leg is D1 or D2, or (ii) the high-side switches of the first leg and the second leg are OFF, the low-side switch of the second leg is ON, and the low-side switch of the first leg is D1 or D2. The only change that has occurred over the second configuration is that one of the switches that was previously ON is now OFF. The particular choice of switch to change from ON to OFF depends on whether freewheeling occurs around the high-side or the low-side loop of the converter 33. When the converter 33 is in the third configuration, the phase winding 21 is no longer excited by the supply voltage and the phase current freewheels or circulates around either the high-side or low-side loop of the converter 33.

Figure 4(c) illustrates a particular example of the converter in the third configuration. Freewheeling occurs around the low-side loop, and therefore the high-side switch SW1 is turned from ON to OFF.

When in the third configuration, current in the converter 33 flows through a first switch in an ON state and a second switch in a diode state (i.e. D1 or D2). For example, in the example of Figure 4(c), current flows down through switch SW4 which is in an ON state, and up through switch SW2 which is in a diode state. Freewheeling may continue in this manner with the converter 33 in the third configuration. However, conduction losses are likely to be lower when the switch is in an ON state versus a diode state. Accordingly, the controller 38 may configure the converter 33 in a fourth configuration, in which either (i) the high-side switches of the first leg and the second leg are ON, and the low-side switches of the first leg and the second leg are OFF, or (ii) the low-side switches of the first leg and the second leg are ON, and the high-side switches of the first leg and the second leg are OFF. The only change that has occurred over the third configuration is that the switch that was previously in a diode state is now ON. Current continues to freewheel around the high-side or the low-side loop of the converter 33 when in the fourth configuration. However, current now flows through switches that are in an ON state, thereby reducing conduction losses.

Figure 4(d) illustrates a particular example of the converter in the fourth configuration. Current continues to freewheel around the low-side loop of the converter and therefore both low-side switches SW2,SW4 are ON.

Freewheeling to Excitation Next, let us next consider the sequence of configurations when moving from freewheeling to excitation. Moreover, let us consider the situation in which the phase winding is excited in a direction that maintains the phase current in the same direction as that during freewheeling.

The sequence begins with the converter 33 in a first configuration in which either (i) the high-side switches of the first leg and the second leg are ON, and the low-side switches of the first leg and the second leg are OFF, or (ii) the low-side switches of the first leg and the second leg are ON, and the high-side switches of the first leg and the second leg are OFF. Phase current then freewheels around either the high- side or the low-side loop of the converter 33.

Figure 5(a) illustrates a particular example of the converter in the first configuration. In this particular example, the high-side switches SW1 ,SW3 are OFF and the low- side switches SW2,SW4 are ON. Current then freewheels around the low-side loop of the converter.

The controller 38 then configures the converter 33 in a second configuration in which either (i) one of the high-side switches of the first leg and the second leg is ON and the other of the high-side switches is D1 or D2, and the low-side switches of the first leg and the second leg are OFF, or (ii) one of the low-side switches of the first leg and the second leg is ON and the other of the low-side switches is D1 or D2, and the high-side switches of the first leg and the second leg are OFF. The only change that has occurred over the first configuration is that one of the switches that was previously ON is now D1 or D2. The particular choice of switch depends on the intended direction of excitation, and therefore depends on the polarity of the supply voltage and the polarity of the phase current. As noted below, this particular switch is not employed (i.e. does not conduct) during excitation and is eventually turned OFF. The diode state of the switch (i.e. D1 or D2) is chosen such that phase current continues to freewheel around either the high-side loop or the low-side loop of the converter. Consequently, the choice of D1 or D2 depends on the leg of the converter to which the switch belongs, and the polarity of the phase current. When the converter is in the second configuration, phase current continues to freewheel around either the high-side or the low-side loop of the converter 33. However, current now flows through a first switch in an ON state and a second switch in a diode state (i.e. D1 or D2).

Figure 5(b) illustrates a particular example of the converter in the second configuration. In this particular example, switches SW1 and SW3 are OFF, switch SW4 is ON, and switch SW2 is D2. Current therefore continues to freewheel around the low-side loop of the converter through switches SW2 and SW4.

The controller 38 configures the converter 33 in a third configuration in which a high- side switch of a first leg and a low-side switch of a second leg are ON, one of the low-side switch of the first leg and the high-side switch of the second leg is D1 or D2, and the other of the low-side switch of the first leg and the high-side switch of the second leg is OFF. The only change that has occurred over the second configuration is that one of the switches that was previously OFF is now ON. Moreover, the switch that is turned ON is on the same leg as that switch which is in the diode state, be it D1 or D2. The phase winding 21 is now excited by the supply voltage by virtue of the two switches that are in an ON state. The switch that is in the diode state is now reverse biased by the supply voltage.

Figure 5(c) illustrates a particular example of the converter in the third configuration. In this particular example, switches SW1 and SW4 are ON, switch SW2 is D2, and switch SW3 is OFF.

Excitation could conceivably continue in the third configuration without any further change. However, should the polarity of the supply voltage change, shoot-through would occur along the leg of the converter 33 having the switch in the diode state. Accordingly, the controller 38 configures the converter 33 in a fourth configuration in which the high-side switch of the first leg and the low-side switch of the second leg are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. The only change that has occurred over the third configuration is that the switch that was previously in a diode state (i.e. D1 or D2) is now OFF. Figure 5(d) illustrates a particular example of the converter in the fourth configuration, in which switches SW1 ,SW4 are ON, and switches SW2,SW3 are OFF.

The particular configuration sequence described here when moving from freewheeling to excitation is the reverse of that described above when moving from excitation to freewheeling. For example, it can be seen that the configuration sequences illustrated in Figures 4 and 5 are reverse complements. The controller 38 may therefore be said to configure the converter 33 in a first sequence in order to excite the phase winding 21 , and a second reverse sequence in order to freewheel the phase winding 21.

Freewheeling to Reverse Excitation (Commutation)

Let us next consider the sequence of configurations when moving from freewheeling to reverse excitation. In this situation, the phase winding is excited in the opposite direction to that of the phase current, thereby causing current in the phase winding to be commutated.

Again, the sequence begins with the converter 33 in a first configuration in which either (i) the high-side switches of the first leg and the second leg are ON, and the low-side switches of the first leg and the second leg are OFF, or (ii) the low-side switches of the first leg and the second leg are ON, and the high-side switches of the first leg and the second leg are OFF. Phase current therefore freewheels around either the high-side or the low-side loop of the converter 33.

Figure 6(a) illustrates a particular example of the converter in the first configuration, in which switches SW1 ,SW3 are OFF and switches SW2, SW4 are ON. Moreover, current freewheels in a clockwise direction around the low-side loop of the converter.

The controller 38 then configures the converter 33 in a second configuration in which either (i) the high-side switches of the first leg and the second leg are ON, one of the low-side switches of the first leg and the second leg is D1 or D2, and the other of the low-side switches is OFF, or (ii) the low-side switches of the first leg and the second leg are ON, one of the high-side switches of the first leg and the second leg is D1 or D2, and the other of the high-side switches is OFF. The only change that has occurred over the first configuration is that one of the switches that was previously OFF is now D1 or D2. The particular choice of switch depends on the intended direction of excitation, and therefore depends on the polarity of the supply voltage. As noted below, this particular switch is employed (i.e. conducts) during excitation and is eventually turned ON. The particular choice of diode state (i.e. D1 or D2) likewise depends on the polarity of the supply voltage and is chosen such that switch is reverse biased by the supply voltage. Accordingly, if the polarity of the supply voltage is positive, the switch is turned from OFF to D2 (i.e. upward conducting). Conversely, if the polarity of the supply voltage is negative, the switch is turned from OFF to D1 (i.e. downward conducting).

Figure 6(b) illustrates a particular example of the converter in the second configuration, in which switches SW2,SW4 are ON (and therefore current continues to freewheel around the low-side loop of the converter), switch SW1 is OFF and switch SW3 is D2.

The controller 38 configures the converter 33 in a third configuration in which the high-side switch of the first leg and the low-side switch of the second leg are OFF, one of the low-side switch of the first leg and the high-side switch of the second leg is ON, and the other of the low-side switch of the first leg and the high-side switch of the second leg is D1 or D2. The only change that has occurred over the second configuration is that one of the switches that was previously ON is now OFF. Moreover, the switch that is turned OFF is on the same leg as that switch which is in a diode state, be it D1 or D2. When the converter 33 is in the third configuration, inductive energy stored in the motor 20 is transferred to the capacitor C1 .

Figure 6(c) illustrates a particular example of the converter in the third configuration, in which switches SW1 ,SW4 are OFF, switch SW2 is ON and switch SW3 is D2. Finally, the controller 38 configures the converter 33 in a fourth configuration in which the high-side switch of the first leg and the low-side switch of the second leg are OFF, and the low-side switch of the first leg and the high-side switch of the second leg are ON. The only change that has occurred over the third configuration is that the switch that was previously in a diode state (i.e. D1 or D2) is now ON. When the converter 33 is in the fourth configuration, the phase winding 21 is excited by the supply voltage in an opposite direction to that previously. Any remaining inductive energy stored in the motor 20 is transferred to the capacitor C1 . When all inductive energy is transferred to the capacitor, current in the phase winding commutates.

Figure 6(d) illustrates a particular example of the converter in the fourth configuration, in which switches SW1 and SW4 are OFF, and switches SW2 and SW3 are ON. As a result, the phase winding is now excited in a direction from right to left.

Excitation to Reverse Excitation (Commutation)

There may be instances when it is desirable or indeed necessary to reverse the direction of excitation (i.e. commutate the phase winding) during excitation, and the controller may employ the following sequence in order to configure the converter.

The sequence begins with the converter 33 in a first configuration in which the high- side switch of a first leg and the low-side switch of a second leg of the converter are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. The phase winding is therefore excited in a direction that depends on the particular choice of switches that are turned ON and by the polarity of the supply voltage.

Figure 7(a) illustrates a particular example of the converter in the first configuration. In this particular example, switches SW1 ,SW4 are ON, and switches SW2,SW3 are OFF. The polarity of the supply voltage is positive, and therefore the phase winding is excited in a direction from left to right. The controller 38 then configures the converter 33 in a second configuration in which the high-side switch of the first leg and the low-side switch of the second leg are ON, and the low-side switch of the first leg and the high-side switch of the second leg are D1 or D2. The only change that has occurred over the first configuration is that both switches that were previously OFF are now D1 or D2. The particular choice of diode state (i.e. D1 or D2) depends on the polarity of the supply voltage and is chosen such that the switches are reverse biased by the supply voltage. Accordingly, if the polarity of the supply voltage is positive, the switches are turned from OFF to D2 (i.e. upward conducting). Conversely, if the polarity of the supply voltage is negative, the switches are turned from OFF to D1 (i.e. downward conducting). When the converter 33 is in the second configuration, the phase winding 21 continues to be excited in the same direction as that of the first configuration.

Figure 7(b) illustrates a particular example of the converter in the second configuration. In this particular example, the polarity of the supply voltage is positive. Consequently, switches SW1 ,SW4 are ON, and switches SW2,SW3 are D2 (i.e. upward conducting). The phase winding therefore continues to be excited from left to right.

The controller 38 configures the converter 33 in a third configuration in which the high-side switch of the first leg and the low-side switch of the second leg are OFF, and the low-side switch of the first leg and the high-side switch of the second leg are D1 or D2. The only change that has occurred over the second configuration is that both switches that were previously ON are now OFF. When the converter is in the third configuration, inductive energy stored in the motor 20 is transferred to the capacitor C1 via the switches in the diode state.

Figure 7(c) illustrates a particular example of the converter in the third configuration, in which switches SW1 ,SW4 are OFF, and switches SW2,SW3 are D2 (i.e. upward conducting). Inductive energy stored in the motor is then transferred to the capacitor (not shown) via switches SW2 and SW3. Finally, the controller 38 configures the converter 33 in a fourth configuration in which the high-side switch of the first leg and the low-side switch of the second leg are OFF, and the low-side switch of the first leg and the high-side switch of the second leg are ON. The only change that has occurred over the fourth configuration is that the switches that were previously in a diode state (i.e. D1 or D2) are now ON. When the converter 33 is in the fourth configuration, the phase winding 21 is excited by the supply voltage in an opposite direction to that previously. Any remaining inductive energy stored in the motor 20 is transferred to the capacitor C1 . When all inductive energy is transferred to the capacitor, current in the phase winding commutates.

Figure 7(d) illustrates a particular example of the converter in the fourth configuration, in which switches SW1 ,SW4 are OFF, and switches SW2,SW3 are ON. As a result, the phase winding is now excited in a direction from right to left.

Reactive Current

As the rotor of the motor 20 rotates, a back EMF is induced in the phase winding 21 . Around zero-crossings in the supply voltage, the magnitude of the back EMF may exceed the supply voltage. As a result, the magnitude and polarity of the phase current can become uncontrolled. Additionally, the phase current at this point is predominantly reactive since, with relatively little or no supply voltage, there is relatively little or no active power. This reactive current can be significant and may impact the efficiency of the motor system. The motor 20 may be designed such that machine parameters of the motor, such as the peak back EMF and phase inductance, help mitigate reactive current. However, this inevitably compromises the performance of the motor. As will now be explained, the converter can be configured so as to maintain control of the phase current around zero-crossings in the supply voltage. This then enables the design of the motor to be decoupled from considerations around reactive current.

In one example, the controller 38 may configure the converter 33 such that all switches SW1 -SW4 are OFF at or around zero-crossings in the supply voltage. As a result, no phase current flows. There is then no reactive power but equally there is no active power. However, the loss of active power is unlikely to be a problem. Even when phase current is present, active power at or around zero-crossings in the supply voltage is low or zero by virtue of the fact that the magnitude of the supply voltage is low or zero. Consequently, the reduction in total active power as a result of turning OFF all switches is likely to be small and is unlikely to adversely affect the overall performance of the motor.

In motor systems having switches that include a body or antiparallel diode, the phase current cannot be controlled in this way. In particular, the diodes continue to provide a path for reactive current even when the switches are OFF. The motor system described here is therefore capable of controlling the phase current in ways that are simply not possible with other motor systems.

By turning OFF all switches of the converter 33, there are now periods during which no current is drawn from the supply voltage. As a result, the harmonic content of the current drawn from the supply voltage may increase. The controller 38 may therefore configure the converter in a different way such that phase current continues to be controlled whilst better shaping the current drawn from the supply voltage. Two configuration sequences will now be described.

Reactive Current - First Configuration Sequence

The first sequence begins with the converter 33 in a first configuration in which the high-side switch of a first leg and the low-side switch of a second leg of the converter are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. As a result, the phase winding 21 is excited in a direction that depends on the particular choice of switches that are turned ON and by the polarity of the supply voltage.

Figure 8(a) illustrates a particular example of the converter in the first configuration. In this particular example, switches SW1 ,SW4 are ON and switches SW2,SW3 are OFF. The polarity of the supply voltage is positive and therefore the phase winding is excited in a direction from left to right. The controller 38 monitors the magnitude of the current in the phase winding via the current sense signals, l_SENSE1 and l_SENSE2. In the event that the rate of change in the magnitude of the phase current is less than a threshold, the controller 38 configures the converter 33 in a second configuration in which the high-side switch of the first leg and the low-side switch of the second leg of the converter are D1 or D2, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. The only change that has occurred over the first configuration is that both switches that were previously ON are now D1 or D2. The particular choice of diode state (i.e. D1 or D2) depends on the polarity of the supply voltage and is chosen so that the switches are forward biased by the supply voltage. Accordingly, if the polarity of the supply voltage is positive, the switches are turned from ON to D1 (i.e. downward conducting). Conversely, if the polarity of the supply voltage is negative, the switches are turned from ON to D2 (i.e. upward conducting).

Figure 8(b) illustrates a particular example of the converter in the second configuration. The polarity of the supply voltage is positive, and therefore switches SW1 ,SW4 are D1 , and switches SW2,SW3 are OFF.

The controller 38 continues to monitor the magnitude of the current in the phase winding 21 . Should the magnitude of the phase current reach zero, the controller 38 configures the converter 33 in a third configuration in which all switches of the converter 33 are OFF. The controller maintains the converter 33 in the third configuration until it is once again time to excite the phase winding 21 .

Implementation of this particular configuration sequence will now be described with reference to Figure 9, which illustrates the supply voltage, the back EMF induced in the phase winding, and the phase current.

At TO the converter is configured in the first configuration and the phase winding is excited (e.g. from left to right). In this particular example, the phase winding is excited at a time when the back EMF has the opposite polarity to that of the supply voltage. As a result, the supply voltage is boosted by the back EMF. The net result is that current in the phase winding rises. In this particular example, the polarity of the phase current is positive. If the phase winding were excited in the opposite direction (e.g. from right to left), the polarity of the phase current would be negative. Nevertheless, the behaviour in the magnitude (i.e. the absolute value) of the phase current would be the same. Between TO and T1 the magnitude of the back EMF decreases, transitions through zero, and then increases. The polarity of the back EMF has now changed and therefore acts in opposition to the supply voltage. As a result, the rate of change in the magnitude of the phase current decreases over the period TO to T1. At T1 the magnitude of the back EMF is the same as that of the supply voltage. Moreover, as already noted, the back EMF acts in opposition to the supply voltage. As a result, the rate of change in the phase current is zero at T1. Between T1 and T2 the magnitude of the back EMF is greater than the supply voltage and therefore the magnitude of the phase current decreases, i.e. the rate of change in the magnitude of the phase current is now negative. In the event that the rate of change in the magnitude of the phase current is less than a threshold, the controller configures the converter in the second configuration. In this particular example, the threshold is zero. Consequently, when the rate of change in the magnitude of the phase current becomes negative, the converter is configured in the second configuration. In the second configuration, the switches that were previously ON are now in a diode state. The switches are forward biased by the combination of the supply voltage and the self-induced voltage across the phase winding. As a result, current continues to flow in the same direction as before (e.g. from left to right). When the magnitude of the phase current reaches zero, the switches are now reverse biased by the back EMF. As a result, the phase current is clamped at zero. Finally, between T2 and T3 the controller configures the converter in the third configuration. With all switches now OFF, the phase current remains at zero.

With this particular configuration sequence, current continues to be drawn from the power supply 40, thereby improving the shape of the current waveform. However, the phase current is controlled at all times. In particular, the switches are configured into a diode state which clamps the current at zero and prevents the back EMF from reversing the polarity of the phase current. Figure 10 illustrates a further example of the implementation of this particular configuration sequence.

Again at TO the converter is configured in the first configuration, the phase winding is excited, and phase current rises. Between TO and T1 the magnitude of the back EMF decreases, transitions through zero, and then increases. As a result, the rate of change in the magnitude of the phase current decreases over the period TO to T1. At T1 the magnitude of the back EMF, which now acts in opposition to the supply voltage, is the same as that of the supply voltage and therefore the rate of change in the phase current is zero. Between T 1 and T2, the magnitude of the back EMF is greater than the supply voltage and therefore the magnitude of the phase current falls. Again, in this particular example, the controller configures the converter in the second configuration when the rate of change in the magnitude of the phase current is less than zero. Consequently, when the rate of change in the magnitude of the phase current becomes negative, the converter is configured in the second configuration. The switches are forward biased by the combination of the supply voltage and the self-induced voltage across the phase winding and thus current continues to flow. Between T1 and T2, the magnitude of the back EMF rises, peaks, and begins to fall. At T2 the magnitude of the back EMF is again the same as the supply voltage and therefore the rate of change in the phase current is zero. From T2 to T3 the magnitude of the supply voltage is greater than the back EMF and therefore the magnitude of the phase current rises again. Consequently, in contrast to the example of Figure 9, the phase current never reaches zero. The controller then maintains the converter in the second configuration until it is time to freewheel or commutate the phase winding.

In the example of Figure 10, switches SW1 and SW4 could have remained ON throughout. Indeed, keeping the switches ON is likely to be beneficial since conduction losses are likely to be higher when the switches are in the diode state. Accordingly, the controller may configure the converter in the second configuration when (i) the rate of change in the magnitude of the phase current is less than a threshold, and (ii) the magnitude of the phase current is less than a further threshold. In this way, the efficiency of the motor system may be improved by switching to the second configuration only under circumstances for which the phase current is likely to fall to zero. In the example illustrated in Figure 10, the further threshold may be set sufficiently low such that, despite the momentary decrease in the magnitude of the phase current, switches SW1 and SW4 remain ON.

Reactive Current - Second Configuration Sequence

The second sequence again begins with the converter 33 in a first configuration in which the high-side switch of a first leg and the low-side switch of a second leg of the converter are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. The phase winding 21 is therefore excited in a direction that depends on the particular choice of switches that are turned ON and by the polarity of the supply voltage.

Figure 11 (a) illustrates a particular example of the converter in the first configuration. In this particular example, switches SW1 ,SW4 are ON and switches SW2,SW3 are OFF. The polarity of the supply voltage is positive and therefore the phase winding is excited in a direction from left to right.

The controller 38 monitors the magnitude of the phase current in the converter 33. In the event that the rate of change in the magnitude of the phase current is less than a threshold, the controller 38 configures the converter 33 in a second configuration in which the high-side switch of the first leg and the low-side switch of the second leg of the converter are ON, and the low-side switch of the first leg and the high-side switch of the second leg are D1 or D2. The only change that has occurred over the first configuration is that both switches that were previously OFF are now D1 or D2. The particular choice of D1 or D2 depends on the polarity of the supply voltage and is chosen so that the switches are reverse biased by the supply voltage. Accordingly, if the polarity of the supply voltage is positive, the switches are turned from OFF to D2 (i.e. upward conducting). Conversely, if the polarity of the supply voltage is negative, the switches are turned from OFF to D1 (i.e. downward conducting). Figure 11 (b) illustrates a particular example of the converter in the second configuration. The polarity of the supply voltage is positive and therefore switches SW1 ,SW4 are ON and switches SW2,SW3 are D2.

The controller 38 then configures the converter 33 in a third configuration in which the high-side switch of the first leg and the low-side switch of the second leg of the converter are OFF, and the low-side switch of the first leg and the high-side switch of the second leg are D1 or D2. The only change that has occurred over the second configuration is that both switches that were previously ON are now OFF. The switches in the diode state (i.e. D1 or D2) are now forward biased by the selfinduced voltage across the phase winding. The self-induced voltage is opposed by both the supply voltage and the back EMF. As a result, the magnitude of the phase current decreases.

Figure 11 (c) illustrates a particular example of the converter in the third configuration, in which switches SW1 ,SW4 are now OFF and switches SW2,SW3 continue to be D2.

The controller 38 continues to monitor the phase current in the third configuration. When the magnitude of the phase current is zero, the controller 38 configures the converter 33 in a fourth configuration in which all switches of the converter 33 are OFF.

It will be apparent that the two configuration sequences described in this section are similar. Common to both sequences is the notion that the controller 38 initially configures the converter 33 in a configuration in which a pair of switches are ON (and a pair of switches are OFF) in order to excite the phase winding and drive current through the phase winding 21 in a particular direction. The controller 38 monitors the phase current and, in the event that the rate of change in the magnitude of the phase current is less than a threshold, the controller 38 configures the converter 33 in a further configuration in which a pair of switches are in a diode state (and a pair of switches are OFF) such that phase current continues to flow in the same direction. Although the choice of switches (i.e. SW1/SW4 or SW2/SW3) and the choice of diode state (i.e. D1 or D2) are different in both sequences, common to both is the notion that, when the phase current is zero, the switches are reverse biased by the back EMF such that reversal in the polarity of the phase current is prevented. Although the second sequence includes one additional configuration (i.e. the second configuration), this additional configuration is required merely to safely transition from the first configuration to the third configuration.

Although the two configuration sequences are similar, there are nevertheless differences. When the switches of the first sequence are in the diode state, the switches conduct in the same direction as that of the supply voltage (see, for example Figure 8(b)). Consequently, should the supply voltage subsequently exceed the back EMF, the switches are forward biased and the phase current rises, as illustrated in the example of Figure 10. By contrast, when the switches of the second sequence are in the diode state, the switches conduct in an opposite direction to that of the supply voltage (see, for example Figure 11 (b)). Consequently, should the supply voltage subsequently exceed the back EMF, the phase current continues to be clamped at zero. A further difference between the two sequences is that, when the switches of the first sequence are in the diode state, the self-induced voltage across the phase winding is opposed only by the back EMF. By contrast, when the switches of the second sequence are in the diode state, the self-induced voltage across the phase winding is opposed by both the back EMF and the supply voltage. As a result, the phase current decreases at a faster rate, and the controller has a longer period of time in which to turn all switches OFF before the next event.

The two sequences described above are not mutually exclusive and the controller may employ one or both of the sequences when controlling the excitation of the phase winding.

Change in Polarity of Supply Voltage

Two configuration sequences have been described that better control the phase current around zero-crossings in the supply voltage. In particular, both sequences prevent the reversal in the polarity of the phase current that might otherwise occur when the back EMF exceeds the supply voltage. As will now be explained, both configuration sequences also prevent the reversal of the phase current in the event that the supply voltage changes polarity during excitation.

Let us consider the first of the two configuration sequences described above, i.e. that illustrated in Figure 8. Figure 12 illustrates an example of a scenario in which the polarity of the supply voltage changes during excitation.

At TO the controller configures the converter in the first configuration (e.g. SW1/SW4 are ON, SW2/SW3 are OFF). The phase winding is therefore excited and phase current rises. At T 1 the magnitude of the back EMF is the same as that of the supply voltage and therefore the rate of change in the phase current is zero. Between T1 and T2, the magnitude of the back EMF is greater than the supply voltage and therefore the magnitude of the phase current falls. In this particular example, the controller configures the converter in the second configuration when the rate of change in the magnitude of the phase current is less than zero. Consequently, the controller configures the converter in the second configuration (e.g. SW/SW4 are D1 , SW2/SW3 are OFF) shortly after T1. At T2 the polarity of the supply voltage changes. The supply voltage therefore opposes, together with the back EMF, the self-induced voltage across the phase winding. At T3 the phase current has fallen to zero. Those switches in a diode state are now reverse biased by the back EMF and the supply voltage. As a result, the phase current is clamped at zero, in spite of the change in the polarity of the supply voltage. The controller then configures the converter in the third configuration (i.e. SW1-SW4 are OFF) at some time after T3.

Let us now consider the second configuration sequence, i.e. that illustrated in Figure 11. As will become apparent, the situation is little different to that described above for the first configuration sequence. Again, reference will be made to Figure 12.

At TO the controller configures the converter in the first configuration (e.g. SW1/SW4 are ON, SW2/SW3 are OFF). The phase winding is therefore excited and phase current rises. At T 1 the magnitude of the back EMF is the same as that of the supply voltage and therefore the rate of change in the phase current is zero. Between T1 and T2, the magnitude of the back EMF is greater than the supply voltage and therefore the magnitude of the phase current falls. The controller configures the converter in the third configuration when the rate of change in the magnitude of the phase current is less than zero. Consequently, the controller configures the converter in the second configuration (e.g. SW1/SW4 are ON, SW2/SW3 are D2) followed immediately thereafter by the third configuration (e.g. SW1/SW4 are OFF, SW2/SW3 are D2) shortly after T1. The supply voltage now acts in opposition, along with the back EMF, to the self-induced voltage across the phase winding. However, At T2 the polarity of the supply voltage changes. The supply voltage now acts in the same direction as the self-induced voltage. However, the magnitude of the back EMF is significantly larger than the supply voltage and thus the phase current continues to fall. At T3, the phase current reaches zero. Those switches in a diode state are now reverse biased by the back EMF. The phase current is therefore clamped at zero. The controller then configures the converter in the further configuration (i.e. SW1 -SW4 are OFF) at some time after T3.

Conceivably, a situation might arise in which the supply voltage, having changed polarity, might exceed the back EMF whilst the switches are still in the diode state. Whilst this is unlikely to occur in the situation illustrated in Figure 12, it could conceivably occur at lower speeds where the magnitude of the back EMF is smaller. In this situation, the switches would be forward biased by the supply voltage and the phase current would again rise. However, the polarity of the phase current is unchanged. The situation in somewhat analogous to that of Figure 10.

Incorrect Timing

The phase winding 21 may be excited inadvertently at the wrong time. By way of example, noise in the position signal, POS, may cause the controller 38 to excite the phase winding 21 at the wrong time. Incorrect timing of excitation may cause phase current to flow in the opposite direction to that desired.

Figure 13 illustrates an example in which the timing of excitation is incorrect. At TO the phase winding is excited by turning on switches SW1 and SW4. TO should occur just before the zero-crossing in the back EMF. However, for whatever reason, TO instead occurs just after the zero-crossing in the back EMF. As a result, the phase winding is excited at a time when the back EMF opposes the supply voltage. Moreover, the magnitude of the back EMF is greater than that of the supply voltage at TO. Consequently, when the phase winding is excited (i.e. when switches SW1/SW4 are turned ON), phase current is driven in the opposite direction to that desired by the back EMF. Accordingly, in the example of Figure 13, the phase current is negative rather than positive, as desired.

Upon sensing that the polarity of the phase current is opposite to that expected, the controller 38 may configure the converter 33 such that the switches that were ON are now placed into a diode state. The choice of diode state (i.e. D1 or D2) is such that a path continues to be provided for the phase current to flow from the phase winding 21 to the capacitor C1 . So in the example of Figure 13, the controller may configure switches SW1 and SW4 into D1 (i.e. downward conducting) shortly after TO.

Between TO and T1 , the magnitude of the back EMF increases, peaks, and then decreases. The back EMF is nevertheless greater than the supply voltage throughout the period TO to T1. As a result, the magnitude of the phase current increases, albeit with negative polarity, over the period TO to T1. At T1 , the magnitude of the back EMF and the supply voltage are the same and thus the rate of change in the phase current is zero. Between T1 and T2, the magnitude of the supply voltage is greater than the back EMF. Additionally, the back EMF transitions through zero and boosts the supply voltage. Accordingly, the magnitude of the phase current decreases over the period T1 to T2. At T2 the phase current is zero and is then clamped by the switches. The controller 38 then configures the converter 33 shortly after T2 such that all switches are turned OFF.

Although the controller 38 may employ the above configuration sequence to manage phase current having the wrong polarity, the situation may be avoided altogether. In each of the examples described above, in which the phase winding is excited, the sequence begins with a configuration in which the high-side switch of a first leg and the low-side switch of a second leg are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. However, the sequence may instead begin with a configuration in which the high-side switch of the first leg and the low-side switch of the second leg are D1 or D2, and the low- side switch of the first leg and the high-side switch of the second leg are OFF. The choice of D1 or D2 is such that switches are forward biased by the supply voltage. As a result of the switches starting in a diode state rather than an ON state, phase current is prevented from flowing in the wrong direction. The controller may then monitor the phase current, i.e. via the current sense signals. In the event that the phase current rises, the controller may revert to one of the configuration sequences described above. In particular, the controller may configure the converter in the first configuration of the above-described sequences in which the high-side switch of the first leg and the low-side switch of the second leg are ON, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. Alternatively, if the phase current does not rise, the controller may configure the converter such that all switches are turned OFF in readiness for the next event.

With this particular configuration sequence, switches are first put into a diode state before being turned ON. As a result, this particular sequence cannot be used when phase current is already flowing through the converter in an opposite direction (i.e. in a direction that opposes the direction of excitation). As noted above, at or around zero-crossings in the supply voltage, the phase current may be clamped to zero after each period of excitation. Accordingly, this configuration sequence may be used in conjunction with either of the two sequences described above in connection with reactive current.

Shutdown

There may be a requirement to shutdown the motor system at any point. Shutdown may occur as part of the normal operation or it may occur in response to a fault condition. If the switches of the converter included body or antiparallel diodes, shutdown might simply involve turning all switches OFF. A path would then be provided by the diodes for transferring inductive energy stored in the motor to the capacitor of the input filter. With the present motor system 10, the switches SW1 - SW4 do not have such diodes and therefore the converter 33 must be configured in such a way as to deal with the inductive energy of the motor 20 before the switches SW1 -SW4 can be turned OFF.

In response to a shutdown, the controller 38 configures the converter 33 in a first configuration in which a high-side of a first leg and a low-side switch of a second leg are D1 or D2, and the low-side switch of the first leg and the high-side switch of the second leg are OFF. The choice of switches (i.e. SW1/SW4 or SW2/SW3) to put into a diode state depends on the polarity of the supply voltage and the polarity of the phase current, and is chosen such that inductive energy stored in the motor 20 is transferred to the capacitor C1 . The choice of diode state (i.e. D1 or D2) depends on the polarity of the supply voltage and is chosen such that the switches are reverse biased by the supply voltage. Accordingly, if the polarity of the supply voltage is positive, the switches are turned to D2 (i.e. upward conducting). Conversely, if the polarity of the supply voltage is negative, the switches are turned to D1 (i.e. downward conducting). There are therefore four possible permutations for the first configuration as detailed in Figure 14.

Depending on the configuration of the converter 33 immediately prior to shutdown, the controller 38 may configure the converter 33 in one or more pre-configurations prior to the first configuration, so that the converter 33 transitions safely to the first configuration. For example, if switches SW1 ,SW4 were ON at the point of shutdown, the controller might configure the converter in a pre-configuration in which switches SW1 ,SW4 are ON and switches SW2,SW3 are in a diode state. The controller 38 would then configure the converter 33 in the first configuration in which, in this instance, switches SW2,SW3 are in the diode state and switches SW1 ,SW4 are OFF.

When in the first configuration, inductive energy stored in the motor 20 is transferred to the capacitor C1 and the magnitude of the phase current decreases. Upon decreasing to zero, the current is clamped by the switches and the controller 38 configures the converter 33 into a configuration in which all switches are OFF. As noted, the particular choice of switches and diode state in the first configuration depends on the polarity of the supply voltage. In particular, the switches and the diode state are chosen such that the supply voltage acts in opposition to the selfinduced voltage across the phase winding. However, the polarity of the supply voltage may change whilst the converter 33 is in the first configuration. In this instance, the controller 38 reconfigures the converter 33 such that supply voltage continues to act in opposition to self-induced voltage.

In reconfiguring the converter, the controller 38 configures the converter 33 in a second configuration in which the high-side switch of the first leg and the low-side switch of the second leg are one of D1 and D2, and the low-side switch of the first leg and the high-side switch of the second leg are the other of D1 and D2. The only change that has occurred over the first configuration is that the two switches that were previously OFF are now in a diode state. Moreover, the two switches have an opposite diode state to that of the other two switches. So, for example, if switches SW1 and SW4 are D1 then switches SW2 and SW3 are D2, and vice versa. The converter 33 therefore has a configuration in which all switches SW1 -SW4 are in a diode state.

The controller 38 then configures the converter 33 in a third configuration in which the high-side switch of the first leg and the low-side switch of the second leg are OFF, and the low-side switch of the first leg and the high-side switch of the second leg are D1 or D2. The only change that has occurred over the second configuration is that the two switches that were previously in a diode state in the first configuration are now OFF. Inductive energy stored in the motor 20 continues to be transferred to the capacitor C1 and thus the magnitude of the phase current decreases. Upon decreasing to zero, the current is clamped by the switches and the controller 38 configures the converter 33 into a final configuration in which all switches are OFF.

Figure 15 illustrates an example sequence during shutdown. Figure 15(a) illustrates the converter in the first configuration. In this particular example, the polarity of the phase current is positive (i.e. current flows in direction from left to right) and the polarity of the supply voltage is positive. Accordingly, switches SW2,SW3 are in diode state D2 and switches SW1 ,SW4 are OFF. Switches SW2,SW3 are forward biased by the self-induced voltage across the phase winding and therefore phase current continues to flow in a direction from left to right, with the inductive energy stored in the motor being transferred to the capacitor. Figure 15(b) illustrates the converter in the second configuration. Switches SW1 and SW4, which were previously OFF, are now in diode state D1 . As noted, the converter is configured in the second configuration in response to a change in the polarity of the supply voltage. So in this particular example, the polarity of the supply voltage is now negative. As a result, switches SW2 and SW3 are now forward biased by the supply voltage, and switches SW1 and SW4 are reverse biased. Figure 15(c) illustrates the converter in the third configuration, in which switches SW2,SW3 are OFF. Switches SW1 and SW4 are then forward biased by the self-induced voltage across the phase winding. Phase current therefore continues to flow in a direction from left to right, with the inductive energy stored in the motor being transferred to the capacitor. Finally, although not illustrated, when the phase current falls to zero, the converter is configured into a final configuration in which all switches SW1 -SW4 are OFF.

Gate Driver

As noted above, it may be necessary to shutdown the motor system 10 in the event of a fault. Whilst the controller 38 is normally expected to control the shutdown sequence, the fault may reside within the controller 38. The gate driver 37 is therefore also configured to shutdown the motor system 10 in the event of a fault. The fault may arise as a result of absent or conflicting control signals from the controller, or as a result of overcurrent across one or more of the switches.

The gate driver 37 receives the signals V_POL and l_POL, which respectively provide an indication of the polarity of the supply voltage and the phase current. In the event of a fault, the gate driver uses these signals to shutdown the motor system 10 using the same sequence as that described above, i.e. the gate driver 37 generates a sequence of gate signals that depends on the polarity of the voltage and the polarity of the current. As illustrated in Figure 14, there are four possible permutations for the first configuration of the sequence. Accordingly, in response to a fault, the gate driver generates gate signals for: (i) driving a first pair of switches to D1 and a second pair of switches to OFF when the polarity of the voltage is positive and the polarity of the current is positive, (ii) driving the first pair of switches to D2 and the second pair of switches to OFF when the polarity of the voltage is negative and the polarity of the current is positive, (iii) driving the first pair of switches to OFF and the second pair of switches to D1 when the polarity of the voltage is positive and the polarity of the current is negative, and (iv) driving the first pair of switches to OFF and the second pair of switches to D2 when the polarity of the voltage is negative and the polarity of the current is negative.

Although not illustrated in Figure 2, the gate driver 37 also receives an input signal that provides a measure of the magnitude of the phase current. The input signal may be analogue or digital. For example, the gate driver may receive the current sense signals, l_SENSE1 and l_SENSE2. Alternatively, the input signal may be a digital signal that is logically high when the phase current is non-zero, and logically low when the phase current is zero. The gate driver uses the input signal to drive all switches OFF when the magnitude of the phase current is zero.

If there is a change in the polarity of the supply voltage whilst in the first configuration, the gate driver 37 configures the converter 33 in the second configuration followed by the third configuration. In the second configuration, the gate driver 37 generates gate signals for driving a first pair of switches to D1 and a second pair of switches to D2. More particularly, the gate driver 37 generates gate signals for: (i) driving a first pair of switches to D1 and a second pair of switches to D2 when the polarity of the current is positive, and (ii) driving the first pair of switches to D2 and the second pair of switches to D1 when the polarity of the current is negative.

When in the third configuration, the gate driver 37 employs the same logic as that in the first configuration. The polarity of the supply voltage has changed and therefore a different pair of switches are in a different diode state, but the logic in deciding which switches and which diode state (i.e. D1 or D2) is unchanged. Accordingly, the gate driver generates gate signals for: (i) driving a first pair of switches to D1 and a second pair of switches to OFF when the polarity of the voltage is positive and the polarity of the current is positive, (ii) driving the first pair of switches to D2 and the second pair of switches to OFF when the polarity of the voltage is negative and the polarity of the current is positive, (iii) driving the first pair of switches to OFF and the second pair of switches to D1 when the polarity of the voltage is positive and the polarity of the current is negative, and (iv) driving the first pair of switches to OFF and the second pair of switches to D2 when the polarity of the voltage is negative and the polarity of the current is negative.

Whilst it is not unknown for a gate driver to include fault protection logic, it is both unknown and unusual for a gate driver to monitor the polarity of a voltage and/or the polarity of a current and to then generate gate signals in response. Although the gate driver described here uses both the polarity of the supply voltage and the polarity of the phase current to generate gate signals, there may be instances for which gate driver may use just the polarity of the supply voltage or the polarity of the phase current.

With the drive circuit described herein, a motor may be driven using an AC supply voltage without the need for a rectifier or PFC stage. This is made possible by the provision of a converter having bidirectional switches. In particular, the switches can be controlled such that, irrespective of the polarity of the supply voltage, a voltage of either polarity may be applied to the phase winding. The provision of bidirectional switches is not, however, without its difficulties. In particular, the absence of antiparallel diodes presents challenges when managing the inductive energy stored in the motor as well as any energy that may be generated by the motor. The controller therefore configures the converter in different configuration sequences in order to ensure that the motor system safely transitions from one operating state to the next. Whilst various configuration sequences have been described, it is not essential that the controller employ each and every configuration sequence.