r1802 - developers/werner/usb-pullup

werner at sita.openmoko.org werner at sita.openmoko.org
Thu Apr 19 03:26:41 CEST 2007


Author: werner
Date: 2007-04-19 03:26:34 +0200 (Thu, 19 Apr 2007)
New Revision: 1802

Added:
   developers/werner/usb-pullup/gates.fig
   developers/werner/usb-pullup/npn-pnp.sch
   developers/werner/usb-pullup/two-diodes.sch
Log:
two-diodes.sch: QUCS schematic and simulation of dual diode design
npn-pnp.sch: QUCS schematic and simulation of NPN/PNP pair
gates.fig: schematic (XFig) for solution using 74AUP1Gxx or 74AHC1Gxx gates



Added: developers/werner/usb-pullup/gates.fig
===================================================================
--- developers/werner/usb-pullup/gates.fig	2007-04-18 23:50:06 UTC (rev 1801)
+++ developers/werner/usb-pullup/gates.fig	2007-04-19 01:26:34 UTC (rev 1802)
@@ -0,0 +1,50 @@
+#FIG 3.2
+Landscape
+Center
+Inches
+Letter  
+100.00
+Single
+-2
+1200 2
+5 1 0 1 0 7 50 -1 -1 0.000 0 0 0 0 4500.000 5100.000 4500 4800 4800 5100 4500 5400
+1 3 0 1 0 7 50 -1 -1 0.000 1 0.0000 4875 5100 75 75 4875 5100 4950 5100
+1 3 0 1 0 7 50 -1 -1 0.000 1 0.0000 5700 3825 75 75 5700 3825 5700 3750
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 4
+	 4500 5400 4200 5400 4200 4800 4500 4800
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 4
+	 5400 3300 5400 3900 6000 3600 5400 3300
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3
+	 5700 3900 5700 5100 4950 5100
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 6600 3450 7500 3450 7500 3750 6600 3750 6600 3450
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 6000 3600 6600 3600
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 7500 3600 8100 3600
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 2550 4950 4200 4950
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 3000 5250 4200 5250
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 3450 5700 3750 5700 3750 6600 3450 6600 3450 5700
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 3600 5250 3600 5700
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 3600 6600 3600 7200
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2
+	 3300 7200 3900 7200
+2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 3
+	 5400 3600 4800 3600 4800 2700
+2 1 1 1 0 7 50 -1 -1 4.000 0 0 -1 0 0 2
+	 8100 3600 9000 3600
+4 0 0 50 -1 0 12 0.0000 4 180 1140 1800 5325 USB_PULLUP\001
+4 0 0 50 -1 0 12 0.0000 4 135 660 1800 5025 nRESET\001
+4 1 0 50 -1 0 12 0.0000 4 180 600 4800 2625 IO_3V3\001
+4 0 0 50 -1 0 12 0.0000 4 135 270 6600 4050 1k5\001
+4 0 0 50 -1 0 12 0.0000 4 135 480 6600 3375 R4910\001
+4 0 0 50 -1 0 12 0.0000 4 135 360 3900 6225 360k\001
+4 0 0 50 -1 0 12 0.0000 4 135 960 3900 4725 74AUP1G00\001
+4 0 0 50 -1 0 12 0.0000 4 135 1050 5100 3225 74AUP1G125\001
+4 0 0 50 -1 0 12 0.0000 4 135 3060 4800 6525 Note: can also use AHC instead of AUP\001
+4 0 0 50 -1 0 12 0.0000 4 135 240 9075 3675 D+\001

Added: developers/werner/usb-pullup/npn-pnp.sch
===================================================================
--- developers/werner/usb-pullup/npn-pnp.sch	2007-04-18 23:50:06 UTC (rev 1801)
+++ developers/werner/usb-pullup/npn-pnp.sch	2007-04-19 01:26:34 UTC (rev 1802)
@@ -0,0 +1,93 @@
+<Qucs Schematic 0.0.11>
+<Properties>
+  <View=-41,0,1090,873,1,41,0>
+  <Grid=10,10,1>
+  <DataSet=npn-pnp.dat>
+  <DataDisplay=npn-pnp.dpl>
+  <OpenDisplay=1>
+  <showFrame=0>
+  <FrameText0=Title>
+  <FrameText1=Drawn By:>
+  <FrameText2=Date:>
+  <FrameText3=Revision:>
+</Properties>
+<Symbol>
+</Symbol>
+<Components>
+  <Switch S1 1 130 220 -26 11 0 0 "off" 0 "1 ms" 0 "0" 0 "1e12" 0 "26.85" 0>
+  <GND * 1 60 440 0 0 0 0>
+  <GND * 1 60 260 0 0 0 0>
+  <GND * 1 800 360 0 0 0 0>
+  <Vdc V1 1 800 290 18 -26 0 1 "3.3 V" 1>
+  <Idc I1 1 220 470 18 -26 0 1 "-10 uA" 1>
+  <GND * 1 220 540 0 0 0 0>
+  <R R6 1 900 150 15 -26 0 1 "1.5  kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <GND * 1 900 360 0 0 0 0>
+  <R R7 1 900 280 15 -26 0 1 "Rusb" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <R R5 1 220 330 15 -26 0 1 "33 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <GND * 1 680 510 0 0 0 0>
+  <R R3 1 680 450 15 -26 0 1 "Rusb" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <R R4 1 680 350 15 -26 0 1 "1.5 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <GND * 1 450 480 0 0 0 0>
+  <R R8 1 330 400 -26 15 0 0 "47kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <_BJT T2 1 450 400 8 -26 0 0 "npn" 1 "1e-16" 1 "1" 1 "1" 0 "0" 0 "0" 0 "0" 1 "0" 0 "0" 0 "1.5" 0 "0" 0 "2" 0 "50" 1 "1" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0.75" 0 "0.33" 0 "0" 0 "0.75" 0 "0.33" 0 "1.0" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "0.0" 0 "3.0" 0 "1.11" 0 "26.85" 0 "1.0" 0>
+  <_BJT T1 1 680 220 8 -26 1 0 "pnp" 1 "1e-16" 1 "1" 1 "1" 0 "0" 0 "0" 0 "0" 1 "0" 0 "0" 0 "1.5" 0 "0" 0 "2" 0 "50" 1 "1" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0.75" 0 "0.33" 0 "0" 0 "0.75" 0 "0.33" 0 "1.0" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "0.0" 0 "3.0" 0 "1.11" 0 "26.85" 0 "1.0" 0>
+  <Eqn Eqn1 1 330 130 -24 14 0 0 "err=(Vusb.V/Rref.V-1)*100" 1 "yes" 0>
+  <.DC DC1 1 70 90 0 33 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "yes" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
+  <.SW SW1 1 380 570 0 51 0 0 "DC1" 1 "log" 1 "Rusb" 1 "1 Ohm" 1 "1 MOhm" 1 "50" 1>
+  <R R9 1 580 130 15 -26 0 1 "47 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <R R10 1 520 220 -26 15 0 0 "33 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <Switch S2 1 130 400 -26 11 0 0 "off" 0 "1 ms" 0 "0" 0 "1e12" 0 "26.85" 0>
+</Components>
+<Wires>
+  <160 400 220 400 "" 0 0 0 "">
+  <220 400 300 400 "nRESET" 260 360 20 "">
+  <220 360 220 400 "" 0 0 0 "">
+  <60 220 60 260 "" 0 0 0 "">
+  <60 220 100 220 "" 0 0 0 "">
+  <60 400 60 440 "" 0 0 0 "">
+  <60 400 100 400 "" 0 0 0 "">
+  <800 60 800 260 "" 0 0 0 "">
+  <800 320 800 360 "" 0 0 0 "">
+  <220 60 220 300 "" 0 0 0 "">
+  <220 60 580 60 "" 0 0 0 "">
+  <220 400 220 440 "" 0 0 0 "">
+  <220 500 220 540 "" 0 0 0 "">
+  <800 60 900 60 "" 0 0 0 "">
+  <900 60 900 120 "" 0 0 0 "">
+  <900 180 900 250 "Rref" 930 190 37 "">
+  <900 310 900 360 "" 0 0 0 "">
+  <680 480 680 510 "" 0 0 0 "">
+  <680 380 680 420 "Vusb" 730 390 40 "">
+  <680 60 800 60 "" 0 0 0 "">
+  <680 60 680 190 "" 0 0 0 "">
+  <680 250 680 320 "" 0 0 0 "">
+  <160 220 450 220 "" 0 0 0 "">
+  <580 60 680 60 "" 0 0 0 "">
+  <580 60 580 100 "" 0 0 0 "">
+  <580 220 650 220 "" 0 0 0 "">
+  <580 160 580 220 "" 0 0 0 "">
+  <450 220 450 370 "" 0 0 0 "">
+  <360 400 420 400 "" 0 0 0 "">
+  <450 430 450 480 "" 0 0 0 "">
+  <550 220 580 220 "" 0 0 0 "">
+  <450 220 490 220 "" 0 0 0 "">
+</Wires>
+<Diagrams>
+  <Rect 60 760 240 160 3 #c0c0c0 1 12 1 100 1 100000 1 -0.698248 2 4 1 -0.01 1 -3e-05 315 0 225 "" "" "">
+	<"V1.I" #0000ff 0 3 0 0 1>
+	<"Vusb.V" #ff00ff 0 3 0 0 0>
+	<"Rref.V" #ff0000 0 3 0 0 0>
+  </Rect>
+  <Rect 760 560 240 160 3 #c0c0c0 1 10 1 1 1 1e+06 0 -5 5 1 1 -1 1 1 315 0 225 "" "" "">
+	<"err" #000000 0 3 0 0 0>
+  </Rect>
+  <Tab 540 762 361 162 3 #c0c0c0 1 00 1 41 1 1 1 0 1 1 1 0 1 50 315 0 225 "" "" "">
+	<"V1.I" #0000ff 0 3 1 0 0>
+	<"nRESET.V" #0000ff 0 3 1 0 0>
+	<"Vusb.V" #0000ff 0 3 1 0 0>
+	<"Rref.V" #0000ff 0 3 1 0 0>
+  </Tab>
+</Diagrams>
+<Paintings>
+</Paintings>

Added: developers/werner/usb-pullup/two-diodes.sch
===================================================================
--- developers/werner/usb-pullup/two-diodes.sch	2007-04-18 23:50:06 UTC (rev 1801)
+++ developers/werner/usb-pullup/two-diodes.sch	2007-04-19 01:26:34 UTC (rev 1802)
@@ -0,0 +1,90 @@
+<Qucs Schematic 0.0.11>
+<Properties>
+  <View=-41,0,1090,873,1,41,0>
+  <Grid=10,10,1>
+  <DataSet=two-diodes.dat>
+  <DataDisplay=two-diodes.dpl>
+  <OpenDisplay=1>
+  <showFrame=0>
+  <FrameText0=Title>
+  <FrameText1=Drawn By:>
+  <FrameText2=Date:>
+  <FrameText3=Revision:>
+</Properties>
+<Symbol>
+</Symbol>
+<Components>
+  <Switch S1 1 130 220 -26 11 0 0 "off" 0 "1 ms" 0 "0" 0 "1e12" 0 "26.85" 0>
+  <Switch S2 1 130 400 -26 11 0 0 "off" 0 "1 ms" 0 "0" 0 "1e12" 0 "26.85" 0>
+  <GND * 1 620 500 0 0 0 0>
+  <GND * 1 60 440 0 0 0 0>
+  <GND * 1 60 260 0 0 0 0>
+  <GND * 1 800 360 0 0 0 0>
+  <Vdc V1 1 800 290 18 -26 0 1 "3.3 V" 1>
+  <_BJT T1 1 620 320 8 -26 0 0 "npn" 1 "1e-16" 1 "1" 1 "1" 0 "0" 0 "0" 0 "0" 1 "0" 0 "0" 0 "1.5" 0 "0" 0 "2" 0 "50" 1 "1" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0" 0 "0.75" 0 "0.33" 0 "0" 0 "0.75" 0 "0.33" 0 "1.0" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "0.0" 0 "3.0" 0 "1.11" 0 "26.85" 0 "1.0" 0>
+  <R R4 1 620 220 15 -26 0 1 "1.5 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <Idc I1 1 220 470 18 -26 0 1 "-10 uA" 1>
+  <GND * 1 220 540 0 0 0 0>
+  <R R3 1 620 440 15 -26 0 1 "Rusb" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <R R6 1 900 150 15 -26 0 1 "1.5  kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <GND * 1 900 360 0 0 0 0>
+  <R R7 1 900 280 15 -26 0 1 "Rusb" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <R R5 1 220 330 15 -26 0 1 "33 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <R R1 1 420 130 15 -26 0 1 "22 kOhm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
+  <.SW SW1 1 390 610 0 51 0 0 "DC1" 1 "log" 1 "Rusb" 1 "1 Ohm" 1 "0.9 MOhm" 1 "17" 1>
+  <Eqn Eqn1 1 270 110 -24 14 0 0 "err=(Vusb.V/Rref.V-1)*100" 1 "yes" 0>
+  <.DC DC1 1 50 70 0 33 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "yes" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
+  <Diode D1 1 330 220 -26 15 0 0 "1e-15 A" 1 "1" 1 "10 fF" 1 "0.5" 0 "0.7 V" 0 "0.5" 0 "0.0 fF" 0 "0.0" 0 "2.0" 0 "0 Ohm" 0 "0.0 ps" 0 "0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0" 0 "1 mA" 0 "26.85" 0 "3.0" 0 "1.11" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "1.0" 0 "normal" 0>
+  <Diode D2 1 330 400 -26 15 0 0 "1e-15 A" 1 "1" 1 "10 fF" 1 "0.5" 0 "0.7 V" 0 "0.5" 0 "0.0 fF" 0 "0.0" 0 "2.0" 0 "0 Ohm" 0 "0.0 ps" 0 "0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0" 0 "1 mA" 0 "26.85" 0 "3.0" 0 "1.11" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "1.0" 0 "normal" 0>
+</Components>
+<Wires>
+  <160 220 300 220 "" 0 0 0 "">
+  <160 400 220 400 "" 0 0 0 "">
+  <220 400 300 400 "nRESET" 260 360 20 "">
+  <220 360 220 400 "" 0 0 0 "">
+  <360 400 420 400 "" 0 0 0 "">
+  <360 220 420 220 "" 0 0 0 "">
+  <420 220 420 320 "" 0 0 0 "">
+  <420 320 420 400 "" 0 0 0 "">
+  <620 250 620 290 "" 0 0 0 "">
+  <420 160 420 220 "" 0 0 0 "">
+  <60 220 60 260 "" 0 0 0 "">
+  <60 220 100 220 "" 0 0 0 "">
+  <60 400 60 440 "" 0 0 0 "">
+  <60 400 100 400 "" 0 0 0 "">
+  <420 60 420 100 "" 0 0 0 "">
+  <800 60 800 260 "" 0 0 0 "">
+  <420 60 620 60 "" 0 0 0 "">
+  <620 60 800 60 "" 0 0 0 "">
+  <620 60 620 190 "" 0 0 0 "">
+  <800 320 800 360 "" 0 0 0 "">
+  <220 60 220 300 "" 0 0 0 "">
+  <220 60 420 60 "" 0 0 0 "">
+  <220 400 220 440 "" 0 0 0 "">
+  <220 500 220 540 "" 0 0 0 "">
+  <620 470 620 500 "" 0 0 0 "">
+  <620 350 620 410 "Vusb" 700 410 34 "">
+  <800 60 900 60 "" 0 0 0 "">
+  <900 60 900 120 "" 0 0 0 "">
+  <900 180 900 250 "Rref" 930 190 37 "">
+  <900 310 900 360 "" 0 0 0 "">
+  <420 320 590 320 "" 0 0 0 "">
+</Wires>
+<Diagrams>
+  <Rect 60 760 240 160 3 #c0c0c0 1 12 1 100 1 100000 1 -0.698248 2 4 1 -0.01 1 -3e-05 315 0 225 "" "" "">
+	<"V1.I" #0000ff 0 3 0 0 1>
+	<"Vusb.V" #ff00ff 0 3 0 0 0>
+	<"Rref.V" #ff0000 0 3 0 0 0>
+  </Rect>
+  <Tab 540 772 361 162 3 #c0c0c0 1 00 1 8 1 1 1 0 1 1 1 0 1 17 315 0 225 "" "" "">
+	<"V1.I" #0000ff 0 3 1 0 0>
+	<"nRESET.V" #0000ff 0 3 1 0 0>
+	<"Vusb.V" #0000ff 0 3 1 0 0>
+	<"Rref.V" #0000ff 0 3 1 0 0>
+  </Tab>
+  <Rect 740 580 240 160 3 #c0c0c0 1 10 1 1 1 1e+06 0 -20 5 5 1 -1 1 1 315 0 225 "" "" "">
+	<"err" #000000 0 3 0 0 0>
+  </Rect>
+</Diagrams>
+<Paintings>
+</Paintings>





More information about the commitlog mailing list