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.
Registered Member #2922
Joined: Sun Jun 13 2010, 12:08AM
Location:
Posts: 226
A one-shot timer is started upon each zero-current-detection of the feedback signal (that is, 2 events per full cycle). The one-shot is set to time out "just before" the next expected zero crossing. When the one-shot times out, the output to the gate driver flips state (as if the feedback signal told it to). If you measured the previous half-cycle's period "Thp", you can predict the next one as Tnext_switch = Thp - Tlead.
This is the way I first thought to do but I thought it would be very instable. I will give it a chance
Registered Member #2292
Joined: Fri Aug 14 2009, 05:33PM
Location: The Wild West AKA Arizona
Posts: 795
Steve Ward wrote ...
I made a digital PLL.
There are a few key points about it:
1) the user has to define a starting frequency "Fstart". The driver switches to feedback/pll operation after "N" cycles (set in 0.5 cycle increments), typically i use 0.5-1 cycles for a "transient" type DR, and 4-8 cycles for SSTC/QCW where you need to have a well defined starting frequency/mode). However, it works acceptably with pretty big errors... so its not overly burdening.
2) The user must define the desired phase-lead time "Tlead", which is referenced to the output signals from the PSoC (Conner already explained this perfectly). This lead time is defined as the whole delay time of the system (that includes the feedback CT delay, the processors delay, and IGBT delay).
So how's it work?
First, start driving at "Fstart", during this time, measure the period between zero crossings in the current feedback signal. After "N" cycles at "Fstart", PLL operation can begin. The PLL works as follows:
A one-shot timer is started upon each zero-current-detection of the feedback signal (that is, 2 events per full cycle). The one-shot is set to time out "just before" the next expected zero crossing. When the one-shot times out, the output to the gate driver flips state (as if the feedback signal told it to). If you measured the previous half-cycle's period "Thp", you can predict the next one as Tnext_switch = Thp - Tlead.
If that makes sense, then you understand enough to build your own digital PLL as i did. However... there was a problem with stability if the half-cycle periods were inconsistent, so i added a digital filter that averages the previous 4 half-cycle periods and uses that result for the predictive one-shot timer (knocking it down to 2 half-cycles ought to work too, just havent tried it yet). Conner would probably point out here that there is some dynamic performance loss from this, but thanks to the fact that the one-shot is reset with the feedback input, you can never get too far out of phase with the desired switching command even if the system frequency is changing rather quickly. Oh yeah, and just in case the prediction is too late, the zero-cross detect will command a gate drive transition, making the driver no worse than my old universal driver without phase lead.
Ive used this same driver on a wide variety of tesla coils and its performance is on par with the inductor prediktor and about 1000 times better than the 4046 PLL crap i used to play with. However, getting the whole scheme to work reliably was a considerable challenge and took months of debugging/tweaking to get it to a robust state. Having an FPGA with essentially limitless hardware would have made the task easier, most of my time was spent coaxing the design to fit within my hardware budget on the PSoC. Also, 64MHz clock leaves a bit to be desired at higher TC frequencies.
Interesting implementation of an ADPLL Steve. I have made a couple of these in FPGA a while ago and I commend you on doing it in something with so few macro cells. From my understanding most ADPLLs need the loop filter in order to work properly anyway, otherwise they suffer from the same instability you descried above.
It's a careful balance getting the loop filter correct, to aggressive and the system acts sluggish, not aggressive enough leads to instability/jitter.
MMC: 11 strings of 20 series 27nF 1600VDC MMKP type, total 14.85nF at 13kVAC (RMS).
Hi Steve, could 942C20P15K-F caps be replacement of MMKP for MMC?
The 942 CDE caps have excellent RMS capability and work great. However a similar capacitor bank would require about 90 of those caps (30 x 3) which will be pretty expensive though...
Registered Member #2694
Joined: Mon Feb 22 2010, 11:52PM
Location: Russia, Volgograd (Stalingrad).
Posts: 97
loneoceans wrote ...
Intra wrote ...
Steve Ward wrote ...
MMC: 11 strings of 20 series 27nF 1600VDC MMKP type, total 14.85nF at 13kVAC (RMS).
Hi Steve, could 942C20P15K-F caps be replacement of MMKP for MMC?
The 942 CDE caps have excellent RMS capability and work great. However a similar capacitor bank would require about 90 of those caps (30 x 3) which will be pretty expensive though...
Thank you Gao! According to datasheet Irms of 942C20P15K-F is 13.5A and AC is 500V. Did I made right calculations about if 3pcs 942C20P15K-F in parallel give 20.25kVAC RMS?
The reason why I ask, 104pcs of 942C20P15K-F I already have.
Registered Member #1403
Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
Intra wrote ...
loneoceans wrote ...
Intra wrote ...
Steve Ward wrote ...
MMC: 11 strings of 20 series 27nF 1600VDC MMKP type, total 14.85nF at 13kVAC (RMS).
Hi Steve, could 942C20P15K-F caps be replacement of MMKP for MMC?
The 942 CDE caps have excellent RMS capability and work great. However a similar capacitor bank would require about 90 of those caps (30 x 3) which will be pretty expensive though...
Thank you Gao! According to datasheet Irms of 942C20P15K-F is 13.5A and AC is 500V. Did I made right calculations about if 3pcs 942C20P15K-F in parallel give 20.25kVAC RMS?
The reason why I ask, 104pcs of 942C20P15K-F I already have.
You could use the MMC calculator here to give some quick estimates. 500V is however a pretty conservative rating for these capacitors. But on the other hand they are being punished more in a QCW than in a DRSSTC. Just change the voltage rating in the calculator and the rest of its specifications is inthere.
You simply just need that many to get down in capacitance, these are not suitable to the job, too expensive an option in my opinion.
Registered Member #2694
Joined: Mon Feb 22 2010, 11:52PM
Location: Russia, Volgograd (Stalingrad).
Posts: 97
Mads Barnkob wrote ...
Intra wrote ...
loneoceans wrote ...
Intra wrote ...
Steve Ward wrote ...
MMC: 11 strings of 20 series 27nF 1600VDC MMKP type, total 14.85nF at 13kVAC (RMS).
Hi Steve, could 942C20P15K-F caps be replacement of MMKP for MMC?
The 942 CDE caps have excellent RMS capability and work great. However a similar capacitor bank would require about 90 of those caps (30 x 3) which will be pretty expensive though...
Thank you Gao! According to datasheet Irms of 942C20P15K-F is 13.5A and AC is 500V. Did I made right calculations about if 3pcs 942C20P15K-F in parallel give 20.25kVAC RMS?
The reason why I ask, 104pcs of 942C20P15K-F I already have.
You could use the MMC calculator here to give some quick estimates. 500V is however a pretty conservative rating for these capacitors. But on the other hand they are being punished more in a QCW than in a DRSSTC. Just change the voltage rating in the calculator and the rest of its specifications is inthere.
You simply just need that many to get down in capacitance, these are not suitable to the job, too expensive an option in my opinion.
Nice calculator. I made some research about which capacitors will be suitable to the job (for a couple of QCW). 240pcs of MMKP BFC238350273 27nF 1600V will cost $441 (mouser) and 90pcs of 942C20P15K-F will cost $518 (mouser). But 104pcs of 942C20P15K-F I already have (I didn't bought them, it was a gift), and for MMCs which contains 90pcs of 942C20P15K-F I need only 2*90-104=76pcs more. And 76pcs of 942C20P15K-F will cost $437 only. Which caps in your opinion will not so expensive for this job? (not in staccato mode)
Registered Member #1403
Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
10 strings of 30 in series of these:
Gives you 15,6nF at 13,2kVAC, uses 300 capacitors that would cost you a total of 36 Euro, however the RMS current handling is lower than the 942C. But it might be total overkill with the 942Cs.
The downside is also you have to do much more soldering with the cheap method :)
Registered Member #2694
Joined: Mon Feb 22 2010, 11:52PM
Location: Russia, Volgograd (Stalingrad).
Posts: 97
Mads Barnkob wrote ...
10 strings of 30 in series of these:
Gives you 15,6nF at 13,2kVAC, uses 300 capacitors that would cost you a total of 36 Euro, however the RMS current handling is lower than the 942C. But it might be total overkill with the 942Cs.
The downside is also you have to do much more soldering with the cheap method :)
Registered Member #2694
Joined: Mon Feb 22 2010, 11:52PM
Location: Russia, Volgograd (Stalingrad).
Posts: 97
Steve Ward wrote ...
Intra, almost got it, but you didnt get the extra IGBT/diode boost circuit correct. It follows a standard boost converter scheme, i think you can fix your schematic .
Look like according to wiki boost circuit schematic, it should be as on this pic, but if so, then I don't understand why you use that white wire.
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.