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.5 <strong>Co</strong>mmutation Algorithm<br />

The commutation algorithm provides the generation of a rotational field<br />

according to rotor position. This algorithm uses the Hall sensors to<br />

obtain the rotor position. Outputs from the Hall sensors are connected to<br />

three independent input-capture channels through an analog filter. The<br />

timers are set to catch each input signal edge and call an interrupt<br />

routine, which provides the commutation algorithm.<br />

The Hall sensor consists of three sensors (sensor A, sensor B, and<br />

sensor C). These sensors comprise six states (001, 010, 011, 100, 101,<br />

and 110). Each state determines which motor phase the 3-phase<br />

inverter should power. The interrupt routine reads the state of the Hall<br />

sensors from the MCU port. This value is used as pointer to the<br />

commutation table (see Table 5-1 and Table 5-2), which includes<br />

information about the power MOSFETs gating. Figure 5-4 shows the<br />

resultant voltage which is applied to a BLDC motor per one electrical<br />

revolution.<br />

Table 5-1. <strong>Co</strong>mmutation Sequence for Clockwise Rotation<br />

Hall Sensor Inputs Two MOSFET Scheme Three MOSFET Scheme<br />

Hall<br />

Sensor A<br />

Hall<br />

Sensor B<br />

Hall<br />

Sensor C<br />

Phase A Phase B Phase C Phase A Phase B Phase C<br />

1 1 0 +Vdc NC –Vdc +Vdc –Vdc –Vdc<br />

1 0 0 +Vdc –Vdc NC +Vdc –Vdc +Vdc<br />

1 0 1 NC –Vdc +Vdc –Vdc –Vdc +Vdc<br />

0 0 1 –Vdc NC +Vdc –Vdc +Vdc +Vdc<br />

0 1 1 –Vdc +Vdc NC –Vdc +Vdc –Vdc<br />

0 1 0 NC +Vdc –Vdc +Vdc +Vdc –Vdc<br />

DRM007<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!