Author Topic: Design of SMPS - Not sure what these spikes are being caused by.  (Read 13347 times)

0 Members and 1 Guest are viewing this topic.

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #50 on: May 21, 2018, 10:45:13 am »
Ok .. I now have 125 mA's out as per your instructions Tim,
Well done on picking that up for me.

The gate still shows ringing of course but the FET run's very cool now which is a big plus.
Zero missing pulses.

The guys design runs at slightly below the recommended chip frequency.
I might try to up that a bit. His reasoning was the gate charge even though pretty low would lower the efficiency.
What's your opinion ? I would rather up it and use smaller inductors.

I am now experimenting with different winding ratios and will report back.
Once I have got that down I will start implementing the rest of your suggestions.

After that I will continue with the suggestions on layout posted before.
The dirty ground net naming trick is a good one I have never seen anywhere else.

You were also right about that other signal. It is all over the board anywhere you poke the probe. Layout of course.

Cheers mate.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #51 on: May 21, 2018, 02:00:30 pm »
Gate charge is a tiny part of overall switching loss, far more significant is the stray inductance causing RF to blast out of everywhere!

As the leakage inductance is part of that switching loss (unless clamped and recycled -- an advanced topic), you can't reduce losses terrifically far in this type of design.  A good transformer is required.  Still, it should be able to run at 200kHz easily, given improved layout and an okay transformer.

Adding gate resistor(s) is necessary with the layout as-is, as this reduces the switching speed.  You must slow it to below the rate of that ringing, so as not to excite it.  Then your waveforms will look alright.

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

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #52 on: May 21, 2018, 08:31:33 pm »
Thanks Tim,
Yes a gate resistor was mentioned by someone else too.

Is that in addition to the snubber on the gate or can that be the "gate" resistor. I am assuming it can be/is.

BTW A Zero poster called Carlotta sent me a PM pushing their "prototyping" service.
 https://www.smart-prototyping.com/. You can also contact me at carlota@smart-prototyping.com
Anyone else heard of this crowd ?.
I am pretty happy with my current manufacturer, so doubt I will change.
« Last Edit: May 21, 2018, 08:33:09 pm by Zog »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #53 on: May 21, 2018, 08:55:26 pm »
Thanks Tim,
Yes a gate resistor was mentioned by someone else too.

Is that in addition to the snubber on the gate or can that be the "gate" resistor. I am assuming it can be/is.

Some kind of gate resistance, yes.  If it's two resistors and a diode, or just a resistor, whatever, that's just different ways of getting there, more options.

Quote
BTW A Zero poster called Carlotta sent me a PM pushing their "prototyping" service.
 <snip free advertising> You can also contact me at carlota@SPAM
Anyone else heard of this crowd ?.
I am pretty happy with my current manufacturer, so doubt I will change.

Same.  Mods, if you would please -- discipline said account for PM spam?

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

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #54 on: May 21, 2018, 09:11:49 pm »
Roger roger,
Thanks Tim.

I will "go dark" on this topic for a few weeks now.
Need to get a new board layout done for testing.
Source parts etc.

Will be back once this is done.
Cheers,
Phill
 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #55 on: August 17, 2019, 12:50:58 am »
Hi All,
I have given up trying to make this myself and need a pro to do it for me, preferably in Eagle. (paid job)
Need 100 Watts.
Anyone interested ?
 

Offline ocset

  • Super Contributor
  • ***
  • Posts: 1516
  • Country: 00
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #56 on: August 17, 2019, 04:24:33 pm »
Your vout is 185VDC
Your Pout is 100w
Your vin is =12v?

Have you thought of the dual cascaded boost?
Ill  send you some stuff on it if you want.

(I am working through the three pages to see where you got stuck....i saw you were wondering about winding a tapped inductor at one point, and at one point you were speaking of a noise issue.
, you gave a website of a cct you "copied"?...
https://jan.rychter.com/high-voltage-power-supply-for-nixie-tube-projects
)
« Last Edit: August 17, 2019, 11:08:32 pm by treez »
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #57 on: August 17, 2019, 05:34:58 pm »
Hi All,
I have given up trying to make this myself and need a pro to do it for me, preferably in Eagle. (paid job)
Need 100 Watts.
Anyone interested ?

Is this still for Nixie tubes, which require approximately 10mA each? So 100W would be good for around 50 of them?!?

Input voltage? Size constraints? Budget? I likely have something in my pile of past projects that can be easily modified for the job, and I use EAGLE 7.7 (ie - the last version before getting Borg'ed by Autodesk), but I am a bit busy for the next couple of weeks.


 

Offline ocset

  • Super Contributor
  • ***
  • Posts: 1516
  • Country: 00
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #58 on: August 17, 2019, 10:55:54 pm »
If you give the input voltage, then ill send you a design, and you can see if you want to go on and do it yourself, or contact myself.

PCB layout doc attached...did you follow these rules?

I must admit im an eagle 7.4.0 user.

Also,  there is the cascaded boost, which i could modify for you if you wish...its as attached
« Last Edit: August 17, 2019, 11:12:13 pm by treez »
 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #59 on: August 17, 2019, 11:35:00 pm »
@treez
Quote
If you give the input voltage, then ill send you a design, and you can see if you want to go on and do it yourself, or contact myself.
I don't have the skills to try to do it myself.

@treez
Code: [Select]
Also,  there is the cascaded boost, which i could modify for you if you wish...its as attachedOnly text in that file ?

@MagicSmoker
Code: [Select]
Input voltage? Size constraints? Budget? I likely have something in my pile of past projects that can be easily modified for the job, and I use EAGLE 7.7 (ie - the last version before getting Borg'ed by Autodesk), but I am a bit busy for the next couple of weeks
Input voltage can be from 5VDC to 24VDC. Size ? about the size of a packet of cigarettes. Output Voltage 220VDC because I want to drive a doubler circuit to get 440VDC for Dekatrons.
 

Offline MagicSmoker

  • Super Contributor
  • ***
  • Posts: 1408
  • Country: us
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #60 on: August 18, 2019, 11:24:52 am »
...
Input voltage can be from 5VDC to 24VDC. Size ? about the size of a packet of cigarettes. Output Voltage 220VDC because I want to drive a doubler circuit to get 440VDC for Dekatrons.

A nearly 5:1 input voltage range is absurdly impractical. The only commercial supplies that accommodate anywhere close to that are universal input flybacks that can run on 85VAC to 265VAC, and even that is "only" a 3:1 range. Cramming 100W into the volume of a cigarette box is also going to be challenging, especially with the input voltage restriction.

Do you need the 220V and 440V at the same time, or is it an either/or thing?


EDIT - fat-fingered posting before finishing.
 

Offline ocset

  • Super Contributor
  • ***
  • Posts: 1516
  • Country: 00
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #61 on: August 18, 2019, 12:39:24 pm »
yes, 100W from a 5V input means >20A of input current. Size may need to be bigger, but if it can be a wide pack of cigarettes, then we may be able to get near it.

Quote
Only text in that file ?
(The .txt file you can change to .asc, then  open in the free LTspice simulator)
« Last Edit: August 18, 2019, 12:43:30 pm by treez »
 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #62 on: August 18, 2019, 10:32:04 pm »
Quote
A nearly 5:1 input voltage range is absurdly impractical. The only commercial supplies that accommodate anywhere close to that are universal input flybacks that can run on 85VAC to 265VAC, and even that is "only" a 3:1 range. Cramming 100W into the volume of a cigarette box is also going to be challenging, especially with the input voltage restriction.

Sorry I didn't make myself clear.
That voltage range is what I can deal with in terms of getting another small  DC power supply to drive it.
In other words I would be getting a separate commercial one to convert 110/240VAC to the DC provided for this design. I was thinking of just buying a meenwell or other reputable brand for the DC input.
Quote
Do you need the 220V and 440V at the same time, or is it an either/or thing?

I need both at the same time.


 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #63 on: August 18, 2019, 10:38:09 pm »
I just found this one on ebay. I have not done a search for a while.
eBay auction: #https://www.ebay.com.au/itm/High-Voltage-DC-DC-150V-420V-Converter-NIXIE-Tube-HV-Power-Supply-1-25-12V-adj/333261626043?hash=item4d97f0dabb:g:UKMAAOSwPbldTjVL
Could I just put two or more of these in parallel to get the mA's I need ? Is that possible ? Common mode problems ?
Might be a quick and dirty way to do it ?
« Last Edit: August 18, 2019, 11:46:52 pm by Zog »
 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #64 on: August 18, 2019, 11:44:30 pm »
yes, 100W from a 5V input means >20A of input current. Size may need to be bigger, but if it can be a wide pack of cigarettes, then we may be able to get near it.

I don't have a preference for input voltage.  Looking at a mean well supply 12V or 24V DC to power it. They are quite small and are high wattage.

Quote
Only text in that file ?
(The .txt file you can change to .asc, then  open in the free LTspice simulator)

LT Spice is wayyy beyond me !
 

Offline jmelson

  • Super Contributor
  • ***
  • Posts: 2765
  • Country: us
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #65 on: August 19, 2019, 01:26:12 am »
The spikes in the middle of the ramp may be real.  There are some other, taller, spikes that are very narrow.  These may not be real.
First check is to connect the probe ground to your normal ground point, and then clip the probe tip to the same point.  if you see a bunch of spikes, these are coming through the GROUND of the probe, NOT through the signal pin of the probe.  That causes current through the ground shield of the probe.  You need to improve the ground between the ground point on the scope and the ground point of the equipment under test.

Jon
 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #66 on: August 22, 2019, 02:14:42 am »
Quote
The spikes in the middle of the ramp may be real.  There are some other, taller, spikes that are very narrow.  These may not be real.
First check is to connect the probe ground to your normal ground point, and then clip the probe tip to the same point.  if you see a bunch of spikes, these are coming through the GROUND of the probe, NOT through the signal pin of the probe.  That causes current through the ground shield of the probe.  You need to improve the ground between the ground point on the scope and the ground point of the equipment under test.

Thanks for that. It was pointed out before but I appreciate your input.
 

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #67 on: August 22, 2019, 02:19:34 am »
This image is a little unclear.
Anyone have any idea what the main driver chip is ?



« Last Edit: August 22, 2019, 02:24:41 am by Zog »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #68 on: August 22, 2019, 03:23:15 am »
TL494 or similar.

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: Zog

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #69 on: August 22, 2019, 04:01:51 am »
Tim,
This is the circuit I came up with after you supplied me those hand drawn sheets.
Does this look right to you in general connections terms  ?

 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #70 on: August 22, 2019, 04:36:16 am »
C8 charges when Q2 turns on, which will probably defeat the peak current mode operation of the controller.

They also don't document it very well, but TPS40210 goes into hiccup mode (/SS pulls low, stays off until crosses rising threshold) rather than current limiting.  It's rather dumb.

The combination will probably frustrate operation of this circuit enough that it never starts up, or doesn't maintain the full output you were expecting, or isn't able to recover from a momentary overload condition.

You can use multiple secondaries as their own flyback outputs, and connect the DC outputs in series.  Then you don't need C8 charging on the "down stroke", energy gets delivered to the output only in the flyback period (Q2 off).  Probably use N = 2-3 of say MSS12xx dual-winding inductors, with the primaries in parallel, and the secondaries wired accordingly.  (Choose inductance to be N times higher per inductor, because for uncoupled inductors, the value reduces in parallel.)

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: Zog

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #71 on: August 22, 2019, 04:42:20 am »
Thanks Tim,
That explains why it never started up.
Will look at implementing your new suggestions.

The circuit is wired correctly though right ?

Quote
You can use multiple secondaries as their own flyback outputs, and connect the DC outputs in series.  Then you don't need C8 charging on the "down stroke", energy gets delivered to the output only in the flyback period (Q2 off).  Probably use N = 2-3 of say MSS12xx dual-winding inductors, with the primaries in parallel, and the secondaries wired accordingly.  (Choose inductance to be N times higher per inductor, because for uncoupled inductors, the value reduces in parallel.)

Could you perhaps provide a hand drawn circuit explaining to us non engineers just what you mean by that ?

Quote
C8 charges when Q2 turns on, which will probably defeat the peak current mode operation of the controller.

It did not do that on the original circuit ? Little confused now ?    :-// (original is the original post)
« Last Edit: August 22, 2019, 05:07:37 am by Zog »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #72 on: August 22, 2019, 08:10:28 am »
Other than that, yeah I think so.

There was an appnote I think from TI's "flybuck" documentation that showed the connection, I can't seem to find it offhand.  Try giving that a look.

Yes, the original circuit would have the same problem.

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: Zog

Offline ZogTopic starter

  • Regular Contributor
  • *
  • Posts: 78
  • Country: au
  • Owning things means that things end up owning you.
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #73 on: August 23, 2019, 09:38:58 am »
I thought these files might help other beginners like me at how to layout SMPS. treez layout instructions are very good. https://www.eevblog.com/forum/projects/design-of-smps-not-sure-what-these-spikes-are-being-caused-by/msg2622906/#msg2622906

The TPS40210 Datasheet http://www.ti.com/lit/ds/slus772f/slus772f.pdf is good but kind of difficult to follow given that the example circuit does not match the layout. The example layout is just the bottom and the top, so I got creative in photoshop and merged them together and added component references so it's a little easier to follow.
Pretty sure it's a hexfet package used for Q1.





Top and Bottom layers merged.



Top Layer


Bottom Layer


I do have a question though.
What are the R1,R2 and the jumper for ?








« Last Edit: August 23, 2019, 10:04:21 am by Zog »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Design of SMPS - Not sure what these spikes are being caused by.
« Reply #74 on: August 23, 2019, 06:51:05 pm »
Looks to be routed to EN. Don't know why it's not on the schematic.

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


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf