21.01.2014 Views

3.22EjemploDRM007 Co..

3.22EjemploDRM007 Co..

3.22EjemploDRM007 Co..

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Software Design <strong>Co</strong>nsiderations<br />

Speed <strong>Co</strong>ntrol Algorithm<br />

5.4.1 Motor Stalled Protection<br />

The motor stalled protection subroutine is used for commutating the<br />

motor windings if the motor hasn’t moved to a new angular position. If<br />

the motor doesn’t change its angular position in a period of 250<br />

milliseconds, the motor is completely stopped.<br />

The motor stalled subroutine’s flowchart is the following:<br />

Motor Stalled<br />

Protection<br />

Time_Out =<br />

Time_Out + 1<br />

Time_Out > 250<br />

YES<br />

Stop Motor<br />

NO<br />

(Time_Out % 8) = 0<br />

YES<br />

NextSequence<br />

NO<br />

End<br />

Figure 5-3. Motor Stalled Protection Flowchart<br />

BLDC Motor <strong>Co</strong>ntrol Board for Industrial and Appliance Applications<br />

DRM007<br />

MOTOROLA Software Design <strong>Co</strong>nsiderations 79

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!