aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-24 07:52:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-06-24 07:52:18 +0200
commit8b2d6ae24e5869c5677866481cf96dfa9effb8e6 (patch)
treedf57f8ffe172824d53531271f8932559e7c71c33
parente426a461931eee9c21a6feb68fe8ee5e28272b80 (diff)
downloadglutte-o-matic-8b2d6ae24e5869c5677866481cf96dfa9effb8e6.tar.gz
glutte-o-matic-8b2d6ae24e5869c5677866481cf96dfa9effb8e6.tar.bz2
glutte-o-matic-8b2d6ae24e5869c5677866481cf96dfa9effb8e6.zip
Modify QUCS sim for ADC input
-rw-r--r--qucs/af_5vpp_to_adc.sch144
1 files changed, 93 insertions, 51 deletions
diff --git a/qucs/af_5vpp_to_adc.sch b/qucs/af_5vpp_to_adc.sch
index d84e659..3db661a 100644
--- a/qucs/af_5vpp_to_adc.sch
+++ b/qucs/af_5vpp_to_adc.sch
@@ -1,6 +1,6 @@
<Qucs Schematic 0.0.19>
<Properties>
- <View=-103,-100,1487,868,1,15,0>
+ <View=-103,-129,1368,751,1.1,0,60>
<Grid=10,10,1>
<DataSet=af_5vpp_to_adc.dat>
<DataDisplay=af_5vpp_to_adc.dpl>
@@ -18,64 +18,106 @@
<Components>
<GND * 1 30 190 0 0 0 0>
<VProbe IN 1 20 170 28 -31 0 0>
- <C C1 1 160 240 -26 17 0 0 "1 uF" 1 "" 0 "neutral" 0>
<Vac Vsrc 1 10 300 18 -26 0 1 "2.5 V" 1 "1750 Hz" 0 "0" 0 "0" 0>
- <.TR TR1 1 710 520 0 73 0 0 "lin" 1 "0" 1 "0.002 s" 1 "101" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "300" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
- <GND * 1 680 400 0 0 0 0>
- <VProbe OUT 1 890 200 28 -31 0 0>
- <Lib OP1 1 620 220 25 20 0 0 "OpAmps" 0 "uA741" 0>
- <GND * 1 580 150 0 0 0 0>
- <Vdc V2 1 970 80 18 -26 0 1 "12 V" 1>
- <R R8 1 830 310 -132 -26 0 3 "3.3 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
- <R R7 1 750 220 -26 -65 0 2 "4.7 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
- <R R6 1 330 240 -26 -65 0 2 "4.7 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
- <R R5 1 520 320 -26 -65 0 2 "4.7 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
- <Lib D1 1 580 120 -42 -1 0 3 "Z-Diodes" 0 "1N749" 0>
- <R R10 1 580 50 -138 -26 0 3 "2.2 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <R R6 1 180 240 -26 -65 0 2 "4.7 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <GND * 1 270 160 0 0 0 0>
+ <Lib D1 1 270 130 -42 -1 0 3 "Z-Diodes" 0 "1N749" 0>
+ <R R10 1 270 60 -138 -26 0 3 "2.2 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <R R5 1 290 320 -26 -65 0 2 "4.7 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <Lib OP1 1 370 220 25 20 0 0 "OpAmps" 0 "uA741" 0>
+ <C C1 1 100 240 -26 -67 0 2 "1 uF" 1 "" 0 "neutral" 0>
+ <.DC DC1 1 750 470 0 44 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "3000" 0 "no" 0 "none" 0 "CroutLU" 0>
+ <.TR TR1 1 470 530 0 73 0 0 "lin" 1 "0" 1 "0.002 s" 1 "101" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "3000" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
+ <.AC AC1 1 750 560 0 44 0 0 "lin" 1 "400 Hz" 1 "15 kHz" 1 "59" 1 "no" 0>
+ <GND * 1 640 400 0 0 0 0>
+ <Lib OP2 1 660 240 25 20 0 0 "OpAmps" 0 "uA741" 0>
+ <Vdc V2 1 1240 80 18 -26 0 1 "12 V" 1>
+ <R R12 1 1150 320 -128 -26 0 3 "800 Ohm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <VProbe OUT 1 1180 150 28 -31 0 0>
+ <R R11 1 1120 240 -26 -65 0 2 "1.2 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <Lib OP3 1 930 260 25 20 0 0 "OpAmps" 0 "uA741" 0>
+ <R R13 1 840 240 -26 15 0 0 "15 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <R R14 1 780 240 -26 -65 0 2 "15 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <R R7 1 510 220 -26 -65 0 2 "15 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <R R8 1 570 220 -26 15 0 0 "15 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+ <C C2 1 620 140 -26 17 0 0 "1.5 nF" 1 "" 0 "neutral" 0>
+ <C C3 1 600 340 17 -26 0 1 "1.5 nF" 1 "" 0 "neutral" 0>
+ <C C4 1 880 160 -26 17 0 0 "1.5 nF" 1 "" 0 "neutral" 0>
+ <C C5 1 870 360 17 -26 0 1 "1.5 nF" 1 "" 0 "neutral" 0>
</Components>
<Wires>
<10 190 10 240 "" 0 0 0 "">
<10 240 10 270 "" 0 0 0 "">
- <10 240 130 240 "" 0 0 0 "">
<10 330 10 390 "" 0 0 0 "">
- <680 390 680 400 "" 0 0 0 "">
- <10 390 630 390 "" 0 0 0 "">
- <630 390 680 390 "" 0 0 0 "">
- <630 260 630 390 "" 0 0 0 "">
- <680 390 830 390 "" 0 0 0 "">
- <830 340 830 390 "" 0 0 0 "">
- <830 220 830 280 "" 0 0 0 "">
- <830 390 900 390 "" 0 0 0 "">
- <900 220 900 390 "" 0 0 0 "">
- <830 220 880 220 "" 0 0 0 "">
- <190 240 300 240 "" 0 0 0 "">
- <360 240 470 240 "" 0 0 0 "">
- <470 320 490 320 "" 0 0 0 "">
- <470 240 470 320 "" 0 0 0 "">
- <780 220 830 220 "" 0 0 0 "">
- <680 220 720 220 "" 0 0 0 "">
- <680 220 680 320 "" 0 0 0 "">
- <550 320 680 320 "" 0 0 0 "">
- <470 240 580 240 "" 0 0 0 "">
- <900 390 970 390 "" 0 0 0 "">
- <970 110 970 390 "" 0 0 0 "">
- <970 20 970 50 "" 0 0 0 "">
- <580 80 580 90 "" 0 0 0 "">
- <580 20 630 20 "" 0 0 0 "">
- <630 20 970 20 "" 0 0 0 "">
- <630 20 630 180 "" 0 0 0 "">
- <530 200 580 200 "" 0 0 0 "">
- <530 90 530 200 "" 0 0 0 "">
- <530 90 580 90 "" 0 0 0 "">
+ <10 390 380 390 "" 0 0 0 "">
+ <10 240 70 240 "" 0 0 0 "">
+ <130 240 150 240 "" 0 0 0 "">
+ <210 240 240 240 "" 0 0 0 "">
+ <270 20 270 30 "" 0 0 0 "">
+ <270 20 380 20 "" 0 0 0 "">
+ <270 90 270 100 "" 0 0 0 "">
+ <220 100 270 100 "" 0 0 0 "">
+ <240 240 240 320 "" 0 0 0 "">
+ <240 320 260 320 "" 0 0 0 "">
+ <220 100 220 200 "" 0 0 0 "">
+ <220 200 330 200 "" 0 0 0 "">
+ <430 220 450 220 "" 0 0 0 "">
+ <240 240 330 240 "" 0 0 0 "">
+ <380 260 380 390 "" 0 0 0 "">
+ <380 20 380 180 "" 0 0 0 "">
+ <320 320 450 320 "" 0 0 0 "">
+ <450 220 450 320 "" 0 0 0 "">
+ <380 390 600 390 "" 0 0 0 "">
+ <640 390 640 400 "" 0 0 0 "">
+ <380 20 670 20 "" 0 0 0 "">
+ <640 390 670 390 "" 0 0 0 "">
+ <450 220 480 220 "" 0 0 0 "">
+ <600 220 600 310 "" 0 0 0 "">
+ <600 390 640 390 "" 0 0 0 "">
+ <600 370 600 390 "" 0 0 0 "">
+ <600 220 620 220 "" 0 0 0 "">
+ <670 20 670 200 "" 0 0 0 "">
+ <670 280 670 390 "" 0 0 0 "">
+ <620 260 620 300 "" 0 0 0 "">
+ <620 300 720 300 "" 0 0 0 "">
+ <720 240 720 300 "" 0 0 0 "">
+ <670 390 870 390 "" 0 0 0 "">
+ <670 20 940 20 "" 0 0 0 "">
+ <1240 110 1240 390 "" 0 0 0 "">
+ <1240 20 1240 50 "" 0 0 0 "">
+ <1150 240 1150 290 "" 0 0 0 "">
+ <1150 350 1150 390 "" 0 0 0 "">
+ <1150 390 1190 390 "" 0 0 0 "">
+ <1190 390 1240 390 "" 0 0 0 "">
+ <1190 170 1190 390 "" 0 0 0 "">
+ <1150 240 1170 240 "" 0 0 0 "">
+ <1170 170 1170 240 "" 0 0 0 "">
+ <870 240 870 330 "" 0 0 0 "">
+ <870 240 890 240 "" 0 0 0 "">
+ <890 280 890 320 "" 0 0 0 "">
+ <890 320 990 320 "" 0 0 0 "">
+ <990 260 990 320 "" 0 0 0 "">
+ <720 240 750 240 "" 0 0 0 "">
+ <990 240 990 260 "" 0 0 0 "">
+ <990 240 1090 240 "" 0 0 0 "">
+ <940 20 1240 20 "" 0 0 0 "">
+ <940 20 940 220 "" 0 0 0 "">
+ <940 390 1150 390 "" 0 0 0 "">
+ <940 300 940 390 "" 0 0 0 "">
+ <990 160 990 240 "" 0 0 0 "">
+ <910 160 990 160 "" 0 0 0 "">
+ <810 160 850 160 "" 0 0 0 "">
+ <810 160 810 240 "" 0 0 0 "">
+ <720 140 720 240 "" 0 0 0 "">
+ <650 140 720 140 "" 0 0 0 "">
+ <540 140 590 140 "" 0 0 0 "">
+ <540 140 540 220 "" 0 0 0 "">
+ <870 390 940 390 "" 0 0 0 "">
</Wires>
<Diagrams>
- <Rect 70 755 590 310 3 #c0c0c0 1 00 1 0 0.0002 0.004 1 -3.19938 0.5 3.69314 1 -1 0.2 1 315 0 225 "" "" "">
- <"IN.Vt" #0000ff 0 3 0 0 0>
- <"OUT.Vt" #ff0000 0 3 0 0 0>
- </Rect>
</Diagrams>
<Paintings>
- <Text 10 -40 16 #000000 0 "This is a simulation for the audio\nfrequency input to the STM32 ADC.\nIt receives a 5Vpp signal, must be\nAC coupled, and the ADC wants a\n0 to 3V signal.">
- <Text 450 110 12 #000000 0 "1N749A\n(4.3V)">
- <Text 640 170 12 #000000 0 "LM324">
+ <Text -30 510 16 #000000 0 "This is a simulation for the audio\nfrequency input to the STM32 ADC.\nIt receives a 5Vpp signal, must be\nAC coupled, and the ADC wants a\n0 to 3V signal.">
+ <Text 140 120 12 #000000 0 "1N749A\n(4.3V)">
+ <Text 500 -50 12 #000000 0 "LM324">
</Paintings>