Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 23
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Linas (34)
Toasty (29)


Next birthdays
05/16 kg7bz (68)
05/16 steve516 (31)
05/17 Finn Hammer (72)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Power supply simulator.

first  5 6 7 8 
Move Thread LAN_403
DerAlbi
Thu Jul 19 2018, 09:55PM
DerAlbi Registered Member #2906 Joined: Sun Jun 06 2010, 02:20AM
Location: Dresden, Germany
Posts: 727
Thats LTspice..
Back to top
Ash Small
Thu Jul 19 2018, 10:36PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
DerAlbi wrote ...

Thats LTspice..

Thanks. I've not used it for about five years, I'll need to download it again.
Back to top
Ash Small
Fri Jul 20 2018, 12:58AM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
New Information:-

Thanks Hen, I'm getting some very interesting results, I changed some values to match what I have lying around, and then realised that a lot of what you believed to be lower frequency harmonics are actually due to the reactances in the second circuit 'interfering' with the reactances in the first circuit.

I still needs to run some more simulations, but now to the interesting bits, firstly, even touching the probe on the final capacitor affects the reactance, and de-stabilises the circuit for nearly a second.

Secondly, with the values shown, this is the highest voltage I've achieved so far, I still need to tweak it some more, but think I can improve on the 25 volts shown here, with the right reactance in the first stage of the filter.

Thirdly, voltage at the output is now stable to within 50uV using a combined total of around 12mH inductance.

This is between ten and twenty times more stable than with just a capacitor in the second leg.

I seem to be onto something here wink


1532048300 3414 FT182103 Filter Simulation
Back to top
2Spoons
Fri Jul 20 2018, 03:23AM
2Spoons Registered Member #2939 Joined: Fri Jun 25 2010, 04:25AM
Location:
Posts: 615
If you are modelling real parts you absolutely must include the coil DC resistances and capacitor ESRs. Numerical models of LC circuits can get a bit crazy without those resistances providing a bit of damping. Simulation is only as accurate as your component models - the more realistic your models,the more reliable the simulation results are.
Back to top
Ash Small
Fri Jul 20 2018, 05:01AM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
2Spoons wrote ...

If you are modelling real parts you absolutely must include the coil DC resistances and capacitor ESRs. Numerical models of LC circuits can get a bit crazy without those resistances providing a bit of damping. Simulation is only as accurate as your component models - the more realistic your models,the more reliable the simulation results are.

I've been working towards getting it more accurate all night.

I now appear to be getting better, and more consistent results without the notch filter, just using capacitors for the vertical sections of the filter. using two 10mH chokes and 44 4,700uF caps arranged as below, I'm getting around 20uV ripple, although I'm still tweaking things. DC resistance of the chokes is around 139mOhms, the secondary ofn the transformer is 600mOhms, and I can only guess at the ESR of the capacitors, but it's not a lot, especially the banks of ten and 32.


1532062867 3414 FT182103 Filter6
Back to top
2Spoons
Fri Jul 20 2018, 06:39AM
2Spoons Registered Member #2939 Joined: Fri Jun 25 2010, 04:25AM
Location:
Posts: 615
Be aware also that transient sims of resonant systems can be sensitive to the size of the timestep, and also to the numerical integration method. I use Simetrix for simulation, and usually set the maximum timestep to something quite small. I also choose 'Gear' integration over 'trapezoidal' as it seems to gives more consistent results. Not sure what options you have in LTSpice - I hate it so I don't use it.

Even if you guess 1mOhm for your capacitor ESR, its still better than zero. I don't like zeroes: zeroes tend to produce infinities, and neither are things you want in a numerical simulation.
Back to top
Ash Small
Fri Jul 20 2018, 08:29AM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
2Spoons wrote ...

Be aware also that transient sims of resonant systems can be sensitive to the size of the timestep, and also to the numerical integration method. I use Simetrix for simulation, and usually set the maximum timestep to something quite small. I also choose 'Gear' integration over 'trapezoidal' as it seems to gives more consistent results. Not sure what options you have in LTSpice - I hate it so I don't use it.

Even if you guess 1mOhm for your capacitor ESR, its still better than zero. I don't like zeroes: zeroes tend to produce infinities, and neither are things you want in a numerical simulation.

I think I've chosen 10mOhm for a single 4,700uF quality stud capacitor (electro), but where I have a bank of 30 or more, Ive chosen 1mOhm, etc. I think the minimum I now have in parallel is three, at a combined ESR of 5mOhm, Changing it to ten doesn't seem to make a difference.

I've moved the notch filter, and now I'm starting to get some really impressive results, the 't' scale is 1uV, and it it's to be believed, the voltage at the out put is stable to low nano volts.

It fluctuates for a bit arter the measurement starts, then stabilises after a second and a half. This is the highest resolution LTSpice will go to on the 'y' scale.


5



EDIT: Here's the same thing with a wider range on the 'y' scale.


51


50uV on the 'y' scale here, as opposed to 1uV on the 'y' scale in the pic above.
Back to top
Ash Small
Fri Jul 20 2018, 08:20PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
New information, explanation of 'observed phenomena'...Hope I don't upset Mads wink

I think the reason why this configuration appears to be orders better than others is as follows, first, as you'd expect, whith the notch filter at the begining, it ought to behave better, as long as there is a 'reasonable' sine wave to 'exclude'.... But...

You have an inductive element (transformer, albeit rectified) driving an LC filter, or to be more precise, initially a notch filter, a 'reactive device'.

I believe the value of the first capacotor to be critical, not just as large as reasonably justified, but.....

It's effectivelt a 'power factor correction' device, to drive, in particular, the 'reactive' notch filter.

This stuff really is a 'black art' there are fo many factors that require balancing.

While I'm aware of PFC and it's basic principles, that is pretty much the extent of mu knowledge on the subject.

Would anyone care to add.expand on the above?

wink

EDIT: It's all about matching 'phase angles' and whatnot when driving a reactive load from a reactive source wink

EDIT 2: If this does turn out to be a 'new type of filter', it should be named the '4HV voltage filter' wink
Back to top
2Spoons
Sat Jul 21 2018, 03:42AM
2Spoons Registered Member #2939 Joined: Fri Jun 25 2010, 04:25AM
Location:
Posts: 615
Filters aren't defined by their implementation, they're defined by the location of their poles and zeroes, which results in some defining characteristic e.g. Butterworth has a flat passband, Bessel is 'constant delay', Chebychev has a fast initial rolloff.

What is your filter's defining characteristic that makes it special?
Back to top
Ash Small
Sat Jul 21 2018, 10:13PM
Ash Small Registered Member #3414 Joined: Sun Nov 14 2010, 05:05PM
Location: UK
Posts: 4245
2Spoons wrote ...

Filters aren't defined by their implementation, they're defined by the location of their poles and zeroes, which results in some defining characteristic e.g. Butterworth has a flat passband, Bessel is 'constant delay', Chebychev has a fast initial rolloff.

What is your filter's defining characteristic that makes it special?

That's a complex question, It's effectively two filters in series, with the first capacitor serving two functions, firstly, I believe it serves a power factor correction purpose between the inductive source and inductive load (notch filter), and secondly, as the first element in a Butterworth style LC filter

Butterworth filters tend to have flat passbands, this one will have a flat passband as frequency drops, but at some point, the amplitude of the signal passed will increase further as frequency tends to zero.

The notch filter part, on the other hand, will tend to pass more and more of the signal as the frequency either increases or decreases from 100Hz, albeit distorted

At low frequencies the combined filter will tend to pass most of the signal, but with some distortion, the distortion decreasing with decreased frequency. As frequency rises to 100Hz less and less of the signal will be passed, however above 100Hz, as frequency rises, the notch filter part will tend to pass more of the signal, whilst the Butterwoth type element will tend to stop more of the signal, with there being a significant notch in the passband of the combined filter at 100 Hz. This is similar to a type 2 Chebychev filter in that it has ripple in the stopband, which decreases to a minimum, then starts to increase, before decreasing again.

I guess though, that it's predominantly a Chebychev type 2, with notches in the stop band.

While I can't test all of these scenarios experimentally until I've wound some more chokes (0.4mH, 10mOhm and another 10mH, 150mOhm), that's what both the theory and experimental observation suggest.
Back to top
first  5 6 7 8 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.