20.07.2015 Views

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

M16C/62 Group DATASHEET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Timers’ functions for three-phase motor controlMitsubishi microcomputers<strong>M16C</strong> / <strong>62</strong> <strong>Group</strong>SINGLE-CHIP 16-BIT CMOS MICROCOMPUTERAssigning certain values to DU0 (bit 0 at 034A16) and DUB0 (bit 1 at 034A16), and to DU1 (bit 0 at 034B16)and DUB1 (bit 1 at 034B16) allows the user to output the waveforms as shown in Figure 1.18.7, that is, to______output the U phase alone, to fix U phase to “H”, to fix the U phase to “H,” or to output the U phase alone.A carrier wave of triangular waveformCarrier waveSignal waveTimer B2Rewriting timer A4 every timer B2 interrupt occurres.Trigger signal fortimer Ai start(timer B2 overflowsignal)Timer A4 outputTimer B2 interrupt occurres.Rewriting three-phase buffer register.m n mn m p oControl signal fortimer A4 reloadU phaseoutput signalU phaseoutput signalU phaseU phaseDead timeNote: Set to triangular wave modulation mode and to three-phase mode 0.Figure 1.18.7. Timing chart of operation (2)108

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

Saved successfully!

Ooh no, something went wrong!