diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Power Supplies (http://www.diyaudio.com/forums/power-supplies/)
-   -   SMPS power up problems. (http://www.diyaudio.com/forums/power-supplies/221457-smps-power-up-problems.html)

nigelwright7557 13th October 2012 02:06 AM

SMPS power up problems.
 
I have taken a L6565 smps design and altered it to be driven by a PIC.
The PIC fires the mosfet driving the transformer and also switches off the mosfet if an over current event occurrs.

I am finding the overcurrent event happens at the very first mosfet pulse at power up. So the PIC turns off the mosfet and flashes the error LED.

The circuit should work fine.
I have tried ignoring the over current event but this just blows the fuse.

The only part that might not be right is the transformer.
I have wound on 50 turns on the primary and 13 on the secondary.
There wasnt enough room on the transformer to wind on 50 turns horizontally so I put on 25 turns then went back along the previous 25 turns with the final 25 turns. I thought this would be OK.
The secondary is simply 13 turns wound horizontally.

Any clues as to why the over current event occurrs would be helpful.

wrenchone 13th October 2012 03:42 AM

Did you gap the transformer? If not, it will saturate right away.

nigelwright7557 13th October 2012 11:06 AM

Quote:

Originally Posted by wrenchone (Post 3199598)
Did you gap the transformer? If not, it will saturate right away.

No I didnt.
Do you mean the ferrite cores need a gap ?

nigelwright7557 13th October 2012 09:25 PM

I tried it with a gap tonight and stupidly just parted the cores slightly. Of course Iswitched it on and the two halves were attracted and blew the fuse and the mosfet. I have no mosfets spare so will have to order some more.

How do you normally cut down the cores ? Do you put something of 1mm between them or physically cut them down with a hack saw ?

wrenchone 13th October 2012 10:19 PM

You need to do some background reading on how flyback SMPS work. I would stick with the basic L6565 circuit and get it working first before trying to do anything fancy with a PIC.Search the ST web site - they probably have a design spreadsheet somewhere that will allow you to design a proper transformer.

nigelwright7557 14th October 2012 02:00 AM

I took the transformer from a datasheet example.

I found out tonight I have phased the transformer wrong.
The output is taking current as the transformer primary charges up.
It is supposed to take current after the mosfet switches off.

wrenchone 14th October 2012 02:26 AM

And it still needs a gap, too -not just any gap. Do you have any spec goals for this supply? Post them, (AC input voltage range, Vout, Iout, proposed operating frequency),along with the core you're using, and maybe I can help some.

You should also realize that the L6565 is not your usual fixed-frequency PWM controller. Since it's quasi-resonant, it operates in variable frequency borderline continuous mode, kinda like a self-oscillating RCC flyback with some extra smarts. Your choice of primary inductance will affect the operating frequency.

nigelwright7557 14th October 2012 01:29 PM

Quote:

Originally Posted by wrenchone (Post 3200679)
And it still needs a gap, too -not just any gap. Do you have any spec goals for this supply? Post them, (AC input voltage range, Vout, Iout, proposed operating frequency),along with the core you're using, and maybe I can help some.
.


I am trying to get around 5 amps at 40 volts out.
Input is 240VAC mains. I am running the PIC at 50KHz with 50% duty cycle.
I am using an ETD54 with n97 core, 50 turns primary and 13 turns secondary.

nigelwright7557 14th October 2012 04:57 PM

I have ordered a etd34 bobbin with 1mm gapped ferrites.

nigelwright7557 17th October 2012 12:16 AM

I built up a new pcb today with the et34 gapped transformer.
The pic still kept getting an overcurrent event.
So I backed off the duty cycle and the PIC now doesnt get the over current event.
Thats as far as I got tonight, will spend some more time on it tomorrow.


All times are GMT. The time now is 07:42 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio


Content Relevant URLs by vBSEO 3.3.2