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 #9252
Joined: Fri Jan 04 2013, 06:27AM
Location: Andromeda
Posts: 253
Steve Conner wrote ...
In that case, the control problem is much easier. No need to worry about missing the zero current switching points as an untuned primary SSTC doesn't have zero current switching to begin with. The Arduino would probably work out fine.
The only issue will be ensuring the drive frequency doesn't droop below secondary resonance. I'm never much good at visualizing current commutations in bridges but I do know that every bridge I've ever built absolutely hates being run in the capacitive region. You can drive it above resonance as much as you like (with diminishing power transfer), but dip a bit below resonance and you're likely to blow some silicon if you don't bulletproof the bridge.
Registered Member #9252
Joined: Fri Jan 04 2013, 06:27AM
Location: Andromeda
Posts: 253
Sigurthr wrote ...
The only issue will be ensuring the drive frequency doesn't droop below secondary resonance. I'm never much good at visualizing current commutations in bridges but I do know that every bridge I've ever built absolutely hates being run in the capacitive region. You can drive it above resonance as much as you like (with diminishing power transfer), but dip a bit below resonance and you're likely to blow some silicon if you don't bulletproof the bridge.
Well, I do believe the frequency would stay at resonance if i utilize my idea
" Maybe also, Just maybe, We can make it auto tuning by setting the compare match to a variable, Said variable changes according to feedback from an antenna/bottom of resonator Maybe.. "
If what i read steve ward's site correctly, The coil is always in tune if it runs from it's own noise.
Yes, but missed pulses from instruction execution will lower the actual output frequency. How much it lowers it is anyone's guess at this point. If you're missing 1% of pulses at 100KHz you're 10KHz under resonance, and from my tests with a direct VCO driven coil, 10KHz is more than enough to make a bridge very unhappy. That's 1%, if you're 2.5% out that's 25KHz.. miles away!
Registered Member #9252
Joined: Fri Jan 04 2013, 06:27AM
Location: Andromeda
Posts: 253
Hmm, I doubt that there would be any missing pulses if we compare the signals to each other By the way, During your tests, Was everything shielded from the EM field?
Also i do not quite understand how the arduino can skip/extend pulses, I believe the pulses are as accurate as the 16 Mhz crystal on the arduino, Also as long as the auto tuning system is functioning, We should technically never get on the capacitive side
At first I didn't hand write a program for the tests, as it was a quick look into the viability, and I'm not very experienced with arduino's lower level programming side. Basically I used a simple sketch that had you enter in a frequency via serial monitor and it would configure timer.1 to output pulses at the chosen frequency. I compared the output via scope and digital frequency counter. Ar 1MHz it was rather accurate, something like 999,400Hz. At 280KHz it was off by about 30KHz, somewhere around 250KHz. At 100KHz it was pretty accurate again. At direct fractions accuracy was good, at more distant fractions errors were introduced.
My initial impression was that it was something to do with the programming so I went and used a simple fixed variable and as little code as possible to see try and eliminate programming error. I hard coded in 10uS on and 10uS off, but still used digitalWrite functions. The result was ~37KHz. Clearly digitalWrite execution time was a problem. I looked into directly writing the IO registers but didn't give it a try, as at this point it was already proving to be too much hassle.
So, that's why I keep bringing up instruction execution delays. I literally had nothing other than standard setup, variable initialization, and two digitalWrite commands with variable calls and I couldn't get it to keep up. Assuming you write highly efficient code for timer.1 and the control loop, directly write to registers to avoid digitalWrite, and avoid any other high level instruction functions you may get something workable, but I don't know if you'll be able to set it to 50KHz and actually get 50KHz out. You might have to set it to 70KHz and get 51KHz out and call it good enough.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
You will need to do as much of the work as you can in the timer hardware to avoid issues like this. You also need to check that the timer you're using has enough resolution to generate an accurate frequency. The Arduino libraries do a great job of abstracting away differences in the hardware, but by the same token they also do a great job of hiding its limitations. Read the microcontroller datasheet very carefully.
I think the problem described by Sigurthr is really two separate problems. The first one was limited resolution of a hardware timer, the second was instruction execution delays.
If I had to build something like this tomorrow, I would use a 4046 PLL chip, a PIC, and a CPLD.
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
As I said above, the resonant frequency of the coil changes during the burst, so it is not possible to achieve ZCS by just putting out a fixed frequency that you determined beforehand.
The method you described is more or less how I tune my PLL drivers by hand, but the frequency determined in this way is just a starting point, the driver will vary it during the course of the burst as it tries to maintain ZCS.
Finally, remember that a DRSSTC has two resonant frequencies, at least to start out with. Under exceptionally heavy streamer loading, or ground arcs, it collapses to a single frequency.
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.