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 #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
hello all. I get task to simulate LRCD frequency difference detector circuit. and i wonder can i use simple voltage divider formula ? U=Uin(X1/(X1+X2)) ?( X1 X2 frequency dependent resistor ) But this model lead me to major problem: How i can calculate X1 ( lets say it's inductor, so it would be X1=2*pi*f*L ) if i have two frequencies ? (U=Asin(w1)Asin(w2)) and will it work if i take diode as resistor R=U/I=F(U)/G(I) where F is voltage characteristics, and G is current characteristics of diode
ok, i found out that sin(w1) is responsible for Amplitude, and sin(w2) for frequency. now only problem left is calculate resistance of diode
Registered Member #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
Sulaiman wrote ...
I don't get what you're attempting, could you give an example of what input(s) you're considering and what output(s) it should produce?
i have input V=sin(w1t)sin(w2t); in output i should get f=(w1+w2)/2 and show spectrograph and other part of the task how LCRD system reacts for short pulses of square wave (i need do get response at the end of circuit) all should be made by using MatLab
Registered Member #162
Joined: Mon Feb 13 2006, 10:25AM
Location: United Kingdom
Posts: 3140
I recognise V=sin(w1t)sin(w2t) as amplitude modulation, When 'detected' you get sum and difference frequencies w =(w1 + w2) and w = (w1 - w2) but I've not come across w = (w1 + w2)/2.
Please post the solution when you get it as it would interest me.
Registered Member #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
simulation in multisim show that i will get middle frequency of two incoming waves.(just like title of the task says) if i use w1=500 w2=502 i get in output w=501 same results with bigger difference (500+510 >> 505) All equations already written, now just need to write diode as resistor dependent of voltage. But that is tricky part, because i need to calculate voltage on diode ( and that is hard, because diode himself is responsible off voltage drop, and that drop depends of voltage across terminals of diode) any ideas how to do that ?
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
You will need to use some kind of iterative solver.
In other words, the diode voltage drop depends on the current, which depends on the voltage drop, so you start by guessing one of the two variables. Then you can calculate the other one, and use Kirchhoff's circuit laws to see if your guess fits with the rest of the circuit, this gives you an error which you can use to drive your guess in the right direction. When the error reaches some small value you stop and move on to the next time step.
This is (grossly simplified) how the transient simulation engine works in Spice, Multisim etc. Matlab should have several kinds of solvers built in.
Registered Member #1143
Joined: Sun Nov 25 2007, 04:55PM
Location: Vilnius, Lithuania
Posts: 721
Can some one check if i did it right ? (all should be ok, except i can change + to -) But after solving this problem with matlab, i get very small output ( and multisim show normal output) i get V=10e-10
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.