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 #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
I'm designing feedback for an inverter. The feedback is a voltage sine wave. Is there a simple way to make the switch happen an adjustable time before the sine wave crosses zero, without using a PLL?
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
Hi Jan, Yes you can do what you require without using a PLL. At first it appears that the required circuit must be able to "see into the future" to predict the zero-crossings before they actually happens...
Fortunately you can actually achieve this effect by adding a small amount of the derivative of the sinewave to the sinewave before feeding it to a normal comparator. Because the derivative of a sinewave leads it by 90 degrees you are actually introducing a small phase-lead by adding in a derivative component. This will make the comparator toggle early.
Or alternatively you can add a small amount of the integral of the sinewave to the reference level defining the comparators switching threshold. Since the integral lags by 90 degrees but is effecting the threshold instead of the signal the net effect is the same.
Both of these techniques will achieve the desired result although the actual amount of phase lead or lag may need to be fine-tuned to get the comparator to toggle the desired number of ns early that you want at the chosen operating frequency.
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
Thanks Richie, that's something along what I was thinking. However I'm not sure how to implement it. The problem is that the feedback frequency is not constant. A simple phase shift could be done with a RC element, but the shift would be heavily dependent on frequency.
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
Yes, as you said you can achieve a +90 degree phase-lead well below Fc with a first order high-pass filter, but with a dramatic drop in signal amplitude. Or alternatively a -90 degree phase-lag well above Fc for the 1st order low-pass filter.
If you need to process a signal to introduce variable phase-lead or lag WITHOUT altering the amplitude there is also something called the all-pass filter. This will give you an adjustable phase shift without the accompanying low-pass, band-pass or high-pass amplitude characteristic:
This circuit is used in guitar phaser pedals to shift the relative phases of harmonics without messing with the amplitude. Since it doesnt cause an amplitude change, you can cascade allpass filters to get as much phase shift as you want.
I guess it is as good a "see into the future" circuit as you can get with analogue electronics! If anyone knows of a better one, let me know as I have a plan involving such a circuit, a cheap radio, and next week's lottery results.
Registered Member #152
Joined: Sun Feb 12 2006, 03:36PM
Location: Czech Rep.
Posts: 3384
Going back to this... I think it would be best to make it switch adjustable time before the zero crossing, but this "pre-delay" should not be frequency dependent. Is this possible with a PLL or in any other way?
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.