Claims
- 1. A method of detecting a motor stall condition of a dc motor under the control of a motor control system having a programmable microcontroller in connection with a motor controller and a motor driver, said motor driver drives a dc motor, said dc motor being coupled to a position encoder which encoder is in communication with said microcontroller, wherein the method comprises the steps of:
- providing an average stall threshold value ASV;
- providing said motor controller with a time counter for keeping a count of each time interval T, to a maximum count N;
- programming said motor controller to issue a motor command representing the position error between a desired motor position and an actual motor position for said time interval T;
- programming said motor controller to perform the following steps for each of said time interval T:
- (a) comparing said motor command to said ASV, if said motor command is greater than said ASV then proceed to step (b), if said motor command is less than said ASV then proceed to step (c);
- (b) comparing said count in said time counter to said N, if said count is equal to said N then signal said microcontroller a "motor stall" fault, if said count is less than said N then proceed to step (c);
- (c) signaling said microcontroller a motor "OK"; and
- (d) repeating steps (a) through (c) for next time interval T.
- 2. A method of detecting a motor stall condition of a dc motor under the control of a motor control system having a programmable microcontroller in connection with a motor controller and a motor driver, said motor driver communicates with a dc motor, said dc motor being coupled to a position encoder which encoder is in communication with said microcontroller, said method comprising the following programmable steps for each time interval T:
- (a) comparing a motor command to an average stall threshold value ASV, if said motor command is greater than said ASV then proceed to step (b), if said motor command is less than said ASV then proceed to step (d);
- (b) comparing a count in a time counter in said motor controller to zero, if said count is equal to zero then signal a motor "stall fault" if said count is non-zero then proceed to step (c);
- (c) decrementing said count in said time counter and then proceed to step (e);
- (d) if said count in said time counter equals N, wherein N is a predetermined maximum value, then signal a motor "OK" and proceed to step (e), if said count is not equal to said N then increment said count up to said N and proceed to step (e); and
- (e) repeat steps (a) through (e) for next time interval T.
Parent Case Info
This application is a continuation of application Ser. No. 07/947,604, filed on Sep. 21, 1992, now abandoned.
US Referenced Citations (19)
Continuations (1)
|
Number |
Date |
Country |
Parent |
947604 |
Sep 1992 |
|