Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 110
  • 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!
Download (31)
ScottH (37)


Next birthdays
11/02 Download (31)
11/02 ScottH (37)
11/03 Electroguy (94)
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 »   

Reinventing the square wheel

Move Thread LAN_403
Sedi
Thu Oct 22 2009, 08:32PM Print
Sedi 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 rolleyes 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.
Back to top
Mads Barnkob
Thu Oct 22 2009, 09:13PM
Mads Barnkob Registered Member #1403 Joined: Tue Mar 18 2008, 06:05PM
Location: Denmark, Odense C
Posts: 1968
A hex Schmitt inverter as 74HC14 Link2 would be useful, series up two inverters to get a positive square signal.

It sounds to me like you describe something simple like steve wards sstc5 driver: Link2
Back to top
klugesmith
Thu Oct 22 2009, 10:02PM
klugesmith 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.
Back to top
klugesmith
Fri Oct 23 2009, 02:52AM
klugesmith 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:

1256266182 2099 FT78219 Two 1011
Back to top
Sedi
Mon Oct 26 2009, 01:08AM
Sedi 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 tongue
Back to top

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.