Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 22
  • 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!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/05 Capper (60)
11/05 cereus (73)
11/05 Mcanderson (43)
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 »   

LCRD circuit

Move Thread LAN_403
Linas
Sun May 08 2011, 11:03AM Print
Linas 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
1304852595 1143 FT0 Lclr

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
Back to top
Sulaiman
Sun May 08 2011, 03:10PM
Sulaiman Registered Member #162 Joined: Mon Feb 13 2006, 10:25AM
Location: United Kingdom
Posts: 3140
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?
Back to top
Linas
Sun May 08 2011, 04:20PM
Linas 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
Back to top
Sulaiman
Sun May 08 2011, 10:26PM
Sulaiman 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.
Back to top
Linas
Mon May 09 2011, 05:02AM
Linas 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 ?
Back to top
Steve Conner
Mon May 09 2011, 07:25AM
Steve Conner 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.
Back to top
Linas
Wed May 25 2011, 03:26PM
Linas 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

1306337163 1143 FT115121 Capture2

1306337163 1143 FT115121 Capture

maybe some one see mistake in equations ??
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.