Browse Source

schematic done(?)

rev4
Triss 8 months ago
parent
commit
4cd5db4d59
  1. 1
      .gitignore
  2. 1355
      controller.sch
  3. 5213
      glitcher.kicad_pcb
  4. 2
      glitcher.pro
  5. 706
      glitcher.sch
  6. 190
      glitchout.sch
  7. 333
      gpio.sch
  8. 456
      psu.sch
  9. 368
      psuflt.sch

1
.gitignore

@ -1,3 +1,4 @@
*-cache*
sym-lib-table
*-bak
fp-lib-table

1355
controller.sch
File diff suppressed because it is too large
View File

5213
glitcher.kicad_pcb
File diff suppressed because it is too large
View File

2
glitcher.pro

@ -1,4 +1,4 @@
update=ma 06 dec 2021 23:35:12
update=Sun Dec 19 05:33:33 2021
version=1
last_client=kicad
[general]

706
glitcher.sch

@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Sheet 1 6
Title ""
Date ""
Rev ""
@ -13,573 +13,207 @@ Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Device:D D2
U 1 1 61AEEF48
P 6000 3950
F 0 "D2" H 6000 4167 50 0000 C CNN
F 1 "1N4148" H 6000 4076 50 0000 C CNN
F 2 "" H 6000 3950 50 0001 C CNN
F 3 "~" H 6000 3950 50 0001 C CNN
1 6000 3950
1 0 0 -1
$EndComp
$Comp
L Device:D D1
U 1 1 61AEF64D
P 5500 4450
F 0 "D1" H 5500 4667 50 0000 C CNN
F 1 "1N4001" H 5500 4576 50 0000 C CNN
F 2 "" H 5500 4450 50 0001 C CNN
F 3 "~" H 5500 4450 50 0001 C CNN
1 5500 4450
1 0 0 -1
$EndComp
$Comp
L Device:C C1
U 1 1 61AF08B8
P 6250 4450
F 0 "C1" H 6365 4496 50 0000 L CNN
F 1 "0.47..1 uF" H 6365 4405 50 0000 L CNN
F 2 "" H 6288 4300 50 0001 C CNN
F 3 "~" H 6250 4450 50 0001 C CNN
1 6250 4450
1 0 0 -1
$EndComp
$Comp
L misc-mcus:R5F1054AASP U2
U 1 1 61AF17B2
P 7300 4500
F 0 "U2" H 7300 5115 50 0000 C CNN
F 1 "R5F1054AASP" H 7300 5024 50 0000 C CNN
F 2 "Package_SO:SSOP-16_4.4x5.2mm_P0.65mm" H 7300 4000 50 0001 C CNN
F 3 "https://www.renesas.com/us/en/document/dst/rl78g11-datasheet-rev240?language=en&r=1054276" H 7100 4050 50 0001 C CNN
1 7300 4500
1 0 0 -1
$EndComp
$Comp
L MCU_RaspberryPi_and_Boards:Pico U1
U 1 1 61AF49FE
P 9200 4350
F 0 "U1" H 9200 5565 50 0000 C CNN
F 1 "Pico" H 9200 5474 50 0000 C CNN
F 2 "RPi_Pico:RPi_Pico_SMD_TH" V 9200 4350 50 0001 C CNN
F 3 "" H 9200 4350 50 0001 C CNN
1 9200 4350
1 0 0 -1
$EndComp
NoConn ~ 9900 3500
NoConn ~ 9900 3400
NoConn ~ 9900 3700
NoConn ~ 9900 3900
NoConn ~ 9900 5000
NoConn ~ 9900 4900
NoConn ~ 9900 4800
NoConn ~ 9900 4700
NoConn ~ 9900 4500
NoConn ~ 9900 4300
NoConn ~ 9900 4200
NoConn ~ 9900 4000
NoConn ~ 8500 3700
NoConn ~ 8500 3800
NoConn ~ 8500 3900
NoConn ~ 8500 4000
NoConn ~ 8500 4200
NoConn ~ 8500 4300
NoConn ~ 8500 4400
NoConn ~ 8500 4500
NoConn ~ 8500 4700
NoConn ~ 8500 4800
NoConn ~ 8500 4900
NoConn ~ 8500 5000
NoConn ~ 9100 5500
NoConn ~ 9300 5500
NoConn ~ 7800 4850
NoConn ~ 7800 4750
NoConn ~ 7800 4650
NoConn ~ 7800 4550
NoConn ~ 7800 4450
NoConn ~ 7800 4350
NoConn ~ 7800 4250
NoConn ~ 6800 4550
NoConn ~ 6800 4450
NoConn ~ 6800 4350
Wire Wire Line
7800 4150 8100 4150
Wire Wire Line
8100 4150 8100 5200
Wire Wire Line
6150 3950 6200 3950
Wire Wire Line
6200 3950 6200 4150
Wire Wire Line
5850 3950 5750 3950
Connection ~ 6200 4150
Wire Wire Line
5750 4150 6200 4150
Text GLabel 5250 4450 0 50 Input ~ 0
nRESET_OUT
Text GLabel 5750 4150 0 50 Input ~ 0
TOOL0_RX
Text GLabel 5750 3950 0 50 Input ~ 0
TOOL0_TX
Wire Wire Line
5350 4450 5250 4450
Wire Wire Line
5750 4250 5750 4450
Wire Wire Line
5750 4450 5650 4450
Text Label 5800 4250 0 50 ~ 0
nRST
Text Label 7850 4150 0 50 ~ 0
P2.0
Text Label 8150 5200 0 50 ~ 0
TRIG_IN
Wire Wire Line
8100 5200 8500 5200
Text GLabel 10000 5300 2 50 Input ~ 0
nRESET_OUT
Wire Wire Line
9900 5300 10000 5300
Wire Wire Line
9900 5200 10000 5200
Text GLabel 10000 5200 2 50 Input ~ 0
TOOL0
Wire Wire Line
2500 4950 2600 4950
Wire Wire Line
1800 5050 1900 5050
Wire Wire Line
1900 4850 1750 4850
Text Label 2550 4950 0 50 ~ 0
Vdd_GLITCH
Wire Wire Line
6250 4650 6250 4600
Wire Wire Line
6250 4650 6800 4650
Wire Wire Line
5750 4250 6800 4250
$Comp
L 4xxx:4053 U3
U 1 1 61C6D280
P 3850 4850
F 0 "U3" H 3850 5931 50 0000 C CNN
F 1 "MAX4619CPE" H 3850 5840 50 0000 C CNN
F 2 "Package_DIP:DIP-16_W7.62mm" H 3850 4850 50 0001 C CNN
F 3 "http://www.intersil.com/content/dam/Intersil/documents/cd40/cd4051bms-52bms-53bms.pdf" H 3850 4850 50 0001 C CNN
1 3850 4850
1 0 0 -1
$EndComp
Wire Wire Line
6800 4850 6700 4850
Wire Wire Line
2600 4950 3000 4950
Connection ~ 2600 4950
Wire Wire Line
8500 5300 7650 5300
Wire Wire Line
7650 5300 7650 6200
Wire Wire Line
7650 6200 3200 6200
Wire Wire Line
3200 6200 3200 5450
Wire Wire Line
3200 5450 3350 5450
Text Label 8000 5300 0 50 ~ 0
GLITCH_OUT
Wire Wire Line
6700 4950 6700 4850
Connection ~ 6700 4850
Wire Wire Line
6700 4850 4450 4850
$Comp
L power:GND #PWR?
U 1 1 61C9B5BE
P 9200 5650
F 0 "#PWR?" H 9200 5400 50 0001 C CNN
F 1 "GND" H 9205 5477 50 0000 C CNN
F 2 "" H 9200 5650 50 0001 C CNN
F 3 "" H 9200 5650 50 0001 C CNN
1 9200 5650
1 0 0 -1
$EndComp
Wire Wire Line
9200 5500 9200 5650
$Comp
L power:GND #PWR?
U 1 1 61C9DFBB
P 10600 4350
F 0 "#PWR?" H 10600 4100 50 0001 C CNN
F 1 "GND" V 10605 4222 50 0000 R CNN
F 2 "" H 10600 4350 50 0001 C CNN
F 3 "" H 10600 4350 50 0001 C CNN
1 10600 4350
0 -1 -1 0
$EndComp
Wire Wire Line
9900 3600 10500 3600
Wire Wire Line
10500 4350 10600 4350
Wire Wire Line
9900 4600 10500 4600
Wire Wire Line
10500 4600 10500 4350
Wire Wire Line
9900 5100 10500 5100
Wire Wire Line
10500 5100 10500 4600
Connection ~ 10500 4600
Wire Wire Line
9900 4100 10500 4100
Wire Wire Line
10500 3600 10500 4100
Connection ~ 10500 4100
NoConn ~ 9900 4400
$Comp
L power:+3.3V #PWR?
U 1 1 61CA3F60
P 10050 3800
F 0 "#PWR?" H 10050 3650 50 0001 C CNN
F 1 "+3.3V" V 10065 3928 50 0000 L CNN
F 2 "" H 10050 3800 50 0001 C CNN
F 3 "" H 10050 3800 50 0001 C CNN
1 10050 3800
$Sheet
S 850 800 1900 2350
U 61CA977C
F0 "controller" 50
F1 "controller.sch" 50
$EndSheet
Text Notes 950 4950 0 50 ~ 0
The controller is a RP2040 based design\n(either a pluggable Pico or a custom thing\non the board). it also has extra UART and\nSWD ports, and an extra Vbus cap.\n\nIt controls or monitors:\n* GPIO ports connected to the target\n* The trigger input\n* The glitch output\n* The digipot to tune the output voltages\n (power supplies to the target)\n* Monitors the output voltages using ADC\n (for digital feedback control)\n* (Optional) PWM out for voltage control\n\nIn the future, a QL EOS S3 based design\ncould be made as well, but for this I first\nneed to wait for supplies etc.
$Sheet
S 3050 800 1700 2350
U 61CA9826
F0 "gpio" 50
F1 "gpio.sch" 50
$EndSheet
Text Notes 3350 4100 0 50 ~ 0
The GPIO connections going to\nthe target MCU (and also the\ntrigger and power-out\nconnectors to the target).\nThese GPIOs can optionally use\ndiodes to prevent a few bad\nsituations. (TODO: add level\nshifter?)
$Sheet
S 5100 800 1600 2350
U 61CA9896
F0 "psu" 50
F1 "psu.sch" 50
$EndSheet
Text Notes 5350 4100 0 50 ~ 0
This sheet defines the power\nsupplies to control the voltage\nsupply to the target. Several\nvariants can be used:\n* controller PWM out\n* pluggable WPM404 module\n* LM2596-based buck-boost\n converter
$Sheet
S 7000 800 1700 2350
U 61CA98F5
F0 "psuflt" 50
F1 "psuflt.sch" 50
$EndSheet
Text Notes 7150 3950 0 50 ~ 0
This sheet defines the active filter\nplaced after the power supply itself.\nThis is used to reduce ripple on the\nrail. Additionally, the voltage sense\nconnection and low-voltage\ndigipots are placed here as well.
$Sheet
S 9050 800 1800 2350
U 61CA99C0
F0 "glitchout" 50
F1 "glitchout.sch" 50
$EndSheet
Text Notes 9100 3950 0 50 ~ 0
MAX4619-based mux that performs the\nswitching between the high and low (glitch)\nsupply voltages. Also allows for switching\nbetween 3V3/Vbus and DCDC-output for\nthe high level, and GND and digipot-out\nfor the low (glitch) level.
$Comp
L Mechanical:MountingHole H1
U 1 1 61CB1334
P 1000 7400
F 0 "H1" H 1100 7446 50 0000 L CNN
F 1 "MountingHole" H 1100 7355 50 0000 L CNN
F 2 "MountingHole:MountingHole_3.2mm_M3_Pad_Via" H 1000 7400 50 0001 C CNN
F 3 "~" H 1000 7400 50 0001 C CNN
1 1000 7400
1 0 0 -1
$EndComp
$Comp
L Mechanical:MountingHole H2
U 1 1 61CB1A97
P 1800 7400
F 0 "H2" H 1900 7446 50 0000 L CNN
F 1 "MountingHole" H 1900 7355 50 0000 L CNN
F 2 "MountingHole:MountingHole_3.2mm_M3_Pad_Via" H 1800 7400 50 0001 C CNN
F 3 "~" H 1800 7400 50 0001 C CNN
1 1800 7400
1 0 0 -1
$EndComp
$Comp
L Mechanical:MountingHole H3
U 1 1 61CB1D1A
P 2600 7400
F 0 "H3" H 2700 7446 50 0000 L CNN
F 1 "MountingHole" H 2700 7355 50 0000 L CNN
F 2 "MountingHole:MountingHole_3.2mm_M3_Pad_Via" H 2600 7400 50 0001 C CNN
F 3 "~" H 2600 7400 50 0001 C CNN
1 2600 7400
1 0 0 -1
$EndComp
$Comp
L Mechanical:MountingHole H4
U 1 1 61CB1D20
P 3400 7400
F 0 "H4" H 3500 7446 50 0000 L CNN
F 1 "MountingHole" H 3500 7355 50 0000 L CNN
F 2 "MountingHole:MountingHole_3.2mm_M3_Pad_Via" H 3400 7400 50 0001 C CNN
F 3 "~" H 3400 7400 50 0001 C CNN
1 3400 7400
1 0 0 -1
$EndComp
$Comp
L Switch:SW_Push SW1
U 1 1 61CD9B9D
P 4750 6850
F 0 "SW1" V 4704 6998 50 0000 L CNN
F 1 "SW_Push" V 4795 6998 50 0000 L CNN
F 2 "Button_Switch_THT:SW_PUSH_6mm" H 4750 7050 50 0001 C CNN
F 3 "~" H 4750 7050 50 0001 C CNN
1 4750 6850
0 1 1 0
$EndComp
Text GLabel 4650 6350 0 50 Input ~ 0
EMERG
Wire Wire Line
10050 3800 9900 3800
Connection ~ 10500 4350
Wire Wire Line
10500 4100 10500 4350
4750 6650 4750 6600
Wire Wire Line
8500 3400 8400 3400
Wire Wire Line
8500 3500 8400 3500
Text GLabel 8400 3400 0 50 Input ~ 0
PICO_STDIO_UART_TX
Text GLabel 8400 3500 0 50 Input ~ 0
PICO_STDIO_UART_RX
4750 7050 4750 7100
$Comp
L power:GND #PWR?
U 1 1 61CAD843
P 8150 3850
F 0 "#PWR?" H 8150 3600 50 0001 C CNN
F 1 "GND" V 8155 3722 50 0000 R CNN
F 2 "" H 8150 3850 50 0001 C CNN
F 3 "" H 8150 3850 50 0001 C CNN
1 8150 3850
0 1 1 0
$EndComp
Wire Wire Line
8500 3600 8350 3600
Wire Wire Line
8350 3600 8350 3850
Wire Wire Line
8350 4100 8500 4100
Wire Wire Line
8500 4600 8350 4600
Wire Wire Line
8350 4600 8350 4100
Connection ~ 8350 4100
Wire Wire Line
8500 5100 8350 5100
Wire Wire Line
8350 5100 8350 4600
Connection ~ 8350 4600
Wire Wire Line
8150 3850 8350 3850
Connection ~ 8350 3850
Wire Wire Line
8350 3850 8350 4100
$Comp
L power:GND #PWR?
U 1 1 61CB2E8C
P 5950 4600
F 0 "#PWR?" H 5950 4350 50 0001 C CNN
F 1 "GND" H 5955 4427 50 0000 C CNN
F 2 "" H 5950 4600 50 0001 C CNN
F 3 "" H 5950 4600 50 0001 C CNN
1 5950 4600
L power:GND #PWR0101
U 1 1 61CDA900
P 4750 7200
F 0 "#PWR0101" H 4750 6950 50 0001 C CNN
F 1 "GND" H 4755 7027 50 0000 C CNN
F 2 "" H 4750 7200 50 0001 C CNN
F 3 "" H 4750 7200 50 0001 C CNN
1 4750 7200
1 0 0 -1
$EndComp
Wire Wire Line
6800 4750 6100 4750
Wire Wire Line
6100 4750 6100 4500
Wire Wire Line
6100 4500 5950 4500
Wire Wire Line
5950 4500 5950 4600
Wire Wire Line
6250 4300 5950 4300
Wire Wire Line
5950 4300 5950 4500
Connection ~ 5950 4500
$Comp
L power:GND #PWR?
U 1 1 61CB7E43
P 3900 5850
F 0 "#PWR?" H 3900 5600 50 0001 C CNN
F 1 "GND" H 3905 5677 50 0000 C CNN
F 2 "" H 3900 5850 50 0001 C CNN
F 3 "" H 3900 5850 50 0001 C CNN
1 3900 5850
1 0 0 -1
$EndComp
Wire Wire Line
3850 5750 3850 5800
Wire Wire Line
3850 5800 3900 5800
Wire Wire Line
3950 5800 3950 5750
Wire Wire Line
3900 5850 3900 5800
Connection ~ 3900 5800
Wire Wire Line
3900 5800 3950 5800
$Comp
L power:GND #PWR?
U 1 1 61CBEA1A
P 3200 5150
F 0 "#PWR?" H 3200 4900 50 0001 C CNN
F 1 "GND" V 3205 5022 50 0000 R CNN
F 2 "" H 3200 5150 50 0001 C CNN
F 3 "" H 3200 5150 50 0001 C CNN
1 3200 5150
0 1 1 0
$EndComp
Wire Wire Line
3350 5150 3200 5150
Wire Wire Line
3350 5350 3200 5350
Wire Wire Line
3200 5350 3200 5450
Connection ~ 3200 5450
Wire Wire Line
3350 5250 3200 5250
Wire Wire Line
3200 5250 3200 5350
Connection ~ 3200 5350
Wire Wire Line
4350 4250 4450 4250
Wire Wire Line
4450 4250 4450 4550
Connection ~ 4450 4850
Wire Wire Line
4450 4850 4350 4850
Wire Wire Line
4350 4550 4450 4550
Connection ~ 4450 4550
Wire Wire Line
4450 4550 4450 4850
Wire Wire Line
3000 4650 3350 4650
Connection ~ 3000 4950
Wire Wire Line
3000 4950 3350 4950
Wire Wire Line
3350 4350 3000 4350
Wire Wire Line
3000 4350 3000 4650
Connection ~ 3000 4650
Wire Wire Line
3000 4650 3000 4950
Wire Wire Line
3300 3700 3300 3900
Wire Wire Line
3300 4250 3350 4250
Wire Wire Line
3850 3950 3850 3900
Wire Wire Line
3850 3900 3300 3900
Connection ~ 3300 3900
Wire Wire Line
3300 3900 3300 4250
Wire Wire Line
3300 4250 3300 4550
Wire Wire Line
3300 4550 3350 4550
Connection ~ 3300 4250
Wire Wire Line
3350 4850 3300 4850
Wire Wire Line
3300 4850 3300 4550
Connection ~ 3300 4550
Text Notes 4900 6350 0 50 ~ 0
Emergency reset button
$Comp
L Amplifier_Operational:LM358 U4
U 1 1 61AE8DAA
P 2200 4950
F 0 "U4" H 2200 5317 50 0000 C CNN
F 1 "AS358P-E1" H 2200 5226 50 0000 C CNN
F 2 "Package_DIP:DIP-8_W7.62mm" H 2200 4950 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 2200 4950 50 0001 C CNN
1 2200 4950
L Device:Q_NMOS_DGS Q1
U 1 1 628AFC7E
P 5850 6600
F 0 "Q1" H 6054 6646 50 0000 L CNN
F 1 "Q_NMOS_DGS" H 6054 6555 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 6050 6700 50 0001 C CNN
F 3 "~" H 5850 6600 50 0001 C CNN
1 5850 6600
1 0 0 -1
$EndComp
Connection ~ 6250 4150
Wire Wire Line
6200 4150 6250 4150
4750 7100 5950 7100
Wire Wire Line
6250 4150 6800 4150
5950 7100 5950 6800
Connection ~ 4750 7100
Wire Wire Line
6250 3600 6250 3500
$Comp
L power:+3.3V #PWR?
U 1 1 61CF17E5
P 6250 3500
F 0 "#PWR?" H 6250 3350 50 0001 C CNN
F 1 "+3.3V" H 6265 3673 50 0000 C CNN
F 2 "" H 6250 3500 50 0001 C CNN
F 3 "" H 6250 3500 50 0001 C CNN
1 6250 3500
1 0 0 -1
$EndComp
4750 7100 4750 7200
Wire Wire Line
6250 3900 6250 4150
$Comp
L Device:R R1
U 1 1 61AEFF98
P 6250 3750
F 0 "R1" H 6320 3796 50 0000 L CNN
F 1 "47k" H 6320 3705 50 0000 L CNN
F 2 "" V 6180 3750 50 0001 C CNN
F 3 "~" H 6250 3750 50 0001 C CNN
1 6250 3750
1 0 0 -1
$EndComp
Text Label 6300 4150 0 50 ~ 0
TOOL0
Text Notes 6350 3600 0 50 ~ 0
TOOL0 needs a pullup, it\ngoes low when glitching
Text Notes 7550 3300 0 50 ~ 0
UART stdio for debug
Text Notes 8050 3000 0 50 ~ 0
use a Pico to control the glitching process: monitor TRIG_IN for\nwhen glitching should happen, use GLITCH_OUT to do a glitch,\nand use TOOL0 and ~RESET~ to control the MCU
Text Notes 10550 3900 0 50 ~ 0
Pico is also the\npower source\nfor everything
Wire Notes Line
6200 4500 6200 5650
Wire Notes Line
5150 4250 5150 3850
Wire Notes Line
5450 4250 5150 4250
Wire Notes Line
6000 3700 6000 3550
Wire Notes Line
6000 3550 5600 3550
Text Notes 4900 3850 0 50 ~ 0
protection diodes to\navoid short-circuits.\nuse TOOL_TX/RX if\nyou use a normal\nUART, or use TOOL0\ndirectly when you\nhave a specific impl
Text Notes 5800 5800 0 50 ~ 0
this is the REGC cap,\nRL78 needs it to work
Text Notes 4200 5350 0 50 ~ 0
use MAX4619CPE to select between\nnormal & low/glitch voltage. use 3\ncircuits at once to minimize the\nparasitic resistance (I don't have\nenough wires for that so I didn't)
Text Notes 6850 5750 0 50 ~ 0
bypass/decoupling\ncap for testing how\ngood the glitching\nis. tweak value, but\nDO NOT PLACE\nwhen beginning
4750 6600 5650 6600
Connection ~ 4750 6600
$Comp
L power:GND #PWR?
U 1 1 61CC6698
P 6700 5350
F 0 "#PWR?" H 6700 5100 50 0001 C CNN
F 1 "GND" H 6705 5177 50 0000 C CNN
F 2 "" H 6700 5350 50 0001 C CNN
F 3 "" H 6700 5350 50 0001 C CNN
1 6700 5350
L Device:R R2
U 1 1 628B2738
P 5950 6150
F 0 "R2" H 6020 6196 50 0000 L CNN
F 1 "47k" H 6020 6105 50 0000 L CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 5880 6150 50 0001 C CNN
F 3 "~" H 5950 6150 50 0001 C CNN
1 5950 6150
1 0 0 -1
$EndComp
Wire Wire Line
6700 5250 6700 5350
$Comp
L Device:C C2
U 1 1 61C24226
P 6700 5100
F 0 "C2" H 6815 5146 50 0000 L CNN
F 1 "Ctest, DNP" H 6815 5055 50 0000 L CNN
F 2 "" H 6738 4950 50 0001 C CNN
F 3 "~" H 6700 5100 50 0001 C CNN
1 6700 5100
L power:+3V3 #PWR0128
U 1 1 628B33F0
P 5950 5900
F 0 "#PWR0128" H 5950 5750 50 0001 C CNN
F 1 "+3V3" H 5965 6073 50 0000 C CNN
F 2 "" H 5950 5900 50 0001 C CNN
F 3 "" H 5950 5900 50 0001 C CNN
1 5950 5900
1 0 0 -1
$EndComp
Text Label 4550 4850 0 50 ~ 0
Vdd_TO_RL78
Text Notes 1550 5950 0 50 ~ 0
opamp needed: my trimpot is 10k,\n3.3V/10k = 0.3mA to MCU...\nopamp in buffer mode fixes this\n& gives MCU all current it wants
Wire Wire Line
1800 5600 1800 5050
5950 6000 5950 5900
Wire Wire Line
2600 4950 2600 5600
5950 6300 5950 6350
Text GLabel 6050 6350 2 50 Input ~ 0
~EMERG~
Wire Wire Line
2600 5600 1800 5600
6050 6350 5950 6350
Connection ~ 5950 6350
Wire Wire Line
2100 5350 2100 5250
5950 6350 5950 6400
$Comp
L power:GND #PWR?
U 1 1 61D135B5
P 2100 5350
F 0 "#PWR?" H 2100 5100 50 0001 C CNN
F 1 "GND" H 2105 5177 50 0000 C CNN
F 2 "" H 2100 5350 50 0001 C CNN
F 3 "" H 2100 5350 50 0001 C CNN
1 2100 5350
L Device:R R?
U 1 1 62912E8F
P 4750 6150
AR Path="/61CA977C/62912E8F" Ref="R?" Part="1"
AR Path="/62912E8F" Ref="R1" Part="1"
F 0 "R1" H 4820 6196 50 0000 L CNN
F 1 "47k" H 4820 6105 50 0000 L CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 4680 6150 50 0001 C CNN
F 3 "~" H 4750 6150 50 0001 C CNN
1 4750 6150
1 0 0 -1
$EndComp
$Comp
L Amplifier_Operational:LM358 U4
U 3 1 61AEA01B
P 2200 4950
F 0 "U4" H 2158 4950 50 0001 L CNN
F 1 "AS358P-E1" H 2158 4905 50 0001 L CNN
F 2 "Package_DIP:DIP-8_W7.62mm" H 2200 4950 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 2200 4950 50 0001 C CNN
3 2200 4950
L power:+3V3 #PWR?
U 1 1 62912E95
P 4750 5900
AR Path="/61CA977C/62912E95" Ref="#PWR?" Part="1"
AR Path="/62912E95" Ref="#PWR0153" Part="1"
F 0 "#PWR0153" H 4750 5750 50 0001 C CNN
F 1 "+3V3" H 4765 6073 50 0000 C CNN
F 2 "" H 4750 5900 50 0001 C CNN
F 3 "" H 4750 5900 50 0001 C CNN
1 4750 5900
1 0 0 -1
$EndComp
Connection ~ 2100 5250
Connection ~ 2100 4550
Wire Wire Line
2100 4550 2100 4450
Wire Wire Line
2100 4650 2100 4550
Text Notes 600 5200 0 50 ~ 0
trimpot to select\n"low"/glitch voltage\n(regular voltage is 3.3V)
4750 5900 4750 6000
Wire Wire Line
1600 5250 2100 5250
4750 6300 4750 6350
Wire Wire Line
1600 5000 1600 5250
4650 6350 4750 6350
Connection ~ 4750 6350
Wire Wire Line
1600 4550 1600 4700
Wire Wire Line
2100 4550 1600 4550
$Comp
L Device:R_POT_TRIM RV1
U 1 1 61AED5E8
P 1600 4850
F 0 "RV1" H 1530 4896 50 0000 R CNN
F 1 "R_POT_TRIM" H 1530 4805 50 0000 R CNN
F 2 "" H 1600 4850 50 0001 C CNN
F 3 "~" H 1600 4850 50 0001 C CNN
1 1600 4850
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 61D0B772
P 2100 4450
F 0 "#PWR?" H 2100 4300 50 0001 C CNN
F 1 "+3.3V" H 2115 4623 50 0000 C CNN
F 2 "" H 2100 4450 50 0001 C CNN
F 3 "" H 2100 4450 50 0001 C CNN
1 2100 4450
1 0 0 -1
$EndComp
$Comp
L power:+3.3V #PWR?
U 1 1 61CFB76A
P 3300 3700
F 0 "#PWR?" H 3300 3550 50 0001 C CNN
F 1 "+3.3V" H 3315 3873 50 0000 C CNN
F 2 "" H 3300 3700 50 0001 C CNN
F 3 "" H 3300 3700 50 0001 C CNN
1 3300 3700
1 0 0 -1
$EndComp
4750 6350 4750 6600
$EndSCHEMATC

190
glitchout.sch

@ -0,0 +1,190 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 6 6
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L 4xxx:4053 U500
U 1 1 6270B9B6
P 6250 3950
F 0 "U500" H 6250 5031 50 0000 C CNN
F 1 "MAX4619" H 6250 4940 50 0000 C CNN
F 2 "Package_SO:SO-16_3.9x9.9mm_P1.27mm" H 6250 3950 50 0001 C CNN
F 3 "http://www.intersil.com/content/dam/Intersil/documents/cd40/cd4051bms-52bms-53bms.pdf" H 6250 3950 50 0001 C CNN
1 6250 3950
1 0 0 -1
$EndComp
Wire Wire Line
6250 4900 6250 4850
Wire Wire Line
6250 4900 6300 4900
Wire Wire Line
6350 4900 6350 4850
Wire Wire Line
6300 4900 6300 5000
Connection ~ 6300 4900
Wire Wire Line
6300 4900 6350 4900
$Comp
L power:GND #PWR0149
U 1 1 6270C54F
P 6300 5000
F 0 "#PWR0149" H 6300 4750 50 0001 C CNN
F 1 "GND" H 6305 4827 50 0000 C CNN
F 2 "" H 6300 5000 50 0001 C CNN
F 3 "" H 6300 5000 50 0001 C CNN
1 6300 5000
1 0 0 -1
$EndComp
Text GLabel 5650 4350 0 50 Input ~ 0
MAX_SW_A
Text GLabel 5650 4450 0 50 Input ~ 0
MAX_SW_B
Wire Wire Line
5750 4350 5650 4350
Wire Wire Line
5650 4450 5750 4450
Text GLabel 4450 4250 0 50 Input ~ 0
MAX_EN
Text GLabel 5650 4550 0 50 Input ~ 0
GLITCH_SIG
Wire Wire Line
5650 4550 5750 4550
Text GLabel 6850 3950 2 50 Input ~ 0
GLITCH_OUT
Text GLabel 5650 3450 0 50 Input ~ 0
Vdcflt
Text GLabel 5650 3750 0 50 Input ~ 0
Vdclo
$Comp
L power:GND #PWR0150
U 1 1 6271CC5F
P 5350 3650
F 0 "#PWR0150" H 5350 3400 50 0001 C CNN
F 1 "GND" V 5355 3522 50 0000 R CNN
F 2 "" H 5350 3650 50 0001 C CNN
F 3 "" H 5350 3650 50 0001 C CNN
1 5350 3650
0 1 1 0
$EndComp
$Comp
L power:+3V3 #PWR0151
U 1 1 6271D28E
P 5250 2700
F 0 "#PWR0151" H 5250 2550 50 0001 C CNN
F 1 "+3V3" V 5265 2828 50 0000 L CNN
F 2 "" H 5250 2700 50 0001 C CNN
F 3 "" H 5250 2700 50 0001 C CNN
1 5250 2700
0 -1 -1 0
$EndComp
Wire Wire Line
5650 3450 5750 3450
Wire Wire Line
5750 3650 5350 3650
Wire Wire Line
5650 3750 5750 3750
Wire Wire Line
6250 3050 6500 3050
$Comp
L power:+3V3 #PWR0152
U 1 1 6271E09E
P 6500 3050
F 0 "#PWR0152" H 6500 2900 50 0001 C CNN
F 1 "+3V3" H 6515 3223 50 0000 C CNN
F 2 "" H 6500 3050 50 0001 C CNN
F 3 "" H 6500 3050 50 0001 C CNN
1 6500 3050
0 1 1 0
$EndComp
Wire Wire Line
6750 3350 7000 3350
Wire Wire Line
7000 3350 7000 2400
Wire Wire Line
7000 2400 4900 2400
Wire Wire Line
4900 2400 4900 3950
Wire Wire Line
4900 3950 5750 3950
Wire Wire Line
6750 3650 7100 3650
Wire Wire Line
7100 3650 7100 2300
Wire Wire Line
7100 2300 4800 2300
Wire Wire Line
4800 2300 4800 4050
Wire Wire Line
4800 4050 5750 4050
Wire Wire Line
6850 3950 6750 3950
Text Label 5200 3950 0 50 ~ 0
Vglitch_hi
Text Label 5200 4050 0 50 ~ 0
Vglitch_lo
Text Notes 6500 2950 0 50 ~ 0
TODO: use\nVBUS here\ninstead?
$Comp
L Device:R R500
U 1 1 62925A32
P 4700 4250
F 0 "R500" V 4493 4250 50 0000 C CNN
F 1 "4.7k" V 4584 4250 50 0000 C CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 4630 4250 50 0001 C CNN
F 3 "~" H 4700 4250 50 0001 C CNN
1 4700 4250
0 1 1 0
$EndComp
Wire Wire Line
4550 4250 4450 4250
Wire Wire Line
4850 4250 5000 4250
Text GLabel 5000 4400 3 50 Input ~ 0
~EMERG~
Wire Wire Line
5000 4400 5000 4250
Connection ~ 5000 4250
Wire Wire Line
5000 4250 5750 4250
$Comp
L Jumper:Jumper_3_Bridged12 JP500
U 1 1 6292B4E4
P 5600 2700
F 0 "JP500" H 5600 2904 50 0000 C CNN
F 1 "Jumper_3_Bridged12" H 5600 2813 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical" H 5600 2700 50 0001 C CNN
F 3 "~" H 5600 2700 50 0001 C CNN
1 5600 2700
1 0 0 -1
$EndComp
$Comp
L power:VBUS #PWR0154
U 1 1 6292E991
P 6000 2700
F 0 "#PWR0154" H 6000 2550 50 0001 C CNN
F 1 "VBUS" V 6015 2828 50 0000 L CNN
F 2 "" H 6000 2700 50 0001 C CNN
F 3 "" H 6000 2700 50 0001 C CNN
1 6000 2700
0 1 1 0
$EndComp
Wire Wire Line
6000 2700 5850 2700
Wire Wire Line
5600 2850 5600 3350
Wire Wire Line
5600 3350 5750 3350
Wire Wire Line
5350 2700 5250 2700
$EndSCHEMATC

333
gpio.sch

@ -0,0 +1,333 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 3 6
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Connector_Generic:Conn_01x06 J200
U 1 1 624907D8
P 7350 4550
F 0 "J200" H 7430 4542 50 0000 L CNN
F 1 "Conn_01x06" H 7430 4451 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x07_P2.54mm_Horizontal" H 7350 4550 50 0001 C CNN
F 3 "~" H 7350 4550 50 0001 C CNN
1 7350 4550
1 0 0 -1
$EndComp
$Comp
L Device:D D200
U 1 1 62490CA6
P 5450 3700
F 0 "D200" H 5450 3917 50 0000 C CNN
F 1 "1N4001" H 5450 3826 50 0000 C CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 5450 3700 50 0001 C CNN
F 3 "~" H 5450 3700 50 0001 C CNN
1 5450 3700
1 0 0 -1
$EndComp
$Comp
L Device:D D201
U 1 1 624915A9
P 5450 4050
F 0 "D201" H 5450 4267 50 0000 C CNN
F 1 "1N4001" H 5450 4176 50 0000 C CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 5450 4050 50 0001 C CNN
F 3 "~" H 5450 4050 50 0001 C CNN
1 5450 4050
1 0 0 -1
$EndComp
$Comp
L Device:D D202
U 1 1 62491C9D
P 5450 4400
F 0 "D202" H 5450 4617 50 0000 C CNN
F 1 "1N4148" H 5450 4526 50 0000 C CNN
F 2 "Diode_SMD:D_0402_1005Metric_Pad0.77x0.64mm_HandSolder" H 5450 4400 50 0001 C CNN
F 3 "~" H 5450 4400 50 0001 C CNN
1 5450 4400
1 0 0 -1
$EndComp
$Comp
L Device:D D203
U 1 1 62491CA3
P 5450 4800
F 0 "D203" H 5450 5017 50 0000 C CNN
F 1 "1N4148" H 5450 4926 50 0000 C CNN
F 2 "Diode_SMD:D_0402_1005Metric_Pad0.77x0.64mm_HandSolder" H 5450 4800 50 0001 C CNN
F 3 "~" H 5450 4800 50 0001 C CNN
1 5450 4800
1 0 0 -1
$EndComp
$Comp
L Device:D D204
U 1 1 62492E6F
P 5450 5150
F 0 "D204" H 5450 5367 50 0000 C CNN
F 1 "1N4148" H 5450 5276 50 0000 C CNN
F 2 "Diode_SMD:D_0402_1005Metric_Pad0.77x0.64mm_HandSolder" H 5450 5150 50 0001 C CNN
F 3 "~" H 5450 5150 50 0001 C CNN
1 5450 5150
1 0 0 -1
$EndComp
$Comp
L Device:D D205
U 1 1 62492E75
P 5450 5500
F 0 "D205" H 5450 5717 50 0000 C CNN
F 1 "1N4148" H 5450 5626 50 0000 C CNN
F 2 "Diode_SMD:D_0402_1005Metric_Pad0.77x0.64mm_HandSolder" H 5450 5500 50 0001 C CNN
F 3 "~" H 5450 5500 50 0001 C CNN
1 5450 5500
1 0 0 -1
$EndComp
Wire Wire Line
7150 4350 6950 4350
Wire Wire Line
6950 3700 5750 3700
Wire Wire Line
7150 4450 6600 4450
Wire Wire Line
6600 4050 5750 4050
Wire Wire Line
7150 4650 6450 4650
Wire Wire Line
6450 4650 6450 4800
Wire Wire Line
6450 4800 5750 4800
Wire Wire Line
7150 4750 6600 4750
Wire Wire Line
6600 4750 6600 5150
Wire Wire Line
6600 5150 5750 5150
Wire Wire Line
7150 4850 6950 4850
Wire Wire Line
6950 4850 6950 5500
Wire Wire Line
6950 5500 5750 5500
Wire Wire Line
7150 4550 6450 4550
Wire Wire Line
6450 4400 5750 4400
Wire Wire Line
5750 3700 5750 3800
Connection ~ 5750 3700
Wire Wire Line
5750 3700 5600 3700
Wire Wire Line
5750 3800 5200 3800
Wire Wire Line
5750 4050 5750 4150
Connection ~ 5750 4050
Wire Wire Line
5750 4050 5600 4050
Wire Wire Line
5750 4150 5200 4150
Wire Wire Line
5750 4500 5750 4400
Wire Wire Line
5750 4500 5200 4500
Connection ~ 5750 4400
Wire Wire Line
5750 4400 5600 4400
Wire Wire Line
5750 4800 5750 4900
Connection ~ 5750 4800
Wire Wire Line
5750 4800 5600 4800
Wire Wire Line
5750 4900 5200 4900
Wire Wire Line
5750 5150 5750 5250
Connection ~ 5750 5150
Wire Wire Line
5750 5150 5600 5150
Wire Wire Line
5750 5250 5200 5250
Wire Wire Line
5750 5500 5750 5600
Connection ~ 5750 5500
Wire Wire Line
5750 5500 5600 5500
Wire Wire Line
5750 5600 5200 5600
Wire Wire Line
6450 4400 6450 4550
Wire Wire Line
6600 4050 6600 4450
Wire Wire Line
6950 3700 6950 4350
Text GLabel 5200 4400 0 50 Input ~ 0
GPIO_S0D
Text GLabel 5200 4500 0 50 Input ~ 0
GPIO_S0W
Text GLabel 5200 4800 0 50 Input ~ 0
GPIO_S1D
Text GLabel 5200 4900 0 50 Input ~ 0
GPIO_S1W
Text GLabel 5200 5150 0 50 Input ~ 0
GPIO_S2D
Text GLabel 5200 5250 0 50 Input ~ 0
GPIO_S2W
Text GLabel 5200 5500 0 50 Input ~ 0
GPIO_S3D
Text GLabel 5200 5600 0 50 Input ~ 0
GPIO_S3W
Text GLabel 5200 3700 0 50 Input ~ 0
GPIO_P0D
Text GLabel 5200 3800 0 50 Input ~ 0
GPIO_P0W
Text GLabel 5200 4050 0 50 Input ~ 0
GPIO_P1D
Text GLabel 5200 4150 0 50 Input ~ 0
GPIO_P1W
Wire Wire Line
5300 5500 5200 5500
Wire Wire Line
5300 5150 5200 5150
Wire Wire Line
5300 4800 5200 4800
Wire Wire Line
5300 4400 5200 4400
Wire Wire Line
5300 4050 5200 4050
Wire Wire Line
5300 3700 5200 3700
Text Notes 5850 5800 0 50 ~ 0
TODO: put LSF0204 level shifter or so\non data (1N4148/GPIO_Sxy) lines? Or\nmaybe LSF0108 on all lines?
$Comp
L Connector_Generic:Conn_01x01 J201
U 1 1 624BE0AB
P 4750 1550
F 0 "J201" H 4830 1592 50 0000 L CNN
F 1 "Conn_01x01" H 4830 1501 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 4750 1550 50 0001 C CNN
F 3 "~" H 4750 1550 50 0001 C CNN
1 4750 1550
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x02 J203
U 1 1 624BE9C1
P 4750 1750
F 0 "J203" H 4830 1742 50 0000 L CNN
F 1 "Conn_01x01_MountingPin" H 4830 1651 50 0000 L CNN
F 2 "Connector_Coaxial:SMA_Amphenol_132289_EdgeMount" H 4750 1750 50 0001 C CNN
F 3 "~" H 4750 1750 50 0001 C CNN
1 4750 1750
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x01 J202
U 1 1 624C067F
P 6450 1550
F 0 "J202" H 6530 1592 50 0000 L CNN
F 1 "Conn_01x01" H 6530 1501 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 6450 1550 50 0001 C CNN
F 3 "~" H 6450 1550 50 0001 C CNN
1 6450 1550
1 0 0 -1
$EndComp
$Comp
L Connector_Generic:Conn_01x02 J204
U 1 1 624C0685
P 6450 1750
F 0 "J204" H 6530 1742 50 0000 L CNN
F 1 "Conn_01x01_MountingPin" H 6530 1651 50 0000 L CNN
F 2 "Connector_Coaxial:SMA_Amphenol_132289_EdgeMount" H 6450 1750 50 0001 C CNN
F 3 "~" H 6450 1750 50 0001 C CNN
1 6450 1750
1 0 0 -1
$EndComp
Text GLabel 4350 1650 0 50 Input ~ 0
TRIG_IN
Wire Wire Line
4550 1550 4450 1550
Wire Wire Line
4450 1550 4450 1650
Wire Wire Line
4450 1650 4350 1650
Wire Wire Line
4550 1750 4450 1750
Wire Wire Line
4450 1750 4450 1650
Connection ~ 4450 1650
Text GLabel 6050 1650 0 50 Input ~ 0
GLITCH_OUT
Wire Wire Line
6250 1550 6150 1550
Wire Wire Line
6150 1550 6150 1650
Wire Wire Line
6150 1650 6050 1650
Wire Wire Line
6250 1750 6150 1750
Wire Wire Line
6150 1750 6150 1650
Connection ~ 6150 1650
$Comp
L power:GND #PWR0131
U 1 1 624CC8CB
P 4450 1850
F 0 "#PWR0131" H 4450 1600 50 0001 C CNN
F 1 "GND" H 4455 1677 50 0000 C CNN
F 2 "" H 4450 1850 50 0001 C CNN
F 3 "" H 4450 1850 50 0001 C CNN
1 4450 1850
0 1 1 0
$EndComp
Wire Wire Line
4450 1850 4550 1850
$Comp
L power:GND #PWR0132
U 1 1 624CF824
P 6150 1850
F 0 "#PWR0132" H 6150 1600 50 0001 C CNN
F 1 "GND" H 6155 1677 50 0000 C CNN
F 2 "" H 6150 1850 50 0001 C CNN
F 3 "" H 6150 1850 50 0001 C CNN
1 6150 1850
0 1 1 0
$EndComp
Wire Wire Line
6150 1850 6250 1850
$Comp
L Connector_Generic:Conn_01x01 J205
U 1 1 62729491
P 7900 1600
F 0 "J205" H 7980 1642 50 0000 L CNN
F 1 "Conn_01x01" H 7980 1551 50 0000 L CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" H 7900 1600 50 0001 C CNN
F 3 "~" H 7900 1600 50 0001 C CNN
1 7900 1600
0 -1 -1 0
$EndComp
Wire Wire Line
7900 1800 7900 1900
$Comp
L power:GND #PWR0133
U 1 1 6272E926
P 7900 1900
F 0 "#PWR0133" H 7900 1650 50 0001 C CNN
F 1 "GND" H 7905 1727 50 0000 C CNN
F 2 "" H 7900 1900 50 0001 C CNN
F 3 "" H 7900 1900 50 0001 C CNN
1 7900 1900
1 0 0 -1
$EndComp
Text Notes 5250 1200 0 50 ~ 0
Basic connectors for trigger and glitch signals,\nboth Dupont pin header and SMA connector\navailable. (Also another pin header for GND.)
Text Notes 5450 3350 0 50 ~ 0
Generic GPIOs to interact with the DUT
$EndSCHEMATC

456
psu.sch

@ -0,0 +1,456 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 4 6
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text GLabel 5750 1300 0 50 Input ~ 0
P22PWM
Text GLabel 6550 1300 2 50 Input ~ 0
Vdcraw
Wire Wire Line
6550 1300 6250 1300
Text Notes 5650 1000 0 50 ~ 0
Power supply 1:\nuse PWM from controller as\ncontrollable value between\n0 and 3V3. Will be filtered\nout in next stage
$Comp
L misc-mcus:WPM404 U300
U 1 1 624DAC4C
P 6200 2500
F 0 "U300" H 6200 2915 50 0000 C CNN
F 1 "WPM404" H 6200 2824 50 0000 C CNN
F 2 "chip-bo:VMA404-Module-THT" H 6200 2500 50 0001 C CNN
F 3 "" H 6200 2500 50 0001 C CNN
1 6200 2500
1 0 0 -1
$EndComp
Wire Wire Line
5750 2650 5650 2650
Wire Wire Line
5650 2650 5650 2850
Wire Wire Line
5650 2850 6200 2850
Wire Wire Line
6750 2850 6750 2650
Wire Wire Line
6750 2650 6650 2650
$Comp
L power:GND #PWR0134
U 1 1 624DB454
P 6200 2950
F 0 "#PWR0134" H 6200 2700 50 0001 C CNN
F 1 "GND" H 6205 2777 50 0000 C CNN
F 2 "" H 6200 2950 50 0001 C CNN
F 3 "" H 6200 2950 50 0001 C CNN
1 6200 2950
1 0 0 -1
$EndComp
Wire Wire Line
6200 2950 6200 2850
Connection ~ 6200 2850
Wire Wire Line
6200 2850 6750 2850
$Comp
L power:VBUS #PWR0135
U 1 1 624DBA73
P 5650 2250
F 0 "#PWR0135" H 5650 2100 50 0001 C CNN
F 1 "VBUS" H 5665 2423 50 0000 C CNN
F 2 "" H 5650 2250 50 0001 C CNN
F 3 "" H 5650 2250 50 0001 C CNN
1 5650 2250
1 0 0 -1
$EndComp
Wire Wire Line
5650 2250 5650 2350
Wire Wire Line
5650 2350 5750 2350
Text GLabel 6750 2350 2 50 Input ~ 0
Vdcraw
Wire Wire Line
6750 2350 6650 2350
Text Notes 5600 2000 0 50 ~ 0
Power supply 2:\nUse an external VMA404/WPM404\nmodule as DCDC buck-boost\nconverter. Output not digitally\ncontrollable, though.
Text Notes 5600 3550 0 50 ~ 0
Power supply 3:\nReimplement VMA404/WPM404\nbut with digipot for digital control
$Comp
L Regulator_Switching:LM2596T-ADJ U301
U 1 1 624F85D5
P 6150 4100
F 0 "U301" H 6150 4467 50 0000 C CNN
F 1 "LM2596T-ADJ" H 6150 4376 50 0000 C CNN
F 2 "Package_TO_SOT_THT:TO-220-5_P3.4x3.7mm_StaggerOdd_Lead3.8mm_Vertical" H 6200 3850 50 0001 L CIN
F 3 "http://www.ti.com/lit/ds/symlink/lm2596.pdf" H 6150 4100 50 0001 C CNN
1 6150 4100
1 0 0 -1
$EndComp
$Comp
L power:VBUS #PWR0136
U 1 1 624F935D
P 4500 3850
F 0 "#PWR0136" H 4500 3700 50 0001 C CNN
F 1 "VBUS" H 4515 4023 50 0000 C CNN
F 2 "" H 4500 3850 50 0001 C CNN
F 3 "" H 4500 3850 50 0001 C CNN
1 4500 3850
1 0 0 -1
$EndComp
Wire Wire Line
4500 3850 4500 4000
Wire Wire Line
4500 4000 4600 4000
$Comp
L Device:C C300
U 1 1 624FA92B
P 4600 4350
F 0 "C300" H 4715 4396 50 0000 L CNN
F 1 "470uF" H 4715 4305 50 0000 L CNN
F 2 "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" H 4638 4200 50 0001 C CNN
F 3 "~" H 4600 4350 50 0001 C CNN
1 4600 4350
1 0 0 -1
$EndComp
Wire Wire Line
4600 4200 4600 4000
Connection ~ 4600 4000
Wire Wire Line
5550 4200 5650 4200
Wire Wire Line
6150 4700 6150 4750
$Comp
L power:GND #PWR0137
U 1 1 624FB9F9
P 6150 4750
F 0 "#PWR0137" H 6150 4500 50 0001 C CNN
F 1 "GND" H 6155 4577 50 0000 C CNN
F 2 "" H 6150 4750 50 0001 C CNN
F 3 "" H 6150 4750 50 0001 C CNN
1 6150 4750
1 0 0 -1
$EndComp
Connection ~ 6150 4700
$Comp
L Device:C C301
U 1 1 62500C3C
P 5100 4350
F 0 "C301" H 5215 4396 50 0000 L CNN
F 1 "100nF" H 5215 4305 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" H 5138 4200 50 0001 C CNN
F 3 "~" H 5100 4350 50 0001 C CNN
1 5100 4350
1 0 0 -1
$EndComp
Wire Wire Line
4600 4000 5100 4000
Wire Wire Line
5100 4200 5100 4000
Connection ~ 5100 4000
Wire Wire Line
5100 4000 5650 4000
Wire Wire Line
4600 4700 5100 4700
Connection ~ 5100 4700
$Comp
L Device:D D300
U 1 1 62502C0F
P 6900 4450
F 0 "D300" V 6854 4530 50 0000 L CNN
F 1 "1N5822" V 6945 4530 50 0000 L CNN
F 2 "Diode_SMD:D_0805_2012Metric_Pad1.15x1.40mm_HandSolder" H 6900 4450 50 0001 C CNN
F 3 "~" H 6900 4450 50 0001 C CNN
1 6900 4450
0 1 1 0
$EndComp
Wire Wire Line
6650 4200 6900 4200
Wire Wire Line
6900 4200 6900 4300
Wire Wire Line
6150 4400 6150 4700
Wire Wire Line
6150 4700 6900 4700
Wire Wire Line
6900 4700 6900 4600
Wire Wire Line
5100 4500 5100 4700
Wire Wire Line
4600 4500 4600 4700
$Comp
L Device:L L300
U 1 1 625083CC
P 7150 4200
F 0 "L300" V 7340 4200 50 0000 C CNN
F 1 "10nH" V 7249 4200 50 0000 C CNN
F 2 "Inductor_SMD:L_7.3x7.3_H4.5" H 7150 4200 50 0001 C CNN
F 3 "~" H 7150 4200 50 0001 C CNN
1 7150 4200
0 -1 -1 0
$EndComp
Wire Wire Line
7000 4200 6900 4200
Connection ~ 6900 4200
$Comp
L Device:C C302
U 1 1 6250977C
P 7450 4450
F 0 "C302" H 7565 4496 50 0000 L CNN
F 1 "220uF" H 7565 4405 50 0000 L CNN
F 2 "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" H 7488 4300 50 0001 C CNN
F 3 "~" H 7450 4450 50 0001 C CNN
1 7450 4450
1 0 0 -1
$EndComp
$Comp
L Device:C C303
U 1 1 62509B61
P 7950 4450
F 0 "C303" H 8065 4496 50 0000 L CNN
F 1 "100nF" H 8065 4405 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" H 7988 4300 50 0001 C CNN
F 3 "~" H 7950 4450 50 0001 C CNN
1 7950 4450
1 0 0 -1
$EndComp
Wire Wire Line
7300 4200 7450 4200
Wire Wire Line
7450 4200 7450 4300
Wire Wire Line
7450 4200 7950 4200
Wire Wire Line
7950 4200 7950 4300
Connection ~ 7450 4200
Wire Wire Line
7950 4600 7950 4700
Wire Wire Line
7950 4700 7450 4700
Connection ~ 6900 4700
Wire Wire Line
7450 4600 7450 4700
Connection ~ 7450 4700
Wire Wire Line
7450 4700 6900 4700
Text GLabel 8050 4200 2 50 Input ~ 0
Vdcraw
Wire Wire Line
8050 4200 7950 4200
Text GLabel 7000 3900 2 50 Input ~ 0
DPOT_W
Wire Wire Line
7550 4000 7450 4000
Wire Wire Line
7450 4000 7450 4200
Wire Wire Line
7000 3900 6850 3900
Wire Wire Line
6850 3900 6850 4000
Wire Wire Line
6850 4000 6650 4000
$Comp
L Device:R R300
U 1 1 6251398A
P 8200 3750
F 0 "R300" H 8270 3796 50 0000 L CNN
F 1 "820" H 8270 3705 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder" V 8130 3750 50 0001 C CNN
F 3 "~" H 8200 3750 50 0001 C CNN
1 8200 3750
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0138
U 1 1 625155C3
P 8450 3850
F 0 "#PWR0138" H 8450 3600 50 0001 C CNN
F 1 "GND" H 8455 3677 50 0000 C CNN
F 2 "" H 8450 3850 50 0001 C CNN
F 3 "" H 8450 3850 50 0001 C CNN
1 8450 3850
1 0 0 -1
$EndComp
Wire Wire Line
8050 3750 7900 3750
Wire Wire Line
8350 3750 8450 3750
Wire Wire Line
8450 3750 8450 3850
Connection ~ 7950 4200
Text Notes 7200 5250 0 50 ~ 0
See 'psuflt' schematic\nfor the implementation\nof the digipot & where\nthese global labels\ncome from
$Comp
L misc-mcus:AP7168 U?
U 1 1 6266715B
P 6250 5950
AR Path="/61CA98F5/6266715B" Ref="U?" Part="1"
AR Path="/61CA9896/6266715B" Ref="U302" Part="1"
F 0 "U302" H 6250 6365 50 0000 C CNN
F 1 "AP7168" H 6250 6274 50 0000 C CNN
F 2 "Package_SO:Diodes_SO-8EP" H 6250 6000 50 0001 C CNN
F 3 "https://4donline.ihs.com/images/VipMasterIC/IC/DIOD/DIODS13063/DIODS13063-1.pdf?hkey=6D3A4C79FDBF58556ACFDE234799DDF0" H 6250 6000 50 0001 C CNN
1 6250 5950
1 0 0 -1
$EndComp
$Comp
L power:VBUS #PWR?
U 1 1 62667161
P 5050 5500
AR Path="/61CA98F5/62667161" Ref="#PWR?" Part="1"
AR Path="/61CA9896/62667161" Ref="#PWR0139" Part="1"
F 0 "#PWR0139" H 5050 5350 50 0001 C CNN
F 1 "VBUS" H 5065 5673 50 0000 C CNN
F 2 "" H 5050 5500 50 0001 C CNN
F 3 "" H 5050 5500 50 0001 C CNN
1 5050 5500
1 0 0 -1
$EndComp
Wire Wire Line
5050 5600 5050 5500
Wire Wire Line
5050 6100 5050 5900
Connection ~ 5050 5600
$Comp
L power:GND #PWR?
U 1 1 6266716A
P 6250 6450
AR Path="/61CA98F5/6266716A" Ref="#PWR?" Part="1"
AR Path="/61CA9896/6266716A" Ref="#PWR0140" Part="1"
F 0 "#PWR0140" H 6250 6200 50 0001 C CNN
F 1 "GND" H 6255 6277 50 0000 C CNN
F 2 "" H 6250 6450 50 0001 C CNN
F 3 "" H 6250 6450 50 0001 C CNN
1 6250 6450
1 0 0 -1
$EndComp
Wire Wire Line
6250 6450 6250 6350
Wire Wire Line
6800 5800 7000 5800
Text GLabel 7200 6000 2 50 Input ~ 0
DPOT_W
Text GLabel 7200 5900 2 50 Input ~ 0
DPOT_HI
Wire Wire Line
7200 5900 7000 5900
Wire Wire Line
7000 5900 7000 5800
Connection ~ 7000 5800
Wire Wire Line
7000 5800 7800 5800
Wire Wire Line
6900 6000 6900 5900
Wire Wire Line
6900 5900 6800 5900
Wire Wire Line
6900 6000 7200 6000
Connection ~ 6250 6350
Wire Wire Line
6250 6350 6250 6300
Wire Wire Line
5700 5900 5600 5900
Wire Wire Line
5600 5600 5600 5800
Wire Wire Line
5600 5800 5700 5800
Wire Wire Line
5300 5900 5050 5900
Wire Wire Line
5050 5900 5050 5600
$Comp
L Device:C C?
U 1 1 6266718D
P 4700 5850
AR Path="/61CA98F5/6266718D" Ref="C?" Part="1"
AR Path="/61CA9896/6266718D" Ref="C304" Part="1"
F 0 "C304" H 4815 5896 50 0000 L CNN
F 1 "1uF" H 4815 5805 50 0000 L CNN
F 2 "Capacitor_SMD:C_01005_0402Metric_Pad0.57x0.30mm_HandSolder" H 4738 5700 50 0001 C CNN
F 3 "~" H 4700 5850 50 0001 C CNN
1 4700 5850
1 0 0 -1
$EndComp
Wire Wire Line
5050 5600 4700 5600
Wire Wire Line
4700 6100 5050 6100
$Comp
L Device:C C?
U 1 1 62667197
P 7800 6100
AR Path="/61CA98F5/62667197" Ref="C?" Part="1"
AR Path="/61CA9896/62667197" Ref="C305" Part="1"
F 0 "C305" H 7915 6146 50 0000 L CNN
F 1 "10uF" H 7915 6055 50 0000 L CNN
F 2 "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" H 7838 5950 50 0001 C CNN
F 3 "~" H 7800 6100 50 0001 C CNN
1 7800 6100
1 0 0 -1
$EndComp
Wire Wire Line
7800 5950 7800 5800
Connection ~ 7800 5800
Wire Wire Line
7800 5800 8000 5800
Wire Wire Line
7800 6350 7800 6250
Wire Wire Line
5050 5600 5600 5600
Wire Wire Line
4700 5600 4700 5700
Wire Wire Line
4700 6000 4700 6100
Connection ~ 5050 5900
Text Notes 5700 5450 0 50 ~ 0
Power supply 4:\nUse an LDO to control the\nvoltage. No PWM or filter\nneeded, only the digipot.
Text GLabel 8000 5800 2 50 Input ~ 0
Vdcraw
Text GLabel 7550 4000 2 50 Input ~ 0
DPOT_HI
Text GLabel 7900 3750 0 50 Input ~ 0
DPOT_LO
$Comp
L Device:R R?
U 1 1 62667182
P 5450 5900
AR Path="/61CA98F5/62667182" Ref="R?" Part="1"
AR Path="/61CA9896/62667182" Ref="R301" Part="1"
F 0 "R301" V 5243 5900 50 0000 C CNN
F 1 "100k" V 5334 5900 50 0000 C CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 5380 5900 50 0001 C CNN
F 3 "~" H 5450 5900 50 0001 C CNN
1 5450 5900
0 1 1 0
$EndComp
Wire Wire Line
6050 1300 5750 1300
$Comp
L Device:Jumper_NO_Small JP300
U 1 1 62816BB9
P 6150 1300
F 0 "JP300" H 6150 1485 50 0000 C CNN
F 1 "Jumper_NO_Small" H 6150 1394 50 0000 C CNN
F 2 "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" H 6150 1300 50 0001 C CNN
F 3 "~" H 6150 1300 50 0001 C CNN
1 6150 1300
1 0 0 -1
$EndComp
Wire Wire Line
6250 6350 7800 6350
Wire Wire Line
5700 6100 5600 6100
Text GLabel 5600 6100 0 50 Input ~ 0
EMERG
Wire Wire Line
5100 4700 6150 4700
Text GLabel 5550 4350 3 50 Input ~ 0
~EMERG~
Wire Wire Line
5550 4350 5550 4200
$EndSCHEMATC

368
psuflt.sch

@ -0,0 +1,368 @@
EESchema Schematic File Version 4
EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 5 6
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Amplifier_Operational:LM358 U400
U 1 1 62527821
P 3700 2050
F 0 "U400" H 3700 2417 50 0000 C CNN
F 1 "LM358" H 3700 2326 50 0000 C CNN
F 2 "Package_SO:SO-8_3.9x4.9mm_P1.27mm" H 3700 2050 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 3700 2050 50 0001 C CNN
1 3700 2050
1 0 0 1
$EndComp
$Comp
L Amplifier_Operational:LM358 U400
U 3 1 62528341
P 3700 2050
F 0 "U400" H 3658 2096 50 0000 L CNN
F 1 "LM358" H 3658 2005 50 0000 L CNN
F 2 "Package_SO:SO-8_3.9x4.9mm_P1.27mm" H 3700 2050 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lm2904-n.pdf" H 3700 2050 50 0001 C CNN
3 3700 2050
1 0 0 -1
$EndComp
$Comp
L Device:R R400
U 1 1 6252AA40
P 2950 2150
F 0 "R400" V 2743 2150 50 0000 C CNN
F 1 "47k" V 2834 2150 50 0000 C CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 2880 2150 50 0001 C CNN
F 3 "~" H 2950 2150 50 0001 C CNN
1 2950 2150
0 1 1 0
$EndComp
Wire Wire Line
3400 2150 3200 2150
$Comp
L Device:C C400
U 1 1 62530F17
P 3200 2400
F 0 "C400" H 3315 2446 50 0000 L CNN
F 1 "10uF" H 3315 2355 50 0000 L CNN
F 2 "Capacitor_THT:CP_Radial_D10.0mm_P5.00mm" H 3238 2250 50 0001 C CNN
F 3 "~" H 3200 2400 50 0001 C CNN
1 3200 2400
1 0 0 -1
$EndComp
Wire Wire Line
3200 2250 3200 2150
Connection ~ 3200 2150
Wire Wire Line
3200 2150 3100 2150
Wire Wire Line
3200 2550 3200 2600
$Comp
L power:GND #PWR0141
U 1 1 6253577E
P 3200 2650
F 0 "#PWR0141" H 3200 2400 50 0001 C CNN
F 1 "GND" H 3205 2477 50 0000 C CNN
F 2 "" H 3200 2650 50 0001 C CNN
F 3 "" H 3200 2650 50 0001 C CNN
1 3200 2650
1 0 0 -1
$EndComp
Text GLabel 2650 2150 0 50 Input ~ 0
Vdcraw
Wire Wire Line
2800 2150 2650 2150
Wire Wire Line
3200 2600 3600 2600
Wire Wire Line
3600 2600 3600 2350
Connection ~ 3200 2600
Wire Wire Line
3200 2600 3200 2650
$Comp
L power:VBUS #PWR0142
U 1 1 62541FB6
P 3600 1650
F 0 "#PWR0142" H 3600 1500 50 0001 C CNN
F 1 "VBUS" H 3615 1823 50 0000 C CNN
F 2 "" H 3600 1650 50 0001 C CNN
F 3 "" H 3600 1650 50 0001 C CNN
1 3600 1650
1 0 0 -1
$EndComp
Wire Wire Line
3600 1750 3600 1650
Wire Wire Line
3400 1950 3300 1950
Wire Wire Line
3300 1950 3300 1400
Wire Wire Line
3300 1400 4100 1400
Wire Wire Line
4100 1400 4100 2050
Wire Wire Line
4100 2050 4000 2050
Connection ~ 4100 2050
Text GLabel 5300 2600 1 50 Input ~ 0
Vdcflt
$Comp
L Device:R R401
U 1 1 625474BB
P 5300 3050
F 0 "R401" H 5370 3096 50 0000 L CNN
F 1 "10k" H 5370 3005 50 0000 L CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 5230 3050 50 0001 C CNN
F 3 "~" H 5300 3050 50 0001 C CNN
1 5300 3050
1 0 0 -1
$EndComp
$Comp
L Device:R R402
U 1 1 62547F7D
P 5300 3550
F 0 "R402" H 5370 3596 50 0000 L CNN
F 1 "10k" H 5370 3505 50 0000 L CNN
F 2 "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" V 5230 3550 50 0001 C CNN
F 3 "~" H 5300 3550 50 0001 C CNN
1 5300 3550
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0143
U 1 1 6254865E
P 5300 3850
F 0 "#PWR0143" H 5300 3600 50 0001 C CNN
F 1 "GND" H 5305 3677 50 0000 C CNN
F 2 "" H 5300 3850 50 0001 C CNN
F 3 "" H 5300 3850 50 0001 C CNN
1 5300 3850
1 0 0 -1
$EndComp
Wire Wire Line
5300 3850 5300 3700
Wire Wire Line
5300 3400 5300 3300
Text GLabel 5450 3300 2 50 Input ~ 0
ADC0
Wire Wire Line
5450 3300 5300 3300
Connection ~ 5300 3300
Wire Wire Line
5300 3300 5300 3200
$Comp
L Potentiometer_Digital:DS1882E U401
U 1 1 6255530A
P 6650 4200
F 0 "U401" H 6650 4981 50 0000 C CNN
F 1 "DS1803" H 6650 4890 50 0000 C CNN
F 2 "Package_SO:TSSOP-16_4.4x5mm_P0.65mm" H 6850 3550 50 0001 C CNN
F 3 "" H 6250 4100 50 0001 C CNN
1 6650 4200
1 0 0 -1
$EndComp
Text GLabel 7150 4500 2 50 Input ~ 0
DPOT_LO
Text GLabel 7150 4400 2 50 Input ~ 0
DPOT_W
Text GLabel 7150 4300 2 50 Input ~ 0
DPOT_HI
Wire Wire Line
7150 4300 7050 4300
Wire Wire Line
7050 4400 7150 4400
Wire Wire Line
7150 4500 7050 4500
$Comp
L power:+3V3 #PWR0144
U 1 1 62571F0D
P 6650 3350
F 0 "#PWR0144" H 6650 3200 50 0001 C CNN
F 1 "+3V3" H 6665 3523 50 0000 C CNN
F 2 "" H 6650 3350 50 0001 C CNN
F 3 "" H 6650 3350 50 0001 C CNN
1 6650 3350
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0145
U 1 1 6257376C
P 6600 4950
F 0 "#PWR0145" H 6600 4700 50 0001 C CNN
F 1 "GND" H 6605 4777 50 0000 C CNN
F 2 "" H 6600 4950 50 0001 C CNN
F 3 "" H 6600 4950 50 0001 C CNN
1 6600 4950
1 0 0 -1
$EndComp
Wire Wire Line
6650 4800 6650 4850
Wire Wire Line
6650 4850 6600 4850
Wire Wire Line
6550 4850 6550 4800
Wire Wire Line
6600 4850 6600 4950
Connection ~ 6600 4850
Wire Wire Line
6600 4850 6550 4850
Wire Wire Line
7050 3900 7200 3900
Wire Wire Line
7050 4100 7650 4100
Wire Wire Line
7650 4100 7650 4250
$Comp