Enhanced PWM
Posted: Mon Nov 07, 2011 8:48 pm
Please find a very simple example program with enhanced PWM.
Used is a 16F1825 at 19.6...MHz.
The mode is half bridge drive with 2 outputs P2A and P2B, see picture below The 2 complementary outputs can be used for half bridge (motor) drive.
Driver rise time can be faster than falling time which will result in short current between V+ and ground. To prevent this the rise pulse must be delayed, see picture below The practice oscilloscope pictures, see next page.
Refrences:
Pictures from: http://www.microchip.com/stellent/idcpl ... e=en546902
Used is a 16F1825 at 19.6...MHz.
The mode is half bridge drive with 2 outputs P2A and P2B, see picture below The 2 complementary outputs can be used for half bridge (motor) drive.
Driver rise time can be faster than falling time which will result in short current between V+ and ground. To prevent this the rise pulse must be delayed, see picture below The practice oscilloscope pictures, see next page.
Refrences:
Pictures from: http://www.microchip.com/stellent/idcpl ... e=en546902