Author Topic: <>  (Read 23616 times)

0 Members and 1 Guest are viewing this topic.

Offline debininjaTopic starter

  • Contributor
  • Posts: 41
  • Country: us
<>
« on: May 19, 2017, 04:33:50 pm »
<>
« Last Edit: December 24, 2017, 11:47:11 pm by debininja »
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5871
  • Country: de
Several issues:
- your MOSFET drive won't work, and is in my opinion overengineered. The output from the TL494 is open-collector and will never turn on the driver transistors. I'd suggest experimenting with driving the MOSFET directly from the TL494 with a pull-up resistor to turn on the FET. Will give you some losses, but it's much simpler.
- I don't like your Zener solution for the feedback. Use a TL431 instead for active drive to the optocoupler. Lots of examples available in appnotes.
- No need for the snubber over the rectifier if you use a Schottky diode

Those are just first impressions, other issues might be there.
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
You have either intentional error or unintentional errors in your schematic.

1) There is an error the 680R should be connected to VCC (open collector). The IC drive is open collector OR emitter follower, look into what this means.
2) Drain to Source snubber with a 22K resistor?, I think you mean 22R, looks like a schematic error.
3) make the frequency adjustable no mention of the core material used, 100kHz seems very high to start out with, consider using 25KHz and adjust accordingly.
 
The following users thanked this post: debininja

Offline Pitrsek

  • Regular Contributor
  • *
  • Posts: 171
  • Country: cz
You are missing frequency compensation at TL431.
Please read: https://www.onsemi.com/pub/Collateral/TND381-D.PDF as a starting point.
There is a lot info about feedback on Onsemi(search for papers from C.Basso - his books are also top notch) and TI sites
Also FB divider needs to be before output filter

I would loose 494 and would go with something more modern - preferably with current mode control(a little bit easier to stabilize) and quasi resonant operation
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
You are missing frequency compensation at TL431.
Please read: https://www.onsemi.com/pub/Collateral/TND381-D.PDF as a starting point.
There is a lot info about feedback on Onsemi(search for papers from C.Basso - his books are also top notch) and TI sites
Also FB divider needs to be before output filter

I would loose 494 and would go with something more modern - preferably with current mode control(a little bit easier to stabilize) and quasi resonant operation

No matter what is part is used. the questions asked are basic, throwing new parts wont help educating him/her, as old as the TL494 chip is, it can teach a circuit builders many many basic concepts. I do like the idea of using new chips with internal driver + fet but they all go poof when subjected to excessive ringing and poor layout. tips and tricks picked up from being a veteran using a TL494/SG3525  ^-^   
 
The following users thanked this post: debininja

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Alrighty, I've fixed the schematic and I think I'll be able to make both of you happy with what I've got now.
Revised schematic here:


You have either intentional error or unintentional errors in your schematic.
1) There is an error the 680R should be connected to VCC (open collector). The IC drive is open collector OR emitter follower, look into what this means.
2) Drain to Source snubber with a 22K resistor?, I think you mean 22R, looks like a schematic error.
3) make the frequency adjustable no mention of the core material used, 100kHz seems very high to start out with, consider using 25KHz and adjust accordingly.

1. I think I got it now.
2. I didn't calculate anything for the snubber, so I put down those values. I'll get there though.
3. Done. Easy enough. Core material is an E-18 core with ~0.8mm gap, unknown grade, but it's from an old 2Amp 5V charger. See here: http://ferroxcube.home.pl/prod/assets/e18410.pdf

Several issues:
- your MOSFET drive won't work, and is in my opinion overengineered. The output from the TL494 is open-collector and will never turn on the driver transistors. I'd suggest experimenting with driving the MOSFET directly from the TL494 with a pull-up resistor to turn on the FET. Will give you some losses, but it's much simpler.
- I don't like your Zener solution for the feedback. Use a TL431 instead for active drive to the optocoupler. Lots of examples available in appnotes.
- No need for the snubber over the rectifier if you use a Schottky diode
Those are just first impressions, other issues might be there.

1. I think it's fixed now. Followed @diyaudio's advice. I don't want to drive it passively since I have crappy mosfets with massive input capacitances (~1300pF).
2. Done, put in a TL431. (Strangely enough, there's no TL431 in KiCAD's library. I need to make one and git pull request it).
3. Got rid of the snubber.

I'm feeling good about this! Not even 4 hours and already 2 replies with constructive criticism!

1) There is already a parasitic diode inside the MOSFET, (which is sufficient for this application)  why another external diode? and why loose the RC snubber ? ask yourself these questions  ? study the mosfet model and see paths during switching and why a RC snubber is used. If you need help study this http://www.ti.com/lit/an/slpa010/slpa010.pdf

2) The local buffer drive arrangement you have for this IC is correct (totem pole), its the preferred technique, using it will latch the gate to ground during off period and offer fast turn off and good performance characteristics (just calculate the fet drive current what your have should be enough), you tame the switching behavior for "hard or soft switching" by adjusting the combination of the  gate drive with Rg (gate resistor) + Rb (base resistor) you need to learn how this influences ringing and effect timing characteristics and also effects the selection of the RC snubber to get a decent wave shape. event before dumping the current into the the transformer.

You need a scope and you need to learn how to read waveforms and interpret them.

 
 
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5871
  • Country: de
Quote
1) There is already a parasitic diode inside the MOSFET, (which is sufficient for this application)  why another external diode? and why loose the RC snubber ?

What are you talking about? The diode discussed is the output rectifier with (unnecessary) snubber. You are going on about the MOSFET.

 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5871
  • Country: de
Your gate driver will still not work. You've found a way to turn it on, but turn-off will be extremely slow.

I still strongly suggest you drive the MOSFET directly from the TL494: C to VCC, E to gate, 680 ohms (or lower, check with 'scope) from gate to ground.

A comment on the TL494 (which I've worked with many times): it's a very good device to learn about switching regulators on, but for a practical design, I'd not go higher than 40...50 kHz.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5871
  • Country: de
Your gate driver will still not work. You've found a way to turn it on, but turn-off will be extremely slow.

It works great, actually. The totem pole takes care of everything. I will link waveform outputs soon, it's somewhere on my G+.

I'll wait half a day more to see if anyone else has any further suggestions or improvements before I start assembling it on PCB.

Well, then magic's in play, or your schematic does not represent the actual circuit. Q2 has practically no base drive (except for 100k), so I wonder how that plays out.
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Your gate driver will still not work. You've found a way to turn it on, but turn-off will be extremely slow.

It works great, actually. The totem pole takes care of everything. I will link waveform outputs soon, it's somewhere on my G+.

I'll wait half a day more to see if anyone else has any further suggestions or improvements before I start assembling it on PCB.

Well, then magic's in play, or your schematic does not represent the actual circuit. Q2 has practically no base drive (except for 100k), so I wonder how that plays out.

You are confusing yourself. of course there is base drive. see attachment.

I would recommend using it in open collector mode instead, with a 220R instead of a 680R.
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Your gate driver will still not work. You've found a way to turn it on, but turn-off will be extremely slow.

It works great, actually. The totem pole takes care of everything. I will link waveform outputs soon, it's somewhere on my G+.
...

The output transistor inside the '494 can only source current the way you have it wired up to your push-pull driver, which will turn on Q1 quite quickly, yes, but turn-off of Q1 and turn on of Q2 will take place very slowly because you are using a 100k resistor to sink charge out of the bases.

Attached are the LTSpice simulation results (and the LTSpice file, for those interested) showing how just a minor change in the location and value of the base pulldown resistor dramatically improves switching performance.



 
The following users thanked this post: debininja

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
I would recommend using it in open collector mode instead, with a 220R instead of a 680R.


(P.S. What's the difference between connecting the base resistor to the collector vs what I have there? It would function like a Darlington pair. I have a habit, maybe unnecessary, of trying to put base resistors wherever possible, so that's why I put that 680Ohm resistor at the totem pole bases).



Here is the difference between them. (read the datasheet)  :horse:

As you can see the signals are inverted. 
 
The following users thanked this post: debininja

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Your gate driver will still not work. You've found a way to turn it on, but turn-off will be extremely slow.

It works great, actually. The totem pole takes care of everything. I will link waveform outputs soon, it's somewhere on my G+.
...

The output transistor inside the '494 can only source current the way you have it wired up to your push-pull driver, which will turn on Q1 quite quickly, yes, but turn-off of Q1 and turn on of Q2 will take place very slowly because you are using a 100k resistor to sink charge out of the bases.

Attached are the LTSpice simulation results (and the LTSpice file, for those interested) showing how just a minor change in the location and value of the base pulldown resistor dramatically improves switching performance.

Careful with this simulation, it may look like attractive to have fast switching edges (ideal example), but. when current flows through the MOSFET the rules of physics dominate. all the parasitic, LD LS inductance will not yield the same results as shown in the simulation, in fact as an experiment remove the 680R base resistor and place a 10k POT in series now see the effects of the hard switching saturation vs soft switching and observe waveform shape on the scope as you adjust the bias..

I actually have setup similar to what I proposed above and the effects are pretty neat.     
 
The following users thanked this post: debininja

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
1. No current limiting.  Good luck if someone shorts the output...
2. Opto should come from VREF, not VCC.  It's a control range thing: it doesn't need to pull up any higher than it needs to, and pulling up and down symmetrically is the most reasonable choice.
3. TL494 needs to be wired as a voltage follower: unity gain at the error amp.  Remove R11 and R12, set R10 --> low ohms (or short).  The TL431 is in control.
4. Also good luck if someone cranks RV1 down to 10kHz when the transformer is dimensioned for 100kHz...
5. You can drop R2 and Q1, and move D1 across Q2 so the TL494 emitter does pull-up drive.  It's good for 200mA.
6. Rsnub1 might be a bit large, and Csnub1 also.  They'll certainly be less efficient than a clamp snubber (run a R || D + C from drain to GND).  Here's a similar application:



This was probably a higher speed, and higher current, application than yours, so adjust values accordingly.

The big unknown is the transformer.  You'll need the small signal parameters on that (N1/N2, Lp, LL, DCR, Cp), or a winding diagram.

7. C5 and C7 are surely going to need to be bigger.  A couple 2200uF in parallel should be reasonable.
8. The TL431 voltage error amp looks good.  R15 and C4 values are YMMV.  Select them for best transient load response.

It's an okay starting point, but when the UC3843 costs the same and is better in all respects... why not use it? ;) (Or better still, any of the modern SMPS controllers, or regulators, that cost only a little more, but save massively on capacitor and magnetics cost.)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: debininja

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Ohh dammit, that explains the slow turnoff. I thought the TL494 output reached ground after each pulse, but that's not the case...

If you'd like that version, BTW, check out TL598.

It's also suitable to drive GDTs (gate drive transformers), though you need to add reverse clamping schottky diodes.  The output waveform looks like this, https://www.seventransistorlabs.com/Images/GateDrive1.jpg

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: debininja

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5871
  • Country: de
Quote
You are confusing yourself. of course there is base drive. see attachment.

I would recommend using it in open collector mode instead, with a 220R instead of a 680R.

I'm not confusing anything, when the output transistor of the TL494 turns off, it's basically open-circuit except for the 100k resistor.

Your second suggestion is really bad. First, because it inverts the output logic. Second, because it means the MOSFET will turn on during power-up, before the TL494 is ready to do anything.
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Quote
You are confusing yourself. of course there is base drive. see attachment.

I would recommend using it in open collector mode instead, with a 220R instead of a 680R.

I'm not confusing anything, when the output transistor of the TL494 turns off, it's basically open-circuit except for the 100k resistor.

Your second suggestion is really bad. First, because it inverts the output logic. Second, because it means the MOSFET will turn on during power-up, before the TL494 is ready to do anything.

I suggested open collector because I just discovered that their is a difference between the two configuration not only by nature of their analog configuration i.e emitter follower vs common emitter which I attached as per the datasheet but also how duty cycle behaves, using my configuration on my desk
I can only get a only get a minimum duty cycle of 10% (min) up to 100% (max), but in emitter follower mode(like he has), I can get 0%(min) to 80% (max) the datasheet doesn't disclose this behavior for single ended operation.     
 
« Last Edit: May 21, 2017, 08:33:47 am by diyaudio »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Perfect. Also regarding your suggestions: I understood about half of what you said, but it's no problem, I'll learn gradually.
Confession time: until last year, the most I ever did with transistors or mosfets was blink LEDs :palm:

My goal over the summer break (electrical engineering first year student here) is to get a basic, regulated, isolated stepdown FBT working.
I can settle with a few shortcomings or inadequacies if it helps me to learn, in person, through these nooby experiments and (sometimes) magic smoke.

Great!

Attack it from all sides.  Practical: breadboard a circuit.  See how it works.  Discover its drawbacks.  Improve it.

Analytical: what is a switcher?

Hint: you're putting current into an inductor.  Control that first!  This is why current mode controllers are the only kind that matter. ;)

What is a snubber?

Hint: as the transistors and diodes turn on and off, you get various combinations of RLC components carrying switching voltage or current.  As the switches change state, the continuity condition is that a voltage or current, that had been carried by one device, now gets handled by another.

For example, at the instant the transistor turns off, inductor current is carried by its output capacitance Coss, in parallel with the R+C snubber.  A moment later, the voltage has risen, and current gets diverted to the output diode instead.  Which in turn causes ringing on the primary side (because of where the voltages and currents were), and so on.

Control loops: understand what an error amplifier is, and the basic blocks (error amp, "plant", feedback, compensation).  Understanding poles and zeroes and stability analysis may be a little much (it's a 3rd or 4th year subject), but at least knowing about those representations will give you a huge kickstart.

None of these subjects are insurmountable.  The whole may seem intimidating, but it's easily broken down into little pieces.  And once you understand those pieces, you gain the whole picture. :)

Quote
Soo...going back to your suggestions now.
1. Current limiting can be added later on. I'm not going to overly stress this thing and there is no one who wants to make my FBT explode (I hope).

If you don't want to make it explode, I don't want to talk to you anymore.  >:D :-BROKE :popcorn:

(It is, of course, the loftiest goal of the engineer, to make things that the average schmuck cannot explode.  Yes, try as might, they always find a way -- but it's a matter of degree.  They have to want it dead! ;D )

Quote
2. I was worried about the opto loading down the 5V reference, though with a 100k resistor, I guess the current is low enough to not be a problem.

It's capable of 10mA or so.  Not a problem.

Should also aim for a couple mA on the opto -- the TL431 needs at least 1mA*, and you've got up to ~20mA of headroom (at opto ratings).  Less than 1mA quiescent will make it awfully slow (the opto has a lot of capacitance), which can be a problem.

*That's what R13 is for, by the way. :)

Quote
3. Doing a quick search I learned that a unity gain configuration op-amp "... makes a copy - at the output - of the the input voltage, Vin..." Could you please explain what purpose R10 and C9 serves? I got them off the design notes for a 400Watt PSU by OnSemi.

It was probably a design for local regulation (no opto).  Typical application has the TL494 on the secondary side, so it senses output voltage directly.  (Gate drive signals are then coupled to the primary side with a transformer.)

R10 is an aberration -- it reduces error amp gain, which means the DC output voltage won't be perfectly stable, but will vary with load.

Reducing gain was a common technique to improve phase margin, a big problem for voltage-mode controllers like this.  But that's handily solved by using current-mode control -- another point for the superior method. ;)

But yeah, you don't want the TL494 error amp(s) being error amps -- that squares the loop gain, making it impossible to stabilize.  (The TL494 would be attempting to control its output, so as to regulate the opto's output at 2.50V.  Simultaneously, the TL431 is trying to control the TL494 so as to regulate 5.0V DC output.  Who wins?)

Quote
4. First my FBT explodes from being shorted, and then I find a madman who enjoys turning potentiometers for fun? When will this series of unfortunate events end! :-DD

Na, FBT's fine -- it's made of wire and iron [oxides].  You can short that sucker for seconds at a time.

Poor little Q3 will expire in a few hundred microseconds:bullshit:

You can put a fuse in the supply, but keep in mind, those blow in milliseconds.  So Q3 is dead a hundred times over and then the fuse blows...  :=\

Except for very few situations (that are engineered accordingly!), fuses are only ever for fire protection -- when Q3 dies shorted, you don't want it taking out all your wiring and stuff.  It's a good idea, even for prototyping... especially for prototyping?  But kind of annoying, so an active current limiting circuit is a bit more handy.

(There are also self-resetting fuses, which work fine at this voltage and current level.)

Quote
5. Fair point. But what if the peak current needed by the mosfet during the switching period happens to exceed that? I'd need the totem-pole driver then, right?

2N3904 is only 200mA, too. :P

You can push them harder than that, but it's ugly.  In this circuit, as shown, if the gate were quasi-shorted*, it would probably deliver around 500mA (200 from the TL494, 300 from the 2N3904 -- yes, driving it so hard, hFE = 1 or 2!).

*You wouldn't want to test with an actual short circuit, but a heavy load, like 0.1uF (and no 4.7 ohm R4), would rise slow enough that you can see how much current it's dumping in the process.  (Some gate driver ICs use this test method!)

But IRF540 isn't a big deal, and 200mA will be more than enough.

Indeed, the TL494 output risetime is a whopping 200ns or so.  If IRF540 were 20nC gate charge (at 10V, that comes out to 2nF equivalent average Ciss), it would only draw 100mA during the rising edge.

Fundamental capacitor equation: I = C * dV/dt
Inductor: V = L * dI/dt

Both of these apply very usefully in switching circuits, because the waveforms can all be diagrammed as square waves and trapezoids. :)

Quote
7. I think those values should be just fine. At 100kHz, the ripple should be very little even with those caps. I'm not drawing more than 1Amp @ 5V.

How do you figure? :)

Hello, Ladies and Gentlemen, and welcome to another episode of When is a Component Not a Component?  Today, courtesy of out poster above, we have the:
Electrolytic Capacitor!
 :clap: :clap:

 ::) Okay, anyway... so, where is it true that a capacitor is a pure capacitance?
. . .
In the SPICE simulator and nowhere else.

A real component is always a complex mixture of R, L and C.  How complex?...How close do you need to look?  This is an approximation thing.  Normally, you'll only bother with three series components: the capacitance, resistance (ESR), and inductance (ESL).

Since no real component is ideal, we simply call them what they are, when they show that characteristic over a useful frequency range.  Resistors are resistive from DC to ~MHz (wirewound) to ~GHz (film), so they're quite practical resistances.  Film and ceramic capacitors are capacitive from very low frequencies (~mHz) to high frequencies (MHz to GHz).  Inductors, well, they come in so many kinds, but the point is they're still usefully inductive over some range as well.

So what's the dirty little secret about electrolytics?  They have relatively high ESR.

You would hope for 100uF to be 16mohm at 100kHz, but in reality, you'll probably get ESR around 0.3 ohm in series with that.  This is not a frequency where an electrolytic capacitor capacitates!  (At lower frequencies, where Xc > ESR, it does look capacitive.  Electrolytics are good in the mHz to maybe 10kHz range: it's not a very wide range, which shows they're not very good capacitors.  We put up with them because they're big and cheap. :) )

And even then, 0.3 ohm, that's pretty good, that's 0.3V at 1A, right?  Well...

Keep in mind, if this will be a DCM (discontinuous conduction mode -- the inductor current rings down to zero before the switch turns on again) circuit, then the most output duty cycle you can have is 50% (for an optimal transformer ratio), and that means, half the time, D2 is delivering zero current.  So the average current during conduction is double, or 2A.  And the inductor current is a ramp, so it has to start at 4A and discharge to zero during that time!  So your actual peak current is quadruple the output average.

(This is why flyback converters aren't very common above about 100W, by the way.  It just takes so many electrolytics to filter all that ripple, that it's worthwhile using a more complicated circuit, usually a full wave forward converter.)

If you're in CCM (continuous conduction mode), the best you can possibly do is 2A peak, but in reality it'll be somewhere inbetween, because the inductor current starts at, say, 3A (when switch turns off and diode turns on), then discharges to 1A (when switch turns on again, yanking the diode off).  The amount of inductor current ripple is set by operating frequency and transformer inductance.

So for the worst-case situation, 4A peak, you'd have around 1.2Vpp ripple.  Yeah, you've got an LC filter on there that can quiet that down nicely, but, that poor C5 will have to bear 1.5Arms of ripple current, whereas I don't think you'll find one that size that's rated for much over 100mA.  It'll get toasty! ;D

1000uF and 2200uF caps are plentiful though, with ESR under 0.1 ohm and ripple current ratings around 1-2A.  Excellently suitable here. :)

Quote
8. Praise be to Nikola Tesla, I finally got something right! I imagine it'll be hard to find the transient load response.

Nope!  Just set up, guess what, another switching circuit! ;D  This is so simple, I'd even recommend a 555 for the job: you need an audio frequency square wave (low kHz or below), and a MOSFET that switches a resistor load.

Normally, you'll have an idle load as well, so one load resistor connected at all times, and another switched by transistor.  This way, the SMPS is always running, it's just running at, say, half and full throttle, alternately.

While that's tugging away on the output, watch the output voltage with the scope.  (You may want to select AC input coupling, so you can zoom in closer on the change.)  You'll see it dip and stabilize, and overshoot and stabilize, with each edge.

Or maybe it doesn't stabilize, but then you'll know... :-DD

You should pretty easily get a feel for what different values of R15 and C4 do.  You should find that, as you increase R15, you generally get more phase margin, so that C4 can be smaller: your loop is responding faster!  As you adjust the values, you'll find a region where R15 is "about right", and C4 can't be made any smaller without making the output really lumpy.  This is about where you want to be.  For a safety factor, you can slow it down a bit by doubling C4, more or less, which will account for things you didn't test for initially -- reactive loads, capacitive loads, that sort of thing.

Too slow of a control loop means you need much bigger filter caps than otherwise, and that the output voltage changes an awful lot in response to load changes.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: debininja

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5871
  • Country: de
Quote
I suggested open collector because I just discovered that their is a difference between the two configuration not only by nature of their analog configuration i.e emitter follower vs common emitter which I attached as per the datasheet but also how duty cycle behaves, using my configuration on my desk
I can only get a only get a minimum duty cycle of 10% (min) up to 100% (max), but in emitter follower mode(like he has), I can get 0%(min) to 80% (max) the datasheet doesn't disclose this behavior for single ended operation. 

The best idea would be to limit postings to something you have knowledge of.
On the TL494 you're obviously clueless.

I apologise for being rough, but this kind of noise helps nobody.


 
« Last Edit: May 21, 2017, 06:52:44 pm by Benta »
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Quote
I suggested open collector because I just discovered that their is a difference between the two configuration not only by nature of their analog configuration i.e emitter follower vs common emitter which I attached as per the datasheet but also how duty cycle behaves, using my configuration on my desk
I can only get a only get a minimum duty cycle of 10% (min) up to 100% (max), but in emitter follower mode(like he has), I can get 0%(min) to 80% (max) the datasheet doesn't disclose this behavior for single ended operation. 

The best idea would be to limit postings to something you have knowledge of.
On the TL494 you're obviously clueless.

I apologise for being rough, but this kind of noise helps nobody.

Whats your problem?, don't apologize then badger people,  you clearly looking for trouble, please piss off. I have enough knowledge using the chip (i don't claim to be an expert) but you forcefully claim be one.. the fact that you didn't know a totem pole driver is the suggested drive circuit is concerning, very. :palm:
   
Don't talk to me like I need your approval, you far from fit being a judge, you been clearly seeking attention since this post was created. whats wrong with you? this is a fair forum take your attention seeking manners somewhere else.
   
« Last Edit: May 21, 2017, 07:51:02 pm by diyaudio »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Oops, cut the link between pin 3 and 13, otherwise that covers most of it.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: debininja

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Huh, check U2 footprint...

No ground plane, but it's so slow, it's probably fine.  If nothing else, you'll get to see how bad it can be without. :P

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 
The following users thanked this post: debininja

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
How exactly do you have a closed-loop power supply operating into a lightbulb?

SMPS is not something you develop without a scope on at all times.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21681
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Oh, it's hard wired for adjustable PWM, it's not the rest of the circuit?

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline diyaudio

  • Frequent Contributor
  • **
  • !
  • Posts: 683
  • Country: za
Status updates:

1. The PCB is under construction. I'm gonna take like a week to solder everything I think. If I solder for 30 minutes a day.

2. I have some data from my FBT build. First, here are the equations I used for finding turns ratios for primary and secondary, peak current, etc etc. Please let me know if they look alright. TL;DR: found primary turns had to be 7 and secondary had to be 4, peak current would be 4Amps. I'm using a crappy 600V mosfet with 0.75Ohm Rdson (see here for datasheet: http://uk.rs-online.com/webdocs/0849/0900766b80849782.pdf ). Picture of my work here:


Ipk = (2*Powerout)/(eff.*Vin*Dutymax)
PrimaryInductance = (Vin*Dutymax)/(Ipk*freq)
Inductance = AL*(Turns^2)
PrimaryTurns = sqrt(PrimaryInductance / AL)
SecondaryTurns = PrimaryTurns*(Vout+VdropDiode) / Vflyback

Givens for the transformer core, from spec sheet:
E16/8/5 (so 1.6cm by 0.8cm by 0.5cm)
Minimum cross sectional area Ae of 19.4 square mm
AL value 212nH (I rounded down to 200 to be safe)
Effective permeability 315 (not sure if this matters in the equations)

3. After hooking up my basic TL494 driver into a test setup (see link:
), input voltage of 12.25V, I sort of eyeballed the bulb to be at 5V based on the brightness, so I guess that's good news--seems like my calculations were correct? It's a 6V 0.62A bulb (so 3.72Watt) hooked up to the secondary (no rectification or anything, just directly hooked up to secondary). I imagine it will be much brighter with rectification and a capacitor. The mosfet strapped onto the heatsink gets to 63C measured with my IR thermometer, a bit too toasty in my opinion. Might be because I'm using a 0.75Ohm mosfet, and the peak power dissipation would be I^2*R, so 16Amps*0.75, that's 12Watts...

Also, I burnt out a 33Ohm snubber resistor. Afterwards, I hooked up a 33kOhm snubber resistor (which does get hot, but not enough to burn itself out), hooked up my scope probe (10x attenuation) to the drain and source, and found the DS voltage is around 150Volts! I don't know if that's normal or not. In that case, I cannot use the snubber and capacitor values I used in my schematic. Does anyone know if it's possible to lower this large flyback voltage? Maybe my alligator clips method is adding too much stray inductance and that might be throwing large spikes on the DS?

1) Those "stranded wires" (from Ebay) is not going to help you, consider using solid core wire to carry signals and keep them short, those wires are prone to cause all kinds of issues its not worth it.

2) A MOSFET will naturally resonate as a switch (and enforces good layout) , I would highly recommend you rethink your geometry and layout, keep high current paths short, use thicker short wire and use a matrix prototype board for the power MOSFET, tin the high current paths with solder, I cannot stress how important this is.

3) I would recommend you rethink your switching frequency, 100KHz switching frequency is tough to tame with wires dangling around, this introduces all forms unwanted resonance in the switching spectrum, consider using a moderate 30KHz and work your way up (slow) which will save you all kinds of menace, your RC snubber is highly lossy you need to calculate the values "after you reconsidered your layout" see attachment I have a tiny RC snubber with very low loss, but that's cause the layout imposes how much snubbing is required.

I have attached an image of something I was building a few days ago using the same controller as you, my prototype is able to adjust the PWM drive from (0% to 90%) FREQ (10KHz to 250KHz) and drive the power FET using a inductive load, however even at 100KHz it puts a demand on the layout as a result of the wires and geometry. Also note I used a SMD cap and resistor right at the leads between the Drain and Source to combat resonance at approx 100MHz. You can see a nicely a burned carbon resistor of 100R used to reset the inductor energy.

(Not clearly shown is a BD139/140 totem pole driver with adjustable current drive to further tame the drive via a multi turn pot)
 
The recommendation is to use your oscilloscope to death. you seem to have a handle with mathematics which is good but layout will throw all your calculations out :)
« Last Edit: May 26, 2017, 09:12:02 am by diyaudio »
 
The following users thanked this post: debininja


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf