**6.3.2 Multi-Function Timer Pulse Unit (MTU)**

MTU is the control unit which is used to generate the PWM pulses that control the operation of the DC/AC inverter stage. MTU comprises of five 16-bit timers, as shown in Figure 15, channels 3 and 4 of the MTU are used in complementary PWM mode with programmable dead time to generate the chopping waves for sinusoidal PWM.

Fig. 15. Block diagram of MTU

342 Grid Computing – Technology and Applications, Widespread Coverage and New Horizons

MTU is the control unit which is used to generate the PWM pulses that control the operation of the DC/AC inverter stage. MTU comprises of five 16-bit timers, as shown in Figure 15, channels 3 and 4 of the MTU are used in complementary PWM mode with programmable

**6.3.2 Multi-Function Timer Pulse Unit (MTU)** 

Fig. 15. Block diagram of MTU

dead time to generate the chopping waves for sinusoidal PWM.

In PWM mode, PWM waveforms can be generated from the output pins. The output level can be selected and TGR registers settings can be used to output a PWM waveform in the range of 0% to 100% duty. All channels can be independently designated for PWM mode (Sh-2Sh7047 Group Hardware Manual).

There are two PWM modes: in PWM mode 1, PWM output is generated from the TIOCA and TIOCC pins by pairing TGRA with TGRB and TGRC with TGRD. In PWM mode 2, PWM output is generated using one TGR as the cycle register and the others as duty registers. The output specified in TIOR is performed by means of compare matches. Upon counter clearing by a synchronization register compare match, the output value of each pin is the initial value set in TIOR. If the set values of the cycle and duty registers are identical, the output value does not change when a compare match occurs.
