1. Field of the Invention
The present invention relates to DC motor controllers, and, in particular, a motor control system that includes locked and lost rotor detection for a brushless and sensorless DC motor.
2. Description of the Related Art
For certain electric motor applications, such as driving a compressor or a pump, using DC motors is generally more advantageous then using AC motors. For example, compressor start-up requires a high torque at low speed start-up, which typically cannot be managed well by AC motors, especially AC motors having open loop controllers. Additionally, at lower compressor loads, the compressor may be more efficiently run at lower speeds. Typically, DC motors handle variable speed and high torque, low speed applications more effectively than do AC motors and control systems.
Therefore, in applications requiring high torque, low speed operation, a variable speed DC motor is generally used, particularly a brushless DC (BLDC) motor. However, one difficulty with using a BLDC motor is detecting a locked motor rotor, such as from motor bearing failure or debris blocking movement or damaging the phase coils. Another difficulty is detecting a rotor stopped from the loss of rotor phase lock, which the motor controller requires for proper electronic commutation of the phase coils in a BLDC motor.
While many applications use a rotor position sensor for maintaining rotor phase lock or for detecting a locked rotor, space and environmental considerations in sealed applications, such as pumps or compressors, limit the use of such a sensor. For example, a hermetically sealed compressor generally includes lubricant and refrigerant which, when heated by compressor operation and exposed to moisture, can form an acid that is corrosive to sensors. Also, if a motor sensor is used, additional electrical connections must be carried through the wall of the hermetically sealed chamber without compromising the hermetic sealing, adding further expense and an additional possible point of failure of the hermetic seal.
One common solution to detecting a locked or stopped rotor in electric motor applications is sensing a motor current drawn by the motor coils that is higher than the normal current of a running motor. For example, a locked rotor condition in a typical nonvariable electric motor may cause the motor current to exceed 80 amps, while normal high-speed motor operation only requires 10 to 15 amps. However, in the case of a BLDC motor, a locked or stopped rotor condition may draw less current than normal running current, for example, 30 amps for a stopped rotor, while normal high RPM operation may draw 40 amps. Thus, conventional over-current sensing detection does not provide a solution for detecting a locked or stopped rotor.
In compressor applications, in addition to bearing failure, debris, or lost rotor lock, another typical problem that may cause a BLDC motor to not run properly is an attempt to restart the motor shortly after compressor shutdown. After shutdown, the refrigerant head pressure of the compressor may provide more resistance than the available torque of the electric motor can overcome, thus causing a temporary locked rotor condition. Over time, head pressure eventually equalizes throughout the system, freeing the motor and compressor to again operate normally.
What is needed is a BLDC motor controller that provides locked and stopped rotor detection without the use of a rotor position sensor or over-current detection.
The present invention provides a method and a motor control system for detecting a locked or stopped rotor for a brushless and sensorless DC motor system, including for example a compressor, pump, or other application, for example, detecting a locked or stopped actuator for a valve or solenoid drive. The motor control system includes a protection and fault detection circuit capable of sampling back electromotive force (EMF) and a motor control circuit having an off-the-shelf motor control integrated circuit (IC). The protection and fault detection circuit momentarily disables the motor control IC phase driver outputs by providing an over-current indication to the motor control IC. While the phase driver outputs are disabled, back EMF is generated by the motor if the motor rotor is still rotating. Thus, after disabling the phase driver outputs, the fault detection circuit measures back EMF to determine if the motor rotor is rotating or stopped.
Although the exemplary embodiment is directed to a brushless DC (BLDC) motor used to drive a sealed compressor or pump not having a sensor, the inventive concept could also be applied to other types of motors and applications, for example, unsealed pumps, valves, or solenoid drives. In BLDC motor applications without a rotor position or other sensor, it is difficult to determine that the motor rotor has locked or that electronic commutation phase lock with the rotor has been lost by the motor control circuit, resulting in a stopped rotor.
Back EMF detection is accomplished by momentarily disabling the phase coil driver outputs of the motor control IC. The driver outputs may be disabled by providing a signal to an available control input of the motor control IC For example, providing a signal to a current overload control input, thereby simulating an over-current condition and momentarily shutting down the motor control IC phase driver outputs. During the brief time in which the motor phase coils are not being electrically driven, a back EMF sampling circuit measures the back EMF to determine whether the rotor is still in rotation. Back EMF is generated in the undriven phase coils by the movement of the motor's magnets past the phase coils. The duration of momentarily disabling the driver outputs is of sufficient duration to allow at least one magnet to pass by a phase coil at the lowest motor speed, yet of insufficient duration to substantially effect motor speed and torque, for example about 1.0 msec. If a threshold level of back EMF is detected, the signal state provided to the control input, for example simulating an over-current condition, is switched and the motor control IC will resume powering the motor. If the threshold level of back EMF is not detected, then the protection and fault detection circuit can, after a preset delay, attempt a series of motor restarts using the motor control IC.
The protection and fault detection circuit, which includes the back EMF sampling circuit, may include opto-isolators for isolating the high phase coil voltage from the detection circuit. In the exemplary embodiment, the circuit includes a capacitor for collecting the back EMF to be detected, and a microcontroller having an analog-to-digital converter for measuring the back EMF, and for controlling the back EMF sampling process, and for handling faults and system protection measures. For example, fault handling and system protection measures may include attempting to restart the system, operating the system in a backup mode, or shutting the system down.
The inventive motor control may also be capable of detecting other faults, for example, excessive or insufficient motor voltage, excessive or insufficient motor current, excessive power bridge circuit, motor, or compressor temperature, and excessive or insufficient motor speed. The inventive motor control may also provide protective and diagnostic features which are capable of preventing damage to the motor control, motor, and related components and systems, and which also provide determination of the underlying cause of the fault based on detected parameters and the result of restart or other corrective or diagnostic fault handling steps.
One advantage of the BLDC motor control locked and stopped detector is that rotor detection is provided without requiring a rotor position or speed sensor or relying on an over-current detection circuit. Another advantage of the present invention is that a commercially available, off-the-shelf motor control IC having a control input, for example, a current overload input port, may be utilized for switching on and off the driving of the phase coils and for most other aspects of motor control. Therefore, the present invention provides easy interfacing with existing motor control systems and motor control ICs. Yet another advantage of the present invention is that the fault detection circuit may include a microcontroller that is enabled by software, thus modifications to parameters and the control method can be easily made without hardware changes.
In one form, the present invention provides a motor control system for controlling a brushless and sensorless DC motor system having a plurality of phase coils, including: a motor control integrated circuit having a plurality of motor driver outputs and a control input for operating the plurality of output drivers, the plurality of motor driver outputs coupled to the plurality of phase coils; and a fault detection circuit coupled with the control input and capable of electively switching the state of said control signal to momentarily disable said plurality of out put drivers, said fault detection circuit is coupled to at least one of the plurality of phase coils and is capable of detecting a threshold back EMF voltage from the at least one of the plurality of phase coils.
In another form, the present invention provides a motor control system for controlling a brushless and sensorless DC motor system having a plurality of phase coils, including: a motor control integrated circuit having a plurality of motor driver outputs and a control input for operating the plurality of output drivers, said plurality of motor driver outputs coupled to the plurality of phase coils; and a fault detection circuit coupled with the control input and capable of detecting a plurality of electrical and nonelectrical fault conditions of the motor system, the fault detection circuit capable of providing a control signal to the control input to disable the plurality of output drivers upon detection of at least one of the plurality of electrical and nonelectrical fault conditions.
In another form, the present invention provides a method for detecting faults in a motor control system for a brushless and sensorless DC motor system having a plurality of phase coils, including the steps of: providing a motor control integrated circuit having a plurality of power drivers coupled to the plurality of phase coils, and having a control input capable of selectively enabling the plurality of power drivers; detecting a motor system fault by measuring EMF on at least on of the plurailty of phase coils; and switching the control input to disable the plurality of power drivers upon detecting a motor system fault, indicated by measured EMF below a present threshold thereby stopping motor operation.
In yet another form, the present invention provides a method for detecting a locked or stopped rotor in a motor control system for a brushless and sensorless DC motor system having a plurality of phase coils driven by power drivers, including the steps of: disabling the power drivers; then measuring the back EMF generated from the plurality of phase coils; and then enabling the power drivers after a time period dependent on the measured back EMF.
In another form, the present invention provides a fluid handling system, including: a pump; a brushless DC motor for driving the pump, the motor having a plurality of phase coils; and a motor control system coupled to the motor, the motor controller system including: a motor control circuit having at least one motor driver output coupled to the plurality of phase coils; and a microcontroller having an A/D converter coupled to at least one of the plurality of phase coils and having software enabling the micocontroller to provide an output signal coupled to the motor control circuit momentarily disabling the at least one motor driver output, the microcontroller capable of measuring a voltage level of back EMF generated in at least one of the plurality of phase coils upon the at least one motor driver output being disabled.
The above-mentioned and other features and advantages of this invention, and the manner of attaining them, will become more apparent and the invention itself will be better understood by reference to the following description of an embodiment of the invention taken in conjunction with the accompanying drawings, wherein:
Corresponding reference characters indicate corresponding parts throughout the several views. The exemplary embodiment of the invention illustrated herein is not to be construed as limiting the scope of the invention in any manner.
The present invention comprises a motor control system for controlling a brushless DC (BLDC) motor. Motor control system 20 is capable of detecting a locked or stopped rotor 26 without a rotor position or speed sensor. As depicted in
Electric motor 22 in the exemplary embodiment is a BLDC motor having three phase coils, phase A 24a, phase B 24b, and phase C 24c. The plurality of phase coils 24a-24c are driven by transistor power bridge circuit 30, including phase source driving FETs Q2, Q6, and Q10, and phase sink driving FETs Q3, Q9, and Q11.
Transistor power bridge circuit 30 is controlled by motor control circuit 38, including motor control IC 40, which may be a commercially available, off-the-shelf motor control IC having a control input for selectively enabling or disabling phase driver outputs. For example, the control input may be a port for disabling the phase driver outputs in the event of a current overload.
In the exemplary embodiment, motor control IC 40 provides aspects of motor control, including start-up, phase locked electronic commutation, and speed detection for motor 22. Electronic commutation is provided by sensorless phase detection, for example, by detecting signal zero crossing for the undriven phase. Motor control IC 40 may be a variable speed motor controller capable of handling the high torque and low to high speed ramping required for operating compressors, pumps, and such. Motor control IC 40 includes a control input for selectively enabling and disabling the driving of transistor power bridge circuit 30. Power bridge circuit 30 powers phase coils 24a-24c of motor 22. Therefore, switching the control input selectively enables and disables power of phase coils 24a-24c. In the exemplary embodiment, the control input state may be momentarily switched for back EMF detection and also switched to disable motor 22 in the event a fault requiring system protection is detected.
Fault detection circuit 42 includes optically coupled isolators U14 and U15 for coupling phase coils 24a, 24b, and 24c to back EMF sensing capacitor C7. Microcontroller 44 provides control and locked and stopped rotor detection by selectively driving the control input of motor control IC 40 to its enabled state and measuring back EMF across capacitor C7.
Additional fault detection and system protection features may be included in the present invention. For example, the exemplary embodiment of motor controller 20 includes several other fault detection devices coupled to protection circuit 42. Shell temperature sensor 29 may be thermally coupled to motor 22 or compressor 28 for detecting an over-temperature condition. Power bridge temperature sensor 31 may be thermally coupled to transistor power bridge 30 for detecting over-temperature of transistors Q2, Q3, Q6, Q9, Q10, and Q11. Voltage sensing circuit 52 may be coupled to power supply 34 for sensing a voltage supply level that is over or under preset thresholds. Current sensing circuits 60 and 62 may be coupled to at least one phase coil 24a-24c for sensing a motor supply current above or below preset thresholds. Advantageously, microcontroller 44 may not only detect faults, but may also perform protection and diagnostic functions. For example, microcontroller 44 may shut down motor 22 after detecting a preset number of faults or the fault continuing for more than a preset time. Additionally, by detecting the fault type or the combination of faults and whether resuming normal functioning of motor 22, if attempted, was successful, microcontroller 44 may indicate the likely underlying source of the fault condition. For example, microcontroller 44 may include a look-up table (not shown) in order to perform such diagnostic functions.
Referring to
System protection elements include power bridge temperature sensor 31 and shell temperature sensor 29. Power bridge temperature sensor 31 is thermally coupled to the high-power components of transistor power bridge circuit 30, for example, thermally mounted to heat sink 56 (
Referring to
Microcontroller 44 includes software for measuring various motor conditions, detecting faults, making diagnostic determinations, and providing system protection to stop, restart, or shut down motor 22 by providing a control input to motor control IC 40. Specifically, microcontroller 44 receives +5 V DC power at pin 1, circuit ground at pin 8, a back EMF signal from detection circuit 54 (
Microcontroller 44 may be, for example, Part No. 16F870 available from Microchip Technology Inc. of Chandler, Ariz. Microcontroller 44 is enabled by software, such as represented by the flowcharts of
Pin 3 of microcontroller 44 is an A/D converter input port which receives temperature signal TEMP_OUT from power bridge temperature sensor circuit 31 (
Referring again to
Shell temperature sensor 29 may be coupled by connector JP4 to shell temperature sensing circuit 50, including resistors R3, R4, R20, and R24, transistor Q7, capacitor C50, and diode D2. Upon activation of shell temperature sensor 29, shell temperature sensing circuit 50 switches on transistor Q7, providing a signal through diode D2 for driving ISENSE control input pin 1 of motor control IC 40 (
When such a temperature fault is detected by microcontroller 44, and when other faults are detected, microcontroller 44 may provide a fault output signal at pin 14 indicating a fault condition via pin 8 of external controller interface JP1. In addition, microcontroller 44 may stop motor 22 by providing an active high output signal at motor disable output pin 26 of microcontroller 44, which is coupled with ISENSE input pin 1 of motor controller IC 40, thus disabling the phase driver outputs of motor controller IC 40.
Motor voltage sensing circuit 52 includes resistors R46, R16, and R12 that divide the motor supply voltage and are coupled with microcontroller 44 pin 5. Additionally, zener diode D4 protects microcontroller 44 from damaging levels of voltage. Motor voltage input pin 5 is an A/D converter that measures the motor supply voltage and can detect an over-voltage or an under-voltage condition. Microcontroller 44 may shut down motor 22 in an over-voltage condition to prevent damage to motor 22, motor control system 20, or other connected system components. Microcontroller 44 may also shut down motor 22 in the event of an under-voltage condition, for example, for battery-driven systems so that remaining battery power is available for monitoring and controlling functions and not entirely expended by driving motor 22.
Motor current input pin 7 of microcontroller 44 is an A/D converter that may be configured to provide current sensing over or under preset limits. Referring to
Referring again to
As shown in
The exemplary embodiment motor control circuit 38 for controlling motor 22 is primarily implemented by motor control IC 40, such as Part No. ML4425CS available from Fairchild Semiconductor Corporation of South Portland, Me. Motor control IC 40 provides pulse width modulated (PWM) ramp and speed control for BLDC motor 22. As shown in
To determine phase commutation, motor control IC 40 uses back EMF detection on the undriven phase coil 24a-24c received through pins 22-24, shown in
By monitoring the speed of motor 22, microcontroller 44 may determine if the motor speed is under a minimum preset motor speed or over a maximum preset motor speed. For example, the inventors have realized that in hermetically sealed compressor applications such as the exemplary embodiment, motor RPM of less than a preset minimum speed determined for each compressor application is insufficient to properly lubricate compressor 28, for example, less than 1500 RPM. Therefore, if a fault condition causes motor 22 to fall below the preset speed for a preset period of time, microcontroller 44 can flag a fault condition and shut motor 22 down. Similarly, the inventors have realized that operation of motor 22 at an RPM of over a preset maximum speed may cause damage to valve components of compressor 28, for example, over 6500 RPM. Similarly, the over-speed fault can be determined and operation of motor 22 stopped to prevent system damage.
Referring to
An input signal to motor current overload ISENSE pin 1 of motor control IC 40 is also provided by shell temperature sensor circuit 50, shown in
A control signal coupled to ISENSE pin 1 of motor control IC 40 may also be provided by motor current sensing amplifier 62 shown in
Referring to
Referring to
Referring to
Referring to
Subroutine 200 commences at step 202 and is an exemplary embodiment of the method and apparatus for motor control according to the present invention. In step 202, microcontroller 44 initializes the internal interrupts, A/D converters, and clock, and clears the registers. In step 204, microcontroller 44 clears the internal fault flags, for example, over current, over temperature, and locked or stopped rotor.
In step 206, microcontroller 44 measures the motor voltage provided to A/D converter at pin 5. In step 208, microcontroller 44 checks the logic state of temperature fault input pins 3 and 23. In step 209, microcontroller 44 drives IO pins 16 and 15 high and low, respectively, to precharge motor compensation network capacitors C17 and C45 to a normal run state, substantially eliminating motor 22 RPM overshoot on power-up. At step 210, microcontroller 44 turns on motor 22 by providing a low logic output at motor disable pin 26, which is coupled to ISENSE pin 1 of motor control IC 40. In step 212, microcontroller 44 delays for a preset period of time, for example, 2 seconds, while motor control IC 40 ramps the speed of motor 22 up to the commanded operating speed.
In step 214, microcontroller 44 determines if a preset period of one second time, for example, has expired for periodic motor control system status check. If the preset period has elapsed, step 216 is completed. If one second has not elapsed, step 218 is completed. On initial execution of subroutine 200, the preset period will not have elapsed when step 214 is first completed, so step 218 will be completed to determine if motor 22 is running. If, at step 218, microcontroller 44 determines motor 22 is running, subroutine 200 continues at step 214. If microcontroller 44 determines the motor is not running, then subroutine 200 continues at step 204 in order to again check parameters and attempt motor start.
Upon execution of step 216, subroutine 300, which is also an exemplary embodiment of the methods and apparatus for motor control according to the present invention, is completed. Referring to
In step 314, microcontroller 44 determines whether back EMF is present, i.e., the rotor of motor 22 is still in rotation and therefore the rotor is not locked and motor control IC 40 has not lost rotor phase lock. If in step 314 microcontroller 44 determines back ENF is present, step 316 will be completed, else step 322 will be completed. If back EMF is not present and step 322 is completed, microcontroller 44 will turn off motor 22 by driving motor disable output pin 26 high to disable phase driver outputs of motor control IC 40.
In step 324, microcontroller 44 resets a motor run time clock. In step 326, microcontroller 44 will delay, for example, for 10 seconds, before attempting to restart motor 22. In step 328, motor controller 44 sets the back EMF fault bit in the internal status register of microcontroller 44.
Referring to
In step 334, microcontroller 44 turns off motor 22 by setting motor disable output pin 26 low to disable phase driver output of motor control IC 40. In step 336, because of excess faults, microcontroller 44 is capable of completing diagnostic tests and/or determinations based on fault conditions to determine to underlying system problem, for example, low refrigerant, and whether to attempt restart or a back-up mode of operation, thus protecting system components from damage. In step 338, subroutine 300 ends and returns to step 216 of subroutine 200, shown in
If it was determined in step 332 that the preset limit of faults has not been exceeded, then, in step 316, microcontroller 44 resets the back EMF fault bit in the internal status register of microcontroller 44. In step 318, microcontroller 44 resets the back EMF flag internal to microcontroller 44. After step 318 is completed, subroutine 300 continues at step 340 shown in
In step 340, analog-to-digital conversion of the motor voltage supplied to pin 5 of microcontroller 44 is completed. In step 342, microcontroller 44 determines whether the motor voltage is above a preset threshold. If the voltage is high, step 354 will be completed, else step 344 is completed. In step 344, microcontroller 44 determines if motor 22 is running. If motor 22 is running, step 352 will be completed, else step 346 is completed. If motor 22 is not running, in step 346, microcontroller 44 determines whether there is a start-up under-voltage condition, i.e., motor voltage supplied to pin 5 is below a preset threshold. If an under-voltage condition is present, step 354 is completed, else step 348 is completed. In step 348, microcontroller 44 resets the voltage status bit. After step 348 is completed, subroutine 300 continues at step 364, shown in
If in step 344 microcontroller 44 determines motor 22 is running, step 352 is completed. In step 352, microcontroller 44 determines whether there is an under-voltage condition. If an under-voltage condition exists, step 354 is completed, else step 348 is completed. In step 354, microcontroller 44 determines whether the voltage fault bit in the status register of microcontroller 44 is set. If the voltage fault bit is set, step 362 is completed, else step 356 is completed.
In step 356, microcontroller 44 sets the voltage fault status bit in the status register of microcontroller 44. In step 358, microcontroller 44 turns off motor 22 by driving motor disable output pin 26 low, thereby disabling phase driver outputs of motor control IC 40. In step 360, microcontroller 44 increments the voltage fault count. In step 362, microcontroller 40 delays, for example, for 10 seconds, before repeating a portion of the motor control system status check beginning at step 340.
Referring to
In step 374, microcontroller 44 delays, for example, for 5 seconds, to allow system cooling before again checking temperature signal inputs. In step 376, microcontroller 44 determines whether a temperature fault signal is received at pins 3 or 23. If so, step 374 will again be completed to provide further cooling delay. If a thermal overload condition is not detected, step 378 is completed. In step 378, microcontroller 44 resets the temperature fault status bit.
In step 380, microcontroller 44 determines whether a motor current supply signal received at pin 7 of microcontroller 44 is greater than a preset maximum current limit or less than a preset minimum current limit. If a preset current limit has been exceeded, then step 384 is completed, else step 382 is completed. In step 384, microcontroller 44 sets the current fault status bit. In step 386, microcontroller 44 increments a current fault counter. In step 388, microcontroller 44 determines whether the current fault counter has exceeded a preset limit. If so, subroutine 300 continues at step 334, shown in
In step 392, microcontroller 44 determines whether the motor speed signal received at pin 11 of microcontroller 44 is greater than a preset maximum speed limit or less than a preset minimum speed limit. If a preset limit has been exceeded, step 398 is completed, else step 394 is completed. In step 398, microcontroller 44 sets the speed fault status bit. In step 400, microcontroller 44 increments a speed fault counter. In step 402, microcontroller 44 determines whether the speed fault counter has exceeded a preset limit. If so, subroutine 300 continues at step 334, shown in
In step 404, microcontroller 44 delays, for example, for 2 seconds, before subroutine 300 continues at step 392 to again check motor speed. If in step 392 a preset motor speed limit was not exceeded, then in step 394 microcontroller 44 resets the speed fault bit. In step 396, subroutine 300 is completed and returned to step 216 of subroutine 200, as shown in
The values of the circuit components shown in
While this invention has been described as having exemplary embodiments and scenarios, the present invention can be further modified within the spirit and scope of this disclosure. This application is therefore intended to cover any variations, uses, or adaptations of the invention using its general principles. Further, this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains and which fall within the limits of the appended claims.
This application claims the benefit under Title 35, U.S.C. § 119(e) of U.S. Provisional Patent Application Ser. No. 60/442,648, entitled BRUSHLESS AND SENSORLESS DC MOTOR CONTROL SYSTEM WITH LOCKED AND STOPPED ROTOR DETECTION, filed on Jan. 24, 2003.
Number | Date | Country | |
---|---|---|---|
60442648 | Jan 2003 | US |