PWM Frequency
Boondocker
Posts: 5
Hi All,
I'm interested in experimenting with dc-dc boost converter via smps (switch mode power system).
Need to have a PWM Frequency around 20khz driving a MOSFET to match the inductor selected.·
Currently, I have a BS2.·· Is it possible to get a PWM frequency of 20Khz·out this controller?· Also the duty has to be variable.
Appreciate your comments and suggestions.
Thanks,
Boondocker
I'm interested in experimenting with dc-dc boost converter via smps (switch mode power system).
Need to have a PWM Frequency around 20khz driving a MOSFET to match the inductor selected.·
Currently, I have a BS2.·· Is it possible to get a PWM frequency of 20Khz·out this controller?· Also the duty has to be variable.
Appreciate your comments and suggestions.
Thanks,
Boondocker
Comments
Thanks for the reply.·· Just looked up the information on PWMPAL.·· To run at a frequency of 20khz·the duty cycle will be limited to 50% (time on 1 and time off 1).· At this frequency the PWMPAL unit is 2.
Going to need to vary the duty cycle between 0 to 50% more than on step.
Any other suggestions?
Boondocker
The Stamp could still manage the calculations so you're seeing a % duty cycle on a display.
Take a look at the Parallax MoBoStamp-pe. Each of the two AVR coprocessors included onboard supports two PWM outputs at up to 37.5KHz. Each output's duty cycle can range from 0/256 to 255/256 (or from 1/256 to 256/256). These run independently of the BASIC Stamp and are accessible using the preloaded AVR firmware, so all your programming will be in PBASIC.
If you need to read voltage fed back from your SMPS to close the loop, you can do that, too. Each coprocessor has two 10-bit analog inputs that are independent of the PWM outputs. Again, these are accessible directly from PBASIC.
-Phil
Both options·may suit my needs.· Will be able to use less components with the mother board and drop the ADC circuit. The trade off, is dollar cost.·
Also;
Phil, the documention·indicates that there are 9 presets frequencies to choose from using the OWOUT command to the Attriny chip.·· Can these preset frequencies·be changed using the Firmware programming?
-Phil