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 #2432
Joined: Tue Oct 13 2009, 11:12PM
Location:
Posts: 2
Hello all, I've been reading for a while here in the forum and on various coilers' websites, and enjoying it all, especially some of the hardcore *SSTC explanations... really great stuff. I think I understand some of it but in EE, I'm a noob at best.
Anyway, here's my first question: Is there an easy way to create a square wave from a sine wave, in which the square wave's pulse duration is equal to one quarter of the sine, so that the square is also in phase with the sine? I want to create a pulse that begins at a zero crossing and ends at a peak(or trough, if it's not rectified). Put another way: is there already an IC or a published circuit with a digital output that can toggle when a signal peaks, or passes 90 degrees at any frequency?
I've been trying to pound this into LTSpice... the latest idea is based on watching for the amplitude of the wave to match the amplitude of a slightly delayed sample of the same wave, meaning the original signal has just peaked and started falling. The original signal is sent into a comparator and a unity gain amplifier, and the propagation-delayed output of the amplifier is also sent to the comparator. Which is which input on the comparator doesn't matter until I know whether I'd need a rising or falling edge on the digital side of things. So far it seems I can't very easily match the amplitude and shape of the amplifier's output exactly to the original signal, which I understand will be utterly essential (and somewhat easier if it was all one IC). Probably the only reason this hasn't worked in LTSpice is because I don't *really* know how to wire up an opamp and LTSpice knows this Also I need to get some better models into it, to say nothing of my head.
I could be very wrong but I don't think I want a PLL or a PWM controller... nothing continuous. I've been searching for phase, peak, angle, detector, etc. on the web and forums and wikis for something that ought to be simple but I keep getting buckets of PWM circuits that do the opposite of what I want. I don't want to detect the maximum voltage on a repeating pulsed DC signal or show whether two signals are in phase or how far apart, I just want to know right at the peak, how long ago it was at zero. This would probably be easy to do with a microcontroller, especially since it could then immediately use that information for the next stage, but I want to get my mind around analog things for now.
I expect you'll ask why I even want to know, and the purpose is ZCS with an utterly chaotic Fres. I'd say almost unpredictable, but I hope that the first quarter wave will allow me to cleanly end the second quarter. The other 180 degrees are just the same thing again, and the higher the instantaneous Fres, the lower the chances of it changing significantly in that cycle. Again, I hope.
Thanks for any hints, and all the info so far.
p.s. The closest thing I've seen yet which I meant to include is US Pat#5852794. I'll be reading.
Registered Member #2099
Joined: Wed Apr 29 2009, 12:22AM
Location: Los Altos, California
Posts: 1716
Sedi wrote ... I want to create a pulse that begins at a zero crossing and ends at a peak(or trough, if it's not rectified). Put another way: is there already an IC or a published circuit with a digital output that can toggle when a signal peaks, or passes 90 degrees at any frequency?
Set up one comparator to detect zero crossing of the input sine wave. Use another comparator on a differentiated or integrated sine wave to get the peak event. If both comparators have open collector outputs, they can be wire-ANDed to get the pulse you want, with no additional logic. The differentiator or integrator could be as simple as a RC network. Start the design by setting bounds on the frequency and voltage range to be handled.
Registered Member #2099
Joined: Wed Apr 29 2009, 12:22AM
Location: Los Altos, California
Posts: 1716
This would be an edit to previous post, except it's a pain to add pictures. You mentioned trouble with LTSPICE, so I hope this example helps. From their components menu I selected the first comparator, and it offered a demo circuit. That was the starting point for:
Registered Member #2432
Joined: Tue Oct 13 2009, 11:12PM
Location:
Posts: 2
Thanks for that, but it's all even more pointless than I realized. I was hoping to automatically minimize deadtime in a halfbridge, but after reading more about Class DE I can see that's the opposite of what I want-- and now I can think with a smaller secondary to boot! My timer never would have worked, I can see that now just from Richie's note about the shape of a spark-loaded primary current waveform.
Hey Steve, thanks for putting that paper (classde.pdf) on your site. edit: and Richie too, I knew I had seen a copy of that before! I forgot what it was called and went looking again
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.