GB2561093A - A Method For Controlling An Electric Motor - Google Patents
A Method For Controlling An Electric Motor Download PDFInfo
- Publication number
- GB2561093A GB2561093A GB1806156.4A GB201806156A GB2561093A GB 2561093 A GB2561093 A GB 2561093A GB 201806156 A GB201806156 A GB 201806156A GB 2561093 A GB2561093 A GB 2561093A
- Authority
- GB
- United Kingdom
- Prior art keywords
- motor
- flag
- controlling
- braking
- routine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 55
- 230000001172 regenerating effect Effects 0.000 claims abstract description 42
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 230000003111 delayed effect Effects 0.000 abstract description 2
- 239000003990 capacitor Substances 0.000 description 33
- 238000010586 diagram Methods 0.000 description 12
- 238000009987 spinning Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000004804 winding Methods 0.000 description 8
- 230000000630 rising effect Effects 0.000 description 7
- 230000010355 oscillation Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000007383 open-end spinning Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P3/00—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters
- H02P3/06—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter
- H02P3/08—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing a dc motor
- H02P3/14—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing a dc motor by regenerative braking
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P1/00—Arrangements for starting electric motors or dynamo-electric converters
- H02P1/02—Details of starting control
- H02P1/022—Security devices, e.g. correct phase sequencing
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P1/00—Arrangements for starting electric motors or dynamo-electric converters
- H02P1/02—Details of starting control
- H02P1/029—Restarting, e.g. after power failure
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P1/00—Arrangements for starting electric motors or dynamo-electric converters
- H02P1/16—Arrangements for starting electric motors or dynamo-electric converters for starting dynamo-electric motors or dynamo-electric converters
- H02P1/46—Arrangements for starting electric motors or dynamo-electric converters for starting dynamo-electric motors or dynamo-electric converters for starting an individual synchronous motor
- H02P1/465—Arrangements for starting electric motors or dynamo-electric converters for starting dynamo-electric motors or dynamo-electric converters for starting an individual synchronous motor for starting an individual single-phase synchronous motor
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P7/00—Arrangements for regulating or controlling the speed or torque of electric DC motors
- H02P7/03—Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors
- H02P7/04—Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors by means of a H-bridge circuit
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P3/00—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters
- H02P3/06—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter
- H02P3/18—Arrangements for stopping or slowing electric motors, generators, or dynamo-electric converters for stopping or slowing an individual dynamo-electric motor or dynamo-electric converter for stopping or slowing an ac motor
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P6/00—Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
- H02P6/24—Arrangements for stopping
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
An electric motor controller checks whether a flag has been set in memory, the flag being an indication that the motor has stopped. If the flag has been set the motor controller is allowed to commence a motor start up routine substantially immediately, or if the flag has not been set, the motor controller is delayed from commencing a motor start up routine for a predetermined delay period. If the flag has not been set a braking routine may be enabled during the predetermined delay period, where the braking routine may comprise freewheel braking. The predetermined delay period may correspond to a minimum time period required for the rotor to come to a complete stop after the motor has been switched off. The motor may have been shut down by starting a timer, performing regenerative braking to capture kinetic energy and using this to power the motor controller, and setting a flag to indicate that the motor has stopped if the timer exceeds a predetermined value.
Description
Abstract Title: Controlling an electric motor start up in dependence on an indication that the motor has stopped
An electric motor controller checks whether a flag has been set in memory, the flag being an indication that the motor has stopped. If the flag has been set the motor controller is allowed to commence a motor start up routine substantially immediately, or if the flag has not been set, the motor controller is delayed from commencing a motor start up routine for a predetermined delay period. If the flag has not been set a braking routine may be enabled during the predetermined delay period, where the braking routine may comprise freewheel braking. The predetermined delay period may correspond to a minimum time period required for the rotor to come to a complete stop after the motor has been switched off. The motor may have been shut down by starting a timer, performing regenerative braking to capture kinetic energy and using this to power the motor controller, and setting a flag to indicate that the motor has stopped if the timer exceeds a predetermined value.
1/6 / ί.ί Shutdown \ motor
1.2 Start timer
1.3 Regenerative braking
X 1.4 , X Capacitor X\No threshold '-reached]*/
( l.S Motor Stopped i
FiG. 2
FiG. 1
2/6
FIG. 3
3/6
FIG. 4
Stage B | Stage C j i I
Stage A
J Stage B i
Stage A i
FIG. 5
4/6
Stage Β
DC Link
FIG. 6
FIG. 7
5/6 /^8.1 Regenerative
FIG. 8
6/6
A Method for Controlling an Electric Motor
The present invention relates to a method for controlling an electric motor.
When a motor is switched off, it can often take some time before the rotor stops spinning. In a permanent magnet brushless electric motor, as the rotor reaches the point where it becomes stationary, the attraction/interaction of the magnetic poles in the rotor with the poles of the stator, known as cogging torque, causes the rotor to rotationally oscillate prior to coming to a complete stop. This is sometimes referred to as a jitter phase. The jitter phase will usually last for a set period of time that may be dependent on a number of factors, for example the strength of the magnet, and the proximity of the stator poles to the rotor.
Problems can arise if it is attempted to restart the motor while the rotor is still oscillating in this jitter phase. For example it could be possible for the motor to be started inadvertently with the rotor spinning in a reverse direction. It would therefore be desirable to first detect whether the motor is in a jitter phase when starting the motor before the startup routine begins. However, detecting this jitter phase is not always possible. For example, if a motor is provided with a rotor position sensor such as a Hall sensor, the extent of the oscillation is typically so small that it will not be detected by the rotor position sensor.
As it isn’t possible to detect if the motor is in the jitter phase, when a motor is powered on, often a small time delay is built in before the startup routines are carried out in order to be absolutely sure that the rotor is stationary before the rotor is rotated. This time delay will only be long enough to ensure any oscillation has stopped. However, any delay to starting up the motor is undesirable.
Disclosed herein is a method for controlling an electric motor having a rotor, the method being carried out after a shut down of the motor has been initiated, the method comprising: starting a timer in a motor controller; performing regenerative braking to recapture kinetic energy from the rotor as electrical energy; using the recaptured electrical energy from the regenerative braking to power the motor controller; and if the timer in the motor controller exceeds a predetermined timer value, setting a flag in memory in the motor controller to indicate that the motor has stopped.
As a result when the motor is next turned on, the flag can act as an indication that the motor has completely stopped, and the startup routine can commence immediately without the need for a delay to be carried out before the motor is started.
The recaptured electrical energy may be stored in a capacitor. Accordingly the recaptured energy does not have to be used immediately and can be stored until required.
The capacitor is a DC link capacitor. As a result no additional components are required and the cost of the motor can be kept down.
The method may further comprise comparing the voltage across the capacitor to a maximum voltage threshold value. If the voltage across the capacitor exceeds the maximum threshold value, then the method may further comprise stopping regenerative braking, and initiating freewheel braking. By monitoring the voltage in this way, and ceasing regenerative braking if the voltage gets too high, any damage to the capacitor and other electrical components of the motor can be avoided.
The predetermined timer value may corresponds to a minimum time period required for the rotor to come to a complete stop after the motor shut down has been initiated. The predetermined timer value may be between 0.5 and 5 seconds, and may be between 1 and 2 seconds. Accordingly the motor controller only needs to be powered for the minimum time possible after the motor has been shut down. This helps to minimise the amount of energy needed to be recaptured by regenerative braking.
The flag may be set in non-volatile memory within the motor controller, and may be set in electrically erasable programmable read-only memory (EEPROM). Accordingly, the flag will remain set after the motor has shut down even when the power is removed, and will be available to be ready once the motor has started back up again.
According to the present invention there is provided a method for controlling an electric motor, the method being carried out after start up of the motor has been initiated, the method comprising: performing a check for whether a flag has been set in memory in a motor controller, the flag being an indication that the motor has stopped; and if the flag has been set, allowing the motor controller to commence a motor start up routine substantially immediately, or if the flag has not been set, delaying the motor controller from commencing a motor start up routine for a predetermined delay period.
As a result, the time taken for a motor to start up can be minimised because the flag check is much quicker that needing to incorporate a delay in the start up procedure prior to the start up routine being carried out.
If the flag has been set, the method may further comprise clearing the flag.
If no flag has been set, the method may further comprise enabling a braking routine during the predetermined delay period. This braking routine may comprise freewheel braking. This will reduce the amount of time required to delay the commencement of the start up routine.
The predetermined delay period may correspond to a minimum time period required for the rotor to come to a complete stop after the motor has been switched off and may be between 0.5 and 5 seconds, or between 1 and 2 seconds.
The method may be used to start a motor having been shut down in accordance with a previously described method, the previously described method comprising: initiating a shut down of the motor; starting a timer in a motor controller; performing regenerative braking to recapture kinetic energy from the rotor as electrical energy; using the recaptured electrical energy from the regenerative braking to power the motor controller; and if the timer in the motor controller exceeds a predetermined timer value, setting a flag in memory in the motor controller to indicate that the motor has stopped.
Further disclosed is a regenerative braking method for a permanent magnet electric motor providing a resync signal reflective of an electrical cycle of the motor, the method comprising: measuring a resync period of the resync signal; in a first part of the electrical cycle, using the spinning magnetic field of the rotor to charge a phase inductance; and in a second part of the electrical cycle of the motor, using the charged phase inductance to subsequently charge a capacitor.
As a result, kinetic energy from the spinning rotor can be recaptured and converted into electrical energy as the rotor is slowed down, and the recaptured energy stored in the capacitor for use.
The first part of the electrical cycle may last for a predetermined fraction of the measured resync period and the predetermined fraction may be % of the measured resync period. This allows for an optimised amount of energy to be recaptured from the rotor, while still being able to monitor the speed that the rotor is rotating.
The second part of the electrical cycle may last for a set predetermined value. The set predetermined value may be at least 50% to 75% of a minimum value for the resync period, the minimum value for the resync period being the length of the resync period when the motor is running at its top speed. Accordingly, the regenerative braking method will be able to work over the full speed range of the motor.
The step of using the spinning magnetic field of the rotor to charge a phase inductance may comprise enabling a single switch in an inverter of the motor to allow current to flow through a phase winding.
The step of using the charged phase inductance to subsequently charge a capacitor may comprise disabling all switches in an inverter of the motor and forcing induced current to flow from one side of the capacitor to the other.
In order that the present invention may be more readily understood, embodiments of the invention will now be described, by way of example, with reference to the following accompanying drawings, in which:
Figure 1 is flow diagram outlining the steps of a motor shutdown procedure;
Figure 2 is flow diagram outlining the steps of a motor start up procedure;
Figure 3 shows a schematic illustration of a motor system;
Figure 4 is a circuit diagram showing components of the motor system of Figure 3;
Figure 5 shows a waveform during regenerative braking;
Figures 6 and 7 show parts of the circuit diagram of Figure 4 during different stages of the regenerative braking of figure 5;
Figure 8 is a flow diagram outlining the steps of a regenerative braking mode; and
Figure 9 shows a handheld appliance comprising a motor.
Due to cogging torque, the motor enters an oscillation (jitter) phase just before stopping. There is no signal from the rotor position sensor during this oscillation, so the software is unable to tell if the motor is oscillating or not. However, after the rotor position sensor signal is lost, the jitter phase will typically last for a defined period, referred to herein as the settling period. The settling period will be different for each motor and will depend on a number of factors, for example the rotor magnet strength, size of air gap etc. For example, a motor may have a settling period of around 0.6 seconds.
To avoid the need to incorporate a delay period onto the startup procedure, it is desirable to check while the motor is powering down if the motor has been stationary for at least the settling period. However, this may not always be possible if the power to the motor and the motor controller has been switched off, as is typically the case. Accordingly, a method will now be described which incorporates a regenerative braking stage during the motor shutdown procedure which charges a capacitor. The power in the capacitor can then be used to power a timer in the motor controller that runs to ensure the settling period has completed.
Figure 1 is a flow diagram which outlines the steps carried out in one embodiment of a motor shutdown procedure:
1.1. A motor shutdown procedure is started. This may be, for example, in response to a user turning off it off, or automatic shut down following a fault detection.
1.2. A timer is started. This timer is used to determine the length of time that has passed from the point at which the motor was switched off. A timer threshold can be set for the motor. This threshold can be set such that if the threshold is reached, it can be determined that a time period of at least the settling period will have passed since the motor shutdown commenced.
1.3. A regenerative braking stage is commenced. This stage has two major purposes: firstly that it has a braking effect on the motor and therefore acts to slow the motor down more quickly once it has been turned off; and secondly, it recaptures kinetic energy from the motor and stores it in a capacitor as electrical energy which can be used to continue running the timer during this period after shutdown.
1.4. A check is done to see if a capacitor threshold has been reached. It will be understood that attempting to drive too much power into a capacitor could damage the capacitor or other electrical components of the motor. The threshold could, for example, be a measurement of voltage across the capacitor. If the threshold has not yet been reached, then the procedure returns to step 1.3 regenerative braking continues. However, once the threshold has been reached then the procedure proceeds on to step 1.5.
1.5. The motor is still spinning, but no more energy is needed to charge the capacitor. However, the motor still needs to be stopped, and so a freewheel braking stage is commenced. Freewheel braking is known, and so will not be described in great detail here.
1.6. A check to see if the timer threshold described above has been reached. If the timer threshold has not been reached then the freewheeling braking of step 1.5 is continued. If the threshold is reached, then it proceeds to step 1.7.
1.7. A “motor stopped” flag is set. This flag is a non-volatile flag and can be stored, for example, in EEPROM (electrically erasable programmable read-only memory).
1.8. The motor has stopped.
A further step may be included in the method above which checks the speed of the motor. If the rotor is spinning slowly prior to the regenerative braking step being carried out, then it may be desirable to know that. In this instance a reduced timer threshold may be adopted as it will be known that the rotor will take a shorter period of time to stop compared to if it was starting from a high initial speed. This will reduce the chances of the controller running out of power before a flag can be set due to lower levels of energy recapture at low starting rotor speeds.
The non-volatile “motor stopped” flag allows a check to be made when the motor is next started up as to whether or not a delay is required prior to the normal motor start up routine being carried out. Figure 2 is a flow diagram which outlines the steps carried out in one embodiment of the initial stages of a motor start up routine:
2.1. The motor is started. This could be, for example, in response to a user turning it on.
2.2. A check to see if the “motor stopped” flag has been set is carried out. If the flag as been set, then there is certainly that the motor has completely stopped and it is safe to restart the motor immediately. The routine therefore proceeds to step 2.3. If no “motor stopped” flag has been set then there is no certainty that the motor has come to a complete stop, and there is a chance that the motor is still in a jitter phase. Therefore the routine proceeds instead to step 2.4.
2.3. After identifying that the “motor stopped” flag has been set in step 2.2, the flag can be cleared, and the process proceeds directly to step 2.6 in which the typical start up routine for the motor is carried out.
2.4. After identifying that no “motor stopped” flag has been set in step 2.2, the motor enables freewheel braking. If the motor is still moving, then freewheel braking will encourage it to come to a stop faster.
2.5. Once freewheel braking has been enabled, a delay of a predetermined period of time, which in this case is 1.25 seconds, is carried out before the process finally proceeds to step 2.6.
2.6. The typical motor start up routine is commenced.
The example predetermined delay period of 1.25 seconds described above is calculated such that it corresponds to a minimum time period required for the rotor to come to a complete stop after the motor has been switched off. It will be appreciated that this value will vary from motor to motor. In most cases for motors contained in handheld appliances, for example, this predetermined delay period is expected to be between 0.5 and 5 seconds.
Figure 3 shows a schematic illustration of a motor system 1 comprising a motor 2 and a microcontroller 3 for controlling the motor 2. Power to the motor system 1 is provided by an AC power supply 4. The AC power supply 4 is intended to be a domestic mains supply.
The motor 2 is a permanent magnet brushless motor, and comprises at least one phase winding. The control system 3 comprises a rectifier 5, a DC link filter 6, an inverter 7, a gate driver module 8, a microcontroller 9 and a regenerative braking module 10.
Figure 4 is a simplified circuit diagram which shows many of the components of the motor system 1. The rectifier 5 comprises four diodes D1-D4 arranged in a full-wave bridge arrangement that rectifies the output of the AC supply 4 to provide a DC voltage.
The DC link filter 6 comprises a link capacitor C1 and a link inductor L1. The link capacitor C1 acts to smooth the relatively high-frequency ripple that arises from inverter switching. As described below in more detail, the link capacitor C1 is not required to smooth the rectified DC voltage at the fundamental frequency. Consequently, a link capacitor of relatively low capacitance may be used. The link inductor L1 acts to smooth any residual current ripple that arises from inverter switching. Again, since the link inductor L1 is intended to reduce ripple at the switching frequency of the inverter 10, an inductor of relatively low inductance may be used.
The inverter 7 comprises a full bridge of four power switches S1-S4 that couple the DC link voltage to the phase winding 14. Each power switch S1-S4 is an IGBT, which is capable of operating at the voltage level typically of most mains power supplies. Other types of power switch, such as BJTs or MOSFETs, might alternatively be used depending on the rating of the power switch and the voltage of the AC supply 4. Each of the switches S1-S4 includes a flyback diode, which protects the switch against voltage spikes that arise during inverter switching.
The gate driver module 8 drives the opening and closing of the switches S1-S4 of the inverter 7 in response to control signals received from the microcontroller 9.
The microcontroller 9 comprises a processor 11, a memory device 12, and a plurality of peripherals 13 (e.g. ADC, comparators, timers etc.). The memory device 12 stores software instructions for execution by the processor 11. The memory device 12 can also comprise an EEPROM memory area where flags, such as the “motor stopped” flag described in the methods of Figures 1 and 2, can be set and cleared.
With regard to the control schemes for the motor 2, the startup, acceleration and steady speed modes may be typical of those for a brushless permanent magnet motor, and in any case fall outside the scope of the present invention, so will not be described in any great detail here.
The regenerative braking module 10 is shown as separate to the microcontroller 9 for the purpose of Figure 3, but it will be appreciated that it may form part of the microcontroller 9, in particular as separate software instructions stored in memory device 12 and executed by the processor 11 to implement regenerative braking as described in Step 1.3 of Figure 1. Regenerative braking, and how it is carried out will now be described with reference to Figures 5 to 8.
Regenerative braking is carried out after the power to the motor has been turned off. Figure 5 illustrates a waveform of the motor system during the regenerative braking mode. A resync signal, which provides an indication of rotor position, is provided to the regenerative braking module 10 and/or control system 3. In some embodiments, this resync signal may be detected using a rotor position sensor, for example a Hall sensor. The resync period is therefore indicative of the electrical period of the motor, and a full resync cycle is equivalent to a full electrical cycle. Alternatively, the resync signal may generated in software using a sensorless scheme, for example such as that described in GB2501370. The resync signal has a resync period, T_RESYNC, which is used to work out timings involved during regenerative braking which will be explained below.
The waveform of Figure 5 is split into stages A to C which are repeated. In Stage A all switches S1-S4 are OFF and there is no phase current in the phase winding 14 while the microcontroller 9 waits for a rising edge in the resync signal. Once the rising edge in the resync signal is detected, Stage B is started.
In Stage B, switch S4 is enabled (turned ON), and because the rotor is still spinning, a phase current is generated in the phase winding which acts as an inductor. Figure 6 shows part of the circuit diagram of Figure 4, and what is happening during Stage B of the regenerative braking waveform. Here, the current being generated in the phase winding is able to flow through switch S4 (which is set to ON), and also through the flyback diode at switch S2. The phase current therefore cycles around the bottom half of the inverter 7, as indicated by the arrow B. Accordingly, during Stage B it can be said that phase inductance is charged, and the kinetic energy of the rotor is converted to magnetic energy in the form of the magnetic field generated by the induced phase current. In addition, this induced magnetic field helps to slow the rotor as it acts against the magnetic field of the permanent magnet of the rotor. Stage B lasts for a predetermined proportion of the resync period. Depending on the motor’s requirements, and the levels of energy needed to be re-captured during regenerative braking, the proportional length of Stage B can be adjusted. However, a period of % of the resync period has been found to be particularly efficient and beneficial, i.e:
T_RESYNC
Once Stage B has ended, the switch S4 is disabled (switched OFF), and the magnetic energy stored in the induced magnetic field is converted into electrical energy which acts to charge the DC link capacitor C1. Figure 7 shows the change to the circuit of Figure 6 that is brought about in Stage C. Now, with S4 switched OFF, the energy stored in the magnetic field of the phase inductance is converted into electrical energy as the magnetic field collapses. The induced current, which is no longer able to pass through S4, passes through the diodes of both S2 and S3 as shown by Arrow C in Figure 7, and charges the DC Link capacitor.
The cross-hatched area under the phase current waveform in Figure 5 represents the power attained by regenerative braking. Once Stage C has completed, Stage A is repeated and the system waits for the next rising edge in the resync signal to be detected.
Stage C lasts for a predetermined period of time, T_C. The length of T_C is a compromise. It needs to be long enough to allow the phase current to return to zero, but also short enough that, at even the highest rotor speed, it does not cross the next rising edge in the resync signal. This is particularly important in sensorless systems in which no Hall sensor is used to determine rotor position. If T_C is too long in a sensorless system, then there is a chance that the next rising edge of the resync signal could be missed, and the control scheme would fail. In one specific embodiment of a motor having a top speed of 120krpm, and where T_B = % T_RESYNC, the period T_C is set at 150ps (1.5 χ 104 seconds). The shortest possible resync period, T_RESYNC_MIN, is when the motor is spinning at its top speed. In the specific embodiment previously described, T_RESYNC_MIN is 250ps when the motor is spinning at the top speed of 120krpm, and therefore T_B + T_C would be 212.5ps at top speed, which is less than T_RESYNC_MIN. Therefore the software would still be able to detect the next rising edge in the resync signal even at the highest rotor speed. It will be appreciated that the length of T_C will depend on a number of factors, including the top speed of the motor, and also the desired length of T_B. However, preferably the length of T_C is between (½ x T_RESYNC_MIN) and (¾ x T_RESYNC_MIN).
As the rotor slows, the length of T_B will obviously change as T_RESYNC changes. To simplify the scheme, and to keep the memory and power requirements of the system down, the method above proposes to have a fixed length of T_C. However, in an alternative embodiment, it may be desirable to also change the value of T_C as the rotor slows to account for the longer T_RESYNC period. For example, values of T_C for different T_RESYNC values may be kept in a lookup table and employed.
Figure 8 is a flow diagram which outlines the steps carried out during the regenerative braking mode of step 1.3 in Figure 1. The flow diagram also shows how the step correlate to the Stages A to C as described above.
8.1. The motor enters regenerative braking mode, for example as Step 1.3 of the flow diagram of Figure 1.
8.2. The resysnc period is measured. This is carried out by measuring a timer between two resync rise events in the resync signal.
8.3. From the previously determined resync period, calculate T_B. In the examples explored above this would be a quarter of the resync period just measured. Switch S4 is enabled, and the phase current starts to rise as shown in the waveform of Figure 5. A timer, referred to here as the regen timer, is started. The regen timer is used to measure the lengths of the Stages B and C described above, i.e. T_B and T_C. A single regen timer is described here which measures both periods, but separate timers may be used to measure T_B and T_C.
8.4. A check is made to ensure that the DC Link voltage isn’t over a set threshold. As discussed earlier, the DC link capacitor C1 can be damaged if it is over-charged. The threshold therefore acts to protect the capacitor and other electrical components. If the DC link voltage is over the threshold, then the process proceeds directly to step 8.8. If the DC link voltage is under the threshold, then the process proceeds to step 8.5.
8.5. Once it is established that the DC link voltage is under the threshold value, a check is then made to see if the regen timer started in step 8.3 has overflowed the T_B period which was calculated in step 8.3. If the timer has not yet overflowed the T_B period, then the process repeats step 8.5 until the timer does overflow. When this happens, the process proceeds to step 8.6.
8.6. This step corresponds to Stage C. The switch S4 is disabled, and the energy stored within the magnetic field is converted to electrical energy which is then stored in the DC link capacitor. Once the switch S4 has been turned OFF, there is then a delay for a predetermined period of time (i.e. T_C). This delay may be measured by the regen timer. After the predetermined period of time (T_C) has passed, Stage C has completed, and the process moves to step 8.7.
8.7. This stage represents a repeat of Stage A. The system waits for the detection of the next rising edge event in the resync signal. Once this has been detected, an updated resync period can be calculated, and then the process cycles back to step 8.3. The rotor slows overtime, and so it is important that the resync period is updated regularly to ensure that the length of T_B is appropriate for the length of the current resync period, T_RESYNC.
8.8. Freewheel braking mode is enabled and takes over from regenerative braking.
Freewheel braking is known, and so will not be explained in great detail herein. However, to summarise, freewheel braking comprises enabling both S2 and S4 (S2 and S4 are switched ON). In this way, current induced in the phase winding freewheels around the bottom half of the inverter, and in response, an electromotive force is generated which acts to oppose the rotation of the rotor, thus slowing it down. The switches S2 and S4 remain switched ON during the whole freewheel braking period.
The methods for carrying out the regenerative braking described above involve the turning ON of switch S4 during stage B, and then turning it off during stage C. However, an alternative would be to use switch S2 instead of S4. In this alternative, the direction of the flow of current through the phase winding would be reversed. In this alternative, in Stage C the current would flow through the diodes in switches S4 and S1 instead of S2 and S3 as shown in Figure 7.
It will be appreciated that the schemes for motor shut down, motor startup, and regenerative braking described herein may be applicable for any motor. However, they can be particularly advantageous when used in the control scheme for motors in consumer products, where any delay to the startup of a product when switching it on could be perceived to a consumer as an inconvenience, or an indication that the product could be faulty. Figure 9 shows an example of a handheld appliance 20 comprising the motor 2. The handheld appliance 20 shown in Figure 9 is a hair dryer, however the motor 2 could also be used in other products and appliances, for example other hair care products, vacuum cleaners, fans, hand dryers etc.
Whilst particular embodiments have thus far been described, it will be understood that various modifications may be made without departing from the scope of the invention as defined by the claims.
For example, in the embodiments described above, regenerative braking charges the DC link capacitor C1. However, in alternative embodiments, a separate capacitor or charge holding device may be used to store the energy recaptured during regenerative braking. However, by using the DC link capacitor, no additional components are required which acts to keep the cost of the motor system down.
The embodiments described above show the motor being powered by an AC power supply. However, one or more of the above motor shut down, motor startup, and regenerative braking schemes may also be used in the control of a battery powered electric motor. In this instance, a battery powered motor would not have a DC link capacitor to charge, however, a separate capacitor, or other charge holding device may be used instead. Alternatively, the energy recaptured by the regenerative braking scheme may be stored back in the main battery pack used to power the motor during its operation.
Claims (8)
1. A method for controlling an electric motor, the method being carried out after start up of the motor has been initiated, the method comprising:
performing a check for whether a flag has been set in memory in a motor controller, the flag being an indication that the motor has stopped; and if the flag has been set, allowing the motor controller to commence a motor start up routine substantially immediately, or if the flag has not been set, delaying the motor controller from commencing a motor start up routine for a predetermined delay period.
2. A method for controlling an electric motor as claimed in claim 1, wherein, if the flag has been set, the method further comprises clearing the flag.
3. A method for controlling an electric motor as claimed in claim 1, wherein if no flag has been set, the method further comprises enabling a braking routine during the predetermined delay period.
4. A method for controlling an electric motor as claimed in claim 3, wherein the braking routine comprises freewheel braking.
5. A method for controlling an electric motor as claimed in any one of claims 1 to
4, wherein the predetermined delay period corresponds to a minimum time period required for the rotor to come to a complete stop after the motor has been switched off.
6. A method for controlling an electric motor as claimed in any one of claims 1 to
5, wherein the predetermined delay period is between 0.5 and 5 seconds.
7. A method for controlling an electric motor as claimed in claim 1, wherein the predetermined delay period is between 1 and 2 seconds.
8. A method for controlling an electric motor as claimed in any one of claims 1 to 7, wherein the method is used to start a motor having been shut down in accordance with a method comprising:
initiating a shut down of the motor;
5 starting a timer in a motor controller;
performing regenerative braking to recapture kinetic energy from the rotor as electrical energy;
using the recaptured electrical energy from the regenerative braking to power the motor controller; and
10 if the timer in the motor controller exceeds a predetermined timer value, setting a flag in memory in the motor controller to indicate that the motor has stopped.
Intellectual
Property
Office
Application No: GB1806156.4 Examiner: Mr Rowland Hunt
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1806156.4A GB2561093B (en) | 2016-04-26 | 2016-04-26 | A Method For Controlling An Electric Motor |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB1806156.4A GB2561093B (en) | 2016-04-26 | 2016-04-26 | A Method For Controlling An Electric Motor |
GB1607286.0A GB2549740B (en) | 2016-04-26 | 2016-04-26 | A method for controlling an electric motor |
Publications (3)
Publication Number | Publication Date |
---|---|
GB201806156D0 GB201806156D0 (en) | 2018-05-30 |
GB2561093A true GB2561093A (en) | 2018-10-03 |
GB2561093B GB2561093B (en) | 2019-04-17 |
Family
ID=62203484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB1806156.4A Active GB2561093B (en) | 2016-04-26 | 2016-04-26 | A Method For Controlling An Electric Motor |
Country Status (1)
Country | Link |
---|---|
GB (1) | GB2561093B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2442439A2 (en) * | 2010-10-13 | 2012-04-18 | Makita Corporation | Duty ratio control device, electric power tool and program |
-
2016
- 2016-04-26 GB GB1806156.4A patent/GB2561093B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2442439A2 (en) * | 2010-10-13 | 2012-04-18 | Makita Corporation | Duty ratio control device, electric power tool and program |
Also Published As
Publication number | Publication date |
---|---|
GB201806156D0 (en) | 2018-05-30 |
GB2561093B (en) | 2019-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11682988B2 (en) | Method for controlling an electric motor | |
JP5524925B2 (en) | Electric machine control method | |
JP5473979B2 (en) | Controller for brushless motor | |
KR970702611A (en) | Starting Method and Motor Control Device of Permanent Magnet Synchronous Motor with Rotating Position Detector | |
WO2022074361A1 (en) | A method of controlling a brushless permanent-magnet motor | |
JPWO2017077574A1 (en) | Single-phase AC motor controller | |
GB2561093A (en) | A Method For Controlling An Electric Motor | |
GB2561094A (en) | A Method For Controlling An Electric Motor | |
AU2011367201B2 (en) | Torque based electronic pulse width modulation control system for a switched reluctance motor | |
JP2004260943A (en) | Method and apparatus for controlling operation of variable speed motor | |
KR20210019077A (en) | How to control a brushless permanent magnet motor | |
AU2011367200B2 (en) | Method and apparatus for controlling pulse-width modulation in an electric motor | |
US20230369999A1 (en) | Method of controlling a brushless permanent-magnet motor | |
WO2023214148A1 (en) | A method of controlling a brushless permanent magnet motor |