21.01.2014 Views

3.22EjemploDRM007 Co..

3.22EjemploDRM007 Co..

3.22EjemploDRM007 Co..

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

5.9.9 Signed Word 16 PI<strong>Co</strong>ntroller(void)<br />

Refer to 5.3 <strong>Co</strong>ntroller Design.<br />

5.9.10 MotorStalledProtection(void)<br />

Refer to 5.4.1 Motor Stalled Protection.<br />

5.9.11 HALLA_ISR(void) and HALLB_ISR(void)<br />

Interrupt handler routines to drive Hall sensors A and B for BLDC motor<br />

commutation. Direction is computed from the last Hall sensor input state.<br />

5.9.12 HALLC_ISR(void)<br />

Interrupt handler routines to drive Hall sensor C for BLDC motor<br />

commutation. Direction is computed from the last Hall Sensor input<br />

state. In this routine, the period between edges is measured for speed<br />

calculation.<br />

5.9.13 Fault1_ISR(void)<br />

Interrupt handler subroutine for Fault1. The motor is stopped when a<br />

FAULT occurs. The FAULT is asserted when the current limit or voltage<br />

limit has been reached by the power stage.<br />

5.9.14 NextSequence(void)<br />

In this routine, the MOSFET selection is performed based on the<br />

commutation scheme and the Required_Direction of the motor. Refer to<br />

5.5 <strong>Co</strong>mmutation Algorithm.<br />

DRM007<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!