Page 1 of 1

16 PWM outputs at 1 MHz using Raspberry Pi

Posted: Tue Sep 26, 2017 4:43 pm
by RFedge
Hello,

I am currently working on multi phase Buck conveter and I want to drive FETs using Gate drivers from Microchip Technology. So I require 12 PWM outputs at 1 MHz which will be interleaved. 6 of these would drive the top FETs' drivers and 6 would be driving the Bottom FETs' drivers. I need very fast switching with low jitter and am thinking of using Raspberry pi for bread board design before I used FPGA. Is is possible to get 12 PWM outputs at 1 MHz using any Raspberry Pi model? I read a lot of articles and many say that there are only 2 PWM outputs and I feel I need to use Adafruit 16 channel servo driver with 12 bit PWM and I am confused. Please let me know regarding this.

Thank you.

Re: 16 PWM outputs at 1 MHz using Raspberry Pi

Posted: Tue Sep 26, 2017 6:12 pm
by QMESAR
Hi,
I am no RPI expert however SMPS design is somehow in my field and I do not think that the RPI is a good choice for this(with all respect to the RPI)

I would rather be looking at something like this that

(1) Has up to 18 PWM pins(9 pairs ,Top ,bottom switching)
(2) configurable dead time
(3) can be configured in various switching configurations
(4) phase shift between the pairs (No SW intervention needed done in HW)
(5) PWM triggers ADC modules for example in close loop Voltage and current measurement
(6) 1.04nSec resolution PWM accuracy ( aspect needed in SMPS design)
(7) Error/Fault pins for error detection in the switching circuitry

just to name a few points however it would be very interesting to follow the information or the RPI guru's on this topic and learn more about RPI
http://www.microchip.com/wwwproducts/en/en547034
One option would be to use the dsPIC Digital signal controller to drive your Buck converter and interface the RPI to the dsPIC which runs all your other SW requirements just a thought