Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/LT3724.m4

raw
1 .PS
2 # LT3724.m4
3 # https://pdf1.alldatasheet.com/datasheet-pdf/view/547351/LINER/LT3724.html
4
5 log_init
6 include(ics.m4)
7 iflatex{command "{\scriptsize\sf"}
8
9 # This draws the symbolic chip with external circuitry
10
11 pinsep=0.25
12 hght= 9*pinsep
13 wdth=0.6*hght
14 blskip = 0.1
15
16 [ QR: LT3724
17 line left_ dimen_/2 from QR.SYNC; ground
18 line left_ dimen_/2 from QR.FSET
19 R7: resistor(down_ dimen_); rlabel(,"\SI{49.9}{\kilo\ohm}"); ground(,T)
20 line left_ dimen_ from QR.VC
21 {dot; capacitor(down_ pinsep); llabel(,"\SI{120}{\pico\farad}"); ground(,T)}
22 resistor(left_ dimen_*5/4); rlabel(,\SI{10}{\kilo\ohm})
23 capacitor(down_ pinsep); llabel(,\SI{680}{\pico\farad}); ground(,T)
24 line left_ dimen_/2 from QR.BURST_EN then down_ QR.BURST_EN.y-QR.VFB.y; dot
25
26 DL: dot(at QR.VFB-(dimen_*13/4,0))
27 resistor(down_ pinsep*2); llabel(,"\SI{14.7}{\kilo\ohm}"); ground(,T)
28
29 line left_ dimen_/2 from QR.VIN then up_ QR.n.y-QR.VIN.y+dimen_/3; VINL: dot
30 line left_ dimen_*3/2 from QR.SHDN; dot
31 {resistor(down_ dimen_); rlabel(,"\SI{82.5}{\kilo\ohm}"); H: ground(,T)
32 capacitor(left_ dimen_ from QR.CSS); rlabel(,\SI{1000}{\pico\farad})
33 line to (Here,H); ground(,T)}
34 resistor(up_ to (Here,VINL)); rlabel(,"\SI{1}{\mega\ohm}"); dot
35 dot(at (Here.x-dimen_,Here.y))
36 {capacitor(down_ pinsep); {"\SI{22}{\micro\farad}" at last [].e ljust}
37 line left_ dimen_}
38 dot(at (Here.x-dimen_,Here.y))
39 {capacitor(down_ pinsep); {"\SI{68}{\micro\farad}" at last [].e ljust}
40 dot; ground}
41 VIN: (Here.x-dimen_/2,Here.y); {line invis left_ 25bp__ from VIN}
42 "V$_{\hbox{\tiny IN}}$" at VIN rjust
43 "\SI{36}{\volt}" rjust at VIN-(0,blskip*2.5) \
44 "TO" rjust "\SI{60}{\volt}" rjust
45
46 line right_ dimen_/2 from QR.SGND; dot; ground(at (Here,R7.end),T)
47 line to (Here,QR.PGND) then to QR.PGND
48 dot(at QR.VCC+(dimen_/2,0))
49 { capacitor(down_ pinsep); llabel(,\SI{1}{\micro\farad}); dot }
50 dot(at Here+(dimen_*3/4,0))
51 { reversed(`diode',to (Here,QR.SENSEM)); DV: dot}
52 { line to QR.VCC }
53 diode(right_ dimen_*2/3); DP: dot
54 { line to (Here,QR.BOOST) then to QR.BOOST }
55 capacitor(right_ dimen_); {"\SI{22}{\micro\farad}" at last [].n above}
56 DZ: dot; reversed(`diode',down_ pinsep,Z); ground(,T)
57 "PDS5100H" at last [].w rjust below
58 resistor(right_ from QR.SW to (DP,QR.SW)); llabel(,\SI{10}{\ohm})
59 line to (DZ,Here); dot
60 {up_; M1: mosfet(,,TEDSQuB) with .e at (DZ,QR.TG); "Si850DP" at M1.e ljust
61 line from M1.G to QR.TG}
62 line from DZ to M1.S
63 line from M1.D up_ VIN.y-M1.D.y then to VIN
64 inductor(right_ dimen_ from DZ); llabel(,\SI{10}{\micro\henry}); dot
65 {line to (Here,QR.SENSEP) then to QR.SENSEP}
66 resistor(right_ dimen_); llabel(,\SI{0.015}{\ohm}); DQ: dot
67 line from QR.VFB to DL-(dimen_/2,0)
68 resistor(down_ Here.y-R7.end.y+dimen_/2); llabel(,\SI{130}{\kilo\ohm})
69 line to (DV,Here) then to DV
70 line from QR.SENSEM to (DQ,QR.SENSEM) then to DQ
71 { dot(at DQ+(dimen_/2,0))
72 capacitor(down_ pinsep); llabel(,\SI{68}{\micro\farad}); ground(,T) }
73 { dot(at DQ+(dimen_*3/2,0))
74 capacitor(down_ pinsep); llabel(,\SI{33}{\micro\farad}); ground(,T) }
75 line from DQ right_ dimen_*2.25; {line invis right_ 24bp__}
76 VOUT: Here
77 "V$_{\hbox{\tiny OUT}}$" at VOUT ljust
78 "\SI{12}{\volt}" at VOUT+(0,-blskip*1.2) ljust
79 "\SI{50}{\watt}" at VOUT+(0,-blskip*1.2*2) ljust
80
81 "Step-down regulator" ljust at (M1.e.x+10bp__,QR.n.y) \
82 "\SI{48}{\volt} TO \SI{12}{\volt}, \SI{50}{\watt}" ljust
83 ]
84 #showbox_
85 #print last [].wid,last [].ht
86
87 iflatex(command "}%")
88
89 .PE