2 Ağustos 2007 Perşembe

Microcontroller Approach


Microcontrollers are widely used in industry. They are the first to have those peripherals for the motor control. PIC17C756 by Microchip is used and a control board is designed as shown in Fig. 12.

The problem for this microcontroller is that it has no dead band register and only have three PWM output. Therefore, additional logic analog circuits must be added to generate their complement signals and to generate dead time in order to avoid the overlapping of turn on for both upper and lower switches.

The main program is similar to what discussed in DSP approach. The PWM ISR also has the similar steps as DSP program. The flow chart of the PWM ISR is shown in Fig. 13.

click to enlarge

Hiç yorum yok: