Overunity.com Archives is Temporarily on Read Mode Only!



Free Energy will change the World - Free Energy will stop Climate Change - Free Energy will give us hope
and we will not surrender until free energy will be enabled all over the world, to power planes, cars, ships and trains.
Free energy will help the poor to become independent of needing expensive fuels.
So all in all Free energy will bring far more peace to the world than any other invention has already brought to the world.
Those beautiful words were written by Stefan Hartmann/Owner/Admin at overunity.com
Unfortunately now, Stefan Hartmann is very ill and He needs our help
Stefan wanted that I have all these massive data to get it back online
even being as ill as Stefan is, he transferred all databases and folders
that without his help, this Forum Archives would have never been published here
so, please, as the Webmaster and Creator of this Forum, I am asking that you help him
by making a donation on the Paypal Button above
Thanks to ALL for your help!!


PWM chip with constant impulse time ?

Started by forest, April 19, 2015, 10:43:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

forest

Found some Ti chip here http://www.ti.com/lit/ds/symlink/lm25085-q1.pdf but it has PFET gate driver. Is the output reversed then ? Can I connect a N Channel FET with a mosfet driver or totem pole or whatever to drive nfet in low side mode here ?

forest


MarkE

Quote from: forest on April 20, 2015, 06:52:35 AM
Found some Ti chip here http://www.ti.com/lit/ds/symlink/lm25085-q1.pdf but it has PFET gate driver. Is the output reversed then ? Can I connect a N Channel FET with a mosfet driver or totem pole or whatever to drive nfet in low side mode here ?
It would be easier to help you if you would describe what you are trying to build:  Buck or boost, positive or negative input voltage, positive or negative output voltage.

forest

It looks more like a simple flyback converter. Can't describe precisely . All I need is the chip with PFM and output voltage loop to control voltage on output capacitor. Chip cannot be used directly as per datasheet but only to drive external N-Channel mosfet, because  I need to switch 300-400VDC. The output should also be 300-400VDC. :-) and that's why   feedback is required to change OFF-time.
The most important is constant ON-time, variable OFF time.
I will try to adapt my Attiny45 code for that. So far I learned how to merge two timers to work together  to get constant ON-time pulse and a period between, the problem I have is how to change timer0 period on the fly without glitch (timer0 is working in simple CTC mode while timer1 is doing the ON time pulse).

MarkE

Quote from: forest on April 21, 2015, 04:19:20 AM
It looks more like a simple flyback converter. Can't describe precisely . All I need is the chip with PFM and output voltage loop to control voltage on output capacitor. Chip cannot be used directly as per datasheet but only to drive external N-Channel mosfet, because  I need to switch 300-400VDC. The output should also be 300-400VDC. :-) and that's why   feedback is required to change OFF-time.
The most important is constant ON-time, variable OFF time.
I will try to adapt my Attiny45 code for that. So far I learned how to merge two timers to work together  to get constant ON-time pulse and a period between, the problem I have is how to change timer0 period on the fly without glitch (timer0 is working in simple CTC mode while timer1 is doing the ON time pulse).
To use a part like an ATTINY25/45/85 use timer1 in pwm mode.  Use either OC1A or OC1B for your output using the COM1xy bits and the associated compare register for the fixed pulse width.  That will give you hardware controlled timing for the on pulse.  Use OC1C to set the period.  If you use an AVR with a 16 bit timer1 make sure that you update the 16 bit registers atomically.