-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LTspice files for Wien Bridge Oscillator
Signed-off-by: Mark Thoren <[email protected]>
- Loading branch information
1 parent
76a02ae
commit a567ee1
Showing
3 changed files
with
299 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
Version 4 | ||
SHEET 1 1136 792 | ||
WIRE 144 -160 -224 -160 | ||
WIRE 144 -32 144 -160 | ||
WIRE 144 -32 48 -32 | ||
WIRE 208 -32 144 -32 | ||
WIRE 240 -32 208 -32 | ||
WIRE 48 48 48 -32 | ||
WIRE 240 144 240 -32 | ||
WIRE 48 176 48 128 | ||
WIRE -224 240 -224 -160 | ||
WIRE 48 272 48 240 | ||
WIRE 48 272 -64 272 | ||
WIRE 240 272 240 224 | ||
WIRE 352 272 240 272 | ||
WIRE 48 304 48 272 | ||
WIRE 48 304 0 304 | ||
WIRE 112 304 48 304 | ||
WIRE 240 320 240 272 | ||
WIRE 112 336 112 304 | ||
WIRE 0 352 0 304 | ||
WIRE 560 400 480 400 | ||
WIRE 480 448 480 400 | ||
WIRE 0 464 0 432 | ||
WIRE 112 464 112 400 | ||
WIRE 112 464 0 464 | ||
WIRE 144 464 112 464 | ||
WIRE 208 464 144 464 | ||
WIRE 240 464 240 400 | ||
WIRE 240 464 208 464 | ||
WIRE 432 464 400 464 | ||
WIRE 432 512 400 512 | ||
WIRE -224 560 -224 320 | ||
WIRE 144 560 144 464 | ||
WIRE 144 560 -224 560 | ||
WIRE 144 592 144 560 | ||
WIRE 480 592 480 528 | ||
WIRE 480 592 144 592 | ||
WIRE 144 656 144 592 | ||
WIRE 144 768 144 720 | ||
FLAG 144 768 0 | ||
FLAG -64 272 C | ||
IOPIN -64 272 Out | ||
FLAG 352 272 D | ||
IOPIN 352 272 Out | ||
FLAG 208 -32 A | ||
FLAG 208 464 B | ||
FLAG 560 400 Vcd | ||
IOPIN 560 400 Out | ||
FLAG 400 464 D | ||
IOPIN 400 464 Out | ||
FLAG 400 512 C | ||
IOPIN 400 512 Out | ||
SYMBOL res 64 144 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R1 | ||
SYMATTR Value 10k | ||
SYMBOL res 16 448 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R2 | ||
SYMATTR Value 10k | ||
SYMBOL res 256 240 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R3 | ||
SYMATTR Value 20k | ||
SYMBOL res 256 416 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R4 | ||
SYMATTR Value 10k | ||
SYMBOL Misc\\jumper 208 688 R90 | ||
SYMATTR InstName X1 | ||
SYMBOL voltage -224 224 R0 | ||
WINDOW 123 24 124 Left 2 | ||
WINDOW 39 0 0 Left 0 | ||
SYMATTR InstName V1 | ||
SYMATTR Value SINE(0 1 1000) | ||
SYMATTR Value2 AC 1 | ||
SYMBOL e 480 432 R0 | ||
SYMATTR InstName E1 | ||
SYMATTR Value 1.0 | ||
SYMBOL cap 32 176 R0 | ||
SYMATTR InstName C1 | ||
SYMATTR Value 10nF | ||
SYMBOL cap 96 336 R0 | ||
SYMATTR InstName C2 | ||
SYMATTR Value 10nF | ||
TEXT -200 640 Left 2 !.ac dec 100 100 10000 | ||
TEXT -88 -248 Left 4 ;Basic Wien Bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Version 4 | ||
SHEET 1 1136 792 | ||
WIRE 144 16 -224 16 | ||
WIRE 144 64 144 16 | ||
WIRE 144 64 48 64 | ||
WIRE 208 64 144 64 | ||
WIRE 240 64 208 64 | ||
WIRE 48 144 48 64 | ||
WIRE 240 144 240 64 | ||
WIRE -224 240 -224 16 | ||
WIRE 48 272 48 224 | ||
WIRE 48 272 -64 272 | ||
WIRE 240 272 240 224 | ||
WIRE 352 272 240 272 | ||
WIRE 48 320 48 272 | ||
WIRE 240 320 240 272 | ||
WIRE 544 320 480 320 | ||
WIRE 480 368 480 320 | ||
WIRE 432 384 384 384 | ||
WIRE 432 432 384 432 | ||
WIRE 48 464 48 400 | ||
WIRE 144 464 48 464 | ||
WIRE 208 464 144 464 | ||
WIRE 240 464 240 400 | ||
WIRE 240 464 208 464 | ||
WIRE -224 560 -224 320 | ||
WIRE 144 560 144 464 | ||
WIRE 144 560 -224 560 | ||
WIRE 144 592 144 560 | ||
WIRE 480 592 480 448 | ||
WIRE 480 592 144 592 | ||
WIRE 144 656 144 592 | ||
WIRE 144 768 144 720 | ||
FLAG 144 768 0 | ||
FLAG -64 272 C | ||
IOPIN -64 272 Out | ||
FLAG 352 272 D | ||
IOPIN 352 272 Out | ||
FLAG 208 64 A | ||
FLAG 208 464 B | ||
FLAG 544 320 Vcd | ||
IOPIN 544 320 Out | ||
FLAG 384 384 D | ||
IOPIN 384 384 Out | ||
FLAG 384 432 C | ||
IOPIN 384 432 Out | ||
SYMBOL res 64 240 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R1 | ||
SYMATTR Value 10k | ||
SYMBOL res 64 416 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R2 | ||
SYMATTR Value 10k | ||
SYMBOL res 256 240 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R3 | ||
SYMATTR Value 9.9k | ||
SYMBOL res 256 416 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R4 | ||
SYMATTR Value 10k | ||
SYMBOL Misc\\jumper 208 688 R90 | ||
SYMATTR InstName X1 | ||
SYMBOL voltage -224 224 R0 | ||
WINDOW 123 0 0 Left 0 | ||
WINDOW 39 0 0 Left 0 | ||
SYMATTR InstName V1 | ||
SYMATTR Value 10 | ||
SYMBOL e 480 352 R0 | ||
SYMATTR InstName E1 | ||
SYMATTR Value 1.0 | ||
TEXT -64 664 Left 2 !.op 0.5 | ||
TEXT -104 -32 Left 4 ;Basic Wheatstone Bridge | ||
TEXT -104 -32 Left 4 ;Basic Wheatstone Bridge | ||
TEXT 264 640 Left 2 ;LTspice always needs a ground reference somewhere.\nA jumper lets you electrically join two nodes of different\nnames so that they're equivalent. This lets you label the\n"ground" node whatever it happens to be in your textbook circuit. | ||
TEXT 600 456 Left 2 ;VCVS: Handy for measuring\nvoltage differences |
126 changes: 126 additions & 0 deletions
126
m2k/ltspice/wien_bridge_osc/wien_bridge_osc_complete.asc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
Version 4 | ||
SHEET 1 948 792 | ||
WIRE -560 96 -560 64 | ||
WIRE 128 96 96 96 | ||
WIRE 304 96 192 96 | ||
WIRE 448 96 384 96 | ||
WIRE -560 208 -560 176 | ||
WIRE -560 208 -640 208 | ||
WIRE 256 208 256 192 | ||
WIRE -32 224 -160 224 | ||
WIRE 96 224 96 96 | ||
WIRE 96 224 -32 224 | ||
WIRE 224 224 96 224 | ||
WIRE -560 240 -560 208 | ||
WIRE 448 240 448 96 | ||
WIRE 448 240 288 240 | ||
WIRE 560 240 448 240 | ||
WIRE -640 256 -640 208 | ||
WIRE -160 256 -160 224 | ||
WIRE -32 256 -32 224 | ||
WIRE 224 256 80 256 | ||
WIRE 256 288 256 272 | ||
WIRE -560 352 -560 320 | ||
WIRE -32 368 -32 320 | ||
WIRE 80 384 80 256 | ||
WIRE 128 384 80 384 | ||
WIRE 240 384 208 384 | ||
WIRE 304 384 240 384 | ||
WIRE 448 384 448 240 | ||
WIRE 448 384 384 384 | ||
WIRE -160 416 -160 336 | ||
WIRE 80 448 80 384 | ||
WIRE 240 496 240 384 | ||
WIRE 272 496 240 496 | ||
WIRE 448 496 448 384 | ||
WIRE 448 496 336 496 | ||
WIRE -160 560 -160 496 | ||
WIRE 240 576 240 496 | ||
WIRE 352 576 240 576 | ||
WIRE 448 576 448 496 | ||
WIRE 448 576 416 576 | ||
WIRE 80 592 80 528 | ||
WIRE 80 704 80 672 | ||
FLAG -640 256 0 | ||
FLAG -560 64 Vp | ||
FLAG 256 288 Vp | ||
FLAG -560 352 Vn | ||
FLAG 256 192 Vn | ||
FLAG -32 368 0 | ||
FLAG -160 560 0 | ||
FLAG 80 704 0 | ||
FLAG 560 240 Out | ||
IOPIN 560 240 Out | ||
SYMBOL Opamps\\OP07 256 304 M180 | ||
SYMATTR InstName U1 | ||
SYMBOL voltage -560 80 R0 | ||
WINDOW 123 0 0 Left 0 | ||
WINDOW 39 0 0 Left 0 | ||
SYMATTR InstName V1 | ||
SYMATTR Value 5 | ||
SYMBOL voltage -560 224 R0 | ||
WINDOW 123 0 0 Left 0 | ||
WINDOW 39 0 0 Left 0 | ||
SYMATTR InstName V2 | ||
SYMATTR Value 5 | ||
SYMBOL res 400 80 R90 | ||
WINDOW 0 0 56 VBottom 2 | ||
WINDOW 3 32 56 VTop 2 | ||
SYMATTR InstName R1 | ||
SYMATTR Value 10k | ||
SYMBOL res 400 368 R90 | ||
WINDOW 0 0 56 VBottom 2 | ||
WINDOW 3 32 56 VTop 2 | ||
SYMATTR InstName R2 | ||
SYMATTR Value 4.7k | ||
SYMBOL res 224 368 R90 | ||
WINDOW 0 0 56 VBottom 2 | ||
WINDOW 3 32 56 VTop 2 | ||
SYMATTR InstName R3 | ||
SYMATTR Value 10k | ||
SYMBOL res 96 544 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R4 | ||
SYMATTR Value 4.7k | ||
SYMBOL res 96 688 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R5 | ||
SYMATTR Value 2k | ||
SYMBOL cap 192 80 R90 | ||
WINDOW 0 0 32 VBottom 2 | ||
WINDOW 3 32 32 VTop 2 | ||
SYMATTR InstName C1 | ||
SYMATTR Value 10nF | ||
SYMBOL cap -48 320 M180 | ||
WINDOW 0 -20 57 Left 2 | ||
WINDOW 3 -45 8 Left 2 | ||
SYMATTR InstName C2 | ||
SYMATTR Value 10nF | ||
SYMBOL res -144 352 R180 | ||
WINDOW 0 36 76 Left 2 | ||
WINDOW 3 36 40 Left 2 | ||
SYMATTR InstName R6 | ||
SYMATTR Value 10k | ||
SYMBOL diode 336 480 R90 | ||
WINDOW 0 0 32 VBottom 2 | ||
WINDOW 3 32 32 VTop 2 | ||
SYMATTR InstName D1 | ||
SYMATTR Value 1N4148 | ||
SYMBOL diode 352 592 R270 | ||
WINDOW 0 32 32 VTop 2 | ||
WINDOW 3 0 32 VBottom 2 | ||
SYMATTR InstName D2 | ||
SYMATTR Value 1N4148 | ||
SYMBOL voltage -160 400 R0 | ||
WINDOW 3 -410 60 Left 2 | ||
WINDOW 123 0 0 Left 0 | ||
WINDOW 39 0 0 Left 0 | ||
SYMATTR Value PWL(0 {vkick} 1m {vkick} 6m 0.0) | ||
SYMATTR InstName V3 | ||
TEXT -456 776 Left 2 !.tran 0.5 | ||
TEXT -616 584 Left 2 ;"kickstart" trick. Note startup time, then\nSet vkick to zero and compare. | ||
TEXT -568 528 Left 2 !.param vkick=0.1 | ||
TEXT -24 -24 Left 4 ;Wein Bridge Oscillator | ||
TEXT 592 520 Left 2 ;Run time domain simulation\ntry adjusting R5, take FFT, note\ndistortion for different gains |