Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/extras/Resolver.m4

raw
1 .PS
2 # `Resolver.m4'
3 cct_init
4 s_init(tst)
5 sinclude(tst.dim)
6
7 iflatex(`latexcommand({\scriptsize\sf)')
8
9 [
10 linewid = linewid*1.25
11 define(`dotrad_',dotrad_/2)
12
13 T1: transformer(down_ dimen_/2)
14 line left from T1.P1; dot; move left 15bp__ "RH"
15 line left from T1.P2; dot; "RL" rjust
16 "Rotor ($r$)" at T1.TP rjust
17 line right_ dimen_*3/4 from T1.S2
18 C: Here
19 phi = 35
20 move right_ 0.1 from T1.S1; move from C to C+(Rect_(0.1,90+phi))
21 Q: Intersect_(last move,2nd last move)
22 Lr: inductor(from Q to C)
23 S1: line from T1.S1 to Q
24 A: C+(Rect_(dimen_*0.9,90+phi))
25 thinlines_
26 line dashed from Q to A chop 2bp__ chop 0
27 "Rotor shaft" at last line.end rjust "angle" rjust "" rjust
28 line dashed from C up_ dimen_*0.9 chop 2bp__ chop 0
29 arcd(C,dimen_*0.85,90,90+phi) ->
30 thicklines_
31 f_box($\phi$) at C+(Rect_(dimen_*0.85,90+phi/2))
32
33 d = distance(T1.P1,T1.P2)
34 Ls: inductor(up_ d from C+(d/2,0))
35 line right_ from Ls.end
36 D2: dot; "S2" ljust
37 line from Ls.start to (D2,Ls.start); dot; "S4" ljust
38 "$Kr\cos(\phi)$" at 0.5 between last "" and 2nd last ""
39 Lq: inductor(right_ d at (Lr,(C+(0,-d/3))))
40 line from Lq.end down_ d/4
41 K: Here; corner; line to (D2,K); dot; "S3" ljust
42 line from Lq.start down_ d*5/4
43 L: Here; corner; line to (D2,L); dot; "S1" ljust
44 "$Kr\sin(\phi)$" at 0.5 between last "" and 2nd last ""
45 ]
46 "Resolver essentials" at last [].s below
47
48 iflatex(`latexcommand(})')
49 .PE